/* FinShark Tax Assistant - dark, calm, glass. Restrained slate/indigo gradients. */
:root {
  color-scheme: dark;
  --bg: #0d0e12;
  --bg-2: #121319;
  --panel: #15171e;
  --line: #22252f;
  --line-2: rgba(255, 255, 255, .12);
  --text: #ececf1;
  --muted: #a1a4b5;
  --dim: #6f7386;
  --accent: #a9b6ff;
  --ok: #8fd3bf;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 14, 18, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
header.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-weight: 600; font-size: 16px; text-decoration: none; color: var(--text); white-space: nowrap; letter-spacing: .005em; }
.logo small { font-size: inherit; font-weight: 400; color: var(--muted); }
nav.links { display: flex; gap: 22px; margin-left: auto; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav.links a:hover { color: var(--text); }
.lang-toggle { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-toggle button {
  border: 0; background: none; color: var(--dim); padding: 4px 10px; border-radius: 999px;
  font: 600 12.5px var(--font); cursor: pointer;
}
.lang-toggle button:hover { color: var(--text); }
.lang-toggle button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text); }
@media (max-width: 920px) { nav.links { display: none; } .lang-toggle { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 112px 0 96px; text-align: center; }
.hero::before {
  /* restrained mesh: slate, ink-indigo, deep teal */
  content: ""; position: absolute; inset: -20% -10% 0;
  background:
    radial-gradient(42% 38% at 22% 30%, rgba(74, 86, 140, .35), transparent 70%),
    radial-gradient(38% 34% at 80% 22%, rgba(88, 76, 140, .28), transparent 70%),
    radial-gradient(46% 40% at 62% 78%, rgba(40, 92, 104, .26), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero::after {
  /* faint grid of dots */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.3px);
  background-size: 48px 48px; opacity: .05; pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-weight: 300; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -.035em;
  margin: 0 auto 22px; max-width: 14em; text-wrap: balance;
}
.hero .lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; margin: 0 auto 36px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px; font: 600 15px var(--font);
  text-decoration: none; background: var(--text); color: var(--bg); border: 1px solid var(--text);
  transition: background-color .15s, color .15s;
}
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--text); background: transparent; }

/* product preview */
.preview {
  max-width: 640px; margin: 64px auto 0; text-align: left;
  border-radius: 20px; padding: 18px; background: var(--glass);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.preview-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.preview .q { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-bottom: 14px; }
.sk { height: 8px; border-radius: 4px; margin: 9px 0; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.15), rgba(255,255,255,.08)); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .sk { animation: shimmer 2.4s linear infinite; } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.chips span { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 11px; }

@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  .preview { margin-top: 44px; padding: 14px; }
}

/* ---------- Sections ---------- */
section.block { padding: 112px 0; border-top: 1px solid var(--line); position: relative; }
section.block.tint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(172deg, rgba(74, 86, 140, .09), transparent 40%, transparent 70%, rgba(40, 92, 104, .07));
}
section.block .wrap { position: relative; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.head h2 { text-wrap: balance; font-weight: 300; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin: 0; }
.head p { color: var(--muted); margin: 0; max-width: 32em; }
@media (max-width: 820px) {
  section.block { padding: 72px 0; }
  .head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
}
h3 { font-weight: 600; font-size: 18px; margin: 0 0 6px; letter-spacing: -.005em; }

/* panels grid with hairline separators */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.grid > * { background: var(--panel); padding: 28px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 920px) { .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.two, .grid.four { grid-template-columns: 1fr; } .grid > * { padding: 22px; } }

/* Problem -> solution */
.compare .side-label { font-size: 13px; color: var(--dim); margin: 0 0 14px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16.5px; }
.compare li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--dim); }
.compare .after { background: linear-gradient(160deg, rgba(74, 86, 140, .16), var(--panel) 55%); }
.compare .after .side-label { color: var(--accent); }
.compare .after li { color: var(--text); }
.compare .after li::before { background: var(--accent); width: 6px; height: 6px; border-radius: 50%; top: .55em; }

