/* design-system/tokens.css */
:root {
  --brand-indigo: #2D1192;
  --brand-teal: #01C5AD;
  --brand-coral: #FC5E53;
  --canvas: #F8F7FB;
  --surface: #FFFFFF;
  --surface-subtle: #F3F1F8;
  --ink: #211638;
  --muted: #665D78;
  --line: #E5E0ED;
  --control-border: #8C829F;
  --nav: #211348;
  --nav-text: #DAD2EB;
  --nav-active: #3E296D;
  --accent: var(--brand-indigo);
  --accent-hover: #3F24A6;
  --selected: #EEE8FC;
  --focus: #5835C7;
  --success-ink: #075D50;
  --success-bg: #DDF7EF;
  --warning-ink: #704700;
  --warning-bg: #FFF1D7;
  --danger-ink: #922B28;
  --danger-bg: #FDE9E7;
  --info-ink: #38308A;
  --info-bg: #EEEBFF;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --row-compact: 36px;
  --row-comfortable: 48px;
  --control-height: 36px;
  --control-touch: 44px;
  --font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-body: 14px;
  --text-title: 22px;
  --text-display: 44px;
  --shadow: 0 14px 40px #21163818;
  --duration: 160ms;
}

/* design-system/components.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: var(--text-body)/1.5 var(--font-ui); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent); }
.v-icon { width: 17px; height: 17px; flex: none; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.v-btn, .v-field, .v-select { min-height: var(--control-height); border: 1px solid var(--control-border); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }
.v-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 0 var(--space-3); font-weight: 650; font-size: var(--text-sm); text-decoration: none; white-space: nowrap; cursor: pointer; }
.v-btn:hover, .v-field:hover, .v-select:hover { background: var(--surface-subtle); }
.v-btn.primary { color: white; background: var(--accent); border-color: var(--accent); }
.v-btn.primary:hover { background: var(--accent-hover); }
.v-btn.ghost { border-color: transparent; }
.v-btn.danger { color: white; background: var(--danger-ink); border-color: var(--danger-ink); }
.v-btn.danger:hover { background: #741F1C; }
.v-btn:disabled { color: var(--muted); background: var(--surface-subtle); border-color: var(--line); cursor: default; }
.v-field, .v-select { width: 100%; padding: 0 var(--space-3); }
.v-field::placeholder { color: var(--muted); }
.v-field[aria-invalid="true"] { border: 2px solid var(--danger-ink); }
.v-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: var(--radius-pill); white-space: nowrap; font-size: 11px; font-weight: 700; background: var(--surface-subtle); color: var(--muted); }
.v-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.v-tag.success { color: var(--success-ink); background: var(--success-bg); }
.v-tag.warning { color: var(--warning-ink); background: var(--warning-bg); }
.v-tag.danger { color: var(--danger-ink); background: var(--danger-bg); }
.v-tag.info { color: var(--info-ink); background: var(--info-bg); }
.v-avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--selected); color: var(--accent); font-weight: 750; font-size: 10px; }
.v-avatar.teal { color: var(--success-ink); background: var(--success-bg); }
.v-avatar.coral { color: var(--danger-ink); background: var(--danger-bg); }
.v-scroll { overflow: auto; }
.v-table { border-collapse: collapse; width: 100%; font-size: var(--text-sm); white-space: nowrap; }
.v-table th, .v-table td { padding: 0 var(--space-3); border-bottom: 1px solid var(--line); text-align: left; }
.v-table th { height: var(--row-compact); background: var(--surface-subtle); color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.v-table td { height: var(--row-comfortable); }
.v-table.compact td { height: var(--row-compact); }
.v-table tr:hover td { background: var(--canvas); }
.v-table tr.selected td { background: var(--selected); }
.v-table tr.selected td:first-child { box-shadow: inset 3px 0 var(--accent); }
.v-table .number { text-align: right; font-variant-numeric: tabular-nums; }
.v-record { color: var(--ink); font: inherit; font-weight: 700; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
.v-record:hover { text-decoration: underline; }
.v-segment { display: inline-flex; gap: 2px; background: var(--surface-subtle); border-radius: var(--radius-sm); padding: 3px; }
.v-segment button { color: var(--muted); font-size: var(--text-xs); font-weight: 650; background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; min-height: 27px; padding: 0 var(--space-2); }
.v-segment button[aria-pressed="true"] { color: var(--accent); background: var(--surface); border-color: var(--line); }
.v-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.v-message { display: flex; align-items: start; gap: var(--space-2); padding: var(--space-3); font-size: var(--text-sm); }
.v-message small { color: var(--muted); }
.v-notice { padding: var(--space-3) var(--space-4); background: var(--success-bg); color: var(--success-ink); border-radius: var(--radius-sm); }
@media (pointer: coarse) {
  .v-btn, .v-field, .v-select, .v-segment button { min-height: var(--control-touch); }
  .v-record { min-height: var(--control-touch); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* src/styles/site-tokens.css */
