/* Zaplio marketing site.
 * Brand colours, radius and the Lio rules come from assets/brand/tokens.css (synced from brand/ by scripts/sync-brand.mjs).
 * The look follows the TechZap group sites (techzap.co.uk, zaptra.co, flowra.lk): a near-black ground with Zaplio's green cast,
 * large tight headlines with one Cormorant italic accent, mono labels, and the product shown big as live HTML.
 * Amber (--z-amber-*, --z-lio*) appears only where Lio is. No blue in our own design. */

/* ---------- Page tokens ---------- */
:root {
  --nav: 72px;
  --gutter: 20px;
  --wrap: 1240px;
  --sec: clamp(96px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --bg: #091011;
  --bg-2: #0D1617;
  --bg-3: #111C1D;
  --line: rgba(232, 236, 236, .08);
  --line-2: rgba(232, 236, 236, .14);
  --text: var(--z-cream-100);
  --text-2: #AAB6B7;
  --text-3: #7D898B;
  --mint: var(--z-emerald-300);
  --glow: rgba(28, 138, 115, .55);

  --font-head: "Inter Tight", var(--z-font-ui);
  --font-mono: "JetBrains Mono", var(--z-font-mono);
}
@media (min-width: 640px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --gutter: 56px; } }
@media (max-width: 639px) { :root { --nav: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; font-family: var(--z-font-ui); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--z-emerald-700); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; transform: translateY(-160%); background: var(--z-cream-200); color: var(--z-emerald-900); padding: 12px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { transform: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; z-index: 1; }
section, .closing { position: relative; }
.sec { padding: var(--sec) 0; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.045em; line-height: .98; margin: 0; color: var(--text);
  text-wrap: balance;
}
.display em {
  font-family: var(--z-font-display); font-style: italic; font-weight: 600; letter-spacing: -0.015em;
  font-size: 1.1em; line-height: .8; color: var(--mint); padding-right: .04em;
}
h1.display { font-size: clamp(3.25rem, 1.2rem + 7.6vw, 8.25rem); }
h2.display { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem); }
h3.display { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; }
.lead { font-size: clamp(1.0625rem, .98rem + .4vw, 1.3125rem); line-height: 1.55; color: var(--text-2); margin: 0; }
.lead b { color: var(--text); font-weight: 500; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px;
  font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(118,198,177,.15); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.head { display: grid; gap: 28px 64px; margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 1024px) { .head { grid-template-columns: 1.25fr .75fr; align-items: end; } }
.head .lead { max-width: 44ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--z-cream-100); --fg: var(--z-emerald-950); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 10px 30px -10px rgba(118, 198, 177, .45); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .06s; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--ghost { --bg: rgba(255,255,255,.03); --fg: var(--text); --bd: var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(232,236,236,.3); box-shadow: none; }
.btn--green { --bg: var(--z-emerald-700); --fg: #fff; }
.btn--green:hover { background: var(--z-emerald-800); box-shadow: 0 10px 24px -12px rgba(4,34,31,.6); }
.btn--line { --bg: transparent; --fg: var(--z-emerald-800); --bd: var(--z-slate-300); }
.btn--line:hover { background: var(--z-emerald-50); border-color: var(--z-emerald-400); box-shadow: none; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn svg, .btn img { width: 16px; height: 16px; flex: none; }

.link { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--ease); }
.link:hover { background-size: 100% 1px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); display: flex; align-items: center; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.nav.is-scrolled { background: rgba(9, 16, 17, .72); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav.is-light { background: rgba(251, 248, 242, .85); box-shadow: 0 1px 0 rgba(13,20,22,.08); color: var(--z-emerald-950); }
.nav .wrap { display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; padding: 10px 0; }
.brand img { height: 28px; width: auto; }
.brand .on-light, .nav.is-light .brand .on-dark { display: none; }
.nav.is-light .brand .on-light { display: block; }
.nav__links { display: none; gap: 30px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--text-2); padding: 12px 0; transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav.is-light .nav__links a { color: var(--z-slate-600); }
.nav.is-light .nav__links a:hover { color: var(--z-slate-950); }
.nav__cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav__cta .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.nav.is-light .nav__cta .btn { --bg: var(--z-emerald-800); --fg: #fff; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; color: inherit; border-radius: 10px; }
.menu-btn svg { width: 24px; height: 24px; }
@media (min-width: 1100px) { .nav__links { display: flex; } .menu-btn { display: none; } }
@media (max-width: 479px) { .nav__cta { display: none; } .menu-btn { margin-left: auto; } }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: calc(var(--nav) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s linear .25s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
.menu a:not(.btn) { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.03em; font-size: 2.25rem; line-height: 1.25; text-decoration: none; padding: 6px 0; }
.menu .btn { margin-top: auto; }
.menu__close { position: absolute; right: calc(var(--gutter) - 10px); top: 10px; }

/* ---------- Backgrounds ---------- */
.gridlines { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center top; opacity: .7;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
}
.aura { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(80px); }
.lattice { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: url("assets/lattice.svg"); background-size: 120px 120px; opacity: .35;
  -webkit-mask-image: radial-gradient(circle 700px at var(--lx, 100%) var(--ly, 0%), #000 0, transparent 100%); mask-image: radial-gradient(circle 700px at var(--lx, 100%) var(--ly, 0%), #000 0, transparent 100%); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav) + clamp(48px, 7vw, 96px)) 0 0; overflow: hidden; }
.hero .aura--a { width: 900px; height: 520px; left: 50%; top: -280px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(28,138,115,.55), transparent); }
.hero__top { display: grid; gap: 32px 64px; align-items: end; }
@media (min-width: 1024px) { .hero__top { grid-template-columns: 1.45fr .75fr; } }
.hero h1 { max-width: 9.5ch; }
.hero__aside .lead { max-width: 40ch; }
.hero__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.trades { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.trades li { display: inline-flex; align-items: center; gap: 22px; }
.trades li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); margin-left: -22px; margin-right: 0; position: relative; left: -9px; }
.trades b { color: var(--text-2); font-weight: 500; }

.stage { position: relative; margin-top: clamp(48px, 6vw, 72px); }
.stage::before { content: ""; position: absolute; left: 8%; right: 8%; top: -40px; height: 260px; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); z-index: 0; }
.frame { position: relative; z-index: 1; padding: 1px; border-radius: 22px; background: linear-gradient(180deg, rgba(118,198,177,.55), rgba(118,198,177,.08) 45%, rgba(232,236,236,.06)); box-shadow: 0 50px 120px -30px rgba(0,0,0,.8); }
.frame > .appframe { border-radius: 21px; }
.stage__fade { position: absolute; inset: auto 0 -1px 0; height: 46%; z-index: 2; background: linear-gradient(to bottom, rgba(9,16,17,0), var(--bg) 92%); pointer-events: none; }
.float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px;
  background: rgba(13, 22, 23, .78); border: 1px solid var(--line-2); color: var(--text); font-size: 13.5px; font-weight: 500;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.7);
}
.float small { display: block; color: var(--text-3); font-size: 12px; font-weight: 400; }
.float .ok { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(108, 203, 146, .14); color: var(--z-leaf-300); flex: none; }
.float .ok svg { width: 15px; height: 15px; }
.float img { width: 28px; height: 28px; flex: none; }
.float--a { right: 32px; top: -30px; }
.float--b { left: -28px; top: 300px; }
@media (max-width: 1359px) { .float--b { display: none; } }
@media (max-width: 639px) { .float--a { display: none; } }

/* Entrance: once, on load. */
[data-enter] > * { animation: rise 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.stage { animation: stage-in 1.4s var(--ease-out) .5s both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.float { animation: float-in .8s var(--ease-out) both; animation-delay: var(--d, 2.4s); }
@keyframes float-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Marquee of lost enquiries ---------- */
.leaks { padding: 40px 0 clamp(80px, 9vw, 128px); }
.leaks__label { text-align: center; color: var(--text-3); margin: 0 0 28px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: slide var(--dur, 60s) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.paused .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.leak { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text-2); font-size: 16px; white-space: nowrap; }
.leak i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(241, 154, 114, .12); color: var(--z-terracotta-300); font-style: normal; font-size: 12px; font-weight: 700; }
.leaks__foot { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 36px; color: var(--text-2); text-align: center; flex-wrap: wrap; }
.leaks__foot b { color: var(--text); font-weight: 500; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { color: var(--text); border-color: rgba(232,236,236,.3); }
.icon-btn svg { width: 14px; height: 14px; }

/* ---------- The app frame (live HTML product UI, light) ---------- */
.appframe {
  --af-line: var(--z-slate-100); --af-ink: var(--z-slate-900); --af-ink-2: var(--z-slate-500);
  position: relative; background: #fff; color: var(--af-ink); border-radius: 18px; overflow: hidden; text-align: left; font-size: 13px; line-height: 18px;
}
.af-top { display: flex; align-items: center; gap: 16px; height: 54px; padding: 0 16px; border-bottom: 1px solid var(--af-line); }
.af-top .af-icon { width: 28px; height: 28px; border-radius: 8px; }
.af-crumb { font-size: 13px; font-weight: 600; color: var(--z-slate-800); white-space: nowrap; }
.askbar { flex: 1; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--z-amber-50); border: 1px solid var(--z-amber-200); color: var(--z-amber-900); font-weight: 500; min-width: 0; }
.askbar .spark { width: 15px; height: 15px; flex: none; }
.askbar .typed { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.askbar kbd { font: 500 11px/1 var(--z-font-ui); color: var(--z-amber-800); border: 1px solid var(--z-amber-200); background: #fff; border-radius: 5px; padding: 4px 6px; }
.af-body { display: grid; grid-template-columns: 56px 290px 1fr 270px; height: 620px; }
.af-side { border-right: 1px solid var(--af-line); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; background: var(--z-slate-50); }
.af-side .ni { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--z-slate-500); }
.af-side .ni svg { width: 18px; height: 18px; }
.af-side .ni.is-on { background: var(--z-emerald-50); color: var(--z-emerald-700); }
.af-side .ni .badge { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--z-emerald-700); color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 600; padding: 0 4px; }
.af-side .ni--lio { margin-top: auto; }
.af-side .ni--lio img { width: 22px; height: 22px; }
.af-list { border-right: 1px solid var(--af-line); display: flex; flex-direction: column; min-width: 0; }
.af-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; font-weight: 600; font-size: 14px; }
.chips { display: flex; gap: 6px; padding: 0 16px 10px; border-bottom: 1px solid var(--af-line); }
.chip { font-size: 12px; font-weight: 500; line-height: 16px; padding: 4px 9px; border-radius: 999px; background: var(--z-slate-50); color: var(--z-slate-600); border: 1px solid var(--af-line); white-space: nowrap; }
.chip.is-on { background: var(--z-emerald-700); color: #fff; border-color: transparent; }
.chip--lio { background: var(--z-amber-50); color: var(--z-amber-800); border-color: var(--z-amber-200); display: inline-flex; gap: 5px; align-items: center; }
.chip--lio img { width: 12px; height: 12px; }
.conv { display: grid; grid-template-columns: 32px 1fr auto; gap: 1px 10px; padding: 12px 16px; border-bottom: 1px solid var(--af-line); }
.conv.is-on { background: var(--z-emerald-50); box-shadow: inset 3px 0 0 var(--z-emerald-600); }
.conv .av { grid-row: span 3; }
.conv b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv em { grid-column: 2 / 4; font-style: normal; font-size: 11.5px; color: var(--af-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv time { color: var(--af-ink-2); font-size: 12px; }
.conv p { margin: 0; grid-column: 2 / 4; color: var(--z-slate-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; gap: 6px; align-items: center; }
.conv p img, .conv p svg { width: 14px; height: 14px; flex: none; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--z-emerald-100); color: var(--z-emerald-800); flex: none; }
.av--b { background: var(--z-cream-300); color: var(--z-slate-800); }
.av--c { background: var(--z-slate-100); color: var(--z-slate-700); }
.av--d { background: var(--z-emerald-700); color: var(--z-emerald-50); }
.av--sm { width: 22px; height: 22px; font-size: 10px; }
.af-thread { display: flex; flex-direction: column; min-width: 0; background: var(--z-slate-50); }
.th-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--af-line); }
.th-head b { font-size: 14px; }
.th-head small { display: flex; gap: 6px; align-items: center; color: var(--af-ink-2); font-size: 12px; }
.th-head small img { width: 13px; height: 13px; }
.th-head .assign { margin-left: auto; display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--z-slate-600); white-space: nowrap; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px; overflow: hidden; }
.msg { max-width: 78%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 19px; background: #fff; border: 1px solid var(--af-line); }
.msg time { display: block; font-size: 11px; color: var(--af-ink-2); margin-top: 3px; }
.msg--out { align-self: flex-end; background: var(--z-emerald-700); color: #fff; border-color: transparent; border-bottom-right-radius: 4px; }
.msg--out time { color: var(--z-emerald-200); }
.msg--in { border-bottom-left-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--z-slate-400); animation: blink 1.2s infinite both; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.suggest { border-radius: 14px; background: #fff; border: 1px solid var(--z-amber-200); box-shadow: 0 0 0 4px var(--z-amber-50); padding: 12px 14px; }
.suggest__h { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--z-amber-800); font-size: 12px; }
.suggest__h img { width: 18px; height: 18px; }
.suggest__h small { margin-left: auto; font-weight: 500; color: var(--z-slate-500); }
.suggest p { margin: 6px 0 10px; font-weight: 600; font-size: 13px; color: var(--z-slate-900); }
.suggest p.plain { font-weight: 400; }
.kv { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.kv span { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--z-slate-50); border: 1px solid var(--af-line); color: var(--z-slate-700); }
.kv span b { font-weight: 600; color: var(--z-slate-900); }
.suggest .row { display: flex; gap: 8px; flex-wrap: wrap; }
.mini { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--z-slate-200); background: #fff; color: var(--z-slate-800); }
.mini--go { background: var(--z-emerald-700); border-color: transparent; color: #fff; }
.palette { position: absolute; z-index: 3; top: 62px; left: 50%; transform: translateX(-50%); width: min(540px, calc(100% - 24px)); box-shadow: 0 0 0 4px var(--z-amber-50), 0 30px 60px -18px rgba(13, 20, 22, .4); padding: 14px 16px; }
.palette.fade-in { animation-name: pop-in; }
@keyframes pop-in { from { opacity: 0; transform: translate(-50%, -6px) scale(.98); } to { opacity: 1; transform: translateX(-50%); } }
.composer { display: flex; align-items: center; gap: 8px; margin: 0 18px 18px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--z-slate-200); color: var(--af-ink-2); }
.composer span:first-child { flex: 1; }
.af-ctx { padding: 18px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ctx-person { display: flex; gap: 12px; align-items: center; }
.ctx-person .av { width: 44px; height: 44px; font-size: 15px; border-radius: 12px; }
.ctx-person b { display: block; font-size: 14px; }
.ctx-person small { color: var(--af-ink-2); font-size: 12px; }
.ctx-block h4 { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--af-ink-2); }
.ctx-row { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--af-line); font-size: 12px; }
.ctx-row span:first-child { color: var(--af-ink-2); }
.ctx-row span:last-child { text-align: right; }
.tagline { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 1279px) { .af-body { grid-template-columns: 56px 270px 1fr; } .af-ctx { display: none; } }
@media (max-width: 899px) { .af-body { grid-template-columns: 56px 1fr; } .af-list { display: none; } }
@media (max-width: 639px) {
  .af-body { grid-template-columns: 1fr; height: 520px; } .af-side { display: none; }
  .askbar kbd, .af-crumb, .th-head .assign { display: none; } .af-top { gap: 10px; padding: 0 12px; }
  .msg { max-width: 88%; }
}

/* ---------- Lio demo ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02); color: var(--text-2); font-weight: 500; font-size: 14px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.tab svg { width: 17px; height: 17px; }
.tab:hover { color: var(--text); border-color: rgba(232,236,236,.3); transform: translateY(-1px); }
.tab:active { transform: scale(.98); }
.tab[aria-selected="true"] { background: var(--z-cream-100); color: var(--z-emerald-950); border-color: transparent; }
.lio-win { display: grid; grid-template-columns: 1.05fr 1fr; height: 520px; }
.lio-chat { display: flex; flex-direction: column; border-right: 1px solid var(--af-line); min-width: 0; }
.lio-chat__h, .lio-changes__h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--af-line); font-weight: 600; font-size: 14px; }
.lio-chat__h img { width: 22px; height: 22px; }
.lio-chat__h small, .lio-changes__h small { margin-left: auto; font-weight: 500; color: var(--af-ink-2); font-size: 12px; }
.lio-log { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.bub-me { align-self: flex-end; max-width: 86%; background: var(--z-slate-100); border-radius: 14px 14px 4px 14px; padding: 10px 14px; font-size: 14px; line-height: 21px; min-height: 41px; }
.bub-me .caret { display: inline-block; width: 2px; height: 1em; background: var(--z-slate-700); vertical-align: -2px; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.voice { display: flex; align-items: center; gap: 10px; }
.voice .play { width: 28px; height: 28px; border-radius: 50%; background: var(--z-emerald-700); display: grid; place-items: center; color: #fff; flex: none; }
.voice .play svg { width: 12px; height: 12px; }
.voice .wave { display: flex; align-items: center; gap: 2px; height: 24px; }
.voice .wave i { width: 3px; border-radius: 2px; background: var(--z-slate-500); }
.voice small { font-size: 12px; color: var(--z-slate-600); }
.bub-me .trans { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--z-slate-200); font-size: 13px; color: var(--z-slate-700); }
.bub-me .trans em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--z-slate-500); display: block; }
.bub-lio { display: flex; gap: 10px; align-items: flex-start; max-width: 92%; }
.bub-lio > img { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.bub-lio .txt { font-size: 14px; line-height: 21px; color: var(--z-slate-900); }
.bub-lio .acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.lio-thinking img { animation: lio-turn 1.2s steps(1) infinite; }
@keyframes lio-turn { 0% { transform: rotate(0); } 25% { transform: rotate(30deg); } 50% { transform: rotate(60deg); } 75% { transform: rotate(90deg); } }
.lio-thinking .txt { color: var(--z-slate-500); }
.done-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--z-leaf-600); background: var(--z-leaf-50); padding: 3px 8px; border-radius: 6px; }
.done-tag svg { width: 13px; height: 13px; }
.lio-changes { display: flex; flex-direction: column; background: var(--z-slate-50); min-width: 0; }
.changes { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.chg { display: grid; grid-template-columns: 30px 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--af-line); border-radius: 12px; font-size: 13px; transition: border-color .3s var(--ease); }
.chg .ic { grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--z-slate-50); color: var(--z-slate-600); }
.chg .ic svg { width: 16px; height: 16px; }
.chg b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chg small { grid-column: 2; color: var(--af-ink-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chg .st { grid-row: 1 / 3; grid-column: 3; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--z-amber-50); color: var(--z-amber-800); border: 1px solid var(--z-amber-200); white-space: nowrap; }
.chg.is-done { border-color: var(--z-leaf-300); }
.chg.is-done .st { background: var(--z-leaf-50); color: var(--z-leaf-600); border-color: transparent; }
.chg.is-done .ic { background: var(--z-leaf-50); color: var(--z-leaf-600); }
.chg--more { display: block; text-align: center; color: var(--af-ink-2); background: transparent; border-style: dashed; }
.arrow { color: var(--z-slate-400); padding: 0 2px; }
.smsbox { background: #fff; border: 1px solid var(--af-line); border-radius: 12px; padding: 14px; font-size: 13px; line-height: 20px; color: var(--z-slate-800); }
.smsbox small { display: block; color: var(--af-ink-2); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.bars { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--af-line); border-radius: 12px; padding: 16px; }
.bar { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.bar .track { height: 10px; border-radius: 5px; background: var(--z-slate-100); overflow: hidden; }
.bar .fill { display: block; height: 100%; border-radius: 5px; background: var(--z-emerald-600); transform-origin: left; animation: grow .9s var(--ease-out) both; }
@keyframes grow { from { transform: scaleX(0); } }
.bar b { font-variant-numeric: tabular-nums; font-weight: 600; }
.fade-in { animation: fade-up .45s var(--ease-out) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) { .lio-win { grid-template-columns: 1fr; height: auto; } .lio-chat { border-right: 0; border-bottom: 1px solid var(--af-line); } .lio-log { min-height: 320px; } .changes { min-height: 200px; } }

/* ---------- Industries ---------- */
.ind { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.ind > * { min-width: 0; }
@media (min-width: 1100px) { .ind { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; } }
.ind__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ind__tab {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 4px 12px; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; color: var(--text-3); transition: color .2s var(--ease);
}
.ind__tab .n { font: 500 12px/1 var(--font-mono); letter-spacing: .08em; }
.ind__tab .t { font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.ind__tab .tag { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-3); align-self: center; }
.ind__tab:hover { color: var(--text-2); }
.ind__tab[aria-selected="true"] { color: var(--text); }
.ind__tab[aria-selected="true"] .n { color: var(--mint); }
.ind__tab .d { grid-column: 2 / 4; font-family: var(--z-font-ui); font-size: 15px; line-height: 23px; color: var(--text-2); display: none; padding-top: 8px; }
.ind__tab[aria-selected="true"] .d { display: block; animation: fade-up .4s var(--ease-out) both; }
@media (max-width: 1099px) {
  .ind__list { flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; }
  .ind__tab { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; gap: 8px; align-items: center; }
  .ind__tab .t { font-size: 15px; font-family: var(--z-font-ui); letter-spacing: 0; font-weight: 500; }
  .ind__tab .tag, .ind__tab .d { display: none !important; }
  .ind__tab[aria-selected="true"] { background: var(--z-cream-100); color: var(--z-emerald-950); }
  .ind__tab[aria-selected="true"] .n { color: var(--z-emerald-700); }
  .ind__desc { display: block !important; }
}
.ind__desc { display: none; color: var(--text-2); margin: 0 0 16px; }
.board-wrap { display: flex; flex-direction: column; }
.board-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--af-line); }
.board-top b { font-size: 14px; }
.board-top .chip { margin-left: auto; }
.board { display: grid; grid-template-columns: repeat(5, minmax(172px, 1fr)); gap: 10px; padding: 14px; background: var(--z-slate-50); overflow-x: auto; min-height: 430px; align-content: start; scrollbar-width: thin; }
.col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col__h { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 4px 0; font-size: 12.5px; font-weight: 600; }
.col__h small { color: var(--z-slate-500); font-weight: 500; font-size: 12px; }
.col__sum { font-size: 12px; color: var(--z-slate-500); padding: 0 4px 4px; font-variant-numeric: tabular-nums; }
.col--won .col__h { color: var(--z-leaf-600); }
.deal { background: #fff; border: 1px solid var(--z-slate-200); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 2px rgba(13, 20, 22, .04); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.deal:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(13, 20, 22, .3); }
.deal b { font-size: 13px; font-weight: 600; line-height: 18px; }
.deal .who { font-size: 12px; color: var(--z-slate-600); }
.deal .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--z-slate-500); }
.deal .meta span:first-child { color: var(--z-slate-800); font-weight: 600; white-space: nowrap; }
.deal .when { align-self: flex-start; font-size: 11px; line-height: 16px; color: var(--z-slate-600); background: var(--z-slate-50); border: 1px solid var(--z-slate-100); border-radius: 6px; padding: 1px 6px; }
.deal .by-lio { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--z-amber-800); background: var(--z-amber-50); border-radius: 6px; padding: 2px 7px; align-self: flex-start; }
.deal .by-lio img { width: 11px; height: 11px; }
.deal.is-lio { border-color: var(--z-amber-200); }
.board-foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--af-line); }
.board-foot .askbar { margin: 0; max-width: 560px; }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(3, 1fr); } .b-inbox { grid-column: span 2; grid-row: span 2; } .b-brief { grid-row: span 2; } .b-lang { grid-column: span 3; } }
@media (min-width: 768px) and (max-width: 1099px) { .b-inbox, .b-lang { grid-column: span 2; } }
.card {
  position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); display: flex; flex-direction: column; gap: 22px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(118,198,177,.1), transparent 45%); }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 0; font-family: var(--font-head); font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; }
