/* Content OS · Avanzo Tech
   World: monochrome ink, framed panels, hatched gutters (Ink Orbit template).
   Netlify build. Every rule is scoped under #cos. */

#cos {
  --bg: #0a0a0a;
  --hatch: #151515;
  --panel: #101010;
  --panel-2: #161616;
  --panel-3: #1d1d1d;
  --line: #262626;
  --line-2: #333;
  --fg: #f2f2ef;
  --muted: #a6a6a1;
  --faint: #8b8b86;
  --invert-bg: #f2f2ef;
  --invert-fg: #0d0d0d;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .7);

  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 2.2vw, 36px);
  --pad: clamp(24px, 4.4vw, 72px);
  --radius: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

#cos[data-theme="light"] {
  --bg: #e4e3de;
  --hatch: #d8d7d1;
  --panel: #f6f5f1;
  --panel-2: #eeede8;
  --panel-3: #e6e5df;
  --line: #d6d5cf;
  --line-2: #c4c3bc;
  --fg: #0f0f0e;
  --muted: #4a4a46;
  --faint: #62625d;
  --invert-bg: #0f0f0e;
  --invert-fg: #f6f5f1;
  --shadow: 0 10px 30px -14px rgba(20, 20, 10, .28);
  color-scheme: light;
}

#cos, #cos *, #cos *::before, #cos *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

#cos {
  margin: 0;
  background-color: var(--bg);
  background-image: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 11px);
  color: var(--fg);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Builder-proof reset: beat host element styles (systeme.io sets its own fonts, sizes and margins). */
#cos :where(h1, h2, h3, h4, p, a, ul, ol, li, dl, dt, dd, span, b, strong, label, input, button, summary, details, blockquote, figure, figcaption, nav, header, main, section, article, form, i) {
  font-family: inherit; font-size: inherit; line-height: inherit; letter-spacing: inherit; color: inherit;
  text-transform: none; text-shadow: none; box-shadow: none; background: none; border: 0; margin: 0; padding: 0;
}
#cos :where(ul, ol) { list-style: none; }
#cos :where(button, input) { -webkit-appearance: none; appearance: none; }
#cos :where(svg) { display: inline-block; vertical-align: middle; }
#cos [hidden] { display: none !important; }
#cos { min-height: 100vh; position: relative; isolation: isolate; text-align: left; }

#cos h1, #cos h2, #cos h3, #cos h4 { margin: 0; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; line-height: 1.2; }
#cos p { margin: 0; text-wrap: pretty; }
#cos a { color: inherit; }
#cos strong { font-weight: 600; color: var(--fg); }
#cos .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; color: var(--muted); }
#cos .mono { font-family: var(--mono); }

#cos .skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--invert-bg); color: var(--invert-fg); padding: 10px 14px; border-radius: var(--radius);
}
#cos .skip:focus { top: 16px; }

#cos :focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* ---------- Frame ---------- */
#cos .frame {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--gutter);
  display: flex; flex-direction: column; gap: var(--gutter);
}
#cos main { display: flex; flex-direction: column; gap: var(--gutter); }

#cos .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
}

/* ---------- Nav ---------- */
#cos .nav-wrap {
  position: sticky; top: var(--gutter); z-index: 50;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border: 1px solid var(--line);
}
#cos [data-corners]::before, #cos [data-corners]::after {
  content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none;
  border: 1px solid var(--line-2);
}
#cos [data-corners]::before { top: -9px; left: -9px; border-right: 0; border-bottom: 0; }
#cos [data-corners]::after { bottom: -9px; right: -9px; border-left: 0; border-top: 0; }

#cos .nav {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 12px 12px 24px; min-height: 68px;
}
#cos .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
#cos .brand-mark { width: 26px; height: 26px; fill: none; stroke: var(--fg); stroke-width: 2.4; }
#cos .brand-mark circle { fill: var(--fg); stroke: none; }

#cos .nav-links { list-style: none; display: flex; gap: 4px; margin: 0 auto; padding: 0; }
#cos .nav-links a {
  display: block; padding: 8px 14px; text-decoration: none; color: var(--muted);
  font-size: 15px; font-weight: 500; border-radius: var(--radius);
  transition: color .2s, background-color .2s;
}
#cos .nav-links a:hover { color: var(--fg); background: var(--panel-2); }
#cos .nav-actions { display: flex; align-items: center; gap: 8px; }

#cos .icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--fg); cursor: pointer; transition: background-color .2s, border-color .2s;
}
#cos .icon-btn:hover { background: var(--panel-2); border-color: var(--line); }
#cos .icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
#cos .icon-btn svg .fill { fill: currentColor; stroke: none; }
#cos .menu-btn { display: none; }

/* ---------- Buttons ---------- */
#cos .btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  font: 600 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
#cos .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
#cos .btn:hover svg { transform: translateX(3px); }
#cos .btn:active { transform: translateY(1px); }
#cos .btn-primary {
  background: var(--invert-bg); color: var(--invert-fg);
  box-shadow: 0 0 0 1px var(--bg), 0 0 0 2px var(--line-2), var(--shadow);
}
#cos .btn-primary:hover { box-shadow: 0 0 0 1px var(--bg), 0 0 0 2px var(--fg), var(--shadow); }
#cos .btn-ghost { background: var(--panel-2); color: var(--fg); border-color: var(--line); }
#cos .btn-ghost:hover { background: var(--panel-3); border-color: var(--line-2); }
#cos .btn-block { width: 100%; }