/* The site's additions to the VybeCRM design system's tokens.
   The app's type scale is set for dense work screens; a marketing page is
   read rather than worked in, so the site sets larger reading sizes and page
   widths here. Every colour still comes from design-system/tokens.css,
   except the lighter focus ring and label colour the system's reference uses
   on its dark rail. */
:root {
  --site-text-body: 16px;
  --site-text-lead: clamp(18px, 14px + 0.6vw, 20px);
  --site-text-h1: clamp(34px, 18px + 3.6vw, 58px);
  --site-text-h2: clamp(26px, 18px + 1.6vw, 38px);
  --site-text-h3: 18px;
  --site-text-price: clamp(34px, 26px + 1.2vw, 44px);
  --site-page-width: 1160px;
  --site-text-width: 640px;
  --site-gutter: clamp(20px, 3vw, 40px);
  --site-focus-on-dark: #C8B6FF;
  --site-muted-on-dark: #BEB0D7;
}

/* src/styles/site.css */
/* The marketing site's layer on the VybeCRM design system.
   design-system/tokens.css and components.css load first; this file adds
   page layouts and marketing components, using their tokens only. */

body { font-size: var(--site-text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
h1, .h1 { font-size: var(--site-text-h1); font-weight: 770; line-height: 1.04; letter-spacing: -0.048em; }
h2 { font-size: var(--site-text-h2); font-weight: 750; line-height: 1.1; letter-spacing: -0.036em; }
h3 { font-size: var(--site-text-h3); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
p { text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[class], ol[class]) { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--selected); color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Layout */
.wrap { width: 100%; max-width: calc(var(--site-page-width) + 2 * var(--site-gutter)); margin-inline: auto; padding-inline: var(--site-gutter); }
.section { padding-block: clamp(var(--space-8), 6vw, 112px); }
.section--wash { background: var(--surface); border-block: 1px solid var(--line); }
.section--tight { padding-block: var(--space-8); }
.section__head { max-width: 760px; margin-bottom: var(--space-7); }
.section__head > p { margin-top: var(--space-4); }
.stack > * + * { margin-top: var(--space-4); }
.stack > p { max-width: 720px; }
.lead { font-size: var(--site-text-lead); line-height: 1.5; color: var(--muted); max-width: var(--site-text-width); }
.small { font-size: var(--text-sm); color: var(--muted); }

/* Buttons: the system's .v-btn, at a size for a page rather than a toolbar. */
.v-btn { min-height: var(--control-touch); padding-inline: var(--space-4); font-size: 15px; transition: background-color var(--duration) ease-out, border-color var(--duration) ease-out; }
.v-btn--large { min-height: 52px; padding-inline: var(--space-5); font-size: 16px; border-radius: var(--radius-sm); }
.v-btn--block { display: flex; width: 100%; }
.link { font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); }

/* Skip link */
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 10; padding: var(--space-3) var(--space-4); background: var(--surface); color: var(--ink); border: 2px solid var(--focus); border-radius: var(--radius-sm); font-weight: 650; }
.skip-link:focus { top: var(--space-3); }

/* Site header */
.site-header { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; gap: var(--space-5); min-height: 68px; }
.site-header__name { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 760; letter-spacing: -0.02em; text-decoration: none; }
.site-header__name img { width: 32px; height: 32px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.site-nav { display: none; }
.site-nav__links { display: flex; gap: var(--space-1); }
.site-nav__links a, .site-header__login { display: inline-flex; align-items: center; min-height: var(--control-touch); padding-inline: var(--space-3); color: var(--ink); font-size: 15px; font-weight: 550; text-decoration: none; border-radius: var(--radius-sm); }
.site-nav__links a:hover, .site-header__login:hover { background: var(--surface-subtle); }
.site-nav__links a[aria-current="page"] { color: var(--accent); background: var(--selected); }
.site-header__actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.site-header__login { display: none; }
.site-menu > summary { display: grid; place-items: center; width: var(--control-touch); height: var(--control-touch); border-radius: var(--radius-sm); color: var(--ink); cursor: pointer; list-style: none; }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover, .site-menu[open] > summary { background: var(--surface-subtle); }
.site-menu > nav { position: absolute; left: 0; right: 0; z-index: 5; margin-top: 12px; padding: var(--space-2) var(--site-gutter) var(--space-5); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-menu ul { margin: 0; padding: 0; list-style: none; }
.site-menu li + li { border-top: 1px solid var(--line); }
.site-menu a { display: flex; align-items: center; min-height: 52px; color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; }
@media (min-width: 768px) {
  .site-nav { display: block; }
  .site-header__login { display: inline-flex; }
  .site-menu { display: none; }
}

/* Site footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: var(--space-8) var(--space-6); font-size: 15px; }
.site-footer__grid { display: grid; gap: var(--space-6) var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.site-footer__about { grid-column: 1 / -1; max-width: 340px; color: var(--muted); }
.site-footer__about > p + p { margin-top: var(--space-2); }
.site-footer__about .v-btn { margin-top: var(--space-2); }
.site-footer__name { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 760; letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.site-footer__name img { width: 28px; height: 28px; }
.site-footer h2 { font-size: var(--text-sm); font-weight: 700; letter-spacing: 0; line-height: 1.4; margin-bottom: var(--space-2); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; }
.site-footer li a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__legal { margin-top: var(--space-7); color: var(--muted); font-size: var(--text-sm); }
.site-footer__legal > p { padding-top: var(--space-5); border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }
  .site-footer__about { grid-column: auto; }
}

/* Hero */
.hero { padding-block: clamp(var(--space-7), 6vw, 104px) var(--space-8); }
.hero__text { max-width: 900px; }
.hero__text > .lead { margin-top: var(--space-5); }
.hero__text > .actions { margin-top: var(--space-6); }
.hero__text > .small { margin-top: var(--space-4); }
.hero__picture { margin-top: var(--space-8); }
.hero__picture > .picture { box-shadow: var(--shadow); }

/* Split: words beside a picture. */
.split { display: grid; gap: var(--space-7); align-items: center; }
.split > * { min-width: 0; }
.split__text > h2 + p, .split__text > p + p, .split__text > p + .link, .split__text > ul, .split__text > p + p > .link { margin-top: var(--space-4); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); }
  .split--flip > .split__text { order: 2; }
}

/* Points: short statements side by side. */
.points { display: grid; gap: var(--space-6) var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.points > li { border-top: 2px solid var(--ink); padding-top: var(--space-4); }
.points h3 + p { margin-top: var(--space-2); color: var(--muted); }
.points .link { display: inline-block; margin-top: var(--space-3); }

/* Ticks: what's included. */
.ticks > li { position: relative; padding-left: 28px; }
.ticks > li + li { margin-top: var(--space-2); }
.ticks > li::before { content: ""; position: absolute; left: 3px; top: 0.45em; width: 14px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Picture: a drawing of the product, on a white work surface. */
.picture { container: picture / inline-size; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.picture__window { background: var(--surface); }
.picture__bar { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); font-size: var(--text-sm); font-weight: 700; }
.picture__bar > span:last-child { margin-left: auto; color: var(--muted); font-weight: 400; }

/* Sheet: a drawn table in the system's table style. */
.sheet { width: 100%; border-collapse: collapse; font-size: var(--text-sm); line-height: 1.35; }
.sheet th, .sheet td { padding: 0 var(--space-3); height: var(--row-comfortable); text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sheet th { height: var(--row-compact); background: var(--surface-subtle); color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.sheet tr:last-child > td, .sheet tr:last-child > th { border-bottom: 0; }
.sheet td:first-child { font-weight: 700; }
.sheet .number { text-align: right; font-variant-numeric: tabular-nums; }
@container picture (max-width: 640px) {
  .sheet .wide-only { display: none; }
  .sheet th, .sheet td { white-space: normal; padding-block: var(--space-2); }
  .picture__bar > span:last-child { display: none; }
}
.picture .sheet td { white-space: normal; }
.picture .sheet td:first-child { white-space: nowrap; }

/* Mark: a value VybeCRM's AI wrote or found. */
.mark { background: var(--selected); color: var(--accent); font-weight: 650; padding: 1px 6px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* AI note: what VybeCRM tells the team, signed with the symbol on a light tile. */
.ai-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); padding: var(--space-4); border-top: 1px solid var(--line); background: var(--surface); font-size: var(--text-sm); line-height: 1.5; }
.ai-note__badge { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.ai-note__badge img { width: 18px; height: 18px; }
.ai-note strong { font-weight: 700; }
.ai-note p + p { margin-top: 2px; color: var(--muted); }
.picture__bar + .ai-note, .picture__window > .ai-note:first-child { border-top: 0; }
.said { padding: var(--space-4); font-size: var(--text-sm); line-height: 1.55; }

/* Versus: two ways of doing the same thing, ours on the right. */
.versus { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.versus > div { padding: var(--space-6) var(--space-5); }
.versus > div + div { border-top: 1px solid var(--line); }
.versus h3 { margin-bottom: var(--space-4); }
.versus ul { margin: 0; padding: 0; list-style: none; }
.versus li { padding-block: var(--space-3); border-top: 1px solid var(--line); }
.versus__theirs, .versus__theirs h3 { color: var(--muted); }
.versus__ours { background: var(--selected); }
@media (min-width: 900px) {
  .versus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .versus > div { padding: var(--space-7) var(--space-6); }
  .versus > div + div { border-top: 0; border-left: 1px solid var(--line); }
}

/* Plans: three columns in one frame. */
.plans { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.plan { display: flex; flex-direction: column; padding: var(--space-6) var(--space-5); border-top: 1px solid var(--line); }
.plan:first-child { border-top: 0; }
.plan--usual { background: var(--selected); box-shadow: inset 0 4px 0 var(--accent); }
.plan h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-3); font-size: 20px; }
.plan__usual { font-size: var(--text-sm); font-weight: 700; letter-spacing: 0; color: var(--accent); }
.plan__for { margin-top: var(--space-2); color: var(--muted); }
.plan__price { margin-top: var(--space-5); font-size: var(--site-text-price); font-weight: 770; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan__unit { margin-top: var(--space-2); color: var(--muted); font-size: var(--text-sm); }
.plan__action { margin-top: var(--space-5); }
.plan__note { margin-top: var(--space-2); color: var(--muted); font-size: var(--text-sm); }
.plan__includes { margin-top: var(--space-5); font-weight: 700; }
.plan .ticks { margin-top: var(--space-3); }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); }
  .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; align-content: start; border-top: 0; border-left: 1px solid var(--line); padding-inline: var(--space-6); }
  .plan:first-child { border-left: 0; }
}
.plans-more { margin-top: var(--space-5); color: var(--muted); }

/* Billing switch: the system's segmented control, made of radio buttons so it works without JavaScript. */
.billing-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-6); }
.billing { display: inline-flex; gap: 2px; margin: 0; padding: 3px; border: 0; border-radius: var(--radius-sm); background: var(--surface-subtle); }
.billing legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.billing input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.billing label { display: inline-flex; align-items: center; min-height: 38px; padding-inline: var(--space-4); border: 1px solid transparent; border-radius: 4px; color: var(--muted); font-size: 15px; font-weight: 650; cursor: pointer; }
.billing input:checked + label { color: var(--accent); background: var(--surface); border-color: var(--line); }
.billing input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
.when-month { display: none; }
.priced:has(#billing-month:checked) .when-month { display: revert; }
.priced:has(#billing-month:checked) .when-year { display: none; }
.priced:has(#billing-month:checked) .v-btn.when-month { display: flex; }
@supports not selector(:has(*)) { .billing-row { display: none; } }

/* Compare: the full table of what each plan includes, in the system's table style. */
.compare-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.compare th, .compare td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 17px; font-weight: 750; }
.compare thead th:first-child { width: 37%; }
.compare tbody th { font-weight: 400; }
.compare .compare__group > th { background: var(--surface-subtle); color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .no { color: var(--muted); }
.compare th[scope="row"], .compare thead th:first-child { position: sticky; left: 0; background: var(--surface); }
.compare .compare__group > th { position: static; }

/* Questions and answers */
.faq { max-width: 840px; border-top: 1px solid var(--line); }
.faq > details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; cursor: pointer; font-size: 18px; font-weight: 700; line-height: 1.35; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--duration) ease-out; }
.faq details[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details > div { max-width: var(--site-text-width); padding-bottom: var(--space-5); color: var(--muted); }
.faq details > div > * + * { margin-top: var(--space-3); }

/* Price lines: each plan in one line, for a summary. */
.price-lines { max-width: 760px; border-top: 2px solid var(--ink); }
.price-lines > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1) var(--space-5); align-items: baseline; padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.price-lines p { grid-column: 1; color: var(--muted); }
.price-lines .price-lines__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; color: var(--ink); font-size: var(--text-sm); }
.price-lines__price strong { display: block; font-size: 28px; font-weight: 770; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.section__head + .price-lines, .price-lines + .actions { margin-top: var(--space-6); }

/* Band: the dark closing call to action, in the colour of the app's rail. */
.band { background: var(--nav); color: var(--surface); padding-block: clamp(var(--space-8), 7vw, 120px); }
.band h2 { max-width: 760px; }
.band p { max-width: var(--site-text-width); margin-top: var(--space-4); color: var(--nav-text); font-size: var(--site-text-lead); }
.band .actions { margin-top: var(--space-6); }
.band .v-btn.primary { background: var(--surface); border-color: var(--surface); color: var(--accent); }
.band .v-btn.primary:hover { background: var(--selected); }
.band .v-btn:not(.primary) { background: transparent; border-color: var(--nav-text); color: var(--surface); }
.band a:not(.v-btn) { color: var(--surface); }
.band :focus-visible { outline-color: var(--site-focus-on-dark); }

/* Long documents */
.prose { max-width: calc(760px + 2 * var(--site-gutter)); padding-block: clamp(var(--space-7), 6vw, 104px); }
.prose h1 { font-size: var(--site-text-h2); line-height: 1.1; letter-spacing: -0.036em; }
.prose > .lead { margin-top: var(--space-4); }
.prose > .small { margin-top: var(--space-3); }
.prose section { margin-top: var(--space-7); }
.prose h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; }
.prose section > p { margin-top: var(--space-3); }
.draft-notice { margin-top: var(--space-5); padding: var(--space-4); border-radius: var(--radius-sm); background: var(--warning-bg); color: var(--warning-ink); }
.not-found-links { margin-top: var(--space-6); font-size: var(--site-text-lead); }
.not-found-links > li + li { margin-top: var(--space-3); }

