:root {
  --cervino: #162527;
  --cameo: #8de3d7;
  --siam: #0f766e;
  --tundora: #526266;
  --mine: #152124;
  --paper: #eef4f1;
  --line: rgba(21, 33, 36, .14);
  --white: #fbfaf7;
  --danger: #9f3030;
  --ok: #0f766e;
  --warm-yellow-bg: #fff1c7;
  --warm-yellow-text: #7a4a05;
  --warm-yellow-line: #e6b247;
  --warm-red-bg: #ffe0d8;
  --warm-red-text: #8f251b;
  --warm-red-line: #d86755;
  --warm-green-bg: #dff5ef;
  --warm-green-text: #134e4a;
  --warm-green-line: #0f766e;
  --warm-green-btn: #0f766e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mine);
  background: linear-gradient(135deg, #fbfaf7 0%, #eef4f1 48%, #dff5ef 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.modal-open { overflow: hidden; }
html { scroll-behavior: smooth; }

a { color: inherit; text-decoration: none; }

h1, h2, p { margin-top: 0; }

h1 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: 0; }
h2 { font-size: 1.1rem; }
p { color: rgba(41, 41, 41, .72); line-height: 1.6; }

button, input, textarea, select { font: inherit; }

label {
  display: grid;
  gap: .45rem;
  color: rgba(41, 41, 41, .72);
  font-size: .9rem;
  font-weight: 700;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 246, .9);
  color: var(--mine);
  font-size: 16px;
  line-height: 1.2;
  padding: .85rem .95rem;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--siam);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .16);
}

.color-field {
  display: grid;
  grid-template-columns: 58px 46px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
}

.color-field input[type="color"] {
  height: 46px;
  padding: .25rem;
  cursor: pointer;
}

.color-preview {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px rgba(255, 250, 246, .86);
}

.color-value {
  min-width: 0;
  padding: .8rem .85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 246, .72);
  color: var(--mine);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem;
  font-weight: 800;
}

.image-preview-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 132px;
  overflow: hidden;
  border: 1px dashed rgba(41, 41, 41, .24);
  border-radius: 8px;
  background:
    linear-gradient(45deg, rgba(41, 41, 41, .05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(41, 41, 41, .05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(41, 41, 41, .05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(41, 41, 41, .05) 75%),
    rgba(255, 250, 246, .58);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.image-preview-wide { min-height: 172px; }

.image-preview {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
}

.image-preview-logo {
  width: min(240px, 78%);
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(41, 41, 41, .28));
}

.image-preview-empty {
  padding: .85rem;
  color: rgba(41, 41, 41, .54);
  font-size: .86rem;
  font-weight: 800;
  text-align: center;
}

table { width: 100%; border-collapse: collapse; }
th, td { padding: .85rem; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--cervino); font-size: .82rem; text-transform: uppercase; }

.auth-page {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 2rem;
  width: min(1100px, 100%);
  align-items: center;
}

.auth-brand {
  min-height: 540px;
  display: grid;
  align-content: end;
  padding: 2rem;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(41, 41, 41, .2), rgba(41, 41, 41, .88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Crect width='1200' height='800' fill='%23162527'/%3E%3Cpath d='M0 585 C220 465 388 680 590 526 C778 383 969 467 1200 310 L1200 800 L0 800 Z' fill='%230f766e'/%3E%3Cpath d='M0 176 C215 74 386 234 568 134 C766 24 955 64 1200 0 L1200 206 C964 280 779 198 596 306 C386 430 194 228 0 358 Z' fill='%238de3d7' opacity='.78'/%3E%3C/svg%3E");
  background-size: cover;
}

.auth-brand h1, .auth-brand p { color: var(--white); }
.auth-brand .ghost-link + .ghost-link { margin-top: .45rem; }

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 246, .82);
  box-shadow: 0 24px 70px rgba(41, 41, 41, .14);
  backdrop-filter: blur(18px);
  padding: 1.2rem;
}

.auth-card { min-height: 420px; }
.stack { display: grid; gap: 1rem; }
.hidden { display: none !important; }
.muted { color: rgba(41, 41, 41, .62); }
.eyebrow {
  overflow-wrap: anywhere;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08rem;
  text-transform: uppercase;
  color: var(--cameo);
}