/* Bracketed secondary button, from the template's corner-bracket grammar */
#cos .btn-bracket {
  position: relative; background: var(--panel-2); color: var(--fg); border-color: var(--line);
}
#cos .btn-bracket::before, #cos .btn-bracket::after {
  content: ""; position: absolute; inset: -6px; pointer-events: none;
  border: 1px solid var(--line-2);
  -webkit-mask: linear-gradient(#000 0 0) top left / 9px 9px no-repeat, linear-gradient(#000 0 0) bottom right / 9px 9px no-repeat;
  mask: linear-gradient(#000 0 0) top left / 9px 9px no-repeat, linear-gradient(#000 0 0) bottom right / 9px 9px no-repeat;
  transition: inset .3s var(--ease), border-color .2s;
}
#cos .btn-bracket::after {
  -webkit-mask: linear-gradient(#000 0 0) top right / 9px 9px no-repeat, linear-gradient(#000 0 0) bottom left / 9px 9px no-repeat;
  mask: linear-gradient(#000 0 0) top right / 9px 9px no-repeat, linear-gradient(#000 0 0) bottom left / 9px 9px no-repeat;
}
#cos .btn-bracket:hover { background: var(--panel-3); }
#cos .btn-bracket:hover::before, #cos .btn-bracket:hover::after { inset: -9px; border-color: var(--fg); }

/* ---------- Hero ---------- */
#cos .hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(880px, calc(100svh - 68px - var(--gutter) * 3));
}
#cos .hero-copy {
  display: grid; grid-template-rows: 1fr auto auto 1fr;
  border-right: 1px solid var(--line);
}
#cos .hero-head {
  grid-row: 2;
  padding: clamp(28px, 3.4vw, 56px) var(--pad);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--panel-2), transparent 85%);
}
#cos .hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.9rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; }
#cos .hero h1 span { display: block; }
#cos .hero h1 .l2 { font-size: 1.08em; letter-spacing: -0.02em; line-height: 1.05; margin-top: .04em; }
#cos .hero-body { grid-row: 3; padding: clamp(28px, 3vw, 44px) var(--pad) 0; display: flex; flex-direction: column; gap: 18px; }
#cos .lede { font-size: clamp(1.05rem, 1.25vw, 1.22rem); color: var(--muted); max-width: 58ch; line-height: 1.6; }
#cos .cta-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; align-items: center; }
#cos .proof-line {
  list-style: none; padding: 0; margin: 14px 0 clamp(28px, 3vw, 44px);
  display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 14.5px;
}
#cos .proof-line li { display: flex; align-items: baseline; gap: 6px; }
#cos .proof-line li + li { position: relative; }
#cos .proof-line strong { font-family: var(--mono); font-weight: 500; font-size: 15px; }

#cos .hero-stage {
  position: relative; margin: 0; min-height: 520px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 55% 50%, var(--panel-3), transparent 70%),
    var(--panel);
}
#cos .hero-stage::before, #cos .hero-stage::after {
  content: ""; position: absolute; pointer-events: none; background: var(--line);
}
#cos .hero-stage::before { left: 50%; top: 0; bottom: 0; width: 1px; opacity: .6; }
#cos .hero-stage::after { top: 50%; left: 0; right: 0; height: 1px; opacity: .6; }
#cos #sculpture { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; z-index: 1; }
#cos #sculpture:active { cursor: grabbing; }
#cos #sculpture:focus-visible { outline-offset: -4px; }

#cos .hud {
  position: absolute; z-index: 2; font: 500 12.5px/1 var(--mono); letter-spacing: .04em;
  color: var(--faint); pointer-events: none; text-transform: uppercase;
}
#cos .hud-tl { top: 22px; left: 24px; }
#cos .hud-tr { top: 22px; right: 24px; }
#cos .hud-bl { bottom: 24px; left: 24px; text-transform: none; }

#cos .day-readout {
  position: absolute; z-index: 2; left: 24px; top: 58px; max-width: 260px; pointer-events: none;
}
#cos .day-num { font: 500 13px/1 var(--mono); color: var(--faint); letter-spacing: .06em; }
#cos .day-num #day-num { color: var(--fg); font-size: 28px; letter-spacing: -0.02em; margin-left: 4px; }
#cos .day-readout p { text-shadow: 0 0 10px var(--panel), 0 0 4px var(--panel); margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); transition: opacity .4s var(--ease), filter .4s var(--ease); }
#cos .day-readout p.swap { opacity: 0; filter: blur(4px); }

#cos .day-steps {
  position: absolute; z-index: 3; right: 20px; bottom: 16px; list-style: none; margin: 0; padding: 0;
  display: flex; gap: 0; border: 1px solid var(--line); background: var(--panel);
}
#cos .day-steps li + li { border-left: 1px solid var(--line); }
#cos .day-steps button {
  min-width: 52px; height: 40px; padding: 0 12px; background: transparent; border: 0; cursor: pointer;
  font: 500 13px/1 var(--mono); color: var(--faint); transition: background-color .2s, color .2s;
}
#cos .day-steps button:hover { color: var(--fg); background: var(--panel-2); }
#cos .day-steps button[aria-pressed="true"] { background: var(--invert-bg); color: var(--invert-fg); }
#cos .noscript { position: absolute; inset: auto 24px 70px; color: var(--muted); }

