/* yolvu v3 - professional / knowledge-agents positioning
   Model: paper.design (centered headers, background geometry, air) x crowdreply (illustrated
   mock panels, colored blocks) . Light theme locked. Accent: burnt orange; illustration
   blocks may use a secondary soft blue + cream (crowdreply pattern, deliberate).
   Shapes: buttons pill, cards 16px, inner panels 12px, inputs 10px.
*/

@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #fbfaf7;
  --bg-2: #f5f3ee;
  --surface: #ffffff;
  --panel: #f6f0e2;            /* cream illustration panel (crowdreply) */
  --ink-chip: #1b1b20;         /* dark mock-UI chip */
  --line: rgba(24, 24, 26, 0.1);
  --grid-line: rgba(24, 24, 26, 0.045);
  --text: #17171a;
  --muted: #56565e;
  --faint: #8b8b93;
  --accent: #2f4fe0;           /* cobalt (v3.1: orange retired) */
  --accent-soft: rgba(47, 79, 224, 0.08);
  --accent-ink: #ffffff;
  --blue: #9db1f7;             /* periwinkle, illustration blocks only */
  --shadow-lg: 0 24px 80px rgba(24, 24, 26, 0.12);
  --shadow-sm: 0 14px 40px rgba(24, 24, 26, 0.1);
  --r-card: 16px;
  --r-panel: 12px;
  --r-input: 10px;
  --font: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; }
section { padding: 128px 0; position: relative; }
section.alt { background: var(--bg-2); }
/* v3.1: asymmetric section rhythm (not every section the same height) */
section.s-tall { padding: 180px 0; }
section.s-tight { padding: 96px 0; }
/* dark blocks between white ones (deliberate color-block composition) */
section.dark {
  background: #0f0f13;
  --bg: #0f0f13;
  --bg-2: #17171c;
  --surface: #1a1a20;
  --panel: #22222a;
  --line: rgba(255, 255, 255, 0.1);
  --grid-line: rgba(255, 255, 255, 0.05);
  --text: #f4f4f6;
  --muted: #a8a8b2;
  --faint: #6e6e78;
  --accent: #6d87ff;           /* cobalt lifted for dark contrast */
  --accent-soft: rgba(109, 135, 255, 0.14);
  --accent-ink: #0d1023;
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 14px 40px rgba(0, 0, 0, 0.45);
  color: var(--text);
}
@media (max-width: 768px) { section, section.s-tall { padding: 84px 0; } }

h1, h2, h3 { font-weight: 900; letter-spacing: -0.03em; line-height: 1.06; }

/* ---------- centered section headers (paper.design pattern) ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto; }
.sec-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.sec-head .sub { margin-left: auto; margin-right: auto; }
.sub { color: var(--muted); max-width: 54ch; margin-top: 18px; font-size: 1.1rem; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(24, 24, 26, 0.05);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- background geometry ---------- */
.bg-grid, .bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bg-grid {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 26px 26px;   /* v3.1: much denser grid */
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 35%, transparent 78%);
}
.geo { position: absolute; border: 1.5px solid rgba(24, 24, 26, 0.07); border-radius: 24px; }
.geo-a { width: 340px; height: 340px; top: -120px; left: -140px; transform: rotate(24deg); }
.geo-b { width: 260px; height: 260px; bottom: -80px; right: -100px; transform: rotate(-14deg); border-color: rgba(47, 79, 224, 0.14); }
.geo-c { width: 180px; height: 180px; top: 30%; right: 6%; transform: rotate(38deg); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .geo { animation: geo-drift 14s ease-in-out infinite alternate; }
  .geo-b { animation-duration: 18s; animation-delay: -6s; }
  .geo-c { animation-duration: 11s; animation-delay: -3s; }
  @keyframes geo-drift { to { transform: rotate(30deg) translateY(18px); } }
}

/* ---------- reveal system (varied scroll animations) ---------- */
.rv { opacity: 0; }
.rv.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: no-preference) {
  .rv { transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease); transition-delay: var(--d, 0s); }
  .rv[data-rv="up"]:not(.in)    { transform: translateY(36px); }
  .rv[data-rv="down"]:not(.in)  { transform: translateY(-28px); }
  .rv[data-rv="left"]:not(.in)  { transform: translateX(-44px); }
  .rv[data-rv="right"]:not(.in) { transform: translateX(44px); }
  .rv[data-rv="scale"]:not(.in) { transform: scale(0.9); }
  .rv[data-rv="blur"]:not(.in)  { filter: blur(10px); transform: translateY(14px); }
  .rv[data-rv="tilt"]:not(.in)  { transform: perspective(900px) rotateX(10deg) translateY(26px); }
  .rv[data-rv="spin"]:not(.in)  { transform: rotate(-4deg) scale(0.94); }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 14px 28px;
  font-weight: 700; font-size: 0.96rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s var(--ease), filter 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(47, 79, 224, 0.3); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--faint); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 68px;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 32px; width: 100%; }
