/* ============================================================================
   Weave — public marketing landing page.
   Self-contained: every token and rule is scoped under .wv-landing so it can't
   leak into (or inherit surprises from) the app/auth surfaces. Visuals are pure
   CSS + inline SVG — no JS, so it renders the same whether or not a circuit is up.
   ========================================================================== */

.wv-landing {
  --canvas: #f4f3ef;
  --surface: #fff;
  --surface-2: #faf9f6;
  --ink: #1a1a17;
  --ink-2: #3a3a35;
  --ink-3: #6b6a63;
  --ink-4: #9a988f;
  --line: rgba(20, 20, 16, .10);
  --line-2: rgba(20, 20, 16, .16);
  --accent: #3b3df0;
  --accent-2: #5c5ef5;
  --accent-soft: #e8e7fe;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --font: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --added-fg: #0f6b46; --added-bg: #e8f5ec; --added-bd: #b5dbc3;
  --del-fg: #9b2f29;  --del-bg: #fbecea;  --del-bd: #efc7c2;
  --mod-fg: #8b5a16;  --mod-bg: #fbf1de;  --mod-bd: #ebd3a1;
  --maxw: 1120px;

  position: relative;
  box-sizing: border-box;
  min-height: 100vh;
  padding-top: 58px; /* clears the fixed nav bar */
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.wv-landing *, .wv-landing *::before, .wv-landing *::after { box-sizing: border-box; }
.wv-landing .serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.wv-landing .accent { color: var(--accent); }

/* ── ambient background ─────────────────────────────────────────────────── */
.wv-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.wv-bg .wv-aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 12% -4%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 70%),
    radial-gradient(54% 48% at 96% 8%, color-mix(in oklab, var(--accent) 9%, transparent), transparent 72%);
}
.wv-bg .wv-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20, 20, 16, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 16, .028) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 70% at 50% 0%, #000 18%, transparent 80%);
  mask-image: radial-gradient(120% 70% at 50% 0%, #000 18%, transparent 80%);
}
/* lift content above the fixed .wv-bg, but NOT the nav — it sets its own fixed position/z-index,
   and this rule's higher specificity would otherwise clobber it back to position:relative. */
.wv-landing > *:not(.wv-bg):not(.wv-nav) { position: relative; z-index: 1; }

/* ── shared layout ──────────────────────────────────────────────────────── */
.wv-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.wv-section { padding: 104px 0; scroll-margin-top: 74px; }
.wv-section.tight { padding: 80px 0; }
.wv-eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.wv-shead { max-width: 760px; margin: 0 auto; text-align: center; }
.wv-shead .wv-eyebrow { display: block; }
.wv-h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.07; }
.wv-h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.wv-sub { color: var(--ink-3); font-size: 16.5px; line-height: 1.62; margin-top: 18px; }
.wv-shead .wv-sub { margin-left: auto; margin-right: auto; max-width: 62ch; }

/* ── rail layout: a sticky section label on the left, content scrolls on the right ── */
.wv-rail-layout { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 64px; align-items: start; }
.wv-rail { position: sticky; top: 86px; align-self: start; padding-top: 6px; }
.wv-rail-label { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.wv-rail-label::after { content: ""; display: block; width: 26px; height: 2px; background: var(--accent); margin-top: 12px; }
.wv-rail-body { min-width: 0; }
.wv-rail-body > .wv-h2 { text-align: left; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.wv-lead { text-align: left; color: var(--ink-3); font-size: 18px; line-height: 1.62; margin-top: 22px; max-width: 60ch; }

/* ── buttons ────────────────────────────────────────────────────────────── */
.wv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 0; border: .5px solid transparent;
  font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: filter .15s, border-color .15s, background-color .15s, transform .05s;
}
.wv-btn:active { transform: translateY(.5px); }
.wv-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px color-mix(in oklab, var(--accent) 70%, transparent); }
.wv-btn-primary:hover { filter: brightness(1.1); color: #fff; }
.wv-btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.wv-btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-4); color: var(--ink); }
.wv-btn-sm { height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 0; }
.wv-btn-lg { height: 50px; padding: 0 24px; font-size: 15px; }