/* ---------- Section shared ---------- */
#cos .section-head {
  padding: clamp(48px, 6vw, 96px) var(--pad) clamp(32px, 3.6vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end;
}
#cos .section-head h2, #cos .split-copy h2, #cos .faq h2, #cos .founder-h, #cos .closing h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em;
}
#cos .section-head h2 .serif, #cos .split-copy h2 .serif, #cos .faq h2 .serif, #cos .founder-h .serif, #cos .closing h2 .serif { font-size: 1.1em; letter-spacing: -0.015em; }
#cos .section-head p { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
#cos .viz-note { font: 400 12px/1.4 var(--mono); color: var(--faint); margin-top: 12px; }

#cos .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
#cos .split-copy { padding: clamp(48px, 6vw, 96px) var(--pad); display: flex; flex-direction: column; gap: 22px; border-right: 1px solid var(--line); }
#cos .split-copy p { color: var(--muted); font-size: 1.08rem; max-width: 54ch; }

/* ---------- Problem ---------- */
#cos .feed-viz { padding: clamp(40px, 5vw, 80px) var(--pad); display: flex; flex-direction: column; justify-content: center; gap: 26px; background: var(--panel-2); }
#cos .feed-row { display: flex; flex-direction: column; gap: 10px; }
#cos .feed-label { font: 500 13px/1 var(--mono); color: var(--muted); }
#cos .weeks { display: grid; grid-template-columns: repeat(26, 1fr); gap: 4px; }
#cos .weeks i {
  display: block; aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: 1px;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i) * 14ms);
}
#cos .feed-viz.on .weeks i.on { background: var(--fg); border-color: var(--fg); }
#cos .feed-viz.on .weeks i.on.half { background: var(--faint); border-color: var(--faint); }
#cos .months { display: grid; grid-template-columns: repeat(6, 1fr); font: 400 12px/1 var(--mono); color: var(--faint); }

#cos .reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
#cos .reason { padding: clamp(32px, 3.4vw, 52px) var(--pad); }
#cos .reason + .reason { border-left: 1px solid var(--line); }
#cos .reason h3 { font-size: 1.5rem; margin-bottom: 10px; }
#cos .reason p { color: var(--muted); max-width: 40ch; }

/* ---------- How it works ---------- */
#cos .pipeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  counter-reset: step;
}
#cos .pipeline li { padding: 32px clamp(20px, 2vw, 32px) 36px; position: relative; }
#cos .pipeline li + li { border-left: 1px solid var(--line); }
#cos .pipeline li + li::before {
  content: ""; position: absolute; left: -6px; top: 47px; width: 11px; height: 11px;
  background: var(--panel); border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: rotate(45deg);
}
#cos .step-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; margin-bottom: 22px; }
#cos .step-mark svg { width: 20px; height: 20px; fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#cos .pipeline h3 { font-size: 1.15rem; margin-bottom: 8px; }
#cos .pipeline p { color: var(--muted); font-size: .97rem; }

#cos .bento {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
}
#cos .tile { padding: clamp(32px, 3.4vw, 52px) var(--pad); }
#cos .tile h3 { font-size: 1.5rem; margin-bottom: 10px; }
#cos .tile p { color: var(--muted); max-width: 48ch; }
#cos .tile-chat { grid-row: span 2; border-right: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
#cos .tile-week { border-bottom: 1px solid var(--line); background: var(--panel-2); }
#cos .tile-hands { background: var(--panel); }

#cos .chat { display: flex; flex-direction: column; gap: 10px; }
#cos .msg {
  max-width: 88%; padding: 12px 16px; font-size: 15px; line-height: 1.5; border-radius: 3px;
  border: 1px solid var(--line);
}
#cos .msg .who { display: block; font: 500 11.5px/1 var(--mono); color: var(--faint); margin-bottom: 7px; letter-spacing: .03em; }
#cos .msg.bot { background: var(--panel-2); align-self: flex-start; }
#cos .msg.you { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); align-self: flex-end; }
#cos .msg.you .who { color: color-mix(in srgb, var(--invert-fg) 62%, transparent); }
#cos .msg.sys {
  align-self: center; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px;
  font: 500 12.5px/1 var(--mono); color: var(--muted); border-style: dashed;
}
#cos .msg.sys svg { width: 16px; height: 16px; fill: none; stroke: var(--fg); stroke-width: 2; }
#cos .chat .viz-note { align-self: flex-end; }

#cos .week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 26px; }
#cos .week-grid div {
  border: 1px solid var(--line-2); padding: 10px 6px 12px; background: var(--panel);
  display: flex; flex-direction: column; gap: 18px; min-height: 92px; justify-content: space-between;
}
#cos .week-grid span { font: 500 11px/1 var(--mono); color: var(--faint); }
#cos .week-grid b { font-weight: 600; font-size: 12.5px; line-height: 1.2; overflow-wrap: anywhere; }

/* ---------- Voice ---------- */
#cos .timeline {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); position: relative;
}
#cos .timeline li { padding: clamp(32px, 3.4vw, 52px) var(--pad) clamp(40px, 4vw, 64px); position: relative; }
#cos .timeline li + li { border-left: 1px solid var(--line); }
#cos .timeline li::before {
  content: ""; display: block; height: 2px; margin-bottom: 28px; background: var(--line-2);
  background: linear-gradient(90deg, var(--fg) var(--fill, 33%), var(--line-2) 0);
}
#cos .timeline li:nth-child(1) { --fill: 30%; }
#cos .timeline li:nth-child(2) { --fill: 65%; }
#cos .timeline li:nth-child(3) { --fill: 100%; }
#cos .t-day { display: block; font-size: 13px; color: var(--faint); margin-bottom: 14px; letter-spacing: .06em; }
#cos .timeline h3 { font-size: 1.5rem; margin-bottom: 10px; }
#cos .timeline p { color: var(--muted); max-width: 42ch; }