.wordmark { font-weight: 900; font-size: 1.35rem; letter-spacing: -0.04em; }
.wordmark em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 10px 20px; font-size: 0.88rem; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hero (centered, paper.design) ---------- */
.hero { padding: 96px 0 72px; text-align: center; position: relative; }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  max-width: 16ch; margin: 0 auto;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { margin: 22px auto 0; font-size: 1.16rem; max-width: 50ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; justify-content: center; flex-wrap: wrap; }

/* hero flow diagram: sources -> yolvu -> knowledge agents */
.flow {
  margin: 88px auto 0; max-width: 980px;
  display: grid; grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center; gap: 0; text-align: left;
}
.flow-sources { display: grid; grid-template-columns: repeat(2, 44px); gap: 10px; }
.flow-src {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(24, 24, 26, 0.06);
}
.flow-src:nth-child(odd) { transform: translateY(8px); }
.flow-line { position: relative; height: 2px; margin: 0 18px; background: var(--line); overflow: visible; }
.flow-line::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent));
  transform: scaleX(0); transform-origin: left;
}
.in .flow-line::before { transform: scaleX(1); transition: transform 1.1s var(--ease) 0.3s; }
@media (prefers-reduced-motion: no-preference) {
  .flow-line::after {
    content: ""; position: absolute; top: -3px; left: 0;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); opacity: 0;
  }
  .in .flow-line::after { animation: travel 2.6s var(--ease) infinite 1s; }
  @keyframes travel {
    0% { left: 0; opacity: 0; } 12% { opacity: 1; }
    82% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; }
  }
}
.flow-core { position: relative; display: grid; place-items: center; }
.flow-mark {
  width: 78px; height: 78px; border-radius: 20px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 900; font-size: 2.2rem;
  display: grid; place-items: center;
  box-shadow: 0 16px 40px rgba(47, 79, 224, 0.35);
  position: relative; z-index: 2;
}
.flow-ring { position: absolute; width: 78px; height: 78px; border-radius: 20px; border: 2px solid var(--accent); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .in .flow-ring { animation: ring 2.6s var(--ease) infinite 1.2s; }
  @keyframes ring { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.7); opacity: 0; } }
}
.flow-agents { display: grid; gap: 10px; }
.flow-agent {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px 9px 10px;
  font-weight: 700; font-size: 0.86rem; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(24, 24, 26, 0.06);
}
.flow-agent b {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 900;
}
.flow-lbl { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-top: 14px; display: block; text-align: center; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .flow-line { display: none; }
  .flow-sources { grid-template-columns: repeat(4, 44px); }
  .flow-src:nth-child(odd) { transform: none; }
  .flow-agents { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .flow-agents { grid-template-columns: 1fr; } }

/* platform icons via mask */
.picon {
  width: 20px; height: 20px; display: inline-block;
  background: var(--muted);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.picon-sm { width: 15px; height: 15px; }

/* ---------- pain cards (problem) ---------- */
.pain-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px;
}
.pain-card h3 { font-size: 1.12rem; margin-top: 20px; }
.pain-card p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.illo {
  background: var(--panel); border-radius: var(--r-panel);
  padding: 20px; position: relative; overflow: hidden;
  min-height: 150px;
}
.ui-chip {
  background: var(--ink-chip); color: #eceae6;
  border-radius: 10px; padding: 10px 14px;
  font-size: 0.72rem; line-height: 1.45;
  max-width: 220px; position: relative; z-index: 2;
  box-shadow: 0 8px 20px rgba(24, 24, 26, 0.18);
}
.ui-chip .u { color: #9a97a0; font-family: var(--mono); font-size: 0.62rem; display: block; margin-bottom: 3px; }
.blk { position: absolute; border-radius: 10px; }
.blk-blue { background: var(--blue); }
.blk-orange { background: var(--accent); }
.blk-cream { background: #e8dcc2; }
@media (prefers-reduced-motion: no-preference) {
  .illo .blk { transform: scale(0.6); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); }
  .in .illo .blk { transform: scale(1); opacity: 1; }
  .in .illo .blk:nth-of-type(2) { transition-delay: 0.12s; }
  .in .illo .blk:nth-of-type(3) { transition-delay: 0.22s; }
}
.pain-x { position: absolute; right: 14px; top: 12px; font-family: var(--mono); font-size: 0.66rem; color: var(--faint); z-index: 2; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------- teardown demo ---------- */
.teardown {
  margin-top: 80px;
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: 56px; align-items: start;
}
.reel {
  background: var(--ink-chip); color: #f3f1ec;
  border-radius: 22px; aspect-ratio: 9 / 14;
  max-width: 320px; width: 100%;
  padding: 22px; display: flex; flex-direction: column;
  position: sticky; top: 100px;
  box-shadow: var(--shadow-lg);
}
.reel-head { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #b9b6be; }
.reel-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--blue)); }
.reel-hook { margin: auto 0; font-weight: 900; font-size: 1.32rem; letter-spacing: -0.02em; line-height: 1.3; }
.reel-hook em { font-style: normal; color: #b9c6ff; }
.reel-meta { display: flex; gap: 16px; font-family: var(--mono); font-size: 0.7rem; color: #9a97a0; }
.td-rows { display: grid; gap: 14px; }
.td-row {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 20px 24px;
  display: grid; grid-template-columns: 118px 1fr; gap: 18px; align-items: baseline;
}
.td-row .lbl {
  font-family: var(--mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent);
}
.td-row p { color: var(--text); font-size: 0.95rem; }
.td-row p b { color: var(--accent); font-weight: 500; font-family: var(--mono); font-size: 0.86em; }
.td-cta { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.td-cta span.hint { color: var(--faint); font-size: 0.88rem; }
@media (max-width: 900px) {
  .teardown { grid-template-columns: 1fr; }
  .reel { position: static; margin: 0 auto; }
  .td-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- knowledge agents ---------- */
.agents-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.agent-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px;
  display: flex; flex-direction: column;
}
.agent-lead { background: var(--accent-soft); border-color: transparent; }
.agent-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink-chip); color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 1rem;
}
.agent-lead .agent-mark { background: var(--accent); }
.agent-name { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-top: 16px; }
.agent-lead .agent-name { color: var(--accent); }
.count { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.count-lbl { color: var(--faint); font-size: 0.8rem; }
.agent-card > p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.agent-eg {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--text); font-weight: 500;
}
.agent-eg::before { content: "\2192  "; color: var(--accent); font-weight: 900; }
@media (max-width: 1000px) { .agents-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .agents-grid { grid-template-columns: 1fr; } }

.kicker {
  margin-top: 56px; text-align: center;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 900; letter-spacing: -0.02em; line-height: 1.3; padding-bottom: 4px;
}
.kicker em { font-style: italic; color: var(--accent); }

/* saves marquee */
.saves-marquee {
  margin-top: 56px; 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);
}
.saves-track { display: flex; gap: 10px; width: max-content; }
.chip {
  font-family: var(--mono); font-size: 0.72rem;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--line); white-space: nowrap;
}
.chip-accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .saves-track { animation: drift 38s linear infinite; }
  @keyframes drift { to { transform: translateX(-50%); } }
}