/* ── nav ────────────────────────────────────────────────────────────────── */
.wv-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in oklab, var(--canvas) 85%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-bottom: .5px solid var(--line);
}
.wv-nav-inner { max-width: 1240px; margin: 0 auto; padding: 14px 40px; display: flex; align-items: center; gap: 24px; font-family: var(--mono); }
.wv-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; letter-spacing: 0; color: var(--ink); text-decoration: none; }
.wv-brand svg .s1 path { stroke: var(--accent); }
.wv-brand svg .s2 path { stroke: color-mix(in oklab, var(--ink) 64%, transparent); }
.wv-nav-links { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.wv-nav-links a { color: var(--ink-2); text-decoration: none; font-size: 13px; font-weight: 500; padding: 7px 11px; border-radius: 8px; transition: background-color .15s, color .15s; }
.wv-nav-links a:hover { background: rgba(20, 20, 16, .05); color: var(--ink); }
.wv-nav-cta { display: flex; align-items: center; gap: 10px; }
.wv-nav-signin { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 6px; }
.wv-nav-signin:hover { color: var(--ink); }

/* ── hero ───────────────────────────────────────────────────────────────── */
.wv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 88px 0 80px; }
.wv-hero-copy { animation: wv-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.wv-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-2); padding: 5px 12px 5px 9px; border-radius: 999px;
  border: .5px solid var(--line-2); background: rgba(255, 255, 255, .6);
}
.wv-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.wv-h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.wv-hero-sub { font-size: 18px; color: var(--ink-3); line-height: 1.6; margin-top: 20px; max-width: 46ch; }
.wv-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.wv-hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-4); }
.wv-hero-art { animation: wv-rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .12s; }

/* flat "product" panel used by the feature visuals — no elevation, blur or glass (Fugu-flat) */
.wv-glass {
  position: relative; border-radius: 16px; padding: 22px;
  background: color-mix(in oklab, var(--surface) 72%, transparent);
  border: .5px solid var(--line);
}
.wv-winbar { display: flex; align-items: center; padding: 0 2px 12px; margin-bottom: 14px; border-bottom: .5px solid var(--line); }
.wv-winbar i { display: none; }
.wv-winbar .wv-wintitle { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.wv-art-svg { display: block; width: 100%; height: auto; overflow: visible; }

/* ── logos / "as seen" strip ────────────────────────────────────────────── */
.wv-strip { border-top: .5px solid var(--line); border-bottom: .5px solid var(--line); background: transparent; }
.wv-strip-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 26px; display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; justify-content: center; }
.wv-strip-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.wv-strip-item { font-size: 13.5px; font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; gap: 7px; }

/* ── numbered feature cards (the "what is Weave" trio) ──────────────────── */
.wv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.wv-fcard { padding: 32px 28px; border-radius: 16px; background: color-mix(in oklab, var(--surface) 64%, transparent); border: .5px solid var(--line); }
.wv-fcard .wv-num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .08em; }
.wv-fcard h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 8px; }
.wv-fcard p { font-size: 14.5px; color: var(--ink-3); line-height: 1.6; }

/* ── alternating feature rows ───────────────────────────────────────────── */
.wv-feature { display: block; }
.wv-rail-body > .wv-h2 + .wv-feature { margin-top: 48px; }
.wv-feature + .wv-feature { border-top: .5px solid var(--line); margin-top: 72px; padding-top: 72px; }
.wv-feature-copy .wv-eyebrow { display: block; }
.wv-feature-copy h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.025em; line-height: 1.14; }
.wv-feature-copy p { color: var(--ink-3); font-size: 16.5px; line-height: 1.64; margin-top: 14px; max-width: 62ch; }
.wv-feature-art { margin-top: 40px; max-width: 680px; }
.wv-flist { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.wv-flist li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.wv-flist svg { flex: none; margin-top: 3px; color: var(--accent); }

.wv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.wv-chip { font-size: 12px; font-weight: 500; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; border: .5px solid var(--line-2); background: rgba(255, 255, 255, .6); }

/* ── diagram blocks (architecture / loop) ───────────────────────────────── */
.wv-diagram { margin-top: 56px; padding: 44px 40px; border-radius: 18px; background: color-mix(in oklab, var(--surface) 45%, transparent); border: .5px solid var(--line); }
.wv-diagram .wv-art-svg { max-width: 980px; margin: 0 auto; }
.wv-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; font-size: 12px; color: var(--ink-3); }
.wv-legend span { display: inline-flex; align-items: center; gap: 7px; }
.wv-legend i { width: 10px; height: 10px; border-radius: 50%; }