/* ---------- Proof ---------- */
#cos .proof-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); border-top: 1px solid var(--line);
}
#cos .case { padding: clamp(32px, 3.6vw, 56px) var(--pad); }
#cos .case-volume {
  grid-row: span 2; border-right: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
}
#cos .case-num { font: 500 14px/1 var(--mono); color: var(--faint); margin-bottom: 26px; }
#cos .case-num span { display: block; font: 500 clamp(3.4rem, 6vw, 5.5rem)/1 var(--sans); letter-spacing: -0.045em; color: var(--fg); margin-bottom: 8px; }
#cos .case h3 { font-size: 1.5rem; }
#cos .case-who { color: var(--faint); font-size: 14px; margin: 4px 0 16px; }
#cos .case-volume p:last-child { color: var(--muted); max-width: 44ch; }
#cos .dots { display: grid; grid-template-columns: repeat(52, 1fr); gap: 2px; align-content: center; }
#cos .dots i { display: block; aspect-ratio: 1; background: var(--fg); border-radius: 50%; opacity: .14; transition: opacity .4s var(--ease); transition-delay: calc(var(--i) * 0.5ms); }
#cos .dots.on i { opacity: .92; }

#cos .case-quote { margin: 0; border-bottom: 1px solid var(--line); background: var(--panel-2); display: flex; flex-direction: column; gap: 22px; }
#cos .case-quote blockquote { margin: 0; }
#cos .case-quote blockquote p { font: 400 clamp(1.7rem, 2.4vw, 2.3rem)/1.18 var(--serif); letter-spacing: -0.01em; color: var(--fg); }
#cos .case-quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
#cos .case-quote figcaption span { color: var(--muted); }
#cos .case-note { font-size: 14px; color: var(--faint); max-width: 48ch; }
#cos .case-views { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
#cos .case-views .big { font: 500 clamp(2.6rem, 4vw, 3.6rem)/1 var(--sans); letter-spacing: -0.04em; }
#cos .case-views p:last-child { color: var(--muted); }

/* ---------- Compare ---------- */
#cos .vs-list { margin: 8px 0 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
#cos .vs-list div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
#cos .vs-list dt { color: var(--muted); }
#cos .vs-list dd { margin: 0; font-family: var(--mono); font-size: 13.5px; color: var(--faint); text-align: right; }
#cos .vs-list .us dt { color: var(--fg); font-weight: 600; }
#cos .vs-list .us dd { color: var(--fg); }

#cos .quadrant {
  position: relative; padding: clamp(56px, 6vw, 88px) clamp(56px, 6vw, 96px);
  background: var(--panel-2); display: flex; min-height: 520px;
}
#cos .q-plot {
  position: relative; flex: 1; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--line-2), var(--line-2)) center / 1px 100% no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) center / 100% 1px no-repeat;
}
#cos .q-plot::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 50%; height: 50%;
  background: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 8px);
}
#cos .axis { position: absolute; font: 500 12px/1 var(--mono); color: var(--faint); letter-spacing: .03em; }
#cos .axis-y-top { top: clamp(24px, 3vw, 40px); left: 50%; transform: translateX(-50%); }
#cos .axis-y-bot { bottom: clamp(24px, 3vw, 40px); left: 50%; transform: translateX(-50%); }
#cos .axis-x-left { left: clamp(14px, 1.6vw, 28px); top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center; white-space: nowrap; margin-left: -34px; }
#cos .axis-x-right { right: clamp(14px, 1.6vw, 28px); top: 50%; transform: translateY(-50%) rotate(90deg); white-space: nowrap; margin-right: -28px; }
#cos .q-dot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  padding: 6px 10px; background: var(--panel); border: 1px solid var(--line);
}
#cos .q-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
#cos .q-dot.us { color: var(--invert-fg); background: var(--invert-bg); border-color: var(--invert-bg); font-weight: 700; padding: 10px 14px; font-size: 15px; box-shadow: var(--shadow); }
#cos .q-dot.us::before { background: var(--invert-fg); }

/* ---------- About / FAQ ---------- */
#cos .split-about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
#cos .founder { padding: clamp(48px, 6vw, 96px) var(--pad); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; background: var(--panel-2); }
#cos .founder > p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
#cos .founder-sign { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 15px; line-height: 1.4; }
#cos .founder-sign span:last-child { color: var(--muted); }
#cos .avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--invert-bg); color: var(--invert-fg); font: 600 15px/1 var(--mono); }

#cos .faq { padding: clamp(48px, 6vw, 96px) var(--pad); }
#cos .faq h2 { margin-bottom: 28px; }
#cos .faq details { border-top: 1px solid var(--line); }
#cos .faq details:last-of-type { border-bottom: 1px solid var(--line); }
#cos .faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em;
}
#cos .faq summary::-webkit-details-marker { display: none; }
#cos .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--fg), var(--fg)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--fg), var(--fg)) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease);
}
#cos .faq details[open] summary::after { transform: rotate(135deg); }
#cos .faq summary:hover { color: var(--muted); }
#cos .faq details p { padding: 0 44px 22px 0; color: var(--muted); max-width: 64ch; }

