/* v8 base: v4 tokens and components + v7 teammate components, extracted from v7 (os-main-landing.html). Screens only add markup. */
/* v3: layout from the second Mobbin pass (REFERENCES.md); colour combination copied from live os.visiblie.com:
   white base, vertical warm gradient, navy header CTA, orange body CTAs, tinted chip eyebrows, black glass sections.
   Base styles are the 390px layout; 40rem and 64rem only add columns. */
:root {
  --bg: #ffffff;
  --surface-subtle: #fafafa;
  --surface-warm: #fdf9f7;
  --surface-cream: #fbfbf8;
  --surface-brand-subtle: #fff7ed;
  --surface-brand: #ffedd5;
  --surface-dark: #0b0b0f;
  --text-strong: #0b0f26;
  --text-default: #3b4772;
  --text-subtle: #64748b;
  --text-subtitle: #544145;
  --text-highlight: #e7680f;
  --text-brand: #c2410c;
  --on-dark-strong: #ffffff;
  --on-dark: rgb(255 255 255 / .9);
  --on-dark-subtle: rgb(255 255 255 / .6);
  --brand-on-dark: #fb923c;
  --action: #c2410c;
  --action-hover: #9a3412;
  --on-action: #ffffff;
  --navy: #0b0f26;
  --navy-hover: #283055;
  --on-navy: #ffffff;
  --accent-soft: #f6a262;
  --ok: #059669;
  --border: #e7e7e5;
  --border-strong: #d6d6d3;
  --border-input: #8f8f8d;
  --border-brand: #fed7aa;
  --border-brand-strong: #fb923c;
  --border-on-dark: rgb(255 255 255 / .12);
  --glass: linear-gradient(180deg, rgb(255 255 255 / .12) 0%, rgb(255 255 255 / .02) 100%);
  --bar-track: #f5f5f4;
  --bar-you: #c2410c;
  --bar-other: #c4c9d8;
  --gradient-warm: linear-gradient(180deg, #fdb980 0%, #fcd9a4 42%, #fce6b1 100%);
  --hero-fade: linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #fce6b1 72%, #fcd9a4 88%, #fdb980 100%);
  --shadow-subtle: 0 1px 2px rgb(11 15 38 / .05);
  --shadow-card: 0 1px 2px rgb(11 15 38 / .06), 0 8px 24px rgb(11 15 38 / .06);
  --shadow-glow: 0 6px 20px rgb(194 65 12 / .18);
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-heading: "IBM Plex Sans JP", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-card-lg: 16px;
  --radius-badge: 6px;
  /* Light only, like os.visiblie.com: white page whatever the visitor's system theme. */
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text-default); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: 56px; }
@media (min-width: 48rem) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 64rem) { section { padding-block: 96px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* Type */
h1, h2, h3, h4, .t-h3, .t-h4 { margin: 0; color: var(--text-strong); text-wrap: balance; }
.t-display { font-family: var(--font-display); font-weight: 500; font-size: 36px; line-height: 40px; letter-spacing: -1px; }
.t-h1 { font-family: var(--font-heading); font-weight: 500; font-size: 30px; line-height: 1.2; letter-spacing: -1.4px; }
.t-h2 { font-family: var(--font-heading); font-weight: 600; font-size: 22px; line-height: 30px; letter-spacing: -.5px; }
.t-h3 { font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 28px; letter-spacing: -.25px; }
.t-h4 { font-family: var(--font-heading); font-weight: 600; font-size: 16px; line-height: 24px; }
.t-lead { font-size: 17px; line-height: 27px; }
.t-sm { font-size: 14px; line-height: 20px; }
.t-cap { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-subtle); }
.t-sub { font-weight: 500; color: var(--text-subtitle); }
.hl { color: var(--text-highlight); }
@media (min-width: 40rem) {
  .t-display { font-size: 48px; line-height: 52px; }
  .t-h1 { font-size: 40px; letter-spacing: -2px; }
  .t-h2 { font-size: 24px; line-height: 32px; }
  .t-lead { font-size: 18px; line-height: 28px; }
}
@media (min-width: 64rem) { .t-display { font-size: 60px; line-height: 65px; letter-spacing: -2px; } }

/* Eyebrow chip, as on os.visiblie.com */
.eyebrow { display: inline-flex; justify-self: start; align-items: center; gap: 6px; padding: 2px 8px; border-radius: var(--radius-badge); background: var(--surface-brand-subtle); border: 1px solid var(--border-brand); color: var(--text-brand); font-size: 14px; line-height: 22px; font-weight: 500; letter-spacing: -.25px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--action); }
.on-gradient .eyebrow { background: var(--bg); }
.head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 28px; }
.head-row { display: grid; gap: 16px; margin-bottom: 28px; }
.head-row .head { margin-bottom: 0; }
@media (min-width: 64rem) { .head { margin-bottom: 48px; } .head-row { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 48px; } }
.placeholder { display: inline-block; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-brand); background: var(--surface-brand-subtle); border: 1px dashed var(--border-brand-strong); border-radius: var(--radius-badge); padding: 2px 6px; }
.illus { font-size: 12px; line-height: 16px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-badge); background: var(--bg); border: 1px solid var(--border); color: var(--text-subtle); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: var(--radius-control); font: 600 16px/24px var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn-primary { background: var(--action); color: var(--on-action); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12); }
.btn-primary:hover { background: var(--action-hover); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-hover); }
.btn-secondary { background: var(--bg); color: var(--text-strong); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-subtle); }
.btn-white { background: #fff; color: #0b0f26; }
.btn-white:hover { background: #f5f5f4; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; line-height: 20px; }
.link { font-size: 15px; font-weight: 600; color: var(--text-strong); text-underline-offset: 3px; }
.link:hover { color: var(--text-brand); }

/* The check form: pill on desktop with the button inside, stacked on mobile */
.check { width: 100%; max-width: 580px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card-lg); box-shadow: var(--shadow-card); padding: 8px; display: grid; gap: 8px; text-align: left; }
.check-row { display: grid; gap: 8px; }
.check-field { position: relative; }
.check-field svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--text-subtle); pointer-events: none; }
.check input { min-height: 52px; width: 100%; padding: 12px 14px 12px 42px; border: 1px solid var(--border-input); border-radius: var(--radius-control); background: var(--surface-subtle); color: var(--text-strong); font: 400 16px/24px var(--font-body); }
.check input::placeholder { color: var(--text-subtle); }
.check .btn { min-height: 52px; }
.check-engines { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 2px 6px 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 600; padding: 4px 8px; border-radius: var(--radius-badge); background: var(--surface-subtle); border: 1px solid var(--border); color: var(--text-default); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.check-msg { font-size: 14px; line-height: 20px; color: var(--text-strong); background: var(--surface-brand-subtle); border: 1px solid var(--border-brand); border-radius: var(--radius-control); padding: 10px 12px; margin: 0 4px 4px; }
.check-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 13px; line-height: 18px; color: var(--text-subtle); }
.check-meta span::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.check.compact { box-shadow: none; padding: 0; border: 0; background: transparent; }
@media (min-width: 40rem) {
  .check:not(.compact) .check-row { grid-template-columns: 1fr; position: relative; }
  .check:not(.compact) input { padding-right: 236px; }
  .check:not(.compact) .check-row .btn { position: absolute; right: 6px; top: 6px; min-height: 40px; padding: 8px 16px; }
}

