/* ==========================================================================
   Dokan AI — design system
   Warm cream canvas, deep forest greens, saffron accent. No purple.
   ========================================================================== */

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f4efe7;
  --surface-3: #ece5da;
  --ink: #0f1d19;
  --ink-2: #34433d;
  --muted: #6a7671;
  --line: #e7e0d5;
  --line-strong: #d6cdbf;

  --forest-950: #07201a;
  --forest-900: #0b2a21;
  --forest-800: #0f3a2d;
  --forest-700: #155240;
  --emerald: #1e7f5c;
  --emerald-600: #19704f;
  --emerald-400: #3fa77f;
  --mint: #dcefe4;
  --mint-2: #eef7f1;

  --saffron: #f07a2a;
  --saffron-600: #d9621a;
  --saffron-300: #f8a868;
  --saffron-soft: #fdecdf;
  --gold: #e8b04b;
  --sky: #2f7fa8;
  --sky-soft: #e3f0f6;
  --danger: #c3422f;
  --danger-soft: #fbe6e2;
  --warning: #b7791f;
  --warning-soft: #fbf0dc;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", "Hind Siliguri", ui-sans-serif, system-ui, sans-serif;
  --font-bn: "Hind Siliguri", "DM Sans", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 25, .06), 0 1px 1px rgba(15, 29, 25, .04);
  --shadow: 0 10px 30px -12px rgba(15, 29, 25, .18), 0 2px 6px rgba(15, 29, 25, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 42, 33, .35), 0 8px 20px -8px rgba(11, 42, 33, .15);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 600; }