/* ---------- Closing ---------- */
#cos .closing { overflow: hidden; }
#cos .closing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 70% at 50% 100%, var(--panel-3), transparent 70%);
}
#cos .closing-inner {
  position: relative; text-align: center; padding: clamp(72px, 9vw, 140px) var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
#cos .closing h2 { font-size: clamp(2.4rem, 4.8vw, 4.6rem); max-width: 16ch; }
#cos .closing h2 .serif { display: block; }
#cos .closing-inner > p { color: var(--muted); font-size: 1.12rem; max-width: 52ch; }
#cos .cta-center { justify-content: center; }

#cos .waitlist { margin-top: 36px; width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 12px; text-align: left; padding-top: 32px; border-top: 1px solid var(--line); }
#cos .waitlist label { font-size: 15px; color: var(--muted); text-align: center; }
#cos .wl-row { display: flex; gap: 8px; }
#cos .cos-form input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; font: 500 15px var(--sans); color: var(--fg);
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
#cos .cos-form input::placeholder { color: var(--faint); }
#cos .cos-form input:hover { border-color: var(--faint); }
#cos .cos-form input:focus { outline: none; border-color: var(--fg); background: var(--panel); }
#cos .cos-form input[aria-invalid="true"] { border-color: #e5484d; }
#cos .wl-row button[disabled] { opacity: .55; cursor: progress; }
#cos .f-status { min-height: 1.4em; font-size: 14px; color: var(--muted); text-align: center; }
#cos .f-status.err { color: #ff7a7e; }
#cos[data-theme="light"] .f-status.err { color: #b4232a; }

/* ---------- Footer ---------- */
#cos .site-foot {
  background: var(--panel); border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}
#cos .foot-brand { padding: 48px var(--pad); display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); }
#cos .foot-brand p { color: var(--muted); max-width: 36ch; font-size: 15px; }
#cos .foot-cols { padding: 48px var(--pad); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
#cos .foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
#cos .foot-cols h4 { font: 500 12px/1 var(--mono); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
#cos .foot-cols a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
#cos .foot-cols a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
#cos .foot-cols span { color: var(--faint); }
#cos .foot-base {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px var(--pad); border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  #cos .nav-links a { padding: 8px 10px; font-size: 14.5px; }
  #cos .tile-chat { grid-template-columns: 1fr; gap: 28px; }
  #cos .case-volume { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  #cos .menu-btn { display: grid; }
  #cos .nav { gap: 12px; padding-left: 18px; }
  #cos .nav-links {
    display: none; position: absolute; top: calc(100% + 1px); left: -1px; right: -1px; margin: 0;
    flex-direction: column; padding: 8px; background: var(--panel); border: 1px solid var(--line);
  }
  #cos .nav-links.open { display: flex; }
  #cos .nav-links a { padding: 14px 12px; font-size: 16px; }
  #cos .nav-actions { margin-left: auto; }

  #cos .hero { grid-template-columns: 1fr; min-height: 0; }
  #cos .hero-copy { border-right: 0; border-bottom: 1px solid var(--line); grid-template-rows: auto auto; }
  #cos .hero-head { grid-row: 1; border-top: 0; }
  #cos .hero-body { grid-row: 2; }
  #cos .hero-stage { min-height: 0; height: min(100vw, 640px); }

  #cos .section-head { grid-template-columns: 1fr; }
  #cos .split, #cos .split-about { grid-template-columns: 1fr; }
  #cos .split-copy, #cos .founder { border-right: 0; border-bottom: 1px solid var(--line); }
  #cos .pipeline { grid-template-columns: 1fr 1fr; }
  #cos .pipeline li + li::before { display: none; }
  #cos .pipeline li { border-bottom: 1px solid var(--line); }
  #cos .pipeline li:nth-child(odd) { border-left: 0; }
  #cos .pipeline li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  #cos .bento { grid-template-columns: 1fr; }
  #cos .tile-chat { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  #cos .timeline { grid-template-columns: 1fr; }
  #cos .timeline li + li { border-left: 0; border-top: 1px solid var(--line); }
  #cos .proof-grid { grid-template-columns: 1fr; }
  #cos .case-volume { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  #cos .site-foot { grid-template-columns: 1fr; }
  #cos .foot-brand { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  #cos { --gutter: 10px; --pad: 20px; }
  #cos { font-size: 15.5px; }
  #cos .nav-cta { display: none; }
  #cos .nav { min-height: 60px; padding: 8px 8px 8px 16px; }
  #cos .hero h1 { font-size: clamp(2.3rem, 10.4vw, 3rem); }
  #cos .cta-row { flex-direction: column; align-items: stretch; gap: 16px; }
  #cos .cta-row .btn { width: 100%; }
  #cos .hero-stage { height: max(400px, 108vw); }
  #cos .q-plot .q-dot:nth-child(1) { --x: 30% !important; --y: 36% !important; }
  #cos .q-plot .q-dot:nth-child(6) { --y: 14% !important; }
  #cos .q-plot .q-dot:nth-child(2) { --x: 30% !important; }
  #cos .q-plot .q-dot:nth-child(3) { --x: 38% !important; }
  #cos .q-plot .q-dot:nth-child(5) { --x: 74% !important; }
  #cos .q-plot .q-dot:nth-child(6) { --x: 70% !important; }
  #cos .day-readout { top: 52px; left: 18px; max-width: 200px; }
  #cos .hud-tl, #cos .hud-tr { top: 18px; }
  #cos .hud-tl { left: 18px; }
  #cos .hud-tr { right: 18px; }
  #cos .hud-bl { display: none; }
  #cos .day-steps { left: 16px; right: 16px; bottom: 16px; }
  #cos .day-steps li { flex: 1; }
  #cos .day-steps button { width: 100%; height: 44px; }
  #cos .reasons { grid-template-columns: 1fr; }
  #cos .reason + .reason { border-left: 0; border-top: 1px solid var(--line); }
  #cos .pipeline { grid-template-columns: 1fr; }
  #cos .pipeline li { border-left: 0 !important; }
  #cos .weeks { gap: 2px; }
  #cos .pipeline li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 22px 20px; }
  #cos .pipeline .step-mark { grid-row: span 2; margin-bottom: 0; }
  #cos .pipeline h3 { margin-bottom: 2px; align-self: end; }
  #cos .week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #cos .msg { max-width: 94%; }
  #cos .dots { grid-template-columns: repeat(39, 1fr); gap: 1.5px; }
  #cos .quadrant { padding: 48px 40px; min-height: 420px; }
  #cos .q-dot { font-size: 12px; padding: 5px 8px; }
  #cos .q-dot.us { font-size: 13px; padding: 8px 10px; }
  #cos .axis-x-left { margin-left: -38px; }
  #cos .axis-x-right { margin-right: -34px; }
  #cos .wl-row { flex-direction: column; }
  #cos .foot-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #cos, #cos *, #cos *::before, #cos *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* =====================================================================
   Additions: hero note, product tour, model switch, outcomes, forms, sticky CTA
   ===================================================================== */