.card > div:first-child p { margin: 6px 0 0; color: var(--text-2); font-size: 15px; line-height: 23px; max-width: 46ch; }
.card .viz { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; min-height: 0; }
.card > div:first-child { position: relative; z-index: 1; }
.panel { background: #fff; color: var(--z-slate-900); border-radius: 16px; overflow: hidden; font-size: 13px; line-height: 19px; }
.panel .msgs { background: var(--z-slate-50); }
.collide { display: flex; align-items: center; gap: 10px; padding: 9px 18px; background: var(--z-slate-100); color: var(--z-slate-700); font-size: 12px; font-weight: 500; }
.collide .typing { padding: 0; } .collide .typing i { width: 5px; height: 5px; }
.note { border-radius: 12px; background: var(--z-cream-200); border: 1px dashed var(--z-cream-300); padding: 10px 12px; font-size: 13px; color: var(--z-slate-800); }
.note small { display: block; font-size: 11px; font-weight: 600; color: var(--z-slate-600); margin-bottom: 2px; }
.note .mention { color: var(--z-emerald-700); font-weight: 600; }
.channels { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.channels span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 13px; color: var(--text-2); }
.channels img, .channels svg { width: 18px; height: 18px; }
.vn { display: flex; flex-direction: column; gap: 10px; }
.vn .voice { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.vn .voice .wave i { background: var(--mint); opacity: .8; }
.vn .voice small { color: var(--text-2); }
.vn .out { background: #fff; color: var(--z-slate-900); border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 19px; }
.vn .out em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--z-leaf-600); margin-bottom: 4px; }
.vn .out em svg { width: 12px; height: 12px; }
.bc { background: #fff; color: var(--z-slate-900); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bc div { background: var(--z-slate-50); border-radius: 10px; padding: 10px 12px; }
.bc b { display: block; font-family: var(--font-head); font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; font-weight: 600; }
.bc small { font-size: 12px; color: var(--z-slate-500); }
.bc .wide { grid-column: span 2; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--z-slate-700); }
.bc .wide img { width: 18px; height: 18px; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 16px 16px 0; background: #fff; border-radius: 14px; }
.chart span { flex: 1; border-radius: 8px 8px 0 0; background: var(--z-emerald-100); position: relative; }
.chart span.is-hi { background: var(--z-emerald-600); }
.chart-cap { display: flex; justify-content: space-between; background: #fff; border-radius: 0 0 14px 14px; margin-top: -1px; padding: 8px 16px 12px; color: var(--z-slate-500); font-size: 11px; font-family: var(--font-mono); }
.ask-mini { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(244, 166, 42, .1); border: 1px solid rgba(244, 166, 42, .28); color: var(--z-amber-200); font-size: 13px; margin-bottom: 10px; }
.ask-mini img { width: 15px; height: 15px; }

.phone { width: min(300px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.6; border-radius: 44px; padding: 11px; background: linear-gradient(160deg, #233234, #0b1213); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px -20px rgba(0,0,0,.7); }
.phone__screen { height: 100%; border-radius: 34px; overflow: hidden; background: var(--z-slate-50); color: var(--z-slate-900); display: flex; flex-direction: column; font-size: 13px; line-height: 19px; }
.phone__bar { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 12px; font-weight: 600; }
.phone__notch { width: 92px; height: 26px; border-radius: 13px; background: #0b1213; margin: 8px auto 0; }
.brief { margin: 12px 12px 0; background: #fff; border-radius: 18px; padding: 14px; border: 1px solid var(--z-slate-200); }
.brief__h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--z-amber-800); margin-bottom: 8px; }
.brief__h img { width: 22px; height: 22px; }
.brief__h small { margin-left: auto; color: var(--z-slate-500); font-weight: 500; }
.brief p { margin: 0; font-size: 13.5px; line-height: 20px; }
.brief .row { display: flex; gap: 8px; margin-top: 12px; }
.brief .mini { flex: 1; text-align: center; padding: 8px 0; }
.todo { margin: 10px 12px 0; background: #fff; border-radius: 18px; border: 1px solid var(--z-slate-200); padding: 4px 14px; }
.todo div { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--z-slate-100); font-size: 12.5px; }
.todo div:last-child { border-bottom: 0; }
.todo .box { width: 17px; height: 17px; border-radius: 6px; border: 1.5px solid var(--z-slate-300); flex: none; }
.todo small { margin-left: auto; color: var(--z-slate-500); font-size: 11.5px; }

.b-lang { display: grid; gap: 24px; align-items: center; }
@media (min-width: 1100px) { .b-lang { grid-template-columns: .8fr 1.2fr; } }
.rotor { position: relative; height: 1.25em; font-size: clamp(2.25rem, 1rem + 3.4vw, 4rem); overflow: hidden; }
.rotor__line { position: absolute; inset: 0 auto auto 0; margin: 0; white-space: nowrap; opacity: 0; transform: translateY(60%); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.rotor__line.is-on { opacity: 1; transform: none; }
.rotor__line.is-out { opacity: 0; transform: translateY(-60%); }
.rotor__line:lang(si), .rotor__line:lang(ta) { font-family: var(--z-font-sinhala); font-weight: 600; letter-spacing: 0; font-size: .6em; line-height: 2.05; }
.rotor__line:lang(ta) { font-family: var(--z-font-tamil); }
.langs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.lang-btn { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; font-weight: 500; font-size: 14px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.lang-btn:hover { color: var(--text); }
.lang-btn[aria-pressed="true"] { background: var(--z-cream-100); color: var(--z-emerald-950); border-color: transparent; }
.lang-btn:lang(si) { font-family: var(--z-font-sinhala); } .lang-btn:lang(ta) { font-family: var(--z-font-tamil); }

/* ---------- Trust ---------- */
.ledger { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .ledger { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ledger { grid-template-columns: repeat(3, 1fr); } }
.ledger article { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; transition: background-color .3s var(--ease); }
.ledger .n { grid-row: span 2; font: 500 12px/1.9 var(--font-mono); color: var(--mint); letter-spacing: .08em; }
.ledger h3 { margin: 0; font-family: var(--font-head); font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.ledger p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 23px; }

/* ---------- Pricing (paper) ---------- */
.paper { background: var(--z-cream-100); color: var(--z-slate-950); }
.paper .display { color: var(--z-slate-950); }
.paper .display em { color: var(--z-emerald-700); }
.paper .lead { color: var(--z-slate-600); }
.paper .eyebrow { color: var(--z-slate-600); }
.paper .eyebrow::before { background: var(--z-emerald-600); box-shadow: 0 0 0 4px var(--z-emerald-100); }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 15px; user-select: none; min-height: 44px; padding: 4px 18px 4px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--z-slate-200); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 28px; border-radius: 14px; background: var(--z-slate-300); position: relative; transition: background-color .2s var(--ease); flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease-out); }
.switch input:checked + .track { background: var(--z-emerald-700); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--z-emerald-500); outline-offset: 3px; }
.switch img { width: 18px; height: 18px; }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.price-top p { margin: 0; color: var(--z-slate-600); font-size: 14px; }
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { background: #fff; border: 1px solid var(--z-slate-200); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(13, 20, 22, .35); }
.plan--pick { background: var(--z-emerald-950); color: var(--z-cream-100); border-color: transparent; }
.plan h3 { margin: 0; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.plan h3 small { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--z-emerald-200); border: 1px solid rgba(171, 222, 207, .35); padding: 5px 8px; border-radius: 999px; }
.amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: 22px 0 4px; }
.amount b { white-space: nowrap; font-family: var(--font-head); font-size: 38px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.amount span { font-size: 13px; color: var(--z-slate-500); }
.plan--pick .amount span, .plan--pick .per { color: var(--z-slate-300); }
.plan .per { margin: 0 0 22px; font-size: 13px; color: var(--z-slate-600); }
.plan ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--z-slate-100); display: flex; flex-direction: column; gap: 11px; font-size: 14px; line-height: 20px; }
.plan--pick ul { border-color: rgba(232,236,236,.12); }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 16px; height: 16px; color: var(--z-emerald-600); flex: none; margin-top: 2px; }
.plan--pick li svg { color: var(--z-emerald-300); }
.plan li.lio-only svg { color: var(--z-amber-500); }
.plans.no-lio .lio-only { opacity: .45; text-decoration: line-through; }
.founding { margin-top: 16px; display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--z-slate-200); }
.founding p { margin: 0; font-size: 15px; line-height: 22px; display: flex; align-items: center; gap: 12px; }
.founding .pct { font-family: var(--font-head); font-weight: 600; font-size: 28px; letter-spacing: -0.04em; color: var(--z-emerald-700); }
.founding .btn { --bg: var(--z-emerald-800); --fg: #fff; }

/* ---------- Group ---------- */
.group { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .group { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .group { grid-template-columns: repeat(4, 1fr); } }
.co { text-decoration: none; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.02); min-height: 240px; transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease); }
.co:hover { border-color: var(--line-2); transform: translateY(-2px); background: rgba(255,255,255,.04); }
.co .role { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.co b { font-family: var(--font-head); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.co p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 22px; flex: 1; }
.co .url { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--font-mono); color: var(--text-3); letter-spacing: .04em; }
.co .url svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.co:hover .url { color: var(--text); }
.co:hover .url svg { transform: translate(2px, -2px); }
.co--here { background: linear-gradient(180deg, rgba(28,138,115,.18), rgba(28,138,115,.04)); border-color: rgba(118,198,177,.3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .faq { grid-template-columns: 5fr 7fr; gap: 80px; } }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; font-size: 19px; line-height: 26px; min-height: 44px; transition: color .2s var(--ease); }
.qa summary:hover { color: #fff; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); color: var(--mint); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa p { margin: -8px 0 24px; color: var(--text-2); font-size: 16px; line-height: 26px; max-width: 60ch; }

/* ---------- Closing and footer ---------- */
.closing { overflow: hidden; padding: var(--sec) 0 32px; border-top: 1px solid var(--line); }
.closing .aura--b { width: 1100px; height: 700px; left: 50%; bottom: -380px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(28,138,115,.45), transparent); }
.close { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .close { grid-template-columns: 1.15fr .85fr; gap: 80px; } }
.close h2 { font-size: clamp(3.5rem, 1.4rem + 8vw, 9rem); line-height: .92; }
.close h2 .spark-i { display: inline-block; width: .17em; height: .17em; vertical-align: baseline; margin-left: .04em; }
.close h2 .nowrap { white-space: nowrap; }
.close .lead { margin-top: 28px; max-width: 40ch; }
.form { position: relative; background: rgba(13, 22, 23, .7); border: 1px solid var(--line-2); border-radius: 24px; padding: 30px; display: grid; gap: 16px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.form h3 { margin: 0; font-family: var(--font-head); font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; }
.form > p { margin: -8px 0 4px; font-size: 14px; color: var(--text-2); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field input, .field select { height: 48px; padding: 0 14px; border-radius: 12px; background: rgba(9, 16, 17, .8); color: #fff; border: 1px solid var(--line-2); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23AAB6B7' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { color: var(--z-slate-950); }
.field input:focus, .field select:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(118, 198, 177, .2); }
.field[data-invalid] input, .field[data-invalid] select { border-color: var(--z-red-300); }
.field .err { font-size: 13px; color: var(--z-red-300); }
.row2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .row2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--z-emerald-400); flex: none; }
.form .btn { width: 100%; }
.form__status { margin: 0; font-size: 14px; line-height: 20px; }
.form__status.is-ok { color: var(--z-leaf-300); }
.form__status.is-err { color: var(--z-red-300); }
.form.is-sent .field, .form.is-sent .row2, .form.is-sent .check, .form.is-sent .btn { display: none; }

.foot { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; margin-top: clamp(80px, 10vw, 140px); padding-top: 40px; border-top: 1px solid var(--line); font-size: 14px; }
@media (min-width: 768px) { .foot { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.foot > div:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .foot > div:first-child { grid-column: auto; } }
.foot img.wm { height: 28px; width: auto; }
.foot p { margin: 16px 0 0; color: var(--text-3); max-width: 34ch; }
.foot h4 { margin: 0 0 12px; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.foot ul a { color: var(--text-2); text-decoration: none; display: inline-block; padding: 7px 0; }
.foot ul a:hover { color: #fff; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); padding-top: 32px; }
.legal p { margin: 0; }
.wordmark-xl { margin-top: 56px; opacity: .06; }
.wordmark-xl img { width: 100%; height: auto; }

/* ---------- Phones ---------- */
@media (max-width: 639px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .trades { gap: 10px 18px; }
  .trades li + li::before { display: none; }
  .card { padding: 22px; border-radius: 18px; }
  .ledger article { padding: 24px 0; }
  .plan { padding: 22px; }
  .founding .btn { width: 100%; }
  .form { padding: 22px; }
  .rotor { height: 2.3em; }
  .rotor__line { white-space: normal; }
  .rotor__line:lang(si), .rotor__line:lang(ta) { line-height: 1.6; }
}
.bento > *, .head > *, .hero__top > *, .close > *, .faq > * { min-width: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none !important; }
  .lio-thinking img { animation: none; }
}
