/* ============================================================
   Octodus Clone Pages — Design System
   Adapted from Octomatica (sister project, read-only reference).
   Octodus brand: terracotta orange #C9501A, warm paper neutrals.
   Light mode only. No tweaks/dark mode.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --paper:      #FAFBFA;
  --paper-2:    #F1F4F2;
  --surface:    #FFFFFF;
  --surface-2:  #F7F9F8;
  --ink:        #0F1613;
  --ink-2:      #46514B;
  --ink-3:      #7E8A83;
  --line:       #EAEDEB;
  --line-2:     #DBDFDC;
  --line-strong:#0F1613;

  /* Octodus brand accent — terracotta orange */
  --accent:        #C9501A;
  --accent-bright: #E0571E;
  --accent-deep:   #7A2C0A;
  --accent-soft:   rgba(201,80,26,0.10);
  --accent-softer: rgba(201,80,26,0.05);
  --accent-on:     #FFFFFF;
  --glow:          rgba(201,80,26,0.22);
  --glow-2:        rgba(201,80,26,0.10);

  /* sticker accent hues */
  --c-coral:  #F0714F;
  --c-blue:   #4F84E6;
  --c-amber:  #EBA033;
  --c-purple: #9B7BF0;
  --c-teal:   #1FA8A0;
  --c-pink:   #E867A6;

  /* Octodus fonts */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-sans:    'Onest', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* shadow */
  --sh-sm: 0 1px 2px rgba(16,24,15,.05), 0 2px 8px rgba(16,24,15,.04);
  --sh-md: 0 4px 14px rgba(16,24,15,.06), 0 14px 36px -10px rgba(16,24,15,.10);
  --sh-lg: 0 8px 24px rgba(16,24,15,.08), 0 30px 70px -20px rgba(16,24,15,.16);
  --sh-glow: 0 14px 40px -10px var(--glow);

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.16,1,.3,1);

  --maxw: 1160px;
  --nav-h: 62px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { font-size: 93.75%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font-family: var(--font-sans); background: var(--paper); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
::selection { background: var(--accent-soft); color: var(--accent-deep); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1340px; }
.section { padding: 80px 0; position: relative; }
.section-sm { padding: 56px 0; }
section[id], header[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }
@media (max-width: 760px) { .section { padding: 54px 0; } .wrap { padding: 0 20px; } }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content:''; width: 16px; height: 1.5px; background: currentColor; opacity:.6; }
.eyebrow.no-tick::before { display:none; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; margin: 0; text-wrap: balance; }
.display { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.0; letter-spacing: -.035em; }
.h-sec { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.lead { font-size: clamp(1rem, 1.3vw, 1.14rem); color: var(--ink-2); line-height: 1.55; font-weight: 400; }
.muted { color: var(--ink-3); }
.accent-text { color: var(--accent-deep); }
.section-head { max-width: 760px; }
.section-head .h-sec { margin-top: 14px; }
.section-head .lead { margin-top: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content:center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  padding: 12px 22px; border-radius: var(--r-pill);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-on); box-shadow: var(--sh-glow); }
.btn-primary:hover { background: var(--accent-bright); box-shadow: 0 18px 50px -10px var(--glow); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-soft { background: var(--accent-soft); color: var(--accent-deep); }
.btn-soft:hover { background: rgba(201,80,26,0.14); transform: translateY(-2px); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Card ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }

/* ---------- Pills ---------- */
.pill {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.82rem; font-weight:600; padding:7px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.pill-dot { width:7px; height:7px; border-radius:50%; background: var(--accent); }
.pill-dot.live { animation: pulse 1.8s infinite; box-shadow:0 0 0 0 var(--glow); }

/* ---------- Glows ---------- */
.glow-orb { position:absolute; border-radius:50%; filter: blur(60px); pointer-events:none; z-index:0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{transition-delay:.07s}.reveal[data-d="2"]{transition-delay:.14s}
.reveal[data-d="3"]{transition-delay:.21s}.reveal[data-d="4"]{transition-delay:.28s}
.reveal[data-d="5"]{transition-delay:.35s}

/* ---------- Animations ---------- */
@keyframes pulse { 0%{box-shadow:0 0 0 0 var(--glow)} 70%{box-shadow:0 0 0 8px transparent} 100%{box-shadow:0 0 0 0 transparent} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(40px,-30px)} 66%{transform:translate(-20px,24px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(-44px,22px)} 66%{transform:translate(30px,-30px)} }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes pop { 0%{transform:scale(.6);opacity:0} 60%{transform:scale(1.06)} 100%{transform:scale(1);opacity:1} }
@keyframes typedots { 0%,60%,100%{opacity:.25;transform:translateY(0)} 30%{opacity:1;transform:translateY(-3px)} }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.15ms !important; }
  .reveal { opacity:1 !important; transform:none !important; }
  html { scroll-behavior:auto; }
}

/* ---------- Navbar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; transition: all .35s var(--ease); }
.octomark { display: inline-grid; place-items: center; border-radius: 30%; flex-shrink: 0;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: var(--sh-sm); }
.wordmark-text { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; color: var(--ink); line-height: 1; }
.wordmark-accent { color: var(--accent); }
.nav-scrolled { height: 60px; background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-links { display: flex; gap: 4px; }
.nav-link { padding: 9px 15px; border-radius: var(--r-pill); font-size: .94rem; font-weight: 500; color: var(--ink-2); transition: all .2s; }
.nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: 11px 20px; font-size: .94rem; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-mobile { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; } .nav-cta { display: none; } .nav-burger { display: flex; }
  .nav-mobile { position: fixed; top: 60px; left: 0; right: 0; display: flex; flex-direction: column; gap: 4px;
    padding: 16px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s var(--ease); z-index: 99; }
  .nav-mobile.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-mobile a:not(.btn) { padding: 12px 8px; font-weight: 600; border-bottom: 1px solid var(--line); }
}

/* ---------- Channel chips ---------- */
.channels { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.channels-label { font-size: .82rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.channels-row { display: flex; gap: 8px; flex-wrap: wrap; }
.channel-chip { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600;
  padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-3); transition: .2s; }
.channel-chip.now { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 32%, transparent); background: var(--accent-softer); }
.channel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.channel-soon { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); background: var(--paper-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 99px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 54px); padding-bottom: 60px; overflow: hidden; }
.hero-orbs { position: absolute; inset: 0; z-index: 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600;
  padding: 8px 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--sh-sm); color: var(--ink-2); }