.btn, .link-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1rem;
  background: var(--mine);
  color: var(--white);
}

.btn.primary { background: var(--siam); }
.btn.small { min-height: 36px; padding: .55rem .8rem; }
.btn.danger { background: var(--danger); }
.btn:disabled { cursor: not-allowed; opacity: .45; }

.link-button, .ghost-link {
  width: fit-content;
  padding: 0;
  background: transparent;
  color: var(--cervino);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ghost-link { color: var(--white); font-weight: 800; }
.message { min-height: 1.4rem; font-weight: 700; }
.message.error { color: var(--danger); }
.message.ok { color: var(--ok); }
.scan-alert {
  padding: .9rem 1rem;
  border: 1px solid var(--warm-yellow-line);
  border-radius: 8px;
  color: var(--warm-yellow-text);
  background: var(--warm-yellow-bg);
}
.scan-alert.success {
  border-color: var(--warm-green-line);
  color: var(--warm-green-text);
  background: var(--warm-green-bg);
}
.scan-alert.danger {
  border-color: var(--warm-red-line);
  color: var(--warm-red-text);
  background: var(--warm-red-bg);
}
.scan-alert.warn {
  border-color: var(--warm-yellow-line);
  color: var(--warm-yellow-text);
  background: var(--warm-yellow-bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 246, .86);
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: nowrap;
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  font-weight: 950;
  letter-spacing: .02rem;
  color: var(--cervino);
}
.tabs { display: flex; gap: .4rem; flex: 1; }
.tab {
  border: 0;
  border-radius: 8px;
  padding: .65rem .9rem;
  color: var(--tundora);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}
.tab.active { background: var(--cameo); color: var(--mine); }

.app-shell {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.view { display: none; }
.view.active { display: block; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head h1 { margin-bottom: .35rem; }
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.grid.compact { gap: .8rem; }

.cards { display: grid; gap: .85rem; }
.event-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 246, .75);
  padding: 1rem;
  display: grid;
  gap: .75rem;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .25rem .6rem;
  background: rgba(92, 95, 79, .14);
  color: var(--siam);
  font-size: .78rem;
  font-weight: 900;
}
.pill.off { background: rgba(159, 48, 48, .12); color: var(--danger); }

.actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.actions .btn { min-height: 36px; padding: .55rem .75rem; font-size: .86rem; }

.table-wrap { margin-top: 1rem; overflow-x: auto; }
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: min(420px, calc(100% - 2rem));
  padding: .9rem 1rem;
  border-radius: 8px;
  color: var(--white);
  background: var(--mine);
  box-shadow: 0 16px 50px rgba(41, 41, 41, .24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

.scanner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.scanner { padding: .65rem; background: var(--mine); }
.scan-result {
  position: sticky;
  top: 74px;
  z-index: 3;
}
.scanner-layout #confirmBtn {
  background: var(--warm-green-btn);
}
#qrReader {
  display: block;
  position: relative;
  width: 100%;
  height: clamp(300px, 52vh, 480px);
  max-width: 820px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
}
#qrReader video {
  width: 100% !important;
  height: clamp(300px, 52vh, 480px) !important;
  min-height: 0;
  object-fit: cover;
  background: #111;
}
.qr-focus-box {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(64vw, 310px);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 250, 246, .92);
  border-radius: 14px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, .22);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
#qrReader > div {
  border: 0 !important;
}
#qrReader__dashboard_section_csr,
#qrReader__dashboard_section_swaplink,
#qrReader__status_span {
  display: none !important;
}
.guest-preview {
  padding: 1rem;
  border-radius: 8px;
  background: rgba(216, 184, 157, .22);
}