/* ---------- recall demo ---------- */
.recall-stage { margin-top: 72px; display: flex; align-items: flex-start; justify-content: center; }
.qa-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px;
  max-width: 560px; width: 100%;
  display: grid; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.bubble { border-radius: 14px; padding: 14px 18px; font-size: 0.95rem; }
.bubble-q {
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; justify-self: end;
  border-bottom-right-radius: 4px; max-width: 78%;
}
.bubble-a { background: var(--bg-2); color: var(--muted); border-bottom-left-radius: 4px; justify-self: start; }
.qa-hits { margin-top: 12px; display: grid; gap: 12px; }
.qa-hits li { list-style: none; display: flex; gap: 12px; align-items: baseline; font-size: 0.9rem; }
.qa-hits .picon-sm { flex: none; transform: translateY(2px); }
.qa-hits strong { color: var(--text); font-weight: 700; display: block; }
.notif-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 18px 20px;
  width: 330px; flex: none;
  margin: 64px 0 0 -40px;
  transform: rotate(2deg);
  box-shadow: var(--shadow-sm);
  position: relative; z-index: 2;
}
.notif-head { display: flex; font-size: 0.78rem; color: var(--faint); }
.notif-app { font-weight: 900; color: var(--accent); }
.notif-time { margin-left: auto; font-family: var(--mono); }
.notif-body { margin-top: 10px; font-size: 0.95rem; font-weight: 500; color: var(--text); }
.notif-actions { display: flex; gap: 20px; margin-top: 12px; font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.notif-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--faint); }
@media (max-width: 900px) {
  .recall-stage { flex-direction: column; align-items: center; gap: 20px; }
  .notif-card { margin: 0; width: 100%; max-width: 420px; transform: rotate(0deg); }
}