p { margin: 0; }
[lang="bn"], .bn { font-family: var(--font-bn); }
::selection { background: var(--saffron-soft); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-sm { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 46px; padding: 0 1.25rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn-primary { --btn-bg: var(--saffron); --btn-fg: #fff; box-shadow: 0 8px 20px -8px rgba(240,122,42,.6); }
.btn-primary:hover { --btn-bg: var(--saffron-600); }
.btn-green { --btn-bg: var(--emerald); }
.btn-green:hover { --btn-bg: var(--emerald-600); }
.btn-dark { --btn-bg: var(--forest-900); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); border-color: var(--line); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--surface); box-shadow: none; }
.btn-ghost-light { --btn-bg: rgba(255,255,255,.06); --btn-fg: #f4efe7; border-color: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.12); }
.btn-danger { --btn-bg: var(--danger-soft); --btn-fg: var(--danger); }
.btn-sm { height: 36px; padding: 0 .9rem; font-size: .85rem; }
.btn-lg { height: 54px; padding: 0 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--emerald); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.link:hover { color: var(--emerald-600); }
.link .i { transition: transform .2s var(--ease); }
.link:hover .i { transform: translateX(3px); }

/* ---------- Badges & chips ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--emerald);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.on-dark { color: var(--saffron-300); }
.badge {
  display: inline-flex; align-items: center; gap: .35rem; height: 26px; padding: 0 .65rem;
  border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap;
}
.badge-green { background: var(--mint); color: var(--emerald-600); }
.badge-orange { background: var(--saffron-soft); color: var(--saffron-600); }
.badge-red { background: var(--danger-soft); color: var(--danger); }
.badge-yellow { background: var(--warning-soft); color: var(--warning); }
.badge-blue { background: var(--sky-soft); color: var(--sky); }
.badge-dark { background: var(--forest-900); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.pulse-dot { position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-dark { color: #f4efe7; }
.nav.is-scrolled { background: rgba(250,247,242,.86); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); color: var(--ink); }
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.03em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--saffron) 0%, #f39a4a 45%, var(--emerald) 46%, var(--forest-700) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 14px -6px rgba(240,122,42,.6);
}
.logo-mark svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.2; fill: none; }
.logo small { font-size: .7rem; font-weight: 600; padding: .1rem .4rem; border-radius: 6px; background: var(--saffron); color: #fff; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-right: auto; }
.nav-links a { padding: .5rem .8rem; border-radius: 999px; font-size: .94rem; font-weight: 500; opacity: .82; transition: opacity .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; background: rgba(127,127,127,.1); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid currentColor; border-color: rgba(127,127,127,.3); background: transparent; cursor: pointer; place-items: center; }
.nav.is-dark:not(.is-scrolled) .btn-ghost { --btn-fg: #f4efe7; border-color: rgba(255,255,255,.25); }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .nav-links, .nav-actions .hide-sm { display: none; }
  .nav-toggle { display: grid; margin-left: auto; }
  .nav-inner { gap: .75rem; }
  .mobile-menu {
    display: block; position: fixed; inset: 72px 0 0; z-index: 49; background: var(--bg); color: var(--ink);
    padding: 1.5rem var(--gutter) 2rem; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; overflow-y: auto;
  }
  .menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-open .nav { background: var(--bg); color: var(--ink); }
  .mobile-menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
  .mobile-menu .btn { margin-top: 1rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-tight { padding-block: clamp(48px, 7vw, 80px); }
.section-alt { background: var(--surface-2); }
.section-white { background: var(--surface); }
.section-dark { background: var(--forest-900); color: #f4efe7; overflow: hidden; }
.section-dark .muted { color: rgba(244,239,231,.68); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-top: .9rem; }
.section-head p { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }
.section-dark .section-head p { color: rgba(244,239,231,.7); }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head .section-head { margin-bottom: 0; }
.muted { color: var(--muted); }
.source { margin-top: 1.5rem; font-size: .8rem; color: var(--muted); }
.source strong { font-weight: 600; }
.accent { color: var(--saffron); }
.grad-text {
  background: linear-gradient(100deg, var(--saffron-300) 0%, var(--saffron) 40%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero-wrap { position: relative; background: var(--forest-950); color: #f4efe7; overflow: hidden; margin-top: -73px; padding-top: 73px; isolation: isolate; }
.hero-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 85% 10%, rgba(240,122,42,.34) 0%, rgba(240,122,42,0) 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(30,127,92,.55) 0%, rgba(30,127,92,0) 65%),
    radial-gradient(40% 40% at 55% 60%, rgba(232,176,75,.12) 0%, rgba(232,176,75,0) 70%),
    linear-gradient(180deg, var(--forest-950) 0%, var(--forest-900) 100%);
}
.hero-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px); }
.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .9rem .35rem .4rem; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: .86rem; color: rgba(244,239,231,.9);
}
.hero-pill .badge { background: var(--saffron); color: #fff; height: 22px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.04em; margin-top: 1.4rem; font-weight: 700; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(244,239,231,.76); max-width: 540px; margin-top: 1.4rem; }
.hero-lead .bn { color: rgba(244,239,231,.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.4rem; font-size: .88rem; color: rgba(244,239,231,.66); }
.hero-note span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-note .i { width: 16px; height: 16px; color: var(--emerald-400); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat { padding: 1.6rem 1.25rem 1.8rem; border-right: 1px solid rgba(255,255,255,.1); }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.03em; color: #fff; }
.hero-stat span { font-size: .88rem; color: rgba(244,239,231,.62); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* Hero visual: snap → listing */
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hv-card { position: absolute; background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hv-phone {
  left: 2%; top: 6%; width: 46%; aspect-ratio: 9/18; border-radius: 34px; padding: 10px; background: #0a0f0d;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 1.5px rgba(255,255,255,.12); animation: float 7s ease-in-out infinite;
}
.hv-screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #111; }
.hv-photo { position: absolute; inset: 0; background: var(--product-bg, linear-gradient(160deg, #f6c38d, #e2733a 55%, #7b2f19)); }
.hv-photo::before {
  content: ""; position: absolute; left: 18%; right: 18%; top: 20%; bottom: 26%; border-radius: 40% 40% 12px 12px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 6px, transparent 6px 14px),
    linear-gradient(180deg, #0f3a2d 0%, #1e7f5c 60%, #0f3a2d 100%);
  box-shadow: 0 20px 30px -10px rgba(0,0,0,.45);
}
.hv-photo::after { content: ""; position: absolute; left: 18%; right: 18%; top: 58%; height: 8%; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, #b9471b 8px 14px); }
.hv-shutter { position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; border: 4px solid #fff; background: rgba(255,255,255,.3); box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
.hv-shutter::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; animation: shutter 4s ease-in-out infinite; }
@keyframes shutter { 0%, 70%, 100% { transform: scale(1); } 75% { transform: scale(.8); } }
.hv-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 4s ease-in-out infinite; }
@keyframes flash { 0%, 73%, 100% { opacity: 0; } 75% { opacity: .75; } }
.hv-frame { position: absolute; inset: 14% 10% 22%; border: 2px solid rgba(255,255,255,.6); border-radius: 18px; }
.hv-frame::before, .hv-frame::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255,255,255,.7); transform: translate(-50%,-50%); }
.hv-frame::before { width: 16px; height: 2px; } .hv-frame::after { width: 2px; height: 16px; }
.hv-listing { right: 0; top: 8%; width: 60%; padding: 16px; animation: float 7s ease-in-out -2s infinite; }
.hv-listing-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hv-ai { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; color: var(--saffron-600); background: var(--saffron-soft); padding: .25rem .55rem; border-radius: 999px; }
.hv-ai .i { width: 13px; height: 13px; }
.hv-listing h4 { font-size: 1rem; }
.hv-listing .bn { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.hv-price { display: flex; align-items: baseline; gap: .5rem; margin: 10px 0; }
.hv-price strong { font-family: var(--font-display); font-size: 1.25rem; }
.hv-price s { color: var(--muted); font-size: .85rem; }
.hv-lines { display: grid; gap: 6px; margin: 12px 0; }
.hv-lines span { height: 7px; border-radius: 4px; background: var(--surface-3); position: relative; overflow: hidden; }
.hv-lines span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); transform: translateX(-100%); animation: shimmer 2.4s ease-in-out infinite; }
.hv-lines span:nth-child(2) { width: 88%; } .hv-lines span:nth-child(3) { width: 64%; }
@keyframes shimmer { to { transform: translateX(100%); } }
.hv-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.hv-tags span { font-size: .7rem; padding: .15rem .5rem; border-radius: 999px; background: var(--mint-2); color: var(--emerald-600); font-weight: 600; }
.hv-variants { display: flex; gap: 6px; margin-top: 10px; }
.hv-variants span { width: 30px; height: 26px; display: grid; place-items: center; font-size: .7rem; font-weight: 600; border-radius: 8px; border: 1px solid var(--line); }
.hv-variants span.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.hv-chip { display: flex; align-items: center; gap: .6rem; padding: .65rem .85rem; border-radius: 14px; font-size: .8rem; line-height: 1.3; }
.hv-chip b { display: block; font-size: .85rem; }
.hv-chip small { color: var(--muted); }
.hv-chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hv-order { left: 26%; bottom: 4%; animation: float 6s ease-in-out -1s infinite; }
.hv-order .ic { background: var(--mint); color: var(--emerald); }
.hv-risk { right: 0; bottom: 16%; animation: float 8s ease-in-out -3s infinite; }
.hv-risk .ic { background: var(--saffron-soft); color: var(--saffron-600); }
.hv-arrow { position: absolute; left: 41%; top: 36%; width: 18%; color: var(--saffron-300); opacity: .9; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Logos strip ---------- */
.strip { padding-block: 28px; border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; align-items: center; gap: 2rem; }
.strip-label { flex: none; font-size: .82rem; color: var(--muted); font-weight: 500; max-width: 160px; line-height: 1.35; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink-2); opacity: .72; letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; }
.marquee-track span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--saffron); opacity: .8; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .strip-inner { flex-direction: column; align-items: flex-start; gap: .8rem; } .strip-label { max-width: none; } .marquee { width: 100%; } }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); }
.card-hover { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--emerald); margin-bottom: 1.1rem; }
.icon-tile.orange { background: var(--saffron-soft); color: var(--saffron-600); }
.icon-tile.dark { background: var(--forest-900); color: var(--saffron-300); }
.icon-tile .i { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; margin-bottom: .45rem; letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: .96rem; }