/* Rename bar + nav */
.announce { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 8px 16px; background: var(--surface-brand-subtle); border-bottom: 1px solid var(--border-brand); color: var(--text-strong); font-size: 13px; line-height: 18px; text-decoration: none; text-align: center; }
.announce b { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: var(--radius-badge); background: var(--action); color: var(--on-action); }
.announce span:last-child { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.announce:hover span:last-child { color: var(--text-brand); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-block: 8px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; font: 700 18px/1 var(--font-body); color: var(--text-strong); text-decoration: none; letter-spacing: -.5px; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--action); display: grid; place-items: center; color: var(--on-action); font-size: 14px; }
.logo small { font-size: inherit; font-weight: 600; color: var(--text-brand); }
.nav-links { display: none; gap: 24px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: #6b6b68; }
.nav-links a:hover { color: var(--text-strong); }
.nav-right { display: flex; align-items: center; gap: 4px; }
.nav-login { font-size: 14px; font-weight: 600; color: var(--text-strong); text-decoration: none; padding: 10px 8px; }
.nav-login:hover { color: var(--text-brand); }
.menu { position: relative; margin-left: 4px; }
.menu summary { list-style: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-control); cursor: pointer; color: var(--text-strong); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu-panel { position: absolute; right: 0; top: 48px; width: min(300px, calc(100vw - 32px)); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 8px; display: grid; }
.menu-panel a { padding: 12px; border-radius: var(--radius-control); text-decoration: none; color: var(--text-strong); font-weight: 600; }
.menu-panel a:hover { background: var(--surface-subtle); }
@media (min-width: 64rem) { .nav-links { display: flex; } .menu { display: none; } .nav-right { gap: 8px; } }

/* Hero: white fading into the warm gradient behind the product frame, as on the live site */
.hero { padding-block: 40px 56px; text-align: center; background: var(--hero-fade); }
.hero-copy { display: grid; gap: 18px; justify-items: center; max-width: 820px; margin: 0 auto; }
.hero-copy .eyebrow { justify-self: center; }
.hero-copy .t-lead { max-width: 640px; }
.preview { margin: 40px auto 0; max-width: 980px; text-align: left; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card-lg); box-shadow: var(--shadow-card); overflow: hidden; scroll-margin-top: 88px; }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--surface-subtle); }
.preview-bar .t-h4 { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-body { display: grid; }
.pane { padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.pane + .pane { border-top: 1px solid var(--border); }
.pane-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rank { display: grid; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-size: 14px; line-height: 20px; }
.rank-row { display: grid; grid-template-columns: 24px 1fr 76px 40px; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--border); }
.rank-row:first-child { border-top: 0; background: var(--surface-subtle); font-size: 12px; font-weight: 600; color: var(--text-subtle); padding-block: 8px; }
.rank-row b { font-weight: 600; color: var(--text-strong); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row .r { color: var(--text-subtle); font-weight: 600; }
.rank-row .s { display: grid; grid-template-columns: 1fr 30px; gap: 6px; align-items: center; font-weight: 600; color: var(--text-strong); text-align: right; }
.rank-row .d { text-align: right; font-size: 12px; font-weight: 700; }
.up { color: var(--ok); }
.down { color: var(--text-brand); }
.flat { color: var(--text-subtle); }
.rank-row.you { background: var(--surface-brand-subtle); }
.rank-row.you b, .rank-row.you .s { color: var(--text-brand); }
.rank-row:first-child .s { display: block; }
.bar { height: 8px; border-radius: 9999px; background: var(--bar-track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 9999px; background: var(--bar-other); }
.you .bar i, .bar.you i { background: var(--bar-you); }
.prompt { display: grid; gap: 8px; padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-warm); }
.prompt q { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-strong); }
.named { display: flex; flex-wrap: wrap; gap: 6px; }
.named span { font-size: 12px; line-height: 16px; font-weight: 600; padding: 3px 8px; border-radius: var(--radius-badge); background: var(--bg); border: 1px solid var(--border); color: var(--text-default); }
.named span.miss { border-style: dashed; border-color: var(--border-brand-strong); color: var(--text-brand); }
.fix { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px; border-radius: 10px; background: var(--surface-subtle); border: 1px solid var(--border); }
.fix .ph { font-size: 12px; font-weight: 600; color: var(--text-brand); }
.fix .imp { grid-row: span 2; align-self: center; text-align: center; font: 600 22px/1 var(--font-heading); color: var(--text-strong); }
.fix .imp small { display: block; font: 500 11px/1.4 var(--font-body); color: var(--text-subtle); }
.fix .t-sm { color: var(--text-strong); font-weight: 600; }
@media (min-width: 48rem) {
  .preview-body { grid-template-columns: 1.15fr 1fr; }
  .pane + .pane { border-top: 0; border-left: 1px solid var(--border); }
  .pane { padding: 20px; }
}
@media (min-width: 64rem) { .hero { padding-block: 80px 96px; } .preview { margin-top: 56px; } }

/* Proof strip: bordered name grid flowing into a named result cell */
.strip { padding-block: 32px; border-bottom: 1px solid var(--border); }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.strip-head .t-cap { font-size: 13px; }
.strip-head .link { white-space: nowrap; }
.names { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.names > span { display: grid; place-items: center; min-height: 60px; padding: 12px; text-align: center; font: 700 15px/20px var(--font-body); color: var(--text-subtle); letter-spacing: -.25px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.names > span:nth-child(2n) { border-right: 0; }
.names .stat { grid-column: 1 / -1; display: grid; gap: 2px; padding: 16px; text-decoration: none; background: var(--surface-brand-subtle); text-align: left; }
.names .stat b { font: 600 26px/1.1 var(--font-heading); color: var(--text-strong); letter-spacing: -.8px; }
.names .stat b span { color: var(--ok); font-size: 20px; margin-right: 4px; }
.names .stat p { font-size: 13px; line-height: 18px; color: var(--text-default); }
.names .stat small { font-size: 13px; font-weight: 700; color: var(--text-brand); margin-top: 4px; }
.names .stat:hover small { text-decoration: underline; }
@media (min-width: 64rem) {
  .names { grid-template-columns: repeat(6, 1fr) 1.7fr; }
  .names > span { border-bottom: 0; }
  .names > span:nth-child(2n) { border-right: 1px solid var(--border); }
  .names .stat { grid-column: auto; }
}

/* ICP switch: accordion on phones (panel opens under its row), tiles + shared panel from 40rem */
.router { background: var(--gradient-warm); }
.router .head h2, .router .head .t-sub { color: var(--text-strong); }
.icp { display: grid; gap: 8px; }
.persona { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; text-align: left; min-height: 64px; padding: 12px 16px; border-radius: var(--radius-card); border: 1px solid var(--border); background: var(--bg); color: var(--text-strong); font: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.persona b { font: 600 16px/22px var(--font-heading); }
.persona span { grid-column: 1; font-size: 13px; line-height: 18px; color: var(--text-subtle); }
.persona::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 9px; height: 9px; border-right: 2px solid var(--text-brand); border-bottom: 2px solid var(--text-brand); rotate: 45deg; translate: 0 -3px; transition: rotate .2s ease; }
.persona[aria-expanded="true"] { border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }
.persona[aria-expanded="true"]::after { rotate: 225deg; translate: 0 3px; }
.panel { background: var(--bg); border-radius: var(--radius-card-lg); box-shadow: var(--shadow-card); padding: 20px 16px; display: grid; gap: 24px; margin-bottom: 8px; }
.panel-main { display: grid; gap: 16px; min-width: 0; align-content: start; }
.ask { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--surface-subtle); border: 1px solid var(--border); }
.ask q { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--text-strong); }
.panel-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.panel-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; line-height: 22px; }
.panel-list li::before { content: "✓"; color: var(--text-brand); font-weight: 700; }
.panel-ctas { display: grid; gap: 12px; justify-items: start; }
.panel-side { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: var(--radius-card); background: var(--surface-warm); border: 1px solid var(--border); min-width: 0; }
.panel-side .eyebrow { background: var(--bg); }
.big { font: 600 40px/1 var(--font-heading); letter-spacing: -1.5px; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.quote { font-size: 15px; line-height: 23px; color: var(--text-strong); }
.who { font-size: 13px; line-height: 18px; color: var(--text-subtle); }
.fit { font-size: 14px; line-height: 20px; padding-top: 12px; border-top: 1px solid var(--border); }
.fit b { color: var(--text-strong); }
@media (min-width: 40rem) {
  .icp { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .persona { grid-row: 1; grid-template-columns: 1fr; align-content: start; padding: 16px; }
  .persona::after { display: none; }
  .persona[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--action); }
  .panel { grid-row: 2; grid-column: 1 / -1; margin-bottom: 0; }
}
@media (min-width: 64rem) { .panel { grid-template-columns: 1.35fr 1fr; padding: 40px; gap: 48px; } }

/* Method: steps carry a slice of real UI; phases are a single-open accordion */
.steps { display: grid; gap: 12px; padding: 0; margin: 0 0 32px; list-style: none; }
.step { display: grid; gap: 14px; align-content: start; padding: 16px; border-radius: var(--radius-card-lg); background: var(--surface-cream); border: 1px solid var(--border); }
.step-ui { min-height: 92px; display: grid; align-content: center; gap: 8px; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); font-size: 13px; line-height: 18px; }
.step-ui .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.step-ui .row span:first-child { color: var(--text-strong); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step-ui svg { width: 100%; height: 40px; display: block; }
.step-head { display: flex; align-items: center; gap: 10px; }
.step-head .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-brand); color: var(--text-brand); font: 600 14px/1 var(--font-heading); box-shadow: var(--shadow-glow); }
.step p { font-size: 15px; line-height: 22px; }
.badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-badge); white-space: nowrap; }
.badge.no { background: var(--surface-brand-subtle); color: var(--text-brand); border: 1px solid var(--border-brand); }
.badge.yes { background: var(--surface-subtle); color: var(--text-strong); border: 1px solid var(--border); }
.badge.ok { background: var(--surface-subtle); color: var(--ok); border: 1px solid var(--border); }
.phases-grid { display: grid; gap: 20px; }
.phases-intro { display: grid; gap: 8px; align-content: start; }
.phases { border-top: 1px solid var(--border); }
.phases details { border-bottom: 1px solid var(--border); border-left: 3px solid transparent; transition: border-color .15s ease, background .15s ease; }
.phases details[open] { border-left-color: var(--action); background: var(--surface-warm); }
.phases summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 12px; min-height: 56px; }
.phases summary::-webkit-details-marker { display: none; }
.phases summary .pn { grid-row: span 2; font: 500 28px/1 var(--font-heading); color: var(--text-highlight); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.phases details[open] .pn { color: var(--text-brand); }
.phases summary .t-h4 { grid-column: 2; }
.phases summary .q { grid-column: 2; font-size: 14px; line-height: 20px; color: var(--text-subtle); }
.phases summary::after { content: "+"; grid-column: 3; grid-row: 1 / span 2; font-size: 22px; color: var(--text-brand); }
.phases details[open] summary::after { content: "−"; }
.phases .body { display: grid; gap: 8px; padding: 0 12px 16px 64px; font-size: 14px; line-height: 20px; }
.phases .body b { color: var(--text-strong); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .phases-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; } .phases-intro { position: sticky; top: 96px; } }