/* ---------- compare ---------- */
.compare .cols { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 880px; margin-left: auto; margin-right: auto; }
.colc { border: 1px solid var(--line); border-radius: var(--r-card); padding: 36px; background: var(--surface); }
.colc h3 { font-size: 1.2rem; margin-bottom: 20px; }
.colc ul { display: grid; gap: 14px; }
.colc li { list-style: none; padding-left: 24px; position: relative; font-size: 0.97rem; }
.colc-folder { background: var(--bg-2); border-color: transparent; }
.colc-folder h3, .colc-folder li { color: var(--faint); }
.colc-folder li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 11px; height: 2px; background: var(--faint); }
.colc-agent { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.colc-agent li { color: var(--text); font-weight: 500; }
.colc-agent li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 11px; height: 2px; background: var(--accent); }
.compare .btn { margin-top: 44px; }
.compare .center { text-align: center; }
@media (max-width: 768px) { .compare .cols { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing .cards { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 880px; margin-left: auto; margin-right: auto; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 34px; background: var(--surface);
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.price-card h3 { font-size: 1.3rem; }
.price { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.03em; margin: 14px 0 4px; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-note { color: var(--faint); font-size: 0.85rem; }
.price-card ul { margin: 22px 0 28px; display: grid; gap: 10px; }
.price-card li { list-style: none; color: var(--muted); font-size: 0.92rem; padding-left: 22px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--accent); }
.price-card .btn { margin-top: auto; justify-content: center; }
@media (max-width: 768px) { .pricing .cards { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq-list { margin-top: 56px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none;
  padding: 22px 0; font-weight: 700; font-size: 1.02rem;
  display: flex; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; margin-left: auto; color: var(--faint);
  font-weight: 400; font-size: 1.4rem; line-height: 1;
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-list .a { padding: 0 0 22px; color: var(--muted); font-size: 0.95rem; max-width: 60ch; }

/* ---------- final cta ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 20ch; margin: 0 auto; }
.cta .sub { margin-left: auto; margin-right: auto; }
.cta-form { margin: 36px auto 0; display: flex; gap: 10px; max-width: 440px; }
.cta-form input {
  flex: 1; min-width: 0;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-input);
  padding: 13px 16px; font-family: var(--font); font-size: 0.95rem;
}
.cta-form input::placeholder { color: var(--faint); }
.cta-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.cta-note { margin-top: 14px; color: var(--faint); font-size: 0.85rem; }
.cta-ok { margin-top: 18px; color: var(--accent); font-weight: 700; display: none; }
@media (max-width: 520px) { .cta-form { flex-direction: column; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--faint); font-size: 0.88rem; }
footer .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
footer .social { display: flex; gap: 18px; margin-left: auto; }
footer .social a { color: var(--muted); font-weight: 500; }
footer .social a:hover { color: var(--text); }

/* hover physics */
.pain-card, .agent-card, .price-card, .colc, .qa-card, .td-row {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pain-card:hover, .agent-card:hover, .price-card:hover, .td-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(24, 24, 26, 0.08);
}

/* ---------- v3.1: scroll progress rail (a line travelling down the page) ---------- */
.rail, .rail-fill {
  position: fixed; top: 0; bottom: 0; left: max(20px, calc(50vw - 660px));
  width: 2px; z-index: 40; pointer-events: none;
}
.rail { background: var(--line); }
.rail-fill {
  background: linear-gradient(180deg, var(--accent), #9db1f7);
  transform-origin: top; transform: scaleY(0);
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .rail-fill { animation: rail-grow linear both; animation-timeline: scroll(root); }
    @keyframes rail-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  }
}
@media (max-width: 1100px) { .rail, .rail-fill { display: none; } }

/* ---------- v3.1: mega wordmark (giant outlined yolvu before footer) ---------- */
.mega { padding: 40px 0 0; overflow: hidden; }
.mega .word {
  display: block; text-align: center;
  font-size: clamp(110px, 19vw, 300px);
  font-weight: 900; letter-spacing: -0.05em; line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(24, 24, 26, 0.22);
  background: linear-gradient(92deg, #17171a 40%, var(--accent) 60%, #9db1f7 78%, #17171a 92%);
  -webkit-background-clip: text; background-clip: text;
  background-size: 0% 100%; background-repeat: no-repeat;
  transform: translateY(24%);
}
@media (prefers-reduced-motion: no-preference) {
  .mega .word { transition: background-size 1.6s var(--ease) 0.1s; }
  .mega .word.in { background-size: 100% 100%; }
}
@media (prefers-reduced-motion: reduce) { .mega .word { background-size: 100% 100%; } }

/* ---------- v3.1: phone showcase (share sheet, looping choreography) ---------- */
.phone-stage { margin-top: 80px; display: flex; justify-content: center; }
.phone {
  width: 300px; height: 610px; border-radius: 44px;
  background: #0c0c10; border: 1.5px solid rgba(24, 24, 26, 0.35);
  box-shadow: 0 40px 100px rgba(24, 24, 26, 0.28), inset 0 0 0 7px #1c1c22;
  position: relative; overflow: hidden; flex: none;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; border-radius: 999px; background: #1c1c22; z-index: 5;
}
.phone-feed { position: absolute; inset: 7px; border-radius: 38px; overflow: hidden; background: #101014; }
.feed-post {
  position: absolute; inset: 0; padding: 56px 20px 20px;
  color: #e9e8ee; display: flex; flex-direction: column;
}
.feed-head { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: #9a97a3; }
.feed-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #2f4fe0, #9db1f7); }
.feed-hook { margin: auto 0; font-weight: 900; font-size: 1.14rem; line-height: 1.35; letter-spacing: -0.015em; }
.feed-hook em { font-style: normal; color: #b9c6ff; }
.feed-actions { display: flex; gap: 18px; font-family: var(--mono); font-size: 0.66rem; color: #8a879a; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(28, 28, 34, 0.97);
  border-radius: 22px 22px 0 0; padding: 18px 18px 24px;
  transform: translateY(105%);
  z-index: 4;
}
.sheet-bar { width: 38px; height: 4px; border-radius: 999px; background: #46464f; margin: 0 auto 16px; }
.sheet-row { display: flex; gap: 14px; justify-content: center; }
.sheet-app {
  width: 52px; display: grid; gap: 6px; justify-items: center;
  font-size: 0.56rem; color: #9a97a3; text-align: center;
}
.sheet-icon { width: 46px; height: 46px; border-radius: 13px; background: #34343e; }
.sheet-app.yv .sheet-icon {
  background: var(--accent, #2f4fe0);
  display: grid; place-items: center;
  color: #fff; font-weight: 900; font-size: 1.2rem;
}
.sheet-app.yv { color: #dfe5ff; font-weight: 700; }
.toast {
  position: absolute; top: 54px; left: 50%;
  transform: translate(-50%, -180%);
  background: #fff; color: #17171a;
  font-size: 0.78rem; font-weight: 700;
  padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  white-space: nowrap; z-index: 6;
}
.toast b { color: #2f4fe0; }
@media (prefers-reduced-motion: no-preference) {
  .in .sheet { animation: sheet-cycle 7.5s var(--ease) infinite 0.8s; }
  .in .sheet-app.yv .sheet-icon { animation: yv-pulse 7.5s var(--ease) infinite 0.8s; }
  .in .toast { animation: toast-cycle 7.5s var(--ease) infinite 0.8s; }
  @keyframes sheet-cycle {
    0%, 8% { transform: translateY(105%); }
    16%, 54% { transform: translateY(0); }
    62%, 100% { transform: translateY(105%); }
  }
  @keyframes yv-pulse {
    0%, 30% { transform: scale(1); box-shadow: 0 0 0 0 rgba(109, 135, 255, 0); }
    38% { transform: scale(0.9); }
    44%, 52% { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(109, 135, 255, 0.18); }
    60%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(109, 135, 255, 0); }
  }
  @keyframes toast-cycle {
    0%, 58% { transform: translate(-50%, -180%); }
    66%, 88% { transform: translate(-50%, 0); }
    96%, 100% { transform: translate(-50%, -180%); }
  }
}
@media (prefers-reduced-motion: reduce) { .sheet { transform: translateY(0); } }

/* ---------- octopus network graphic: faint layer behind the phone ---------- */
.network-bg {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none; overflow: hidden;
  opacity: 0.4;
}
.network-bg img {
  width: min(1500px, 135%); height: auto;
  transform: translateY(6%);
}
.phone-sec .wrap { z-index: 2; }
.phone-sec .phone { z-index: 3; }

/* teardown paste-bar (interactive feel) */
.paste-bar {
  margin: 56px auto 0; max-width: 620px;
  display: flex; gap: 10px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow-sm);
}
.paste-bar .url { flex: 1; font-family: var(--mono); font-size: 0.82rem; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.paste-bar .btn { padding: 11px 22px; font-size: 0.88rem; }