/* Process map: the steps of a process in order, with the time spent in each. */
.process-map { display: grid; gap: 0; padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 12px); counter-reset: step; }
.process-map__step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--space-3); padding: var(--space-3) var(--space-4) var(--space-3) var(--space-6); border-left: 2px solid var(--line); }
.process-map__step::before { counter-increment: step; content: counter(step); position: absolute; left: -12px; top: var(--space-3); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand-teal); color: var(--ink); font-size: 11px; font-weight: 750; }
.process-map__name { font-weight: 700; }
.process-map__owner { grid-column: 1; color: var(--muted); font-size: var(--text-sm); }
.process-map__days { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--text-sm); font-weight: 650; font-variant-numeric: tabular-nums; }
.process-map__step .v-tag { grid-column: 1 / -1; justify-self: start; margin-top: var(--space-1); }
.process-map__step--stuck { background: var(--danger-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-left-color: var(--brand-coral); }
.process-map__step--stuck::before { border-color: var(--brand-coral); }
.process-map__step--stuck .process-map__days { color: var(--danger-ink); }
@container picture (min-width: 760px) {
  .process-map { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); padding: var(--space-5) var(--space-4); }
  .process-map__step { grid-template-columns: 1fr; align-content: start; gap: 4px; padding: var(--space-6) var(--space-3) var(--space-4); border-left: 0; border-top: 3px solid var(--brand-teal); border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: var(--surface-subtle); }
  .process-map__step::before { left: var(--space-3); top: -13px; }
  .process-map__owner, .process-map__days { grid-column: 1; grid-row: auto; }
  .process-map__days { margin-top: var(--space-2); font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
  .process-map__step--stuck { border-top-color: var(--brand-coral); background: var(--danger-bg); }
}

/* Bars: a horizontal bar chart, values written beside the bars. */
.bars { display: grid; gap: var(--space-3); padding: var(--space-5) var(--space-4); }
.bars__row { display: grid; grid-template-columns: minmax(96px, 9rem) minmax(0, 1fr) 2.5rem; gap: var(--space-3); align-items: center; font-size: var(--text-sm); }
.bars__track { height: 22px; border-radius: 4px; background: var(--surface-subtle); }
.bars__bar { display: block; height: 100%; border-radius: 4px; background: var(--brand-teal); }
.bars__value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bars__row--stuck .bars__bar { background: var(--brand-coral); }
.bars__row--stuck .bars__label, .bars__row--stuck .bars__value { color: var(--danger-ink); font-weight: 700; }

.picture__actions { display: flex; justify-content: flex-end; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--line); }