/* Inside the OS: chip tabs over one panel with real UI */
.os-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.os-tab { min-height: 40px; padding: 8px 14px; border-radius: var(--radius-control); border: 1px solid var(--border-strong); background: var(--bg); color: var(--text-strong); font: 600 14px/20px var(--font-body); cursor: pointer; }
.os-tab:hover { background: var(--surface-subtle); }
.os-tab[aria-selected="true"] { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.os-panel { display: grid; gap: 20px; padding: 20px 16px; border-radius: var(--radius-card-lg); background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-subtle); }
.os-copy { display: grid; gap: 8px; align-content: start; }
.os-copy .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ui { border: 1px solid var(--border); border-radius: 12px; background: var(--surface-cream); padding: 14px; display: grid; gap: 10px; min-width: 0; font-size: 13px; line-height: 18px; }
.ui-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ui-top b { color: var(--text-strong); font-size: 13px; }
.eng { display: grid; grid-template-columns: 92px 1fr 32px; gap: 10px; align-items: center; }
.eng span:first-child { font-weight: 600; color: var(--text-strong); }
.eng span:last-child { text-align: right; font-weight: 600; color: var(--text-brand); }
.eng .bar { height: 10px; }
.ui-note { font-size: 12px; color: var(--text-subtle); }
.lines { display: grid; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg); }
.lines > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--border); }
.lines > div:first-child { border-top: 0; }
.lines > div span:first-child { color: var(--text-strong); min-width: 0; }
.msg { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); }
.msg .av { width: 32px; height: 32px; border-radius: 8px; background: var(--action); color: var(--on-action); display: grid; place-items: center; font-weight: 700; }
.msg b { color: var(--text-strong); }
.mail { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); }
.mail .subj { font-weight: 700; color: var(--text-strong); }
.mail ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
@media (min-width: 64rem) { .os-panel { grid-template-columns: 1fr 1.25fr; padding: 32px; gap: 40px; align-items: center; } }