#cos .cta-note { font-size: 14px; color: var(--faint); max-width: 52ch; margin-top: -4px; }

/* ---------- Product tour ---------- */
#cos .tour { border-top: 1px solid var(--line); }
#cos .tour-tabs {
  position: relative; display: flex; border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
#cos .tour-tabs::-webkit-scrollbar { display: none; }
#cos .tour-tabs button {
  flex: 1 0 auto; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 18px 22px; cursor: pointer; font: 500 15px/1 var(--sans); color: var(--muted);
  border-right: 1px solid var(--line); transition: color .2s, background-color .2s;
}
#cos .tour-tabs button:last-of-type { border-right: 0; }
#cos .tour-tabs button .mono { font-size: 11.5px; color: var(--faint); }
#cos .tour-tabs button:hover { color: var(--fg); background: var(--panel-2); }
#cos .tour-tabs button[aria-selected="true"] { color: var(--fg); background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--fg); }
#cos .tour-tabs button:focus-visible { outline-offset: -4px; }
#cos .tour-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none; }
#cos .tour-progress i { display: block; height: 1px; width: 0; background: var(--faint); }
#cos .tour.auto .tour-progress i { animation: cos-progress var(--tour-ms, 6500ms) linear forwards; }
@keyframes cos-progress { from { width: 0; } to { width: 100%; } }

#cos .tour-pane { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
#cos .tour-pane:not([hidden]) { animation: cos-in .45s var(--ease); }
@keyframes cos-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#cos .pane-copy { padding: clamp(32px, 3.6vw, 56px) var(--pad); display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--line); }
#cos .pane-copy h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.03em; }
#cos .pane-copy > p { color: var(--muted); max-width: 46ch; }

#cos .ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
#cos .ticks li { position: relative; padding-left: 28px; font-size: 15px; }
#cos .ticks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 17px; height: 17px; border: 1px solid var(--line-2); border-radius: 50%;
  background: no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6a6a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Mock app window */
#cos .tour-pane .app { margin: clamp(24px, 3vw, 48px) clamp(20px, 3vw, 48px); align-self: center; }
#cos .tour-pane { background: linear-gradient(90deg, transparent 41%, var(--panel-2) 41%); }
#cos .app { background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; }
#cos .app-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  font: 500 12px/1 var(--mono); color: var(--faint);
}
#cos .app-bar b { color: var(--fg); font-weight: 500; }
#cos .app-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg); }
#cos .app-model { margin-left: auto; padding: 5px 9px; border: 1px solid var(--line-2); color: var(--muted); }
#cos .app-model::before { content: "Model: "; color: var(--faint); }
#cos .app-body { padding: 18px; min-height: 330px; display: flex; flex-direction: column; gap: 14px; }

#cos .chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
#cos .chip { font: 500 11.5px/1 var(--mono); padding: 6px 9px; border: 1px solid var(--line-2); color: var(--muted); }
#cos .chip.solid { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }
#cos .rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
#cos .rows li:last-child { border-bottom: 0; }
#cos .row-t { font-size: 14.5px; font-weight: 500; }
#cos .tag { flex: none; font: 500 11px/1 var(--mono); padding: 5px 8px; border: 1px solid var(--line); color: var(--faint); white-space: nowrap; }
#cos .tag-you { color: var(--fg); border-color: var(--fg); }
#cos .row-ghost .row-t { color: var(--faint); font-weight: 400; }
#cos .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); animation: cos-pulse 1.4s ease-in-out infinite; }
@keyframes cos-pulse { 50% { opacity: .25; } }