.hero-accent { color: var(--accent); }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-micro { font-size: .85rem; margin-top: 18px; }
.hero-sec { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--ink-3); margin-top: 4px; }
.hero-sec svg { color: var(--accent); }
.hero-a-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-title { margin-top: 22px; }
.hero-sub { margin-top: 24px; max-width: 520px; }
.hero-a-demo { position: relative; }
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  margin-top: 64px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.hero-stat { background: var(--surface); padding: 26px 24px; }
.hero-stat-val { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; color: var(--accent-deep); }
.hero-stat-lbl { font-size: .85rem; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
@media (max-width: 920px) { .hero-a-grid { grid-template-columns: 1fr; gap: 48px; } .hero-a-demo { max-width: 460px; margin: 0 auto; } .hero-stats { grid-template-columns: repeat(2,1fr); } }

/* ---------- Telegram thread ---------- */
.tg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; position: relative; z-index: 2; }
.tg-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-bottom: 1px solid var(--line); }
.tg-head-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; }
.tg-head-meta { display: flex; flex-direction: column; line-height: 1.3; }
.tg-head-meta strong { font-size: .96rem; }
.tg-head-meta span { font-size: .76rem; color: var(--accent-deep); }
.tg-replay { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-3); transition: .2s; }
.tg-replay:hover { color: var(--accent); border-color: var(--accent); }
.tg-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; height: 440px; overflow: hidden;
  background: radial-gradient(var(--line) .8px, transparent .8px) 0 0/22px 22px, var(--surface-2); }