/* Dark: why not just ask Claude. Black with glass cards, as on the live "How it works" */
.dark { background: var(--surface-dark); color: var(--on-dark); }
.dark h2, .dark h3, .dark .t-h3, .dark .t-h4 { color: var(--on-dark-strong); }
.dark .eyebrow { background: transparent; border-color: rgb(255 255 255 / .3); color: #fff; }
.dark .t-sub { color: var(--on-dark-subtle); }
.dark :focus-visible { outline-color: #fff; }
.dark .placeholder { background: transparent; color: var(--brand-on-dark); border-color: var(--brand-on-dark); }
.glass { background: var(--glass); border: 1px solid var(--border-on-dark); border-radius: var(--radius-card-lg); padding: 16px; }
.why-grid { display: grid; gap: 16px; }
.why-left { display: grid; gap: 16px; }
.answers { display: grid; gap: 10px; }
.answers q { font-size: 15px; line-height: 22px; font-weight: 600; color: #fff; }
.ans { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: rgb(255 255 255 / .04); border: 1px solid var(--border-on-dark); }
.ans .lab { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--on-dark-subtle); }
.ans .named span { background: transparent; border-color: rgb(255 255 255 / .2); color: var(--on-dark); }
.ans .named span.hit { border-color: var(--brand-on-dark); color: var(--brand-on-dark); }
.ans .named span.miss { border-color: var(--brand-on-dark); color: var(--brand-on-dark); }
.overlap { display: grid; gap: 14px; }
.ov { display: grid; gap: 6px; }
.ov-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ov-top b { font: 600 32px/1 var(--font-heading); color: #fff; letter-spacing: -1px; }
.ov-top span { font-size: 14px; color: var(--on-dark-subtle); text-align: right; }
.ov-track { height: 14px; border-radius: 9999px; border: 1px solid rgb(255 255 255 / .3); overflow: hidden; }
.ov-track i { display: block; height: 100%; background: var(--brand-on-dark); border-radius: 9999px; }
.vs { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.vs th, .vs td { padding: 12px 8px; border-bottom: 1px solid var(--border-on-dark); text-align: left; vertical-align: top; }
.vs tr:last-child td { border-bottom: 0; }
.vs thead th { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--on-dark-subtle); }
.vs td:first-child { color: var(--on-dark); padding-left: 0; }
.vs td:not(:first-child), .vs th:not(:first-child) { text-align: center; width: 64px; }
.vs .us { background: rgb(251 146 60 / .1); border-left: 1px solid var(--brand-on-dark); border-right: 1px solid var(--brand-on-dark); color: var(--brand-on-dark); font-weight: 700; }
.vs thead .us { border-top: 1px solid var(--brand-on-dark); border-radius: 8px 8px 0 0; }
.vs tr:last-child .us { border-bottom: 1px solid var(--brand-on-dark); }
.vs .n { color: var(--on-dark-subtle); }
@media (min-width: 64rem) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .why-left { display: grid; gap: 16px; }
  .glass { padding: 24px; }
  .vs td:not(:first-child), .vs th:not(:first-child) { width: 120px; }
}

/* Plans */
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.plan-chip { min-height: 40px; padding: 8px 14px; border-radius: var(--radius-control); border: 1px solid var(--border-strong); background: var(--bg); color: var(--text-strong); font: 600 14px/20px var(--font-body); cursor: pointer; }
.plan-chip[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.ladder { display: grid; gap: 12px; }
.rung { position: relative; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-card-lg); background: var(--bg); display: flex; flex-direction: column; gap: 12px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.rung.is-match { border-color: var(--border-brand-strong); background: var(--surface-brand-subtle); box-shadow: 0 0 0 1px var(--border-brand-strong), var(--shadow-card); }
.rung-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.kind { font-size: 12px; line-height: 16px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-badge); background: var(--surface-subtle); border: 1px solid var(--border); color: var(--text-default); }
.match { display: none; font-size: 12px; line-height: 16px; font-weight: 700; background: var(--action); color: var(--on-action); padding: 3px 8px; border-radius: var(--radius-badge); }
.is-match .match { display: inline-block; }
.price { font: 600 32px/1 var(--font-heading); letter-spacing: -1px; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.price small { font: 500 14px/1 var(--font-body); color: var(--text-subtle); letter-spacing: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.ticks li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.ticks li::before { content: "✓"; color: var(--text-brand); font-weight: 700; }
.for { font-size: 14px; line-height: 20px; color: var(--text-subtle); }
.is-match .for { color: var(--text-default); }
.margin { font-size: 13px; line-height: 18px; padding: 8px 10px; border-radius: var(--radius-control); background: var(--bg); border: 1px solid var(--border); color: var(--text-strong); }
.rung > .btn, .rung > .check { margin-top: auto; }
.rung .btn { width: 100%; }
.rung .check .check-row { grid-template-columns: 1fr; }
.dfy { margin-top: 12px; border-radius: var(--radius-card-lg); background: var(--surface-dark); color: var(--on-dark); padding: 20px; display: grid; gap: 20px; transition: box-shadow .2s ease; }
.dfy.is-match { box-shadow: 0 0 0 3px var(--border-brand-strong); }
.dfy .t-h3, .dfy .price { color: var(--on-dark-strong); }
.dfy .for { color: var(--on-dark-subtle); }
.dfy .kind { background: transparent; border-color: rgb(255 255 255 / .3); color: #fff; }
.dfy .ticks { color: var(--on-dark); }
.dfy .ticks li::before { color: var(--brand-on-dark); }
.dfy :focus-visible { outline-color: #fff; }
.dfy-box { display: grid; gap: 10px; padding: 16px; border-radius: var(--radius-card); background: #fff; color: #3b4772; }
.dfy-box p { font-size: 13px; line-height: 18px; }
.dfy-box .btn { width: 100%; background: #c2410c; color: #fff; }
.dfy-box .btn:hover { background: #9a3412; }
.ladder-foot { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--text-subtle); }
@media (min-width: 48rem) { .ladder { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .dfy { grid-template-columns: 1fr 1.2fr .9fr; align-items: center; padding: 32px; gap: 40px; } }

/* Proof */
.feature-case { border-radius: var(--radius-card-lg); background: var(--surface-dark); color: var(--on-dark); padding: 24px 20px; display: grid; gap: 24px; }
.feature-case h2 { color: var(--on-dark-strong); }
.feature-case .eyebrow { background: transparent; border-color: rgb(255 255 255 / .3); color: #fff; }
.feature-case p { color: var(--on-dark-subtle); }
.feature-case :focus-visible { outline-color: #fff; }
.kpi-stack { display: grid; gap: 8px; }
.kpi-tile { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 14px; padding: 14px 16px; border-radius: var(--radius-card); background: var(--glass); border: 1px solid var(--border-on-dark); }
.kpi-tile b { font: 600 28px/1.1 var(--font-heading); color: #fff; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.kpi-tile p { font-size: 14px; line-height: 20px; }
.proof-grid { display: grid; gap: 12px; margin-top: 12px; }
.pcard { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-card-lg); display: grid; gap: 12px; align-content: space-between; background: var(--bg); }
.pcard.metric { background: var(--surface-brand-subtle); border-color: var(--border-brand); min-height: 180px; }
.pcard.metric p { font-size: 13px; line-height: 18px; color: var(--text-default); }
.pcard.metric .big { font-size: 56px; letter-spacing: -2px; justify-self: end; align-self: end; }
@media (min-width: 48rem) { .proof-grid { grid-template-columns: 1fr 1fr; } .kpi-stack { grid-template-columns: 1fr 1fr; } .kpi-tile { grid-template-columns: 1fr; } }
@media (min-width: 64rem) {
  .feature-case { grid-template-columns: 1fr 1.1fr; padding: 48px; gap: 56px; align-items: center; }
  .kpi-tile b { font-size: 34px; }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
}

/* FAQ: grouped, divider rows, leading +/× squares, tinted open item */
.faq-grid { display: grid; gap: 24px; }
.faq-aside { display: grid; gap: 12px; align-content: start; }
.faq-group + .faq-group { margin-top: 24px; }
.faq-label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 8px; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); transition: background .15s ease; }
.faq details[open] { background: var(--bg); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 14px 8px; font: 600 16px/24px var(--font-heading); color: var(--text-strong); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--radius-badge); background: var(--surface-brand); color: var(--text-brand); font: 600 18px/1 var(--font-body); }
.faq details[open] summary::before { content: "×"; }
.faq p { padding: 0 8px 16px 48px; max-width: 72ch; }
@media (min-width: 64rem) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; } .faq-aside { position: sticky; top: 96px; } }

/* Final CTA */
.final { background: var(--gradient-warm); text-align: center; }
.final-copy { display: grid; gap: 14px; justify-items: center; margin-bottom: 24px; }
.final-copy .eyebrow { justify-self: center; }
.final-copy h2 { font-size: 34px; max-width: 820px; }
.final-copy h2, .final-copy p { color: var(--text-strong); }
.final .check { margin: 0 auto; }
.final .check-meta { margin-top: 14px; color: var(--text-strong); }
.final .check-meta span::before { color: var(--text-strong); }
.final-alt { margin-top: 14px; display: inline-block; font-size: 15px; font-weight: 600; color: var(--text-strong); text-underline-offset: 3px; }
@media (min-width: 40rem) { .final-copy h2 { font-size: 48px; line-height: 1.1; letter-spacing: -2px; } }

/* Footer */
footer { background: var(--surface-dark); color: var(--on-dark-subtle); padding-block: 48px 28px; font-size: 14px; line-height: 20px; }
footer :focus-visible { outline-color: #fff; }
.foot { display: grid; gap: 32px; }
.foot-brand { display: grid; gap: 12px; max-width: 320px; align-content: start; }
footer .logo { color: var(--on-dark-strong); }
footer .logo small { color: var(--brand-on-dark); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.foot-cols h3 { font: 700 12px/16px var(--font-body); letter-spacing: 1.2px; text-transform: uppercase; color: var(--on-dark-strong); margin-bottom: 12px; }
.foot-cols h4 { font: 600 12px/16px var(--font-body); color: rgb(255 255 255 / .45); margin: 14px 0 8px; }
.foot-cols h3 + h4 { margin-top: 0; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--on-dark-strong); }
.new { white-space: nowrap; display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: var(--radius-badge); background: var(--action); color: #fff; }
.foot-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border-on-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; }
@media (min-width: 64rem) { .foot { grid-template-columns: 1fr 2.4fr; } .foot-cols { grid-template-columns: repeat(4, 1fr); } }

/* Review tabs: prototype vs the keep/change comparison with os.visiblie.com */
.viewbar { background: var(--surface-dark); color: var(--on-dark); }
.viewbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding-block: 6px; }
.viewbar-title { font-size: 13px; line-height: 18px; color: var(--on-dark-subtle); }
.viewbar-title b { color: #fff; font-weight: 600; }
.view-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgb(255 255 255 / .08); }
.view-tab { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--on-dark); font: 600 14px/20px var(--font-body); cursor: pointer; white-space: nowrap; }
.view-tab[aria-selected="true"] { background: #fff; color: #0b0f26; }
.view-tab:focus-visible { outline-color: #fff; }
@media (max-width: 39.99rem) { .viewbar-title { display: none; } .viewbar .wrap { justify-content: center; } .view-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; } .view-tab { padding: 6px 9px; font-size: 13px; } }

.cmp { padding-block: 32px 72px; }
.cmp-head { display: grid; gap: 12px; max-width: 820px; margin-bottom: 24px; }
.tally { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.tile-n { display: grid; gap: 2px; padding: 12px; border-radius: var(--radius-card); border: 1px solid; }
.tile-n b { font: 600 28px/1 var(--font-heading); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.tile-n span { font-size: 13px; font-weight: 600; }
.tile-n.keep { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.tile-n.change { background: var(--surface-brand-subtle); border-color: var(--border-brand); color: var(--text-brand); }
.tile-n.drop { background: #f4f4f5; border-color: #d4d4d8; color: #52525b; }
.tile-n.new { background: var(--navy); border-color: var(--navy); color: #fff; }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--surface-subtle); border: 1px solid var(--border); }
.seg button { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--text-default); font: 600 14px/20px var(--font-body); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-strong); cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--action); }
.jump { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.jump a { flex: none; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: var(--radius-badge); border: 1px solid var(--border); background: var(--bg); color: var(--text-strong); text-decoration: none; white-space: nowrap; }
.jump a span { color: var(--text-highlight); margin-right: 4px; font-variant-numeric: tabular-nums; }
.jump a:hover { border-color: var(--border-strong); background: var(--surface-subtle); }
.pairs { display: grid; gap: 20px; }
.pair { border: 1px solid var(--border); border-radius: var(--radius-card-lg); background: var(--bg); box-shadow: var(--shadow-subtle); overflow: hidden; scroll-margin-top: 16px; }
.pair-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.pair-top h2 { display: flex; align-items: baseline; gap: 10px; font: 600 20px/26px var(--font-heading); }
.pair-top h2 span { font: 600 15px/1 var(--font-heading); color: var(--text-highlight); font-variant-numeric: tabular-nums; }
.pair-top .mini-tally { display: flex; flex-wrap: wrap; gap: 4px; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-badge); border: 1px solid; white-space: nowrap; }
.st.keep { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.st.change { color: var(--text-brand); background: var(--surface-brand-subtle); border-color: var(--border-brand); }
.st.drop { color: #52525b; background: #f4f4f5; border-color: #d4d4d8; }
.st.new { color: #fff; background: var(--navy); border-color: var(--navy); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.col { background: var(--surface-subtle); padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.col.after { background: var(--surface-brand-subtle); }
.col-lab { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--text-subtle); }
.col-lab i { width: 8px; height: 8px; border-radius: 50%; background: #a1a1aa; }
.col.after .col-lab { color: var(--text-brand); }
.col.after .col-lab i { background: var(--action); }
.col-lab small { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--text-subtle); }
.frame { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--border); border-radius: 10px; background: #fff; overflow: hidden; max-height: 460px; cursor: zoom-in; box-shadow: var(--shadow-card); }
.frame img { display: block; width: 100%; height: auto; }
.frame.tall::after { content: ""; position: absolute; inset: auto 0 0; height: 72px; background: linear-gradient(180deg, rgb(255 255 255 / 0), #fff); }
.frame .open { position: absolute; right: 8px; bottom: 8px; z-index: 1; font: 700 12px/16px var(--font-body); padding: 5px 9px; border-radius: var(--radius-badge); background: var(--navy); color: var(--on-navy); }
.frame:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.frame.short .open { display: none; }
.mobile .frame { max-width: 300px; margin-inline: auto; border-radius: 18px; }
.none { display: grid; place-items: center; gap: 6px; min-height: 200px; padding: 16px; text-align: center; border: 2px dashed var(--border-strong); border-radius: 10px; color: var(--text-subtle); font-size: 14px; line-height: 20px; }
.none b { color: var(--text-strong); font: 600 15px/20px var(--font-heading); }
.cap { font-size: 13px; line-height: 18px; color: var(--text-default); }
.decisions summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--text-strong); border-top: 1px solid var(--border); }
.decisions summary::-webkit-details-marker { display: none; }
.decisions summary::after { content: "Show"; font-size: 13px; color: var(--text-brand); }
.decisions[open] summary::after { content: "Hide"; }
.dlist { list-style: none; margin: 0; padding: 0 16px 16px; display: grid; gap: 8px; }
.dlist li { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface-subtle); border: 1px solid var(--border); }
.dlist .what { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-strong); }
.dlist .why { grid-column: 2; display: flex; gap: 6px; font-size: 13px; line-height: 18px; color: var(--text-default); }
.dlist .why svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--text-subtle); }
.lb { width: min(1100px, 96vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-card-lg); background: var(--bg); box-shadow: 0 24px 60px rgb(0 0 0 / .35); }
.lb::backdrop { background: rgb(11 11 15 / .7); }
.lb-top { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-strong); }
.lb-top button { min-height: 36px; padding: 6px 12px; border-radius: var(--radius-control); border: 1px solid var(--border-strong); background: var(--bg); font: 600 14px/20px var(--font-body); cursor: pointer; color: var(--text-strong); }
.lb img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.lb.mobile-shot img { max-width: 390px; }
@media (min-width: 48rem) {
  .col { padding: 16px; }
  .frame { max-height: 620px; }
  .dlist { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 39.99rem) { .tally { grid-template-columns: repeat(2, 1fr); } .pair-top .mini-tally { width: 100%; } }

/* Text comparison tab */
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.txt .st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-badge); border: 1px solid; white-space: nowrap; }
.txt .st.keep { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.txt .st.change { color: var(--text-brand); background: var(--surface-brand-subtle); border-color: var(--border-brand); }
.txt .st.drop { color: #52525b; background: #f4f4f5; border-color: #d4d4d8; }
.txt .st.new { color: #fff; background: var(--navy); border-color: var(--navy); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: var(--radius-control); border: 1px solid var(--border-strong); background: var(--bg); color: var(--text-strong); font: 600 14px/20px var(--font-body); cursor: pointer; }
.filter[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.filter .c { font-size: 12px; color: var(--text-subtle); font-variant-numeric: tabular-nums; }
.screens { display: grid; gap: 16px; }
.screen { border: 1px solid var(--border); border-radius: var(--radius-card-lg); background: var(--bg); box-shadow: var(--shadow-subtle); overflow: hidden; }
.screen-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface-subtle); }
.screen-top h2 { display: flex; align-items: baseline; gap: 10px; font: 600 18px/24px var(--font-heading); }
.screen-top h2 span { font: 600 14px/1 var(--font-heading); color: var(--text-highlight); font-variant-numeric: tabular-nums; }
.screen-top a { font-size: 13px; font-weight: 600; color: var(--text-strong); white-space: nowrap; text-underline-offset: 3px; }
.side-by-side { display: grid; gap: 1px; background: var(--border); border-bottom: 1px solid var(--border); }
.side { background: var(--bg); padding: 14px 16px; display: grid; gap: 4px; align-content: start; }
.side .lab { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--text-subtle); }
.side p { font-size: 14px; line-height: 20px; color: var(--text-strong); }
.side.live { background: var(--surface-warm); }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; padding: 14px 16px; border-top: 1px solid var(--border); }
.item:first-child { border-top: 0; }
.item .what { font-size: 15px; line-height: 22px; color: var(--text-strong); font-weight: 600; }
.item .why { grid-column: 2; display: grid; grid-template-columns: 16px 1fr; gap: 6px; font-size: 14px; line-height: 20px; color: var(--text-default); }
.item .why svg { width: 16px; height: 16px; margin-top: 2px; color: var(--text-subtle); }
.item .src { grid-column: 2; font-size: 12px; color: var(--text-subtle); }
.empty { padding: 14px 16px; font-size: 14px; color: var(--text-subtle); }
.cmp-note { margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--text-subtle); }
@media (min-width: 48rem) { .side-by-side { grid-template-columns: 1fr 1fr; } .item { grid-template-columns: 76px 1fr 1.2fr; gap: 16px; } .item .why { grid-column: 3; grid-row: 1; } }


/* Arguments and the side comments column */
.arg { grid-column: 1 / -1; display: grid; gap: 8px; margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); }
.conf { justify-self: start; display: inline-block; font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 1px 7px; border-radius: var(--radius-badge); border: 1px solid; }
.conf.data { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.conf.pattern { color: #1e40af; background: #eff6ff; border-color: #bfdbfe; }
.conf.judgement { color: #92400e; background: #fffbeb; border-color: #fde68a; }
.arg dl { margin: 0; display: grid; gap: 8px; }
.arg dl div { display: grid; gap: 2px; }
.arg dt { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--text-subtle); }
.arg dd { margin: 0; font-size: 13px; line-height: 19px; color: var(--text-strong); }
.txt .item .arg { grid-column: 1 / -1; }
.decisions summary { display: flex; align-items: baseline; gap: 10px; }
.decisions summary > span:first-child { margin-right: auto; }
.pair-body { display: grid; }
.open-calls { margin-bottom: 20px; padding: 16px; border-radius: var(--radius-card-lg); border: 1px solid #fde68a; background: #fffbeb; }
.open-calls h2 { font: 600 17px/24px var(--font-heading); margin-bottom: 8px; }
.open-calls ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; line-height: 20px; color: var(--text-strong); }
.conf-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 13px; color: var(--text-default); }
@media (min-width: 64rem) {
  .pair-body { grid-template-columns: minmax(0, 1fr) 360px; }
  .pair-body .decisions { border-left: 1px solid var(--border); background: var(--surface-subtle); }
  .pair-body .decisions summary { border-top: 0; cursor: default; pointer-events: none; position: sticky; top: 0; background: var(--surface-subtle); z-index: 1; }
  .pair-body .decisions summary::after { content: none; }
  .pair-body .dlist { grid-template-columns: 1fr; max-height: 900px; overflow-y: auto; }
  .tools .switch:not(.ev-switch) { display: none; }
}


/* Evaluation layer (content-performance-prediction) */
.tool-group { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ev-switch { color: var(--text-brand); }
.ev-toggle { min-height: 28px; padding: 3px 10px; border-radius: var(--radius-badge); border: 1px solid var(--navy); background: var(--bg); color: var(--navy); font: 700 12px/16px var(--font-body); cursor: pointer; }
.ev-toggle[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); }
.delta { display: none; font-size: 12px; line-height: 16px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-badge); border: 1px solid; }
.pair.eval .delta:not(:empty) { display: inline-block; }
.delta.up { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.delta.down { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.delta.flat { color: #52525b; background: #f4f4f5; border-color: #d4d4d8; }
.ev { display: none; }
.pair.eval .ev { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); }
.ev-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ev-head b { font: 600 26px/1 var(--font-heading); color: var(--text-strong); letter-spacing: -.8px; }
.ev-head span { font-size: 12px; color: var(--text-subtle); }
.vd { margin-left: auto; font-size: 11px !important; font-weight: 700; padding: 1px 7px; border-radius: var(--radius-badge); }
.vd.fail { background: #fef2f2; color: #b91c1c !important; border: 1px solid #fecaca; }
.vd.flag { background: #fffbeb; color: #92400e !important; border: 1px solid #fde68a; }
.vd.pass { background: #ecfdf5; color: #047857 !important; border: 1px solid #a7f3d0; }
.ev-row { display: grid; grid-template-columns: 68px 1fr 34px; gap: 8px; align-items: center; font-size: 12px; color: var(--text-default); }
.ev-row .num { text-align: right; font-weight: 700; color: var(--text-strong); }
.evbar { height: 8px; border-radius: 9999px; background: var(--bar-track); overflow: hidden; }
.evbar i { display: block; height: 100%; border-radius: 9999px; background: var(--navy); }
.ev-note { font-size: 12px; line-height: 17px; color: var(--text-default); }
.ev-note b { color: var(--text-strong); text-transform: capitalize; }
.ev-none { font-size: 12px; color: var(--text-subtle); }
.ev-overview { margin-bottom: 20px; padding: 16px; border-radius: var(--radius-card-lg); border: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow-subtle); }
.ev-ov-head { display: grid; gap: 4px; margin-bottom: 12px; }
.ev-ov-head h2 { font: 600 18px/24px var(--font-heading); }
.ovk { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 6px; vertical-align: -1px; }
.ovk.before { background: #a1a1aa; }
.ovk.after { background: var(--action); }
.ev-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-rows li { display: grid; grid-template-columns: 1fr; gap: 4px; }
.ev-rows a { font-size: 14px; font-weight: 600; color: var(--text-strong); text-decoration: none; }
.ev-rows a:hover { text-decoration: underline; }
.ov-bars { display: grid; gap: 3px; }
.ovb { position: relative; display: flex; align-items: center; height: 18px; border-radius: 4px; background: var(--bar-track); overflow: hidden; }
.ovb i { display: block; height: 100%; border-radius: 4px; }
.ovb.before i { background: #a1a1aa; }
.ovb.after i { background: var(--action); }
.ovb b { position: absolute; left: 6px; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 0 2px rgb(0 0 0 / .35); }
.ovb em { padding-left: 6px; font-size: 11px; font-style: normal; color: var(--text-subtle); }
.ev-read { margin-top: 14px; font-size: 13px; line-height: 19px; color: var(--text-default); }
@media (min-width: 48rem) { .ev-rows li { grid-template-columns: 220px 1fr; align-items: center; } }


/* Founder video card (from visiblie.com) and reviews */
.founder { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; width: 100%; max-width: 440px; margin-top: 6px; padding: 8px; border: 1px solid rgb(255 255 255 / .1); border-radius: 14px; background: #1c1c1c; color: #fff; text-align: left; font: inherit; cursor: pointer; box-shadow: var(--shadow-card); }
.founder:hover { background: #262626; }
.founder:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.founder-thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #111; }
.founder-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-play { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--text-highlight); box-shadow: 0 4px 16px rgb(231 104 15 / .45); }
.founder-copy { display: grid; gap: 4px; min-width: 0; }
.founder-k { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--brand-on-dark); }
.founder-copy b { font: 600 15px/20px var(--font-heading); color: #fff; }
.founder-who { font-size: 12px; line-height: 16px; color: rgb(255 255 255 / .6); }
.vid { width: min(960px, 94vw); padding: 0; border: 0; border-radius: var(--radius-card-lg); background: #0b0b0f; box-shadow: 0 24px 60px rgb(0 0 0 / .45); }
.vid::backdrop { background: rgb(11 11 15 / .75); }
.vid-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; color: #fff; font-size: 14px; font-weight: 600; }
.vid-top button { min-height: 36px; padding: 6px 12px; border-radius: var(--radius-control); border: 1px solid rgb(255 255 255 / .3); background: transparent; color: #fff; font: 600 14px/20px var(--font-body); cursor: pointer; }
.vid video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.pcard .who b { color: var(--text-strong); font-weight: 700; }
@media (min-width: 64rem) { .proof-grid { grid-template-columns: repeat(3, 1fr); } .founder { grid-template-columns: 140px 1fr; } }


/* v4: calmer first screen, fix queue, review excerpts */
.hero-note { font-size: 13px; line-height: 18px; color: var(--text-subtle); max-width: 520px; }
.final-note { margin: 12px auto 0; color: var(--text-strong); }
.queue { display: grid; gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.queue-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px; background: var(--surface-subtle); border-bottom: 1px solid var(--border); }
.q-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--border); font-size: 13px; line-height: 18px; color: var(--text-strong); }
.queue-top + .q-row { border-top: 0; }
.q-imp { font: 600 15px/1 var(--font-heading); color: var(--text-brand); }
.founder-wrap { display: flex; justify-content: center; margin-top: 24px; }
.more summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--text-brand); margin-top: 8px; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { display: none; }
.more[open] { margin-top: 0; }
.pcard:has(.more[open]) > div > .quote:first-child { display: none; }


/* Competitors tab */
.learn { margin-bottom: 24px; padding: 16px; border-radius: var(--radius-card-lg); border: 1px solid var(--border-brand); background: var(--surface-brand-subtle); }
.learn h2 { font: 600 18px/24px var(--font-heading); margin-bottom: 10px; }
.learn ol { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.learn li { display: grid; gap: 3px; font-size: 14px; line-height: 20px; color: var(--text-default); }
.learn li b { color: var(--text-strong); }
.learn .lv4 { color: var(--text-brand); font-weight: 600; }
.sbars { display: grid; gap: 16px; margin-bottom: 24px; padding: 16px; border-radius: var(--radius-card-lg); border: 1px solid var(--border); background: var(--bg); }
.sb-col h3 { font: 600 16px/22px var(--font-heading); margin-bottom: 8px; }
.sb-col h3 small { display: block; font: 500 12px/16px var(--font-body); color: var(--text-subtle); }
.sb-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sb-col li { display: grid; grid-template-columns: 150px 1fr 38px; gap: 8px; align-items: center; font-size: 13px; color: var(--text-default); }
.sb-col li b { text-align: right; color: var(--text-strong); }
.sb-bar { height: 12px; border-radius: 4px; background: var(--bar-track); overflow: hidden; }
.sb-bar i { display: block; height: 100%; border-radius: 4px; background: #a1a1aa; }
.sb-col li.us .sb-bar i { background: #fdba74; }
.sb-col li.v4 .sb-bar i { background: var(--action); }
.sb-col li.v4 .sb-label { font-weight: 700; color: var(--text-strong); }
.sbars .ev-read { grid-column: 1 / -1; margin-top: 0; }
.comp-grid { display: grid; gap: 16px; }
.comp-card { border: 1px solid var(--border); border-radius: var(--radius-card-lg); background: var(--bg); box-shadow: var(--shadow-subtle); padding: 16px; display: grid; gap: 14px; align-content: start; }
.comp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.comp-top h2 { font: 600 20px/26px var(--font-heading); }
.comp-shots { display: grid; grid-template-columns: 1fr 96px; gap: 8px; align-items: start; }
.comp-shots .frame { max-height: 260px; }
.comp-shots .frame.mob { border-radius: 12px; }
.comp-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.comp-scores div { display: grid; gap: 2px; padding: 8px; border-radius: 8px; background: var(--surface-subtle); border: 1px solid var(--border); }
.comp-scores b { font: 600 17px/1.1 var(--font-heading); color: var(--text-strong); }
.comp-scores span { font-size: 11px; line-height: 14px; color: var(--text-subtle); }
.comp-dl { margin: 0; display: grid; gap: 8px; }
.comp-dl div { display: grid; gap: 2px; }
.comp-dl dt { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--text-subtle); }
.comp-dl dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-strong); }
.comp-dl .take { padding: 8px 10px; border-radius: 8px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.comp-dl .avoid { padding: 8px 10px; border-radius: 8px; background: #fef2f2; border: 1px solid #fecaca; }
@media (min-width: 48rem) { .comp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .sbars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 39.99rem) { .comp-scores { grid-template-columns: 1fr 1fr; } .sb-col li { grid-template-columns: 112px 1fr 34px; } }


@media (min-width: 64rem) { .why-left .answers { order: -1; } }
.strip-card, .strip-names, .why-toggle { display: none !important; }
.why-left .answers { order: -1; }
.ver-seg { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgb(255 255 255 / .08); }
.ver-seg button { min-height: 32px; padding: 4px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--on-dark); font: 600 13px/18px var(--font-body); cursor: pointer; white-space: nowrap; }
.ver-seg button[aria-pressed="true"] { background: var(--brand-on-dark); color: #0b0b0f; }
.viewbar .wrap { flex-wrap: wrap; }


/* Live design, new copy */
.lc-tools { justify-content: flex-start; gap: 12px 16px; }
.lc-body { display: grid; gap: 16px; }
.lc-stage { border: 1px solid var(--border); border-radius: var(--radius-card-lg); background: var(--surface-subtle); overflow: hidden; display: flex; justify-content: center; }
.lc-stage iframe { display: block; width: 100%; height: 78vh; min-height: 560px; border: 0; background: #fff; }
.lc-stage { position: relative; height: 78vh; min-height: 560px; }
.lc-stage:not(.phone) { display: block; }
.lc-stage:not(.phone) iframe { width: 1280px; height: 100%; transform-origin: 0 0; }
.lc-stage.phone iframe { height: calc(100% - 32px); }
.lc-tools .switch { display: inline-flex !important; }
.lc-stage.phone { padding: 16px 0; }
.lc-stage.phone iframe { width: 390px; max-width: 100%; border-radius: 22px; box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.lc-list { border: 1px solid var(--border); border-radius: var(--radius-card-lg); background: var(--bg); max-height: 78vh; overflow-y: auto; }
.lc-list-top { position: sticky; top: 0; z-index: 1; display: grid; gap: 2px; padding: 12px 14px; background: var(--bg); border-bottom: 1px solid var(--border); }
.lc-list > ol { list-style: none; margin: 0; padding: 0 0 8px; }
.lc-sec h3 { display: flex; justify-content: space-between; padding: 12px 14px 6px; font: 700 12px/16px var(--font-body); letter-spacing: .8px; text-transform: uppercase; color: var(--text-subtle); }
.lc-sec h3 span { color: var(--text-brand); }
.lc-sec ol { list-style: none; margin: 0; padding: 0 8px; display: grid; gap: 6px; }
.lc-item { display: grid; gap: 4px; width: 100%; text-align: left; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-subtle); font: inherit; cursor: pointer; }
.lc-item:hover { border-color: var(--border-strong); }
.lc-item.on { border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }
.lc-old { font-size: 12px; line-height: 17px; color: var(--text-subtle); text-decoration: line-through; }
.lc-new { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-strong); }
.lc-why { font-size: 12px; line-height: 17px; color: var(--text-default); }
@media (min-width: 64rem) { .lc-body { grid-template-columns: minmax(0, 1fr) 360px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* v7 "teammate": the same tokens and components as v4, repositioned after team feedback (Nov 10):
   not a dashboard, but expert playbooks an AI teammate runs inside your tools. GEO is the first library, not the boundary.
   Hero pattern: agent thread with an approval gate (Patricia, Ryze). Base styles are 390px; 40rem and 64rem add columns. */
.v7-note { background: var(--surface-brand-subtle); border-bottom: 1px solid var(--border-brand); font-size: 14px; line-height: 20px; color: var(--text-strong); }
.v7-note summary { list-style: none; cursor: pointer; padding-block: 10px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.v7-note summary::-webkit-details-marker { display: none; }
.v7-note summary::after { content: "Show"; color: var(--text-brand); font-weight: 700; }
.v7-note[open] summary::after { content: "Hide"; }
.v7-note ul { margin: 0; padding-block: 0 14px; padding-inline-start: 18px; display: grid; gap: 6px; max-width: 860px; }

.v7-hero { padding-block: 40px 56px; background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #fce6b1 85%, #fcd9a4 100%); }
.v7-hero-grid { display: grid; gap: 36px; align-items: center; }
.v7-hero-copy { display: grid; gap: 18px; justify-items: start; }
.v7-hero-copy .t-lead { max-width: 560px; }
.v7-hero-copy .check { max-width: 560px; }
.v7-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; line-height: 18px; color: var(--text-subtle); }
.v7-alt .link { font-size: 14px; }

/* The thread: an AI teammate working a playbook, with an approval gate */
.v7-thread { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card-lg); box-shadow: var(--shadow-card); overflow: hidden; min-width: 0; }
.v7-thread-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-subtle); font-size: 14px; font-weight: 700; color: var(--text-strong); }
.v7-thread-top span:first-child { display: flex; align-items: center; gap: 8px; }
.v7-thread-top i { font-style: normal; color: var(--text-subtle); font-weight: 600; }
.v7-msgs { display: grid; gap: 16px; padding: 16px 14px; }
.v7-msg { display: grid; grid-template-columns: 32px 1fr; gap: 10px; font-size: 14px; line-height: 20px; color: var(--text-default); }
.v7-av { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: #e0e7ff; color: #3730a3; }
.v7-av.os { background: var(--action); color: var(--on-action); }
.v7-who { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.v7-who b { color: var(--text-strong); }
.v7-who small { font-size: 12px; color: var(--text-subtle); }
.v7-who .app { font-size: 10px; font-weight: 700; padding: 0 5px; border-radius: 4px; background: var(--surface-subtle); border: 1px solid var(--border); color: var(--text-subtle); }
.v7-body { display: grid; gap: 8px; min-width: 0; }
.v7-body > p b { color: var(--text-strong); }
.v7-steps { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 6px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-warm); font-size: 13px; line-height: 18px; }
.v7-steps li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.v7-steps li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.v7-steps li.run::before { content: ""; width: 8px; height: 8px; margin: 5px 0 0 3px; border-radius: 50%; background: var(--action); animation: v7-pulse 1.4s ease-in-out infinite; }
.v7-steps li.run { color: var(--text-strong); font-weight: 600; }
@keyframes v7-pulse { 50% { opacity: .3; } }
.v7-deliv { display: grid; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.v7-deliv > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--border); font-size: 13px; line-height: 18px; }
.v7-deliv > div:first-child { border-top: 0; }
.v7-deliv b { color: var(--text-strong); font-weight: 600; min-width: 0; }
.v7-deliv small { grid-column: 1; font-size: 12px; color: var(--text-subtle); }
.v7-deliv .badge { grid-row: span 2; }
.v7-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.v7-actions span { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: var(--radius-control); font-size: 13px; font-weight: 700; border: 1px solid var(--border-strong); color: var(--text-strong); background: var(--bg); }
.v7-actions span:first-child { background: var(--ok); border-color: var(--ok); color: #fff; }
.v7-day { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--text-subtle); }
.v7-day::before, .v7-day::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.v7-result { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.v7-result div { padding: 10px 12px; border-radius: 10px; background: var(--surface-subtle); border: 1px solid var(--border); }
.v7-result b { display: block; font: 600 22px/1.1 var(--font-heading); color: var(--text-strong); letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.v7-result b span { color: var(--ok); }
.v7-result small { font-size: 12px; line-height: 16px; color: var(--text-subtle); }
@media (prefers-reduced-motion: no-preference) {
  .v7-msgs > * { animation: v7-in .5s ease both; }
  .v7-msgs > :nth-child(2) { animation-delay: .5s; }
  .v7-msgs > :nth-child(3) { animation-delay: 1.1s; }
  .v7-msgs > :nth-child(4) { animation-delay: 1.6s; }
  .v7-msgs > :nth-child(5) { animation-delay: 1.9s; }
}
@media (prefers-reduced-motion: reduce) { .v7-steps li.run::before { animation: none; } }
@keyframes v7-in { from { opacity: 0; translate: 0 6px; } }
@media (min-width: 64rem) {
  .v7-hero { padding-block: 72px 96px; }
  .v7-hero-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .v7-msgs { padding: 20px; }
}

/* Dashboard vs the work done */
.v7-vs { display: grid; gap: 12px; }
.v7-col { display: grid; gap: 0; align-content: start; border-radius: var(--radius-card-lg); padding: 8px 16px; }
.v7-col h3 { font: 700 12px/16px var(--font-body); letter-spacing: .8px; text-transform: uppercase; padding: 12px 0; }
.v7-col.them { border: 1px solid var(--border-on-dark); }
.v7-col.them h3 { color: var(--on-dark-subtle); }
.v7-col.us { background: var(--glass); border: 1px solid var(--brand-on-dark); }
.v7-col.us h3 { color: var(--brand-on-dark); }
.v7-col dl { margin: 0; display: grid; }
.v7-col dl > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--border-on-dark); }
.v7-col dt { font-size: 12px; line-height: 16px; color: var(--on-dark-subtle); }
.v7-col dd { margin: 0; font-size: 16px; line-height: 22px; color: #fff; font-weight: 600; }
.v7-col.them dd { color: var(--on-dark); font-weight: 500; }
.v7-origin { margin-top: 20px; font-size: 15px; line-height: 23px; color: var(--on-dark); max-width: 720px; }
@media (min-width: 48rem) { .v7-vs { grid-template-columns: 1fr 1fr; gap: 16px; } .v7-col { padding: 8px 24px; } }

/* How it works: three steps, each with a slice of the work */
.v7-steps3 { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.v7-step { display: grid; gap: 14px; align-content: start; padding: 16px; border-radius: var(--radius-card-lg); background: var(--surface-cream); border: 1px solid var(--border); }
.v7-step > p { font-size: 15px; line-height: 22px; }
.v7-slice { display: grid; gap: 6px; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); font-size: 13px; line-height: 18px; min-height: 132px; align-content: start; }
.v7-slice .lab { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--text-subtle); }
.v7-slice .kv { display: grid; grid-template-columns: 84px 1fr; gap: 8px; }
.v7-slice .kv span:first-child { color: var(--text-subtle); }
.v7-slice .kv span:last-child { color: var(--text-strong); font-weight: 600; min-width: 0; }
.v7-chain { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.v7-chain span { font-size: 12px; font-weight: 600; padding: 3px 7px; border-radius: var(--radius-badge); background: var(--surface-subtle); border: 1px solid var(--border); color: var(--text-default); }
.v7-chain span.gate { background: var(--surface-brand-subtle); border-color: var(--border-brand); color: var(--text-brand); }
.v7-chain em { font-style: normal; color: var(--text-subtle); font-size: 11px; }
@media (min-width: 48rem) { .v7-steps3 { grid-template-columns: repeat(3, 1fr); } }

/* Playbook library */
.v7-lib { display: grid; gap: 10px; }
.v7-pb { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: var(--radius-card); border: 1px solid var(--border); background: var(--bg); }
.v7-pb-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.v7-pb b { font: 600 16px/22px var(--font-heading); color: var(--text-strong); }
.v7-pb p { font-size: 14px; line-height: 20px; }
.v7-tag { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: var(--radius-badge); white-space: nowrap; }
.v7-tag.live { color: var(--ok); background: #ecfdf5; border: 1px solid #a7f3d0; }
.v7-tag.next { color: var(--text-subtle); background: var(--surface-subtle); border: 1px solid var(--border); }
.v7-pb.next { border-style: dashed; background: transparent; }
.v7-pb.next b { color: var(--text-default); }
.v7-lib-group { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-subtle); margin: 24px 0 10px; }
.v7-lib-group:first-of-type { margin-top: 0; }
@media (min-width: 40rem) { .v7-lib { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .v7-lib { grid-template-columns: repeat(4, 1fr); } }

/* A week with Visiblie OS, and where it runs */
.v7-week { display: grid; gap: 8px; padding: 0; margin: 0 0 28px; list-style: none; }
.v7-week li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: var(--radius-card); background: var(--bg); border: 1px solid var(--border); font-size: 15px; line-height: 22px; }
.v7-week li b { font: 600 14px/22px var(--font-heading); color: var(--text-brand); }
.v7-week li span b { font: inherit; color: var(--text-strong); font-weight: 600; }
.v7-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.v7-tools span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: var(--radius-control); background: var(--bg); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-strong); }
.v7-tools span.dim { color: var(--text-subtle); font-weight: 500; }
@media (min-width: 64rem) { .v7-week { grid-template-columns: repeat(5, 1fr); } .v7-week li { grid-template-columns: 1fr; } }

/* Who it's for */
.v7-who-grid { display: grid; gap: 12px; }
.v7-aud { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: var(--radius-card-lg); background: var(--bg); box-shadow: var(--shadow-card); }
.v7-aud .t-h3 { font-size: 19px; }
.v7-aud .ticks { margin-top: 2px; }
.v7-aud .proofline { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; line-height: 18px; color: var(--text-subtle); }
.v7-aud .proofline b { display: block; font: 600 26px/1.1 var(--font-heading); color: var(--text-strong); letter-spacing: -.8px; margin-bottom: 2px; }
@media (min-width: 64rem) { .v7-who-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* Why not just ask Claude */
.v7-claude { display: grid; gap: 16px; }
.v7-claude .ticks { color: var(--on-dark); font-size: 15px; line-height: 22px; gap: 10px; }
.v7-claude .ticks li::before { color: var(--brand-on-dark); }
@media (min-width: 64rem) { .v7-claude { grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; } }

/* Plans */
.v7-plans { display: grid; gap: 12px; }
#v7-proof .proof-grid { grid-template-columns: 1fr; }
@media (min-width: 48rem) { #v7-proof .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48rem) { .v7-plans { grid-template-columns: repeat(3, 1fr); } }