/* Steps: a short numbered sequence, for how something works. */
.steps { display: grid; gap: var(--space-6) var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: steps; }
.steps > li { counter-increment: steps; }
.steps > li::before { content: counter(steps); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--space-4); border-radius: var(--radius-md); background: var(--accent); color: var(--surface); font-size: 18px; font-weight: 750; }
.steps h3 + p { margin-top: var(--space-2); color: var(--muted); }
.steps .link { display: inline-block; margin-top: var(--space-3); }
.picture .sheet + .picture__bar { border-top: 1px solid var(--line); }

/* The narrowest phones: keep the header's name, button and menu on one line. */
@media (max-width: 359px) {
  .site-header__row { gap: var(--space-3); }
  .site-header__name { gap: var(--space-2); font-size: 17px; }
  .site-header__actions .v-btn { padding-inline: var(--space-3); }
}
@container picture (max-width: 640px) {
  .picture .sheet td:first-child { white-space: normal; }
}

/* Breadcrumbs: where a page sits, above its headline. */
.breadcrumbs { padding-top: var(--space-5); font-size: var(--text-sm); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); margin: 0; padding: 0; list-style: none; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--control-border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }
.breadcrumbs + .hero, .breadcrumbs + .prose { padding-top: var(--space-6); }

/* Step list: a process's steps in order, as plain text. */
.step-list { margin: var(--space-4) 0 0; padding-left: 1.4em; list-style: decimal; }
.step-list > li + li { margin-top: var(--space-2); }
.step-list > li::marker { color: var(--accent); font-weight: 700; }