/* Team */
.person .name { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.person .role { color: var(--accent); font-size: 14.5px; margin: 2px 0 14px; }
.person .desc { color: var(--muted); margin: 0 0 14px; font-size: 16px; }
.person .skills { color: var(--dim); font-size: 14px; margin: 0 0 16px; }
.person .links { display: flex; gap: 16px; font-size: 14.5px; }
.tech-line { margin: 28px 0 0; color: var(--dim); font-size: 15px; }
.tech-line b { color: var(--muted); font-weight: 600; }

/* Why us */
.why .n { color: var(--dim); font-size: 13px; margin-bottom: 18px; display: block; }

/* Roadmap */
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; padding-top: 28px; }
.road::before {
  content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--ok) 0 37%, var(--line-2) 37%);
}
.stage { position: relative; }
.stage::before {
  content: ""; position: absolute; top: -28px; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2);
}
.stage.done::before { background: var(--ok); border-color: var(--ok); }
.stage.current::before { background: var(--bg); border: 2px solid var(--ok); box-shadow: 0 0 0 6px rgba(143, 211, 191, .12); }
.stage h3 { font-weight: 500; font-size: 22px; margin: 0; }
.stage .status { font-size: 13px; color: var(--dim); margin: 2px 0 10px; }
.stage.done .status, .stage.current .status { color: var(--ok); }
.stage p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) {
  .road { grid-template-columns: 1fr; gap: 28px; padding: 0 0 0 28px; }
  .road::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--ok) 0 30%, var(--line-2) 30%); }
  .stage::before { top: 6px; left: -28px; }
}

/* Plan */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; border-top: 1px solid var(--line); }
.steps li {
  counter-increment: st; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.steps li::before { content: "0" counter(st); color: var(--dim); font-size: 14px; padding-top: 3px; }
.steps h3 { font-weight: 500; font-size: 20px; margin: 0; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) {
  .steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; }
  .steps li p { grid-column: 2; }
}
.flow { margin: 56px 0 0; }
.flow-title { color: var(--dim); font-size: 13px; margin: 0 0 14px; }
.flow ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.flow li { display: flex; align-items: center; font-size: 14.5px; }
.flow li span { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.flow li.ai span { color: var(--accent); border-color: rgba(169, 182, 255, .4); background: rgba(169, 182, 255, .06); }
.flow li.human span { color: var(--ok); border-color: rgba(143, 211, 191, .4); background: rgba(143, 211, 191, .06); }
.flow li + li::before { content: ""; width: 22px; height: 1px; background: var(--line-2); }
.two-col { margin-top: 48px; }
.two-col ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 16px; }
.two-col li { margin-bottom: 6px; }
.two-col li b { color: var(--text); font-weight: 600; }

/* Business model */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier {
  border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--panel);
}
.tier.mid { background: linear-gradient(170deg, rgba(88, 76, 140, .16), var(--panel) 60%); border-color: var(--line-2); }
.tier .plan { color: var(--accent); font-size: 14px; margin: 0 0 16px; }
.tier ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.tier li { margin-bottom: 6px; }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; } }
.notes { margin-top: 16px; }

/* ---------- Demo page ---------- */
.page-head { padding: 96px 0 56px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -30% -10% 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(74, 86, 140, .3), transparent 70%),
    radial-gradient(36% 46% at 85% 40%, rgba(40, 92, 104, .22), transparent 70%);
  filter: blur(10px);
}
.page-head .wrap { position: relative; }
.page-head h1 { font-weight: 300; font-size: clamp(40px, 6vw, 68px); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 14px; }
.page-head p { color: var(--muted); margin: 0; font-size: 19px; }
.sub-num { color: var(--dim); font-weight: 400; margin-right: 10px; }

.video-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty {
  aspect-ratio: 16 / 9; border-radius: 16px; border: 1px dashed var(--line-2); display: grid; place-items: center;
  color: var(--dim); background: var(--glass); text-align: center; padding: 20px;
}
.video-desc ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 16px; }
.video-desc li { margin-bottom: 6px; }
.video-desc p { color: var(--muted); margin: 0 0 10px; }