#cos .drafts { gap: 10px; }
#cos .draft { border: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); }
#cos .draft:first-child { border-color: var(--line-2); background: var(--panel-2); }
#cos .draft-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#cos .state { font: 500 11px/1.4 var(--mono); color: var(--faint); }
#cos .state.ok { color: var(--fg); }
#cos .draft h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
#cos .script { font-size: 13.5px; color: var(--muted); }
#cos .script b { color: var(--fg); font-weight: 600; }
#cos .draft-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
#cos .mini { font: 500 11.5px/1 var(--mono); padding: 7px 10px; border: 1px solid var(--line-2); color: var(--muted); }
#cos .mini.solid { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }

#cos .video { flex-direction: row; align-items: stretch; gap: 18px; }
#cos .phone {
  position: relative; flex: 0 0 34%; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse 80% 60% at 50% 35%, var(--panel-3), var(--panel-2));
}
#cos .face { position: absolute; left: 50%; bottom: 0; width: 82%; transform: translateX(-50%); fill: var(--line-2); stroke: var(--faint); stroke-width: 1; }
#cos .rec { position: absolute; top: 10px; left: 10px; font: 500 10px/1 var(--mono); color: var(--fg); }
#cos .caption { position: absolute; left: 8px; right: 8px; bottom: 14%; padding: 6px 8px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.3; background: var(--invert-bg); color: var(--invert-fg); }
#cos .track { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
#cos .track-row { display: flex; gap: 3px; align-items: stretch; }
#cos .track-row span { flex: 0 0 66px; font: 500 10.5px/1 var(--mono); color: var(--faint); align-self: center; }
#cos .track-row i {
  flex: 0 1 var(--w); min-width: 0; padding: 9px 7px; font: 500 11px/1 var(--sans); font-style: normal; color: var(--muted);
  background: var(--panel-2); border: 1px solid var(--line-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#cos .track-row i.fill { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }

#cos .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
#cos .cal .wd { font: 500 10.5px/1 var(--mono); color: var(--faint); padding: 0 2px 6px; }
#cos .cal .d { min-height: 54px; border: 1px solid var(--line); padding: 5px; display: flex; flex-direction: column; gap: 3px; background: var(--panel); }
#cos .cal .d.off { opacity: .35; }
#cos .cal .d > span { font: 500 10px/1 var(--mono); color: var(--faint); }
#cos .cal .d b { display: block; font: 600 9.5px/1.2 var(--sans); padding: 3px 4px; background: var(--panel-3); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cos .cal .d b.v { background: var(--invert-bg); color: var(--invert-fg); }

#cos .engage { gap: 12px; }
#cos .comment { display: flex; gap: 10px; align-items: flex-start; }
#cos .av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); border: 1px solid var(--line-2); font: 500 11px/1 var(--mono); }
#cos .comment b { font-size: 13px; font-weight: 600; }
#cos .comment p { font-size: 14px; color: var(--muted); }
#cos .flow { display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); color: var(--faint); padding: 4px 0 4px 44px; }
#cos .flow i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
#cos .dm { border: 1px solid var(--line-2); padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--panel-2); }
#cos .dm p { max-width: 88%; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; }
#cos .dm-bot { background: var(--panel); border: 1px solid var(--line); }
#cos .dm-link { align-self: flex-start; font: 600 12.5px/1 var(--sans) !important; padding: 9px 12px !important; border: 1px solid var(--fg); }
#cos .dm-you { align-self: flex-end; background: var(--invert-bg); color: var(--invert-fg); }

#cos .bv .field { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
#cos .bv .field:last-child { border-bottom: 0; }
#cos .bv .field > span { font: 500 11px/1.6 var(--mono); color: var(--faint); }
#cos .bv .field p { font-size: 14px; }
#cos .funnel { display: flex; gap: 3px; }
#cos .funnel i { flex: 0 1 var(--w); min-width: 0; padding: 8px; font: 600 11px/1 var(--sans); font-style: normal; background: var(--panel-3); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cos .funnel i:last-child { background: var(--invert-bg); color: var(--invert-fg); }

#cos .tour-note { padding: 14px var(--pad) 18px; margin: 0; border-top: 1px solid var(--line); }

/* ---------- Model tile ---------- */
#cos .tile-model { border-bottom: 1px solid var(--line); background: var(--panel-2); }
#cos .model-switch { display: inline-flex; margin-top: 22px; border: 1px solid var(--line-2); }
#cos .model-switch button { padding: 11px 18px; cursor: pointer; font: 500 13px/1 var(--mono); color: var(--muted); transition: background-color .2s, color .2s; }
#cos .model-switch button + button { border-left: 1px solid var(--line-2); }
#cos .model-switch button:hover { color: var(--fg); }
#cos .model-switch button[aria-pressed="true"] { background: var(--invert-bg); color: var(--invert-fg); }

/* ---------- Outcomes ---------- */
#cos .out-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
#cos .out { padding: clamp(32px, 3.4vw, 52px) var(--pad) clamp(40px, 4vw, 60px); display: flex; flex-direction: column; gap: 12px; }
#cos .out + .out { border-left: 1px solid var(--line); }
#cos .out:nth-child(2) { background: var(--panel-2); }
#cos .out-k { font-size: 12px; color: var(--faint); letter-spacing: .08em; }
#cos .out h3 { font-size: 1.5rem; }
#cos .out p { color: var(--muted); max-width: 40ch; }

/* ---------- Proof CTA ---------- */
#cos .proof-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px var(--pad); border-top: 1px solid var(--line); background: var(--panel-2); }
#cos .proof-cta p { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- Forms ---------- */
#cos .audit-form {
  width: 100%; max-width: 640px; margin-top: 18px; display: flex; flex-direction: column; gap: 14px; text-align: left;
  padding: clamp(20px, 2.6vw, 32px); background: var(--panel-2); border: 1px solid var(--line-2); position: relative;
}
#cos .f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#cos .f { display: flex; flex-direction: column; gap: 7px; }
#cos .f-wide { grid-column: 1 / -1; }
#cos .f label { font-size: 13.5px; font-weight: 600; color: var(--fg); display: flex; align-items: baseline; gap: 8px; }
#cos .opt { font: 400 11px/1 var(--mono); color: var(--faint); }
#cos .f input { width: 100%; flex: none; background: var(--panel); }
#cos .audit-form .btn-block { min-height: 54px; font-size: 16px; margin-top: 4px; }
#cos .cos-form button[disabled] { opacity: .6; cursor: progress; }
#cos .audit-form .f-status:empty { display: none; }
#cos .f-status.ok { color: var(--fg); font-weight: 600; }
#cos .f-fine { font-size: 12.5px; color: var(--faint); text-align: center; }

