/* Pathik website — shared styles for every page under /pathik (D126).
   Brand: teal #16707F, sunset journey gradient, champagne accents, Plus Jakarta Sans + Inter. */

:root {
  --canvas: #F6F8F7;
  --surface: #FFFFFF;
  --surface-2: #EEF4F3;
  --ink: #0B1E26;
  --text: #22343C;
  --muted: #56676E;
  --line: #DCE6E5;
  --primary: #16707F;
  --primary-ink: #FFFFFF;
  --primary-soft: #DDF0F0;
  --coral: #C2410C;
  --sun: #F2633C;
  --champagne: #E7C38E;
  --champagne-ink: #4A3410;
  --journey: linear-gradient(120deg, #FE9523 0%, #F2633C 26%, #C98C79 52%, #81C0AF 76%, #3095AB 100%);
  --hero-glow-a: rgba(254, 149, 35, .35);
  --hero-glow-b: rgba(48, 149, 171, .35);
  --shadow: 0 1px 2px rgba(11, 30, 38, .06), 0 12px 32px rgba(11, 30, 38, .08);
  --shadow-lg: 0 30px 80px rgba(11, 30, 38, .18);
  --radius: 22px;
  --radius-sm: 14px;
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #081419;
    --surface: #0F2129;
    --surface-2: #142A33;
    --ink: #F1F6F5;
    --text: #D5E2E1;
    --muted: #9DB0B2;
    --line: #21363F;
    --primary: #5CC8CF;
    --primary-ink: #04252A;
    --primary-soft: #133A40;
    --coral: #FB8A5A;
    --hero-glow-a: rgba(254, 149, 35, .22);
    --hero-glow-b: rgba(48, 149, 171, .28);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #081419;
  --surface: #0F2129;
  --surface-2: #142A33;
  --ink: #F1F6F5;
  --text: #D5E2E1;
  --muted: #9DB0B2;
  --line: #21363F;
  --primary: #5CC8CF;
  --primary-ink: #04252A;
  --primary-soft: #133A40;
  --coral: #FB8A5A;
  --hero-glow-a: rgba(254, 149, 35, .22);
  --hero-glow-b: rgba(48, 149, 171, .28);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--canvas); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.3rem var(--display); letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: var(--shadow); }