/* Chat */
.chat {
  border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden;
  background: var(--glass), var(--bg-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.chat-head {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.chat-head strong { font-weight: 600; font-size: 15.5px; }
.chat-head .sub { font-size: 13px; color: var(--dim); }
.model-toggle { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.model-toggle button {
  border: 0; background: none; color: var(--dim); padding: 5px 14px; border-radius: 999px;
  font: 600 13px var(--font); cursor: pointer;
}
.model-toggle button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text); }

.chat-log { padding: 24px 20px; display: grid; gap: 18px; max-height: 620px; overflow-y: auto; min-height: 180px; }
.msg { max-width: 88%; font-size: 15.5px; line-height: 1.6; }
.msg.user { justify-self: end; background: rgba(255, 255, 255, .1); padding: 11px 16px; border-radius: 16px 16px 4px 16px; }
.msg.bot { justify-self: start; color: var(--text); padding: 2px 0; }
.msg.bot p { margin: 0 0 10px; }
.msg.bot p:last-child { margin-bottom: 0; }
.msg.bot ul, .msg.bot ol { margin: 0 0 10px; padding-left: 20px; color: var(--muted); }
.msg.bot b { color: var(--text); font-weight: 600; }
.msg.error { color: #f0a6a6; }
.msg .sources { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; background: rgba(255, 255, 255, .02); }
.msg .sources ol { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }
.msg .sources a { color: var(--accent); }
.msg .meta { margin-top: 8px; font-size: 12.5px; color: var(--dim); }
.typing { color: var(--dim); font-size: 14.5px; }
@media (prefers-reduced-motion: no-preference) {
  .typing::after { content: ""; animation: dots 1.2s steps(4) infinite; }
}
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.samples-wrap { padding: 16px 20px 4px; border-top: 1px solid var(--line); }
.samples-label { font-size: 13px; color: var(--dim); margin: 0 0 10px; }
.samples { display: flex; flex-wrap: wrap; gap: 8px; }
.samples button {
  border: 1px solid var(--line-2); background: none; color: var(--muted); border-radius: 999px;
  padding: 7px 14px; font: 500 13.5px var(--font); cursor: pointer; text-align: left;
}
.samples button:hover { color: var(--text); border-color: var(--text); }

.chat-form { display: flex; gap: 10px; padding: 16px 20px 20px; }
.chat-form textarea {
  flex: 1; resize: vertical; min-height: 50px; max-height: 200px; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: var(--text); font: 400 15.5px var(--font);
}
.chat-form textarea::placeholder { color: var(--dim); }
.chat-form textarea:focus { outline: none; border-color: var(--accent); }
.chat-form button {
  border: 0; border-radius: 999px; background: var(--text); color: var(--bg);
  padding: 0 22px; font: 600 14.5px var(--font); cursor: pointer;
}
.chat-form button:disabled { opacity: .45; cursor: default; }
.disclaimer { font-size: 13.5px; color: var(--dim); margin: 14px 0 0; }

pre.code {
  background: var(--panel); color: var(--muted); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; margin: 0;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.head p code { color: var(--text); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   Show, don't tell: visual components
   ========================================================= */

/* Hero preview: typed question + chips lighting up */
.preview .q { min-height: 3.2em; }
.preview .q .caret { display: inline-block; width: 1px; height: 1.1em; background: var(--text); vertical-align: -.15em; margin-left: 1px; }
@media (prefers-reduced-motion: no-preference) { .preview .q .caret { animation: blink 1s steps(2) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.preview .sk { opacity: .25; transition: opacity .4s; }
.preview.searching .sk { opacity: 1; }
.preview .chips span { transition: color .3s, border-color .3s, background-color .3s; }
.preview .chips span.on { color: var(--text); border-color: rgba(169, 182, 255, .55); background: rgba(169, 182, 255, .1); }
.preview-foot { display: flex; justify-content: flex-end; margin-top: 14px; font-size: 13.5px; color: var(--accent); opacity: 0; transition: opacity .4s; }
.preview.done .preview-foot { opacity: 1; }

/* Problem visual: messy tabs vs one Telegram message */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }
.stage-box {
  position: relative; border: 1px solid var(--line); border-radius: 20px; background: var(--panel);
  min-height: 420px; overflow: hidden; display: flex; flex-direction: column;
}
.stage-box .cap { margin: 0; padding: 18px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; margin-top: auto; background: var(--panel); position: relative; z-index: 2; }
.stage-box.after { background: linear-gradient(165deg, rgba(74, 86, 140, .16), var(--panel) 60%); }
.stage-box.after .cap { color: var(--text); background: transparent; }

.mess { position: relative; flex: 1; min-height: 340px; }
.tab {
  position: absolute; width: 62%; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px 14px;
  background: #1a1d26; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .8);
}
.tab .t-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.tab .t-head i { width: 10px; height: 10px; border-radius: 3px; background: var(--line-2); }
.tab .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); margin: 7px 0; }
.tab:nth-child(1) { left: 6%;  top: 8%;  transform: rotate(-5deg); }
.tab:nth-child(2) { left: 32%; top: 16%; transform: rotate(4deg); }
.tab:nth-child(3) { left: 10%; top: 38%; transform: rotate(2deg); }
.tab:nth-child(4) { left: 34%; top: 46%; transform: rotate(-3deg); }
.tab:nth-child(5) { left: 4%;  top: 64%; transform: rotate(-2deg); }
.tab:nth-child(6) { left: 30%; top: 70%; transform: rotate(5deg); }

/* Phone with Telegram-style message */
.phone-wrap { flex: 1; display: grid; place-items: center; padding: 28px 16px 20px; }
.phone {
  width: min(300px, 100%); border-radius: 30px; border: 1px solid var(--line-2); background: #0b0c10;
  padding: 10px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.phone-screen { border-radius: 22px; overflow: hidden; background: #141821; }
.tg-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tg-av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(140deg, #5a6aa8, #2f6e78); display: grid; place-items: center; }
.tg-head b { font-size: 13.5px; font-weight: 600; display: block; line-height: 1.2; }
.tg-head small { font-size: 11.5px; color: var(--dim); }
.tg-body { padding: 14px 12px 16px; }
.tg-msg { background: #1f2430; border-radius: 14px 14px 14px 4px; padding: 12px 12px 8px; font-size: 12.5px; }
.tg-row { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.tg-row:last-of-type { border-bottom: 0; }
.tg-row span { color: var(--dim); }
.tg-row .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.tg-row .src { justify-self: start; color: var(--accent); border: 1px solid rgba(169, 182, 255, .4); border-radius: 999px; padding: 1px 8px; font-size: 11.5px; }
.tg-ok { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ok); font-size: 12px; }
.tg-ok::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-2px); }
@media (prefers-reduced-motion: no-preference) {
  .phone .tg-msg { animation: arrive 0.6s 0.2s ease-out both; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Animated pipeline */
.pipe { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.pipe::before { content: ""; position: absolute; left: 8%; right: 8%; top: 22px; height: 1px; background: var(--line-2); }
.pipe li { position: relative; text-align: center; padding: 0 6px; }
.pipe .dot {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--bg); display: grid; place-items: center; color: var(--dim); font-size: 13px; position: relative; z-index: 1;
}
.pipe .lbl { font-size: 14px; color: var(--muted); }
.pipe li.ai .dot { border-color: rgba(169, 182, 255, .5); color: var(--accent); }
.pipe li.human .dot { border-color: rgba(143, 211, 191, .5); color: var(--ok); }
@media (prefers-reduced-motion: no-preference) {
  .pipe .dot { animation: pulse 7.2s infinite; animation-delay: calc(var(--i) * 1.2s); }
}
@keyframes pulse {
  0%, 14%, 100% { box-shadow: 0 0 0 0 rgba(169, 182, 255, 0); background: var(--bg); color: var(--dim); }
  4%, 9% { box-shadow: 0 0 0 7px rgba(169, 182, 255, .12); background: #22273a; color: var(--text); }
}
@media (max-width: 760px) {
  .pipe { grid-template-columns: 1fr; gap: 14px; }
  .pipe::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .pipe li { display: flex; align-items: center; gap: 16px; text-align: left; padding: 0; }
  .pipe .dot { margin: 0; flex: none; }
}

/* compact text cells */
.mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.mini li { background: var(--panel); padding: 22px; }
.mini .k { color: var(--dim); font-size: 13px; display: block; margin-bottom: 10px; }
.mini h3 { font-size: 17px; margin-bottom: 4px; }
.mini p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 920px) { .mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mini { grid-template-columns: 1fr; } }

/* Hero question box */
.preview .ask { display: flex; gap: 8px; margin-top: 18px; }
.preview .ask input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .3); color: var(--text); font: 400 15px var(--font);
}
.preview .ask input::placeholder { color: var(--dim); }
.preview .ask input:focus { outline: none; border-color: var(--accent); }
.preview .ask button {
  border: 0; border-radius: 999px; background: var(--text); color: var(--bg); padding: 0 18px;
  font: 600 14px var(--font); cursor: pointer;
}
.pv-label { margin: 14px 0 8px; font-size: 13px; color: var(--dim); }
.pv-samples { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-samples a {
  font-size: 13px; color: var(--muted); text-decoration: none; border: 1px solid var(--line-2);
  border-radius: 999px; padding: 5px 12px;
}
.pv-samples a:hover { color: var(--text); border-color: var(--text); }

/* Trust row */
.trust {
  list-style: none; margin: 28px auto 0; padding: 0; max-width: 760px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
}
.trust li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.trust li::before {
  content: ""; flex: none; width: 10px; height: 6px; border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok);
  transform: rotate(-45deg) translateY(-2px);
}
@media (max-width: 640px) { .trust { flex-direction: column; align-items: flex-start; padding: 0 4px; } }

/* Benchmark comparison */
.bench { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
.bench-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.bench-row:first-child { border-top: 0; }
.bench-row > * { margin: 0; padding: 18px 22px; font-size: 15.5px; }
.bench-row > span { color: var(--dim); font-size: 14px; }
.bench-row > p { color: var(--muted); }
.bench-row > :last-child { color: var(--text); background: linear-gradient(160deg, rgba(74, 86, 140, .14), transparent 70%); }
.bench-top b { font-weight: 600; font-size: 16px; }
.bench-top a { color: var(--muted); }
@media (max-width: 680px) {
  .bench-row { grid-template-columns: 1fr 1fr; }
  .bench-row > span { grid-column: 1 / -1; padding-bottom: 0; }
  .bench-top > span { display: none; }
  .bench-row > * { padding: 14px 16px; font-size: 14.5px; }
}
@media (max-width: 640px) { .pv-samples a:nth-child(n+3) { display: none; } }

/* Logo mark */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 28px; height: 28px; flex: none; color: var(--text); }
.logo-mark path:first-child { color: var(--accent); stroke: var(--accent); }