/* ── the loop / workflow stepper ────────────────────────────────────────── */
.wv-loop { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 14px; margin-top: 52px; }
.wv-loop-step { flex: 1 1 160px; max-width: 210px; padding: 24px 20px; border-radius: 14px; background: color-mix(in oklab, var(--surface) 64%, transparent); border: .5px solid var(--line); text-align: center; }
.wv-loop-step .wv-num { font-family: var(--mono); font-size: 11px; color: var(--accent); font-weight: 600; }
.wv-loop-step b { display: block; margin: 8px 0 5px; font-size: 15px; letter-spacing: -.01em; }
.wv-loop-step span { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.wv-loop-arrow { display: flex; align-items: center; color: var(--ink-4); }
.wv-loop-arrow svg { width: 22px; height: 22px; }

/* ── pricing ────────────────────────────────────────────────────────────── */
.wv-pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 60px; align-items: start; }
.wv-pcard { position: relative; padding: 36px 34px 38px; border-radius: 18px; background: var(--surface); border: .5px solid var(--line-2); }
.wv-pcard.feature { border-color: color-mix(in oklab, var(--accent) 36%, var(--line-2)); background: color-mix(in oklab, var(--accent) 4%, var(--surface)); }
.wv-ptag { position: absolute; top: -11px; right: 24px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 11px; border-radius: 999px; }
.wv-pname { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.wv-pamt { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; }
.wv-pamt b { font-size: 42px; font-weight: 700; letter-spacing: -.03em; }
.wv-pamt .per { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.wv-pdesc { font-size: 14px; color: var(--ink-3); line-height: 1.55; min-height: 42px; }
.wv-plist { list-style: none; margin: 20px 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.wv-plist li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.wv-plist svg { flex: none; margin-top: 3px; color: var(--accent); }
.wv-pcard .wv-btn { width: 100%; }

/* token rate mini-table inside the pay-as-you-go card */
.wv-rate { width: 100%; border-collapse: collapse; margin: 4px 0 22px; font-size: 13px; }
.wv-rate th, .wv-rate td { text-align: left; padding: 8px 10px; border-bottom: .5px solid var(--line); }
.wv-rate th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; }
.wv-rate td:last-child, .wv-rate th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.wv-rate .unit { color: var(--ink-4); font-size: 11px; }
.wv-pnote { font-size: 12.5px; color: var(--ink-4); margin-top: 2px; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.wv-faq { max-width: 800px; margin: 40px auto 0; }
.wv-faq details { border-bottom: .5px solid var(--line); }
.wv-faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 2px; position: relative; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.wv-faq summary::-webkit-details-marker { display: none; }
.wv-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.wv-faq details[open] summary::after { transform: rotate(45deg); }
.wv-faq .wv-faq-body { padding: 0 40px 22px 2px; color: var(--ink-3); font-size: 15px; line-height: 1.65; }

/* ── contact form ───────────────────────────────────────────────────────── */
.wv-contact { margin-top: 40px; max-width: 580px; }
.wv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wv-field { margin-bottom: 16px; }
.wv-field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 7px; }
.wv-opt { color: var(--ink-4); font-weight: 400; }
.wv-field input, .wv-field textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--surface); border: .5px solid var(--line-2); border-radius: 0;
  padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.wv-field textarea { resize: vertical; min-height: 104px; }
.wv-field input:focus, .wv-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wv-contact .wv-btn { margin-top: 8px; }
.wv-contact-ok { margin-top: 40px; max-width: 580px; padding: 18px 20px; font-size: 15px;
  color: var(--added-fg); background: var(--added-bg); border: .5px solid var(--added-bd); }
.wv-contact-err { margin-bottom: 18px; padding: 12px 15px; font-size: 13.5px;
  color: var(--del-fg); background: var(--del-bg); border: .5px solid var(--del-bd); }

/* ── footer ─────────────────────────────────────────────────────────────── */
.wv-footer { border-top: .5px solid var(--line); margin-top: 30px; }
.wv-footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 26px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.wv-footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.wv-footer-links a { color: var(--ink-3); text-decoration: none; font-size: 13.5px; }
.wv-footer-links a:hover { color: var(--ink); }
.wv-footer-copy { font-size: 12.5px; color: var(--ink-4); }

/* ── shared SVG diagram styling ─────────────────────────────────────────── */
.wv-art-svg .node-box { fill: var(--surface); stroke: var(--line-2); }
.wv-art-svg .node-accent { fill: color-mix(in oklab, var(--accent) 10%, var(--surface)); stroke: color-mix(in oklab, var(--accent) 40%, var(--line-2)); }
.wv-art-svg .lbl { fill: var(--ink); font-family: var(--font); font-weight: 600; }
.wv-art-svg .lbl-mono { fill: var(--ink-3); font-family: var(--mono); }
.wv-art-svg .lbl-sub { fill: var(--ink-3); font-family: var(--font); }
.wv-art-svg .flow { stroke: var(--accent); fill: none; }
.wv-art-svg .flow-ink { stroke: var(--ink-4); fill: none; }

/* draw-in animation: paths use pathLength="1" so one rule fits every length */
@media (prefers-reduced-motion: no-preference) {
  .wv-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wv-draw 1.5s ease forwards; }
  .wv-draw.d2 { animation-delay: .35s; }
  .wv-draw.d3 { animation-delay: .7s; }
  .wv-pop { opacity: 0; animation: wv-pop .5s ease forwards; }
  .wv-pop.p1 { animation-delay: .5s; } .wv-pop.p2 { animation-delay: .75s; }
  .wv-pop.p3 { animation-delay: 1s; } .wv-pop.p4 { animation-delay: 1.25s; }
  .wv-pop.p5 { animation-delay: 1.5s; } .wv-pop.p6 { animation-delay: 1.75s; }
}
@keyframes wv-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wv-draw { to { stroke-dashoffset: 0; } }
@keyframes wv-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