.nav-links { display: none; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav-cta { display: none; }
.theme-toggle, .menu-toggle {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 1.05rem;
}
.theme-toggle { margin-left: auto; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); background: var(--canvas); }
.menu-open .mobile-menu { display: block; animation: drop .25s ease-out; }
.mobile-menu a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; width: 100%; justify-content: center; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .theme-toggle { margin-left: 8px; }
  .nav-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu, .menu-open .mobile-menu { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 .98rem var(--display); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 20px 10px 16px; border-radius: 16px;
  background: #0B1E26; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s, box-shadow .2s; box-shadow: var(--shadow);
}
:root[data-theme="dark"] .store-btn { background: #fff; color: #0B1E26; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store-btn { background: #fff; color: #0B1E26; } }
.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.store-btn svg { width: 28px; height: 28px; flex: none; }
.store-btn small { display: block; font: 500 .7rem var(--body); opacity: .75; letter-spacing: .02em; }
.store-btn strong { display: block; font: 700 1.1rem var(--display); line-height: 1.1; }
.store-btn.soon { background: var(--surface); color: var(--ink); border: 1px dashed var(--muted); box-shadow: none; cursor: pointer; }
.store-btn.soon .pill { margin-left: 4px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 700 .72rem var(--display); letter-spacing: .04em; text-transform: uppercase; background: var(--primary-soft); color: var(--primary); }
.pill.gold { background: var(--champagne); color: var(--champagne-ink); }
.pill.coral { background: color-mix(in srgb, var(--sun) 16%, transparent); color: var(--coral); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 72px; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); }
.hero::before { width: 520px; height: 520px; background: var(--hero-glow-a); top: -160px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.hero::after { width: 460px; height: 460px; background: var(--hero-glow-b); bottom: -180px; left: -140px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.12); } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 110px; } .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); margin-bottom: 22px; }
.eyebrow b { background: var(--journey); color: #fff; padding: 2px 10px; border-radius: 999px; font: 700 .72rem var(--display); letter-spacing: .05em; }
.hero h1 .line { display: block; }
.gradient-text { background: var(--journey); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: 200% 0; } }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .5s, transform .5s; white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.off { opacity: 0; transform: translateY(-40%); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 560px; margin: 18px 0 28px; }
.hero-note { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; font-size: .9rem; color: var(--text); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Split headline reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.split .w > i { display: inline-block; font-style: normal; transform: translateY(105%); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes rise { to { transform: none; } }

/* ---------- Phone mockup ---------- */
.stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.route path { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 10; opacity: .55; }
.route .draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s .4s ease-out forwards; stroke: url(#journey); stroke-width: 3.5; opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.phone {
  position: relative; z-index: 1; width: 272px; height: 560px; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1C2F37, #08141A); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 82px; height: 22px; margin-left: -41px; background: #08141A; border-radius: 999px; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #F6F8F7; color: #0B1E26; font-size: 12px; }
.screen .top { background: var(--journey); color: #fff; padding: 44px 16px 18px; }
.screen .top small { opacity: .9; font-size: 11px; }
.screen .top b { display: block; font: 800 18px var(--display); margin-top: 2px; }
.chip-row { display: flex; gap: 6px; padding: 12px 12px 4px; overflow: hidden; }
.chip-row span { padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid #DCE6E5; font-weight: 600; font-size: 10.5px; white-space: nowrap; }
.chip-row span.on { background: #16707F; color: #fff; border-color: #16707F; }
.trip-card { margin: 10px 12px; background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 6px 18px rgba(11,30,38,.08); }
.trip-card .ph { height: 86px; border-radius: 12px; margin-bottom: 10px; position: relative; overflow: hidden; }
.trip-card .ph.a { background: linear-gradient(160deg, #81C0AF, #3095AB 60%, #16707F); }
.trip-card .ph.b { background: linear-gradient(160deg, #FE9523, #F2633C 60%, #C98C79); }
.trip-card .ph::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30px; height: 70px; background: rgba(255,255,255,.35); border-radius: 50% 50% 0 0; }
.trip-card h5 { margin: 0; font: 700 13px var(--display); }
.trip-card p { margin: 2px 0 8px; color: #56676E; font-size: 11px; }
.trip-card .meta { display: flex; justify-content: space-between; align-items: center; }
.avatars { display: flex; }
.avatars i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; }
.avatars i:first-child { margin-left: 0; background: #FE9523; } .avatars i:nth-child(2) { background: #3095AB; } .avatars i:nth-child(3) { background: #C98C79; }
.mini-btn { background: #16707F; color: #fff; padding: 5px 10px; border-radius: 999px; font-weight: 700; font-size: 10px; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 10px 6px 16px; background: #fff; border-top: 1px solid #E6EEED; font-size: 15px; }
.tabbar .fab { width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--journey); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px rgba(242,99,60,.4); }
.float-card {
  position: absolute; z-index: 2; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 10px;
  animation: float 8s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; background: var(--primary-soft); }
.fc-1 { top: 8%; left: -2%; animation-delay: -2s; }
.fc-2 { bottom: 16%; right: -4%; animation-delay: -4s; }
.fc-3 { bottom: 4%; left: 2%; animation-delay: -1s; }
@media (max-width: 520px) { .fc-1 { left: 0; } .fc-2 { right: 0; } .float-card { font-size: .74rem; padding: 8px 10px; } }
.mascot { position: absolute; z-index: 2; width: 150px; height: 150px; right: 2%; top: -2%; pointer-events: none; }
@media (max-width: 520px) { .mascot { width: 110px; height: 110px; right: -2%; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { display: inline-block; font: 700 .78rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: scroll 36s linear infinite; font: 700 1.05rem var(--display); color: var(--muted); }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Feature grid */
.grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .grid.two { grid-template-columns: repeat(2, 1fr); } .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 680px) and (max-width: 999px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); }
.card .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; background: var(--primary-soft); }
.card .icon.sun { background: color-mix(in srgb, var(--sun) 16%, transparent); }
.card .icon.gold { background: color-mix(in srgb, var(--champagne) 45%, transparent); }
.card p { color: var(--muted); margin: 0; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { padding: 6px 0 6px 26px; position: relative; color: var(--text); font-size: .95rem; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.card.feature-lg { padding: 32px; }
@media (min-width: 1000px) { .span-2 { grid-column: span 2; } }
.card .glow { position: absolute; width: 220px; height: 220px; right: -70px; top: -70px; border-radius: 50%; background: var(--journey); opacity: .12; filter: blur(10px); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--canvas); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 800 2.4rem var(--display); background: var(--journey); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Showcase (two-column with visual) */
.showcase { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .showcase { grid-template-columns: 1fr 1fr; gap: 64px; } .showcase.flip > :first-child { order: 2; } }
.panel { position: relative; border-radius: 28px; padding: 28px; background: var(--journey); min-height: 360px; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 50%); }
.panel.teal { background: linear-gradient(140deg, #0E4652, #16707F 55%, #3095AB); }
.panel .lottie { width: 220px; height: 220px; position: relative; }
.glass { position: relative; background: rgba(255,255,255,.86); color: #0B1E26; border-radius: 20px; padding: 18px; width: min(320px, 100%); box-shadow: 0 20px 40px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.glass h5 { margin: 0 0 4px; font: 800 1rem var(--display); }
.glass p { margin: 0; font-size: .86rem; color: #3D4E55; }
.glass + .glass { margin-top: 12px; }
.chat { display: grid; gap: 10px; width: min(340px, 100%); position: relative; }
.bubble { padding: 12px 14px; border-radius: 18px; font-size: .9rem; max-width: 86%; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.bubble.me { justify-self: end; background: #fff; color: #0B1E26; border-bottom-right-radius: 6px; }
.bubble.ai { background: rgba(8,20,26,.82); color: #fff; border-bottom-left-radius: 6px; }
.bubble.ai b { color: #E7C38E; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .5; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: .85rem; }

/* Map mock */
.map {
  position: relative; width: min(360px, 100%); aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(129,192,175,.55), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(254,149,35,.35), transparent 35%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 36px),
    #0E4652;
}
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #FE9523; border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgba(254,149,35,.6); animation: ping 2s infinite; }
.pin.me { background: #5CC8CF; }
@keyframes ping { 70% { box-shadow: 0 0 0 18px rgba(254,149,35,0); } 100% { box-shadow: 0 0 0 0 rgba(254,149,35,0); } }

/* Pricing */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; border-radius: 28px; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.pro { background: linear-gradient(170deg, #0E2F38, #0B1E26 60%); color: #E8F1F0; border: 0; }
.plan.pro::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: 28px; background: var(--journey); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan.pro h3, .plan.pro .price { color: #fff; }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.plan .price { font: 800 2.2rem var(--display); color: var(--ink); margin: 6px 0 4px; }
.plan .price small { font: 500 .95rem var(--body); color: var(--muted); }
.plan.pro .price small, .plan.pro .sub { color: #A9C1C2; }
.plan .sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.plan li .i { flex: none; width: 24px; text-align: center; }
.plan li small { display: block; color: var(--muted); font-size: .84rem; }
.plan.pro li small { color: #A9C1C2; }
.plan .btn { justify-content: center; }
.plan.pro .btn-primary { background: var(--journey); color: #fff; box-shadow: 0 12px 30px rgba(242,99,60,.35); }
.compare-wrap { margin-top: 40px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.compare caption { text-align: left; padding: 18px 20px 6px; font: 700 1.05rem var(--display); color: var(--ink); }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 .82rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td.pro { color: var(--ink); font-weight: 600; }
.compare tr:last-child > * { border-bottom: 0; }
.fine { font-size: .86rem; color: var(--muted); margin-top: 16px; }

/* Agency band */
.band { border-radius: 32px; padding: 40px 28px; background: linear-gradient(135deg, #0E4652 0%, #16707F 55%, #3095AB 100%); color: #E7F3F2; position: relative; overflow: hidden; }
.band h2, .band h3 { color: #fff; }
.band p { color: #CFE5E4; }
.band .grid .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; color: #E7F3F2; }
.band .grid .card p { color: #CFE5E4; }
.band .grid .card h3 { color: #fff; }
.band .grid .card .icon { background: rgba(255,255,255,.14); }
@media (min-width: 860px) { .band { padding: 56px 52px; } }
.band .lottie { position: absolute; right: -20px; bottom: -20px; width: 200px; height: 200px; opacity: .95; }
@media (max-width: 860px) { .band .lottie { display: none; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 700 1.04rem var(--display); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* CTA */
.cta { position: relative; border-radius: 36px; padding: 52px 28px; text-align: center; overflow: hidden; background: var(--ink); color: var(--canvas); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, #FE9523, #F2633C, #C98C79, #81C0AF, #3095AB, #FE9523); opacity: .3; animation: spin 24s linear infinite; filter: blur(40px); }
@keyframes spin { to { transform: rotate(360deg); } }
.cta h2 { color: var(--canvas); }
.cta p { color: color-mix(in srgb, var(--canvas) 78%, transparent); max-width: 560px; margin-inline: auto; }
.cta .store-row { justify-content: center; margin-top: 26px; }
.cta .lottie { width: 140px; height: 140px; margin: -10px auto 4px; }

/* Waitlist dialog */
dialog.sheet { border: 0; border-radius: 26px; padding: 0; width: min(460px, calc(100% - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
dialog.sheet::backdrop { background: rgba(8, 20, 26, .55); backdrop-filter: blur(4px); }
.sheet-body { padding: 28px; }
.sheet-body h3 { font-size: 1.4rem; }
.field { display: grid; gap: 6px; margin: 16px 0; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input { min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--canvas); color: var(--ink); padding: 0 16px; font: inherit; }
.field input:focus { outline: none; border-color: var(--primary); }
.sheet-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.form-msg { font-size: .88rem; color: var(--coral); min-height: 1.2em; }

/* Footer */
.site-footer { padding: 64px 0 36px; border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.foot-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .86rem; color: var(--muted); }
.lockup { height: 40px; width: auto; }
.lockup.dark { display: none; }
:root[data-theme="dark"] .lockup.light { display: none; }
:root[data-theme="dark"] .lockup.dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lockup.light { display: none; } :root:not([data-theme="light"]) .lockup.dark { display: block; } }

/* ---------- Legal / document pages ---------- */
.doc-hero { padding: 56px 0 30px; position: relative; overflow: hidden; }
.doc-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -200px; border-radius: 50%; background: var(--hero-glow-a); filter: blur(70px); z-index: -1; }
.doc-hero h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
.doc-hero p { color: var(--muted); max-width: 680px; font-size: 1.05rem; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.doc-layout { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 260px 1fr; gap: 56px; } }
.toc { position: relative; }
@media (min-width: 1000px) { .toc nav { position: sticky; top: 92px; } }
.toc nav { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.toc h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .9rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--primary); }
.doc { max-width: 760px; min-width: 0; }
.doc h2 { font-size: 1.45rem; margin-top: 44px; scroll-margin-top: 90px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 26px; font-size: 1.08rem; }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 18px 0; box-shadow: var(--shadow); }
.doc .box.note { border-left: 4px solid var(--primary); }
.doc .box.warn { border-left: 4px solid var(--coral); }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 18px 0; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface-2); color: var(--ink); font-weight: 700; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps-list li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin: 0 !important; }
.steps-list li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); font: 800 .95rem var(--display); }

/* Guardian page */
.guardian-shell { display: grid; gap: 24px; padding-bottom: 40px; }
@media (min-width: 960px) { .guardian-shell { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.gmap { position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; background: #0E4652; box-shadow: var(--shadow-lg); }
.gmap .map { width: 100%; height: 100%; min-height: 420px; aspect-ratio: auto; border-radius: 0; position: absolute; inset: 0; }
.gmap .status { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ping 2s infinite; margin-right: 6px; }
.token-form { display: flex; gap: 10px; flex-wrap: wrap; }
.token-form input { flex: 1 1 220px; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--canvas); color: var(--ink); padding: 0 16px; font: inherit; }

/* Open-in-app page */
.open-card { max-width: 520px; margin: 40px auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 36px 26px; box-shadow: var(--shadow-lg); }
.open-card .lottie { width: 160px; height: 160px; margin: -12px auto 0; }
.open-card .store-row { justify-content: center; margin-top: 22px; }

/* ---------- Screenshots rail (D295) ---------- */
.screens-section { overflow: hidden; background: radial-gradient(60% 50% at 20% 0%, var(--hero-glow-a), transparent 70%), radial-gradient(60% 50% at 80% 100%, var(--hero-glow-b), transparent 70%); }
.screens-rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 28px; scrollbar-width: none; }
.screens-rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: min(64vw, 260px); margin: 0; scroll-snap-align: center; text-align: center; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.shot img { display: block; width: 100%; height: auto; border-radius: 30px; border: 6px solid var(--ink); box-shadow: var(--shadow-lg); cursor: zoom-in; background: var(--surface-2); }
.shot:nth-child(even) { transform: translateY(26px); }
.shot:hover { transform: translateY(-8px) rotate(-1deg); }
.shot figcaption { margin-top: 14px; font: 700 15px/1.3 var(--display); color: var(--ink); }
.screens-nav { display: flex; justify-content: center; gap: 12px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 18px; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s; }
.round-btn:hover { transform: scale(1.08); }
.shot-box { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.shot-box::backdrop { background: rgba(8, 20, 25, .82); backdrop-filter: blur(6px); }
.shot-box img { display: block; max-height: 88vh; width: auto; border-radius: 26px; }
.shot-box .round-btn { position: absolute; top: 10px; right: 10px; }

/* ---------- Benefits strip and socials (D295) ---------- */
.benefits { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.benefits::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--journey); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.benefits div { display: flex; flex-direction: column; gap: 2px; }
.benefits b { font: 700 16px/1.3 var(--display); color: var(--ink); }
.benefits span { color: var(--muted); font-size: 14px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); transition: transform .2s, background .2s, color .2s; }
.socials a:hover { transform: translateY(-3px); background: var(--primary); color: var(--primary-ink); }
.socials svg { width: 20px; height: 20px; }
.card { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split .w > i { transform: none; }
  .route .draw { stroke-dashoffset: 0; }
}