.tg-row { display: flex; gap: 9px; align-items: flex-end; max-width: 92%; animation: pop .4s var(--ease) both; }
.tg-row.user { margin-left: auto; flex-direction: row-reverse; }
.tg-av { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .82rem; overflow: hidden; background: var(--accent-soft); }
.tg-bubble { background: var(--surface); border: 1px solid var(--line); padding: 9px 13px; border-radius: 16px;
  font-size: .9rem; line-height: 1.45; box-shadow: var(--sh-sm); border-bottom-left-radius: 5px; color: var(--ink); }
.tg-row.user .tg-bubble { background: var(--accent); color: var(--accent-on); border-color: transparent; border-bottom-left-radius: 16px; border-bottom-right-radius: 5px; }
.tg-row.user .tg-cmd { background: var(--accent-deep); }
.tg-name { font-size: .72rem; font-weight: 700; margin-bottom: 3px; }
.tg-name em { font-style: normal; opacity: .65; font-weight: 500; }
.tg-row.user .tg-name { color: rgba(255,255,255,.85) !important; }
.tg-mention { font-weight: 700; opacity: .95; }
.tg-typing { display: flex; gap: 4px; padding: 13px; }
.tg-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typedots 1.2s infinite; }
.tg-typing span:nth-child(2){ animation-delay: .2s; } .tg-typing span:nth-child(3){ animation-delay: .4s; }
.tg-bot { background: var(--surface); width: 100%; }
.tg-bot-name { font-size: .72rem; font-weight: 700; color: var(--accent-deep); margin-bottom: 6px; }
.tg-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tg-check li { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--ink-3);
  opacity: .4; transform: translateX(-4px); transition: .4s var(--ease); }
.tg-check li.on { opacity: 1; transform: none; color: var(--ink); }
.tg-tick { width: 17px; height: 17px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.tg-check li.on .tg-tick { background: var(--accent); color: #fff; }
.tg-attach { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; animation: pop .45s var(--ease) both; }
.tg-attach-prev { height: 118px; background: linear-gradient(135deg, var(--accent-deep), var(--accent)); position: relative; }
.bnr { position: absolute; inset: 0; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; color: #fff; }
.bnr-eyebrow { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .2em; opacity: .85; }
.bnr-title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: .95; letter-spacing: -.02em; }
.bnr-cta { align-self: flex-start; margin-top: 4px; font-size: .62rem; font-weight: 700; background: rgba(255,255,255,.92); color: var(--accent-deep); padding: 4px 10px; border-radius: 99px; }
.tg-attach-meta { padding: 8px 12px; display: flex; flex-direction: column; background: var(--surface); }
.tg-attach-meta strong { font-size: .8rem; } .tg-attach-meta span { font-size: .72rem; color: var(--ink-3); }

/* ---------- Trusted ---------- */
.trusted { padding: 30px 0 8px; }
.trusted-label { text-align: center; font-size: .82rem; color: var(--ink-3); margin: 0 0 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: marquee 30s linear infinite; }
.trusted-logo { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; opacity: .85; transition: opacity .2s; }
.trusted-logo:hover { opacity: 1; }
.trusted-logo-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink-2); }