.public-hero {
  min-height: 34vh;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 33, 36, .88), rgba(15, 118, 110, .56)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='600' viewBox='0 0 1400 600'%3E%3Crect width='1400' height='600' fill='%23152124'/%3E%3Ccircle cx='165' cy='162' r='104' fill='%238de3d7' opacity='.68'/%3E%3Cpath d='M0 440 C260 330 418 514 660 386 C914 252 1120 322 1400 188 L1400 600 L0 600 Z' fill='%230f766e'/%3E%3Cpath d='M0 95 C290 185 468 6 730 82 C1020 166 1188 86 1400 20 L1400 0 L0 0 Z' fill='%23162527'/%3E%3C/svg%3E");
  background-size: cover;
}
.public-hero h1, .public-hero p { color: var(--white); }
.public-hero .actions .btn {
  border: 1px solid rgba(251, 250, 247, .22);
  box-shadow: 0 12px 28px rgba(21, 33, 36, .18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.public-hero .actions .btn:hover,
.public-hero .actions .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(21, 33, 36, .28);
}
.public-hero .actions .btn.primary {
  border-color: rgba(141, 227, 215, .72);
  background: linear-gradient(135deg, var(--cameo), var(--siam) 62%);
  color: var(--cervino);
}
.public-hero .actions .btn.primary:hover,
.public-hero .actions .btn.primary:focus-visible {
  border-color: rgba(251, 250, 247, .85);
  background: linear-gradient(135deg, #b5fff5, var(--cameo) 34%, var(--siam));
}
.public-hero .actions .btn:not(.primary):hover,
.public-hero .actions .btn:not(.primary):focus-visible {
  border-color: rgba(251, 250, 247, .6);
  background: var(--cervino);
}
.public-layout {
  display: block;
}
.public-footer {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2rem;
  color: var(--tundora);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
}
.public-footer a {
  color: var(--siam);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.public-footer a:hover,
.public-footer a:focus-visible {
  color: var(--cervino);
}
.info-page {
  --info-ink: #152124;
  --info-muted: #526266;
  --info-soft-text: #6f7d80;
  --info-primary: #0f766e;
  --info-primary-dark: #134e4a;
  --info-coral: #3f7f7a;
  --info-mint: #dff5ef;
  --info-cream: #fbfaf7;
  --info-soft: #eef4f1;
  --info-band: #162527;
  --info-line: rgba(21, 33, 36, .12);
  color: var(--info-ink);
  background: linear-gradient(135deg, #fbfaf7 0%, #eef4f1 45%, #dff5ef 100%);
  scroll-behavior: smooth;
}
.info-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(251, 250, 247, .96), rgba(238, 244, 241, .86) 56%, rgba(223, 245, 239, .82)),
    radial-gradient(circle at 84% 18%, rgba(15, 118, 110, .24), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(225, 111, 82, .18), transparent 32%);
  color: var(--info-ink);
  animation: infoRise .65s ease both;
}
.info-hero::before {
  content: "";
  position: absolute;
  inset: 74px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, .24), transparent);
}
.info-hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  bottom: clamp(1rem, 6vw, 5rem);
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 50%;
  background: rgba(223, 245, 239, .38);
  pointer-events: none;
}
.info-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(21, 33, 36, .94);
  color: var(--white);
  box-shadow: 0 18px 46px rgba(41, 41, 41, .1);
}
.info-nav .brand {
  min-width: 0;
  color: var(--white);
  font-size: clamp(.98rem, 2.2vw, 1.12rem);
  font-weight: 950;
  letter-spacing: .02rem;
}
.info-menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 246, .18);
  border-radius: 8px;
  background: rgba(255, 250, 246, .1);
  color: var(--white);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.info-menu-toggle:hover,