/* No WebGL / CDN blocked: keep the readout, drop the controls that do nothing. */
#cos .hero-stage.no-gl .day-steps, #cos .hero-stage.no-gl .hud-bl, #cos .hero-stage.no-gl .hud-tl { display: none; }


/* ---------- Why most businesses never post like this ---------- */
#cos .why-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
#cos .jobs { padding: clamp(32px, 3.4vw, 52px) var(--pad); border-right: 1px solid var(--line); background: var(--panel-2); }
#cos .jobs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; font: 500 12.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
#cos .plate b { font: 500 30px/1 var(--sans); letter-spacing: -0.03em; color: var(--fg); margin-left: 8px; font-variant-numeric: tabular-nums; }
#cos .jobs ol li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
#cos .jobs ol li b { flex: none; min-width: 104px; text-align: center; padding: 6px 10px; font: 500 12px/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
#cos .jobs ol li b.os { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }
#cos .jobs ol li.keep { border-bottom: 0; }
#cos .jobs ol li.keep span { font-weight: 600; }
#cos .jobs ol li.keep b { color: var(--fg); border-color: var(--fg); }
#cos .why-reasons { padding: 8px var(--pad); }
#cos .why-reasons li { padding: clamp(24px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); }
#cos .why-reasons li:last-child { border-bottom: 0; }
#cos .why-reasons h3 { font-size: 1.5rem; margin-bottom: 10px; }
#cos .why-reasons p { color: var(--muted); max-width: 52ch; }
#cos .day-num #day-num { font-size: 22px; letter-spacing: .02em; }
#cos .day-steps button { min-width: 0; padding: 0 14px; }
@media (max-width: 980px) {
  #cos .why-grid { grid-template-columns: minmax(0, 1fr); }
  #cos .jobs { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  #cos .jobs ol li { font-size: 14.5px; }
  #cos .jobs ol li b { min-width: 92px; }
  #cos .day-num #day-num { font-size: 18px; }
}

/* ---------- Sticky mobile CTA ---------- */
#cos .sticky-cta { display: none; }

@media (max-width: 1180px) {
  #cos .tour-tabs button { padding: 16px 16px; font-size: 14px; }
}
@media (max-width: 980px) {
  #cos .tour-pane { grid-template-columns: 1fr; background: none; }
  #cos .pane-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  #cos .tour-pane .app { margin: 0; border-width: 0 0 1px; box-shadow: none; }
  #cos .tour-pane .app-body { background: var(--panel-2); }
  #cos .out-grid { grid-template-columns: 1fr; }
  #cos .out + .out { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  #cos .tour-tabs button { padding: 14px 14px; flex: 0 0 auto; }
  #cos .pane-copy { padding: 26px 20px; }
  #cos .app-body { padding: 14px; min-height: 0; }
  #cos .app-model { display: none; }
  #cos .rows li { flex-direction: column; align-items: flex-start; gap: 6px; }
  #cos .video { flex-direction: column; }
  #cos .phone { flex-basis: auto; width: 46%; align-self: center; }
  #cos .cal .d { min-height: 40px; padding: 3px; }
  #cos .cal .d b { font-size: 0; padding: 0; height: 4px; }
  #cos .f-grid { grid-template-columns: 1fr; }
  #cos .proof-cta { flex-direction: column; align-items: stretch; text-align: center; }
  #cos .closing-inner { padding-bottom: 96px; }
  #cos .sticky-cta {
    display: flex; position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; min-height: 52px;
    transform: translateY(160%); transition: transform .4s var(--ease);
  }
  #cos .sticky-cta.show { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #cos .tour-pane:not([hidden]), #cos .pulse, #cos .tour.auto .tour-progress i { animation: none; }
}

/* Netlify Forms honeypot: invisible to people, filled in only by bots. */
#cos .hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you page */
#cos .thanks { min-height: calc(100vh - 140px); display: grid; place-items: center; text-align: center; padding: 64px var(--pad); }
#cos .thanks h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.04em; }
#cos .thanks h1 .serif { display: block; font-size: 1.08em; }
#cos .thanks p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; margin: 22px auto 34px; }

/* ---------- Booking ---------- */
#cos .book-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font: 500 12.5px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
#cos .book-points li { display: flex; align-items: center; gap: 8px; }
#cos .book-points li::before { content: ""; width: 6px; height: 6px; background: var(--fg); }
#cos .btn-book { min-height: 58px; padding-inline: 30px; font-size: 16.5px; }
#cos .f-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