/* ---------- Capabilities ---------- */
.cap-layout { display: grid; grid-template-columns: 360px 1fr; gap: 28px; margin-top: 52px; }
.cap-list { display: flex; flex-direction: column; gap: 8px; }
.cap-tab { display: flex; align-items: center; gap: 13px; text-align: left; padding: 16px 18px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface); transition: all .22s var(--ease); }
.cap-tab:hover { border-color: var(--line-2); transform: translateX(2px); }
.cap-tab.on { border-color: var(--hue); background: color-mix(in srgb, var(--hue) 7%, var(--surface)); box-shadow: var(--sh-sm); }
.cap-tab-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--hue) 13%, transparent); color: var(--hue); flex-shrink: 0; transition: .22s; }
.cap-tab.on .cap-tab-ic { background: var(--hue); color: #fff; }
.cap-tab-title { font-weight: 600; font-size: 1rem; flex: 1; }
.cap-tab-chev { color: var(--ink-3); transform: rotate(-90deg); transition: .22s; opacity: 0; }
.cap-tab.on .cap-tab-chev { opacity: 1; color: var(--hue); }
.cap-panel { padding: 36px; position: relative; overflow: hidden; animation: pop .4s var(--ease); }
.cap-panel::before { content: ""; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hue) 18%, transparent), transparent 70%); }
.cap-panel-top { display: flex; align-items: center; gap: 14px; position: relative; }
.cap-panel-ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--hue); color: #fff; flex-shrink: 0; box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--hue) 60%, transparent); }
.cap-panel-title { font-size: 1.6rem; font-weight: 700; }
.cap-bullets { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.cap-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.cap-bdot { width: 19px; height: 19px; border-radius: 50%; background: color-mix(in srgb, var(--hue) 16%, transparent); color: var(--hue); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.cap-example { margin-top: 26px; padding: 18px 20px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); border-left: 3px solid var(--hue); }
.cap-example-metric { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--hue); letter-spacing: -.02em; }
.cap-example-desc { margin: 6px 0 0; font-size: .92rem; color: var(--ink-2); }
.cap-benefit { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-weight: 600; font-size: .96rem; color: var(--accent-deep); }
.cap-benefit svg { color: var(--accent); }
@media (max-width: 900px) {
  .cap-layout { grid-template-columns: 1fr; }
  .cap-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; gap: 8px; }
  .cap-tab { flex-shrink: 0; }
  .cap-tab-title, .cap-tab-chev { display: none; }
  .cap-bullets { grid-template-columns: 1fr; }
  .cap-panel { padding: 26px; }
}

/* ---------- How it works ---------- */
.how-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 54px; }
.how-step { padding: 34px 28px; position: relative; }
.how-n { font-family: var(--font-mono); font-weight: 600; font-size: .9rem; color: var(--accent); letter-spacing: .1em; }
.how-step-title { font-size: 1.3rem; font-weight: 700; margin: 16px 0 10px; }
.how-step-desc { font-size: .96rem; }
.how-connector { position: absolute; right: -32px; top: 50%; transform: translateY(-50%); color: var(--line-2); z-index: 2; }
@media (max-width: 820px) { .how-steps { grid-template-columns: 1fr; } .how-connector { display: none; } }

/* ---------- Stories ---------- */
.stories-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }
.story { padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.story::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--hue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.story:hover::after { transform: scaleX(1); }
.story-metric { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--hue); background: color-mix(in srgb, var(--hue) 10%, transparent); padding: 6px 12px; border-radius: 99px; }
.story-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hue); }
.story-title { font-size: 1.18rem; font-weight: 700; line-height: 1.2; margin: 16px 0 10px; letter-spacing: -.01em; }
.story-desc { font-size: .9rem; line-height: 1.55; flex: 1; }
.story-quote { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; line-height: 1.35; margin: 18px 0; color: var(--ink); letter-spacing: -.01em; }
.story-who { display: flex; align-items: center; gap: 11px; padding-top: 16px; border-top: 1px solid var(--line); }
.story-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.story-who-meta { display: flex; flex-direction: column; line-height: 1.3; }
.story-who-meta strong { font-size: .9rem; } .story-who-meta span { font-size: .78rem; color: var(--ink-3); }
@media (max-width: 920px) { .stories-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .stories-grid { grid-template-columns: 1fr; } }

/* ---------- Comparison ---------- */
.compare-table { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; max-width: 920px; margin-left: auto; margin-right: auto; }
.compare-col-head { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; padding: 6px 4px; display: flex; align-items: center; gap: 10px; }
.compare-col-head.them { color: var(--ink-3); }
.compare-col-head.us { color: var(--accent-deep); }
.compare-cell { display: flex; gap: 11px; align-items: flex-start; padding: 17px 19px; border-radius: var(--r-md); font-size: .96rem; line-height: 1.4; }
.compare-cell.them { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-3); }
.compare-cell.us { background: var(--accent-softer); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); color: var(--ink); font-weight: 500; }
.compare-x { color: var(--ink-3); font-weight: 700; flex-shrink: 0; }
.compare-c { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.compare-punch { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.7rem); letter-spacing: -.02em; margin: 44px auto 0; max-width: 760px; line-height: 1.3; }
.compare-cta { text-align: center; margin-top: 28px; }
.compare-cta .btn { white-space: normal; text-align: center; max-width: 100%; line-height: 1.4; }
@media (max-width: 620px) { .compare-table { font-size: .9rem; } .compare-cell { padding: 14px; } }