/* Stat cards */
.stat-card { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1; margin-bottom: .8rem; }
.stat-card p { color: var(--muted); }
.stat-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--saffron-soft), transparent 70%); }
.stat-card.dark { background: linear-gradient(160deg, var(--forest-800), var(--forest-900)); border-color: transparent; color: #fff; }
.stat-card.dark p { color: rgba(244,239,231,.7); }
.stat-card.dark::after { background: radial-gradient(circle, rgba(240,122,42,.35), transparent 70%); }
.section-dark .stat-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section-dark .stat-card p { color: rgba(244,239,231,.66); }
.section-dark .stat-card::after { background: radial-gradient(circle, rgba(240,122,42,.25), transparent 70%); }

/* Problem */
.problem { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.problem-quote { margin-top: 2rem; padding: 1.4rem 1.5rem; border-left: 3px solid var(--saffron); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; font-size: 1.05rem; color: var(--ink-2); }
.problem-stats { display: grid; gap: 16px; }
.problem-stats .stat-card { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 1.5rem; }
.problem-stats .stat-card strong { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); white-space: nowrap; }
@media (max-width: 860px) {
  .problem { grid-template-columns: 1fr; }
  .problem-stats .stat-card { grid-template-columns: 1fr; gap: .6rem; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; background: var(--saffron); color: #fff; margin-bottom: 1.4rem; box-shadow: 0 0 0 6px rgba(240,122,42,.15); }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: rgba(244,239,231,.7); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -20px; width: 20px; height: 2px; background: linear-gradient(90deg, var(--saffron), transparent); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step:not(:last-child)::after { display: none; } }
.snap-after { margin-top: 28px; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--r); background: linear-gradient(90deg, rgba(240,122,42,.16), rgba(240,122,42,.02)); border: 1px solid rgba(240,122,42,.25); }
.snap-after .icon-tile { margin: 0; }

/* Pain → fix table */
.fix-table { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.fix-row { display: grid; grid-template-columns: 1fr 48px 1.2fr; align-items: center; gap: 1rem; padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--line); transition: background .2s; }
.fix-row:last-child { border-bottom: 0; }
.fix-row:hover { background: var(--mint-2); }
.fix-row.head { background: var(--forest-900); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.fix-row.head:hover { background: var(--forest-900); }
.fix-pain { display: flex; align-items: center; gap: .7rem; color: var(--ink-2); }
.fix-pain .i { color: var(--danger); }
.fix-arrow { color: var(--saffron); display: grid; place-items: center; }
.fix-fix { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.fix-fix .i { color: var(--emerald); }
@media (max-width: 720px) {
  .fix-row { grid-template-columns: 1fr; gap: .4rem; }
  .fix-arrow { display: none; }
  .fix-row.head { display: none; }
}

/* USP */
.usp-card { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.usp-card[data-tone="unique"] { background: linear-gradient(170deg, #fff 0%, var(--saffron-soft) 160%); border-color: #f6d4bb; }
.usp-card[data-tone="unique"] .icon-tile { background: var(--saffron); color: #fff; }
.usp-card[data-tone="better"] .icon-tile { background: var(--emerald); color: #fff; }
.usp-card h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.usp-card p { color: var(--muted); font-size: .94rem; }
.usp-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .88rem; color: var(--muted); }
.usp-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.usp-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 2px; }
.billing-toggle button { height: 40px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: .5rem; }
.billing-toggle button.active { background: var(--forest-900); color: #fff; }
.billing-toggle .badge { height: 20px; font-size: .7rem; }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { background: linear-gradient(170deg, var(--forest-800), var(--forest-950)); color: #f4efe7; border-color: transparent; box-shadow: var(--shadow-lg); }
.plan.featured .plan-tagline, .plan.featured .plan-period, .plan.featured .plan-annual { color: rgba(244,239,231,.66); }
.plan.featured .plan-features li .i { color: var(--saffron-300); }
.plan-flag { position: absolute; top: -12px; left: 24px; background: var(--saffron); color: #fff; font-size: .74rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .02em; }
.plan h3 { font-size: 1.2rem; }
.plan-tagline { font-size: .9rem; color: var(--muted); margin-top: .25rem; min-height: 2.8em; }
.plan-price { display: flex; align-items: baseline; gap: .3rem; margin-top: 1.2rem; }
.plan-price strong { font-family: var(--font-display); font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; }
.plan-period { color: var(--muted); font-size: .9rem; }
.plan-annual { font-size: .8rem; color: var(--muted); min-height: 1.4em; margin-top: .35rem; }
.plan .btn { margin-top: 1.4rem; }
.plan-features { list-style: none; margin: 1.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .7rem; font-size: .92rem; }
.plan.featured .plan-features { border-color: rgba(255,255,255,.12); }
.plan-features li { display: flex; gap: .6rem; align-items: flex-start; }
.plan-features li .i { width: 18px; height: 18px; color: var(--emerald); margin-top: 2px; }
[data-price-annual] { display: none; }
.is-annual [data-price-monthly] { display: none; }
.is-annual [data-price-annual] { display: inline; }
.pricing-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-radius: var(--r); background: var(--surface); border: 1px dashed var(--line-strong); font-size: .93rem; }
.pricing-foot .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 1080px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-family: var(--font-display); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--surface-2); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--mint-2); }
.table .us td { background: linear-gradient(90deg, var(--saffron-soft), #fff); font-weight: 600; }
.table .us td:first-child { box-shadow: inset 3px 0 0 var(--saffron); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table td.center, .table th.center { text-align: center; }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.mark.yes { background: var(--mint); color: var(--emerald); }
.mark.no { background: var(--surface-2); color: var(--muted); }
.mark.part { background: var(--warning-soft); color: var(--warning); }
.mark .i { width: 14px; height: 14px; stroke-width: 2.6; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--saffron); color: #fff; }
.faq .answer { padding: 0 1.4rem 1.3rem; color: var(--muted); max-width: 68ch; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: 100px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); background: var(--forest-900); color: #f4efe7; isolation: isolate; display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 100% 0%, rgba(240,122,42,.45), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(30,127,92,.6), transparent 60%); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-band p { color: rgba(244,239,231,.74); margin-top: .8rem; font-size: 1.08rem; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--forest-950); color: rgba(244,239,231,.7); padding-top: clamp(56px, 8vw, 88px); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; padding-bottom: 3rem; }
.footer .logo { color: #fff; }
.footer-about p { margin-top: 1rem; max-width: 300px; }
.footer h4 { font-family: var(--font-display); color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a:hover { color: #fff; }
.newsletter { display: flex; gap: .5rem; margin-top: 1.4rem; max-width: 340px; }
.newsletter input { flex: 1; min-width: 0; height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; }
.newsletter input::placeholder { color: rgba(244,239,231,.5); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom .status-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--emerald-400); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--forest-950); color: #f4efe7; margin-top: -73px; padding: calc(73px + clamp(56px, 8vw, 96px)) 0 clamp(56px, 8vw, 88px); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 90% 0%, rgba(240,122,42,.3), transparent 60%), radial-gradient(40% 70% at 0% 100%, rgba(30,127,92,.5), transparent 60%); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.035em; margin-top: 1rem; max-width: 900px; }
.page-hero p.lead { margin-top: 1.2rem; font-size: 1.15rem; color: rgba(244,239,231,.74); max-width: 640px; }
.page-hero .hero-ctas { margin-top: 1.8rem; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center p.lead { margin-inline: auto; }
.page-hero.center .eyebrow, .page-hero.center .hero-ctas { justify-content: center; }

/* Feature detail rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 9vw, 112px); }
.feature-row.flip .feature-media { order: -1; }
.feature-row h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: .8rem; }
.feature-row > div > p { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .i { color: var(--emerald); margin-top: 3px; width: 18px; height: 18px; }
.feature-media { border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); background: linear-gradient(160deg, var(--mint-2), var(--surface-2)); border: 1px solid var(--line); min-height: 320px; display: grid; align-content: center; }
.feature-media.warm { background: linear-gradient(160deg, var(--saffron-soft), var(--surface-2)); }
.feature-media.dark { background: linear-gradient(160deg, var(--forest-800), var(--forest-950)); color: #fff; border-color: transparent; }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } .feature-row.flip .feature-media { order: 0; } }

/* Mini UI mocks used inside feature media */
.mock { background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; font-size: .88rem; }
.mock + .mock { margin-top: 12px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-row b { font-weight: 600; }
.mock-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.mock-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--emerald), var(--emerald-400)); }
.mock-bubble { max-width: 84%; padding: .6rem .85rem; border-radius: 16px; margin-bottom: .5rem; font-size: .86rem; }
.mock-bubble.in { background: var(--surface-2); border-bottom-left-radius: 4px; }
.mock-bubble.out { background: var(--emerald); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }

/* Snap demo */
.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.dropzone { position: relative; display: grid; place-items: center; text-align: center; gap: .5rem; min-height: 220px; padding: 1.5rem; border-radius: var(--r); border: 2px dashed var(--line-strong); background: var(--surface-2); cursor: pointer; transition: border-color .2s, background .2s; overflow: hidden; }
.dropzone:hover, .dropzone.is-over { border-color: var(--saffron); background: var(--saffron-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dropzone .dz-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--saffron); box-shadow: var(--shadow-sm); margin-inline: auto; }
.dropzone small { color: var(--muted); }
.result { min-height: 100%; }
.result-empty { display: grid; place-items: center; text-align: center; gap: .8rem; min-height: 420px; color: var(--muted); }
.result-empty .icon-tile { margin: 0 auto; }
.result h3 { font-size: 1.4rem; }
.result .bn-title { font-family: var(--font-bn); color: var(--muted); margin-top: .2rem; }
.result-block { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.result-block h5 { font-family: var(--font-display); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; font-weight: 600; }
.result-block p { white-space: pre-line; color: var(--ink-2); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 .8rem; border-radius: 999px; background: var(--surface-2); font-size: .84rem; font-weight: 500; }
.chip.green { background: var(--mint); color: var(--emerald-600); }
.serp { padding: 1rem; border-radius: var(--r-sm); background: var(--surface-2); }
.serp .t { color: #1a5bb8; font-size: 1.02rem; font-weight: 500; }
.serp .u { color: var(--emerald-600); font-size: .8rem; }
.serp .d { color: var(--ink-2); font-size: .87rem; margin-top: .2rem; }
.typing::after { content: "▍"; animation: blink 1s steps(1) infinite; color: var(--saffron); margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .result-empty { min-height: 260px; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field > label, .label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field .help { font-size: .8rem; color: var(--muted); }
.field .error, .errorlist { color: var(--danger); font-size: .82rem; margin: 0; padding: 0; list-style: none; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="number"],
.field input[type="url"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 1rem; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface);
  transition: border-color .2s, box-shadow .2s; font-size: .96rem;
}
.field textarea { height: auto; padding: .8rem 1rem; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236a7671' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(30,127,92,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field input[type="color"] { width: 64px; height: 48px; padding: 4px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; }
.field input[type="file"] { font-size: .88rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--emerald); flex: none; }
.field ul[id] { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.field ul[id] label { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: .9rem; font-weight: 500; transition: border-color .2s, background .2s; }
.field ul[id] label:has(input:checked) { border-color: var(--emerald); background: var(--mint-2); color: var(--emerald-600); }
.field ul[id] input { accent-color: var(--emerald); }
.input-affix { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--surface); }
.input-affix:focus-within { border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(30,127,92,.14); }
.input-affix input { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.input-affix span { display: grid; place-items: center; padding: 0 .9rem; background: var(--surface-2); color: var(--muted); font-size: .88rem; white-space: nowrap; }

/* Alerts / toasts */
.toasts { position: fixed; z-index: 100; right: 16px; bottom: 16px; display: grid; gap: .5rem; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; gap: .75rem; padding: .95rem 1rem; border-radius: 14px; background: var(--forest-900); color: #fff; box-shadow: var(--shadow-lg); font-size: .92rem; animation: toast-in .4s var(--ease); }
.toast.error { background: #5a1d14; }
.toast.warning { background: #5c3d0a; }
.toast .i { color: var(--emerald-400); margin-top: 1px; }
.toast.error .i { color: #ff9f8f; } .toast.warning .i { color: var(--gold); }
.toast button { margin-left: auto; background: none; border: 0; color: inherit; opacity: .6; cursor: pointer; padding: 0 0 0 .5rem; font-size: 1.2rem; line-height: 1; }
.toast.is-leaving { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 14px; background: var(--mint-2); border: 1px solid var(--mint); color: var(--ink-2); font-size: .93rem; }
.alert .i { color: var(--emerald); margin-top: 2px; }
.alert.warn { background: var(--warning-soft); border-color: #f3dfb8; } .alert.warn .i { color: var(--warning); }
.alert.danger { background: var(--danger-soft); border-color: #f4cbc3; } .alert.danger .i { color: var(--danger); }
.alert.orange { background: var(--saffron-soft); border-color: #f8d3b6; } .alert.orange .i { color: var(--saffron-600); }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .icon-tile { margin: 0; flex: none; }
.contact-item b { display: block; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* Investors */
.tam { display: grid; gap: 14px; }
.tam-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 1.6rem; border-radius: var(--r-lg); color: #fff; }
.tam-row:nth-child(1) { background: linear-gradient(90deg, var(--forest-700), var(--forest-800)); }
.tam-row:nth-child(2) { background: linear-gradient(90deg, var(--emerald), var(--forest-700)); margin-inline: clamp(0px, 4vw, 48px); }
.tam-row:nth-child(3) { background: linear-gradient(90deg, var(--saffron), var(--saffron-600)); margin-inline: clamp(0px, 8vw, 96px); }
.tam-row .tier { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.tam-row .val { text-align: right; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.tam-row .val small { display: block; font-size: .8rem; font-weight: 500; opacity: .8; font-family: var(--font-body); }
@media (max-width: 640px) { .tam-row { grid-template-columns: 1fr; gap: .4rem; margin-inline: 0 !important; } .tam-row .val { text-align: left; } }
.bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 2vw, 24px); align-items: end; height: 320px; padding-top: 2rem; }
.bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: .6rem; }
.bar-fill { width: 100%; max-width: 88px; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--saffron) 0%, var(--saffron-600) 100%); position: relative; transform-origin: bottom; transition: transform 1s var(--ease); min-height: 6px; }
.bar:not(:last-child) .bar-fill { background: linear-gradient(180deg, var(--emerald-400), var(--emerald)); }
.reveal:not(.is-in) .bar-fill { transform: scaleY(0); }
.bar-val { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.bar-label { font-size: .8rem; color: var(--muted); text-align: center; line-height: 1.3; }
.funds { display: grid; gap: 14px; }
.fund-row { display: grid; grid-template-columns: 1fr 56px; gap: .5rem 1rem; align-items: center; }
.fund-row .mock-bar { grid-column: 1 / -1; height: 10px; }
.fund-row b { font-family: var(--font-display); text-align: right; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--emerald), var(--saffron)); opacity: .5; }
.phase { position: relative; padding-top: 64px; }
.phase-dot { position: absolute; top: 10px; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 3px solid var(--emerald); box-shadow: 0 0 0 6px var(--bg); }
.phase:last-child .phase-dot { border-color: var(--saffron); }
.phase .card { height: 100%; }
.phase h3 { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.phase h3 small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.gate { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-strong); font-size: .86rem; display: flex; gap: .5rem; align-items: flex-start; }
.gate .i { color: var(--saffron); width: 16px; height: 16px; margin-top: 3px; }
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, 1fr); } .timeline::before { display: none; } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }
.team-card { text-align: center; }
.avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--emerald), var(--forest-800)); }
.team-card:nth-child(even) .avatar { background: linear-gradient(135deg, var(--saffron), var(--saffron-600)); }

/* Status page */
.status-hero { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.6rem; border-radius: var(--r-lg); background: var(--emerald); color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.status-list { margin-top: 20px; }
.status-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.uptime { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(60, 1fr); gap: 2px; height: 28px; }
.uptime i { border-radius: 2px; background: var(--emerald-400); opacity: .85; }
.uptime i.warn { background: var(--gold); }
@media (max-width: 600px) { .uptime { grid-template-columns: repeat(30, 1fr); } .uptime i:nth-child(n+31) { display: none; } }

/* Legal / prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; }

/* 404 */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem var(--gutter); }
.not-found .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; background: var(--forest-950); color: #f4efe7; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 100% 0%, rgba(240,122,42,.35), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(30,127,92,.55), transparent 60%); }
.auth-side h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.03em; }
.auth-side ul { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.auth-side li { display: flex; gap: .8rem; align-items: flex-start; color: rgba(244,239,231,.82); }
.auth-side li .i { color: var(--saffron-300); margin-top: 2px; }
.auth-main { display: grid; place-items: center; padding: clamp(32px, 5vw, 56px) var(--gutter); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 2rem; letter-spacing: -.03em; }
.auth-card .sub { color: var(--muted); margin-top: .5rem; margin-bottom: 2rem; }
.auth-card form { display: grid; gap: 16px; }
.auth-foot { margin-top: 1.5rem; text-align: center; font-size: .93rem; color: var(--muted); }
.auth-mobile-logo { display: none; margin-bottom: 2rem; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-mobile-logo { display: inline-flex; } }

/* Dark section grading */
.section-dark { isolation: isolate; }
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 60% at 100% 0%, rgba(240,122,42,.16), transparent 65%), radial-gradient(45% 70% at 0% 100%, rgba(30,127,92,.35), transparent 65%); }
.ai-filled input, .ai-filled textarea { animation: ai-glow 1.4s var(--ease); }
@keyframes ai-glow { 0% { box-shadow: 0 0 0 4px rgba(240,122,42,.35); border-color: var(--saffron); background: var(--saffron-soft); } 100% { box-shadow: none; } }

/* Order status badges (dashboard + storefront) */
.status-pending { background: var(--warning-soft); color: var(--warning); }
.status-confirmed { background: var(--sky-soft); color: var(--sky); }
.status-packed { background: #eaf0ec; color: var(--forest-700); }
.status-shipped { background: var(--saffron-soft); color: var(--saffron-600); }
.status-delivered { background: var(--mint); color: var(--emerald-600); }
.status-returned, .status-cancelled { background: var(--danger-soft); color: var(--danger); }
@media (max-width: 600px) {
  .hv-risk { display: none; }
  .hv-order { left: 4%; bottom: 2%; }
  .hv-listing { width: 64%; padding: 12px; }
  .hv-variants { display: none; }
}