.info-menu-toggle:focus-visible {
  border-color: rgba(141, 227, 215, .48);
  background: rgba(255, 250, 246, .16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  outline: none;
}
.info-menu-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition: top .18s ease, transform .18s ease, opacity .18s ease;
}
.info-menu-toggle span:nth-child(1) {
  top: 14px;
}
.info-menu-toggle span:nth-child(2) {
  top: 21px;
}
.info-menu-toggle span:nth-child(3) {
  top: 28px;
}
.info-nav-actions,
.info-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.info-nav .brand,
.info-hero h1,
.info-hero p {
  color: inherit;
}
.info-link {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: .94rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
  transition: color .18s ease, text-decoration-color .18s ease, transform .18s ease;
}
.info-link:hover,
.info-link:focus-visible {
  color: var(--cameo);
  text-decoration-color: var(--cameo);
  transform: translateY(-2px);
}
.info-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: .78rem 1.05rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.info-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 118, 110, .2);
}
.info-btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--info-primary);
  color: #fffaf6;
}
.info-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 246, .18), transparent);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.info-btn-primary:hover::after {
  transform: translateX(120%);
}
.info-btn-primary:hover {
  background: var(--info-primary-dark);
}
.info-btn-light {
  background: var(--white);
  color: var(--info-ink);
}
.info-btn-dark {
  background: var(--info-band);
  color: var(--white);
}
.info-btn-dark:hover {
  background: var(--info-primary-dark);
}
.info-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  align-content: center;
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}
.info-hero-content .stack {
  position: relative;
  padding-left: clamp(1rem, 2vw, 1.4rem);
}
.info-hero-content .stack::before {
  content: "";
  position: absolute;
  left: 0;
  top: .25rem;
  width: 4px;
  height: min(78%, 360px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--info-coral), var(--info-primary));
}
.info-hero-content h1 {
  max-width: 760px;
  margin-bottom: .25rem;
  color: var(--info-ink);
  font-size: clamp(3.2rem, 7.4vw, 6.4rem);
  line-height: .94;
  text-wrap: balance;
}
.info-page .info-hero-content .eyebrow {
  color: var(--info-primary-dark);
  letter-spacing: .16rem;
}
.info-hero-content p {
  max-width: 620px;
  color: #435155;
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  font-weight: 800;
  text-wrap: balance;
}
.info-page p {
  color: var(--info-muted);
}
.info-page .info-hero p {
  color: var(--info-muted);
}
.info-preview {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(15, 118, 110, .12);
  box-shadow: 0 28px 70px rgba(21, 33, 36, .18);
  animation: infoFloat 5s ease-in-out infinite;
}
.info-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(41, 41, 41, .34));
  pointer-events: none;
}
.info-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.02);
}
.info-preview figcaption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: .3rem;
  padding: .95rem;
  border: 1px solid rgba(255, 250, 246, .22);
  border-radius: 8px;
  background: rgba(21, 33, 36, .86);
  color: var(--white);
  backdrop-filter: blur(14px);
}
.info-preview small {
  color: rgba(255, 250, 246, .78);
}
.info-preview .pill {
  width: fit-content;
  background: rgba(223, 245, 239, .18);
  color: var(--white);
}
.info-main {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 0;
  overflow: hidden;
  background: var(--white);
}
.info-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(2.5rem, 6vw, 4.2rem) max(1rem, calc((100vw - 1220px) / 2));
}
.info-section h1 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  color: var(--info-ink);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.info-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.info-benefits {
  position: relative;
  overflow: hidden;
  background: var(--info-band);
}
.info-benefits::before {
  content: "";
  position: absolute;
  inset: auto -8vw -32% auto;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(223, 245, 239, .15);
  border-radius: 50%;
  background: rgba(15, 118, 110, .12);
}
.info-benefits .section-head,
.info-benefits .info-grid {
  position: relative;
  z-index: 1;
}
.info-benefits .section-head h1,
.info-benefits .section-head p {
  color: var(--white);
}
.info-benefits .eyebrow {
  color: #8de3d7;
}
.info-section > .section-head .eyebrow,
.info-band .eyebrow,
.info-closing .eyebrow {
  color: var(--info-coral);
}
.info-benefits > .section-head .eyebrow {
  color: #8de3d7;
}
.info-section .card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-color: var(--info-line);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 28px rgba(41, 41, 41, .08);
  animation: infoRise .6s ease both;
  transition: transform .18s ease, box-shadow .18s ease;
}
.info-section .card:nth-child(2) { animation-delay: .08s; }
.info-section .card:nth-child(3) { animation-delay: .16s; }
.info-section .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(41, 41, 41, .14);
}
.info-section .card::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 108px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(15, 118, 110, .12);
}
.info-section .card::after {
  position: absolute;
  right: .9rem;
  top: .75rem;
  color: rgba(15, 118, 110, .12);
  font-size: 3.4rem;
  font-weight: 950;
  line-height: 1;
}
.info-section .card:nth-child(1)::after { content: "01"; }
.info-section .card:nth-child(2)::after { content: "02"; }
.info-section .card:nth-child(3)::after { content: "03"; }
.info-section .card h2 {
  color: var(--info-ink);
}
.info-feature {
  align-content: start;
}
.info-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(223, 245, 239, .9), rgba(255, 255, 255, .86));
  color: var(--info-primary);
  font-size: 1.65rem;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(15, 118, 110, .1);
}
.info-section .pill {
  width: fit-content;
  background: var(--info-mint);
  color: var(--info-primary-dark);
}
.info-band {
  display: grid;
  grid-template-columns: minmax(250px, .56fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  background:
    linear-gradient(90deg, rgba(238, 244, 241, .98), rgba(251, 250, 247, .8)),
    var(--info-soft);
  scroll-margin-top: 1rem;
}
.info-band > div:first-child {
  position: sticky;
  top: 1.5rem;
  align-self: start;
}
.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 2px;
  background: rgba(15, 118, 110, .24);
}
.timeline article {
  position: relative;
  display: grid;
  gap: .25rem;
  padding: 1.1rem 1.1rem 1.1rem 4.1rem;
  border: 1px solid var(--info-line);
  border-left: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 28px rgba(41, 41, 41, .06);
  animation: infoRise .6s ease both;
}
.timeline article::before {
  display: none;
}
.flow-icon {
  position: absolute;
  left: .86rem;
  top: .95rem;
  z-index: 1;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--info-primary);
  color: var(--white);
  font-size: .78rem;
  font-weight: 950;
}
.timeline article:nth-child(2) { animation-delay: .08s; }
.timeline article:nth-child(3) { animation-delay: .16s; }
.timeline p {
  color: var(--info-soft-text);
  margin-bottom: 0;
}
.metric-card {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: .7rem;
  overflow: hidden;
  border: 1px solid rgba(21, 33, 36, .12);
  border-radius: 8px;
  padding: 1rem;
  background:
    linear-gradient(145deg, rgba(21, 33, 36, .98), rgba(19, 78, 74, .94)),
    var(--info-band);
  color: var(--white);
  transition: transform .18s ease, background .18s ease;
}
.metric-card::before {
  display: none;
}
.metric-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(223, 245, 239, .12);
  color: #8de3d7;
  font-size: 1.45rem;
  font-weight: 950;
}
.metric-card:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(145deg, rgba(15, 118, 110, .98), rgba(21, 33, 36, .98)),
    var(--info-band);
}
.metric-card strong {
  font-size: 1.22rem;
}
.metric-card span {
  color: rgba(255, 250, 246, .84);
  line-height: 1.45;
}
.info-closing {
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% -12%, rgba(141, 227, 215, .26), transparent 34%),
    linear-gradient(180deg, #eef4f1, #fbfaf7);
}
.footer-mark {
  min-width: 86px;
  width: fit-content;
  height: 68px;
  display: grid;
  place-items: center;
  padding: 0 .75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 8px;
  background: var(--info-band);
  color: var(--white);
  white-space: nowrap;
  font-size: clamp(.74rem, 2vw, .86rem);
  font-weight: 950;
  letter-spacing: .05rem;
  box-shadow: 0 18px 42px rgba(21, 33, 36, .16);
}
.info-closing h1 {
  max-width: 820px;
  color: var(--info-ink);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  text-transform: uppercase;
}
.info-closing p {
  max-width: 760px;
  color: var(--info-muted);
  font-size: 1.04rem;
  font-weight: 750;
}
.info-closing .info-cta-row {
  justify-content: center;
}
.info-footer-actions {
  display: flex;
  justify-content: center;
  margin-top: .5rem;
}
.whatsapp-btn {
  min-width: 190px;
  background: #25d366;
  color: #092c18;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .28);
}
.whatsapp-btn:hover {
  background: #1fb75a;
  box-shadow: 0 18px 40px rgba(37, 211, 102, .34);
}
.info-closing small {
  display: block;
  margin-top: 1rem;
  color: var(--info-soft-text);
  font-weight: 800;
}
.info-closing .copyright {
  margin-top: .55rem;
  color: rgba(82, 98, 102, .78);
  font-size: .82rem;
  font-weight: 700;
}
.footer-link {
  color: var(--info-primary-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-hero {
  min-height: auto;
}
.legal-hero::after {
  display: none;
}
.legal-hero-content {
  grid-template-columns: minmax(0, 880px);
  align-items: end;
  min-height: 420px;
}
.legal-hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 5.1rem);
}
.legal-main {
  background: linear-gradient(180deg, var(--white), var(--info-soft));
}
.legal-section {
  padding-top: clamp(1.5rem, 4vw, 3rem);
}
.legal-notice {
  margin-bottom: 1rem;
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(223, 245, 239, .72);
  color: var(--info-primary-dark);
  line-height: 1.55;
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.legal-index {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: .45rem;
  border: 1px solid var(--info-line);
  border-radius: 8px;
  padding: .85rem;
  background: rgba(255, 255, 255, .82);
}
.legal-index a {
  border-radius: 8px;
  padding: .68rem .75rem;
  color: var(--info-muted);
  font-weight: 850;
}
.legal-index a:hover,
.legal-index a:focus-visible {
  background: var(--info-mint);
  color: var(--info-primary-dark);
  outline: none;
}
.legal-content {
  display: grid;
  gap: 1rem;
}
.legal-block {
  scroll-margin-top: 1rem;
  box-shadow: 0 14px 34px rgba(41, 41, 41, .08);
}
.legal-block h2 {
  margin-bottom: .35rem;
  color: var(--info-ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.legal-block p:last-child,
.legal-block ul:last-child {
  margin-bottom: 0;
}
.legal-block ul {
  display: grid;
  gap: .55rem;
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--info-muted);
  line-height: 1.55;
}
@keyframes infoRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes infoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .info-hero,
  .info-preview,
  .info-section .card,
  .timeline article {
    animation: none;
  }
  .info-btn,
  .info-section .card,
  .metric-card {
    transition: none;
  }
}
.search-box { margin-bottom: 1rem; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(41, 41, 41, .58);
}
.modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
}
.modal-close {
  position: sticky;
  top: 0;
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--mine);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  z-index: 1;
}
.event-modal-head {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.event-modal-head h2 { margin-bottom: .35rem; }
.event-modal-head p { margin-bottom: 0; }
.event-modal-logo {
  width: 86px;
  height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}
.map-frame {
  width: 100%;
  min-height: 210px;
  border: 0;
  border-radius: 8px;
  background: rgba(41, 41, 41, .08);
}
.badge-preview {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .auth-shell, .grid.two, .scanner-layout { grid-template-columns: 1fr; }
  .auth-brand { min-height: 360px; }
  .section-head, .public-hero { align-items: start; flex-direction: column; }
  .tabs { overflow-x: auto; }
  .info-hero { min-height: auto; }
  .info-hero-content, .info-band { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-index { position: static; }
  .info-band > div:first-child { position: static; }
  .info-grid, .info-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-preview { max-width: 440px; }
}

@media (max-width: 560px) {
  .auth-page { padding: 1rem; }
  .app-shell { width: min(100% - 1rem, 1220px); padding: 1rem 0; }
  .info-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
  }
  .info-menu-toggle {
    display: block;
  }
  .info-nav.is-open .info-menu-toggle span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
  }
  .info-nav.is-open .info-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .info-nav.is-open .info-menu-toggle span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
  }
  .info-nav-actions {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding-top: .3rem;
  }
  .info-nav.is-open .info-nav-actions {
    display: grid;
    gap: .65rem;
  }
  .info-nav .brand { min-width: 0; }
  .info-nav .info-link {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-block: .65rem;
    text-align: center;
  }
  .info-nav .info-btn {
    width: 100%;
    min-height: 46px;
  }
  .info-nav-actions, .info-cta-row { width: 100%; }
  .info-btn { width: 100%; }
  .info-link { padding-block: .55rem; }
  .info-grid, .info-grid.four { grid-template-columns: 1fr; }
  .timeline::before { left: .95rem; }
  .timeline article { padding-left: 3.75rem; }
  .timeline article::before { left: .5rem; }
  .flow-icon { left: .6rem; }
  .info-preview figcaption { position: static; border-radius: 0; }
  .info-hero-content .stack { padding-left: 0; }
  .info-hero-content .stack::before { display: none; }
  .topbar { flex-wrap: wrap; }
  h1 { font-size: 2rem; }
  video { min-height: 300px; }
  th, td { padding: .7rem .55rem; }
  .event-modal-head { grid-template-columns: 68px minmax(0, 1fr); }
  .event-modal-logo {
    width: 68px;
    height: 68px;
  }
}