/* ---------- Demo ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.demo-points { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 30px; }
.demo-point { display: flex; gap: 11px; align-items: center; font-size: 1rem; font-weight: 500; }
.demo-point .cap-bdot { background: var(--accent-soft); color: var(--accent-deep); }
@media (max-width: 920px) { .demo-grid { grid-template-columns: 1fr; gap: 40px; } .demo-phone { max-width: 460px; margin: 0 auto; width: 100%; } }

/* ---------- AI stack ---------- */
.aitools-models { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.aitools-model { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); box-shadow: var(--sh-sm); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 22px; margin-top: 52px; align-items: start; }
.tier { padding: 32px; position: relative; display: flex; flex-direction: column; }
.tier-feat { border-color: var(--accent); box-shadow: var(--sh-glow); }
.tier-badge { position: absolute; top: -12px; left: 32px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 13px; border-radius: 99px; }
.tier-name { font-weight: 600; color: var(--ink-2); font-size: 1.02rem; }
.tier-price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em; margin: 8px 0 0; }
.tier-price span { font-family: var(--font-sans); font-size: .92rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.tier-desc { font-size: .9rem; margin: 12px 0 22px; line-height: 1.5; min-height: 64px; }
.tier-feats { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.tier-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.tier-tick { width: 19px; height: 19px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.tier-examples { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.tier-ex-label { margin-bottom: 18px; }
.tier-ex-list { display: flex; flex-direction: column; gap: 2px; }
.tier-ex { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px; border-bottom: 1px dashed var(--line-2); }
.tier-ex-meta { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; }
.tier-ex-meta strong { font-size: .92rem; } .tier-ex-meta span { font-size: .8rem; }
.tier-ex-price { font-family: var(--font-mono); font-weight: 600; font-size: .92rem; color: var(--accent-deep); white-space: nowrap; }
.tier-ex-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.tier-ex-cta p { font-size: .88rem; margin: 0; }
.pricing-note { text-align: center; margin-top: 30px; font-size: .85rem; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } .tier-desc { min-height: 0; } }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 920px; margin: 0 auto; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item[open] { border-color: var(--accent-deep); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 1.02rem; line-height: 1.35; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-chev { display: inline-flex; transition: transform .2s ease; color: var(--accent-deep); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; margin: 0; font-size: .96rem; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.cta-box { position: relative; text-align: center; background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding: 56px 40px 52px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 520px; }
.cta-box::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 55%); }
.cta-runaway { position: absolute; top: 0; left: 0; z-index: 2; display: inline-grid; place-items: center;
  cursor: pointer; will-change: transform; transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .45)); }
.cta-title { color: #fff; margin-top: 22px; position: relative; }
.cta-desc { color: rgba(255,255,255,.78); max-width: 480px; margin: 16px auto 30px; position: relative; }
.cta-box .btn-primary { position: relative; }
.cta-micro { color: rgba(255,255,255,.6) !important; margin-top: 18px; position: relative; font-size: .85rem; }
@media (max-width: 620px) { .cta-box { padding: 56px 24px; min-height: 440px; } }

/* ---------- Footer ---------- */
.footer { padding: 52px 0 36px; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.3fr 1fr; gap: 40px; }
.footer-tag { font-size: .92rem; margin: 16px 0 4px; max-width: 280px; }
.footer-h { font-size: .92rem; font-weight: 700; margin: 0 0 16px; }
.footer-link { display: block; font-size: .9rem; color: var(--ink-3); padding: 6px 0; transition: color .2s; }
.footer-link:hover { color: var(--accent-deep); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; }
.footer-social { display: flex; gap: 16px; margin-top: 28px; }
.footer-social-link { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-3); transition: color .2s; }
.footer-social-link:hover { color: var(--accent-deep); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-bottom { flex-direction: column; gap: 8px; } }