/* Four points read best as two rows of two. */
.points--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* A real data table inside a picture frame, which scrolls sideways on a phone. */
.table-scroll { overflow-x: auto; }
.sheet--data { min-width: 760px; }
.sheet--data th[scope="row"] { font-weight: 700; text-align: left; background: var(--surface); color: var(--ink); font-size: var(--text-sm); height: var(--row-comfortable); }
.picture .sheet--data td, .picture .sheet--data th { white-space: nowrap; }

/* Column help: what each column of a template is for. */
.column-help { display: grid; gap: var(--space-4) var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 0; }
.column-help > div { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.column-help dt { font-weight: 700; }
.column-help dd { margin: var(--space-1) 0 0; color: var(--muted); }

/* Sources: the pages a comparison's facts were read from. */
.source-list { margin: 0; padding-left: 1.2em; list-style: disc; }
.source-list > li + li { margin-top: var(--space-1); }
.versus p { margin-top: var(--space-2); }

/* Guides: long reading, with lists, glossary links and a related box. */
.prose__body { margin-top: var(--space-6); font-size: 17px; line-height: 1.7; }
.prose__body > h2 { margin-top: var(--space-7); font-size: 26px; line-height: 1.2; letter-spacing: -0.025em; }
.prose__body > p, .prose__body > ul, .prose__body > ol { margin-top: var(--space-4); }
.prose__body ul, .prose__body ol { padding-left: 1.4em; }
.prose__body li + li { margin-top: var(--space-2); }
.prose__body li::marker { color: var(--accent); }
.related { margin-top: var(--space-8); padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.related h2 { font-size: 20px; letter-spacing: -0.015em; }
.related ul { margin: var(--space-3) 0 0; padding-left: 1.2em; }
.related li + li { margin-top: var(--space-2); }
.related p { margin-top: var(--space-4); }

/* Glossary: terms with anchors, each landing in view below the top. */
.glossary { margin: var(--space-6) 0 0; }
.glossary > div { padding-block: var(--space-4); border-top: 1px solid var(--line); scroll-margin-top: var(--space-5); }
.glossary > div:target { background: var(--selected); padding-inline: var(--space-3); border-radius: var(--radius-sm); }
.glossary dt { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.glossary dd { margin: var(--space-2) 0 0; color: var(--muted); }
.glossary dd p + p { margin-top: var(--space-2); }
.breadcrumbs:has(+ .prose) { max-width: calc(760px + 2 * var(--site-gutter)); }

/* VW-20: how Vybe credits work, on the pricing page. */
.credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-8); }
.credits__part h3 { margin: 0 0 var(--space-3); }
.credits__table { width: 100%; border-collapse: collapse; }
.credits__table th, .credits__table td { text-align: left; padding: var(--space-2) var(--space-3) var(--space-2) 0; border-bottom: 1px solid var(--line); font-weight: normal; }
.credits__table td { text-align: right; white-space: nowrap; }

/* VW-21: pictures of the real product. */
.vybe-mark { display: block; flex: none; }
.chat { display: grid; gap: var(--space-3); margin: 0; padding: var(--space-4); list-style: none; font-size: var(--text-sm); line-height: 1.5; }
.chat > li { display: flex; gap: var(--space-2); align-items: flex-start; max-width: 88%; }
.chat p { margin: 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--surface-subtle); }
.chat__mark { margin-top: 4px; flex: none; }
.chat__you { justify-self: end; }
.chat__you p { background: var(--selected); color: var(--ink); }
.chat__tool { justify-self: start; }
.chat__tool p { background: var(--surface); border: 1px dashed var(--line); color: var(--muted); font-size: var(--text-xs); }
.proposal { border-top: 1px solid var(--line); padding: var(--space-4); font-size: var(--text-sm); }
.proposal__title { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-2); }
.proposal ul { margin: 0; padding-left: var(--space-6); }
.proposal .picture__actions { padding: var(--space-3) 0 0; border: 0; }
.diagram { overflow-x: auto; }
.diagram svg { display: block; max-width: 100%; height: auto; min-width: 560px; }
.diagram__lane { fill: var(--surface); }
.diagram__lane--alt { fill: var(--surface-subtle); }
.diagram__lane-name { fill: var(--muted); font-size: 11px; font-weight: 700; }
.diagram__step { fill: var(--surface); stroke: var(--accent); stroke-width: 1.5; }
.diagram__decision { fill: var(--selected); stroke: var(--accent); stroke-width: 1.5; }
.diagram__document { fill: var(--surface); stroke: var(--brand-teal); stroke-width: 1.5; }
.diagram__start { fill: var(--brand-teal); }
.diagram__end { fill: var(--accent); }
.diagram__arrow { fill: none; stroke: var(--muted); stroke-width: 1.4; }
.diagram__head { fill: var(--muted); }
.diagram__text { fill: var(--ink); font-size: 11px; font-weight: 600; }
.diagram__text--small { font-weight: 400; fill: var(--muted); }
.checklist { padding: var(--space-3) var(--space-4) var(--space-4); font-size: var(--text-sm); line-height: 1.45; }
.checklist__kind { margin: var(--space-3) 0 var(--space-2); color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.checklist__kind:first-child { margin-top: 0; }
.checklist ul { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.checklist__box { width: 16px; height: 16px; margin-top: 1px; border-radius: 4px; background: var(--accent); position: relative; }
.checklist__box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--surface); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checklist__detail { color: var(--muted); }
.checklist__note { margin: 0; color: var(--muted); }
.vybe { display: grid; gap: var(--space-6); align-items: center; grid-template-columns: auto minmax(0, 1fr); }
@media (max-width: 640px) { .vybe { grid-template-columns: minmax(0, 1fr); } }
.free-line { margin-top: var(--space-3); font-weight: 650; }
.app-tabs { display: flex; gap: var(--space-4); padding: 0 var(--space-4); border-bottom: 1px solid var(--line); font-size: var(--text-sm); color: var(--muted); }
.app-tabs > span { padding: var(--space-2) 0; }
.app-tabs__on { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