/* ── hero (flat, card-less): branch graph morphs into the Weave mark — driven by landing-hero.js ──
   The morph (point-by-point path interpolation + the woven over/under gap) is procedural, so it
   lives in JS; CSS here is just the flat container + its soft glow. ───────────────────────────── */
.wv-landing .wv-hero-anim { position: relative; width: 100%; max-width: 480px; margin: 0 auto; }
.wv-landing .wv-hero-anim::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64%; height: 74%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%);
  filter: blur(30px); z-index: 0; pointer-events: none;
}
.wv-landing .wv-hero-anim svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; }

/* ── mini "screenshot" visuals inside feature rows ──────────────────────── */
.wv-mini { font-size: 13px; }
.wv-mini .wv-row { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-radius: 8px; }
.wv-mini .wv-row + .wv-row { border-top: .5px solid var(--line); }
.wv-kind { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.wv-k-import { background: #4a7b9d; } .wv-k-manual { background: #3f8f5b; }
.wv-k-auto { background: #8a8880; } .wv-k-safety { background: #c98a2b; }
.wv-k-merge { background: #8250df; } .wv-k-cherry { background: #bf3989; }
.wv-hash { font-family: var(--mono); font-size: 11.5px; color: var(--ink-4); }
.wv-msg { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-tagpill { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; flex: none; }

.wv-prhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.wv-branch { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); background: var(--surface-2); border: .5px solid var(--line); padding: 2px 8px; border-radius: 6px; }
.wv-sev { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: .5px solid; }
.wv-sev.crit { color: var(--del-fg); background: var(--del-bg); border-color: var(--del-bd); }
.wv-sev.ok { color: var(--added-fg); background: var(--added-bg); border-color: var(--added-bd); }
.wv-check { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 13.5px; color: var(--ink-2); }
.wv-check svg { flex: none; }

.wv-diffbox { font-family: var(--mono); font-size: 12px; border-radius: 10px; overflow: hidden; border: .5px solid var(--line); }
.wv-diffline { padding: 4px 12px; white-space: pre; }
.wv-diffline.add { background: var(--added-bg); color: var(--added-fg); }
.wv-diffline.del { background: var(--del-bg); color: var(--del-fg); }
.wv-diffline.ctx { color: var(--ink-3); background: var(--surface-2); }

.wv-statbar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 14px 0 6px; }
.wv-statbar i { display: block; }
.wv-statbar .add { background: #3f8f5b; } .wv-statbar .del { background: #9b2f29; } .wv-statbar .mod { background: #c98a2b; }
.wv-statkey { display: flex; gap: 16px; font-size: 12px; color: var(--ink-3); }
.wv-statkey span { display: inline-flex; align-items: center; gap: 6px; }
.wv-statkey i { width: 9px; height: 9px; border-radius: 2px; }

.wv-chat { display: flex; flex-direction: column; gap: 10px; }
.wv-bubble { max-width: 88%; padding: 10px 13px; border-radius: 13px; font-size: 13.5px; line-height: 1.5; }
.wv-bubble.q { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.wv-bubble.a { align-self: flex-start; background: var(--surface-2); border: .5px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
.wv-staged { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--mod-fg); background: var(--mod-bg); border: .5px solid var(--mod-bd); padding: 3px 9px; border-radius: 999px; }

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .wv-hero { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
  .wv-hero-sub { max-width: none; }
  .wv-cards { grid-template-columns: 1fr; }
  .wv-pricing { grid-template-columns: 1fr; }
  .wv-nav-links { display: none; }
  .wv-nav-inner { padding: 12px 18px; }
  /* rail collapses: label sits above the content, no longer sticky */
  .wv-rail-layout { grid-template-columns: 1fr; gap: 22px; }
  .wv-rail { position: static; padding-top: 0; }
  .wv-rail-label::after { display: none; }
  .wv-feature + .wv-feature { margin-top: 48px; padding-top: 48px; }
  .wv-feature-art { max-width: none; }
  .wv-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wv-section { padding: 54px 0; }
  .wv-wrap { padding: 0 18px; }
  .wv-hero-actions .wv-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .wv-hero-copy, .wv-hero-art { animation: none; }
}
