/* Hallmark · shape: Catalogue (a studio hub of six products) · genre: modern-minimal · theme: brand · redesign: full · job: try · draw: e539f1, swapped: shape Conversational FAQ to Catalogue (the products are the page), hero Counter to Stage (no download to sell, the screens are the strongest thing)
 * paper: oklch(100% 0 0) · accent: oklch(54.3% 0.222 260.4) · display: Manrope · body: Manrope · hero: Stage (/), Banner (/products/), Stage (/products/ror-trainer/), Stage (/products/hex-colour-finder/), Stage (/products/script-timerr/), Banner (/studio/), Banner (/privacy/), Counter (/support/) · nav: floating pill (kept) · footer: index columns (kept, a hub with a real sitemap) · signature: the real product screens, captured live, leading the hero and every product row
 * axes: light/geometric-sans/chromatic-blue · posture: committed (navy field bands carry 30 to 40%; blue stays the signal) · surface: absolute · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R4 V3 · weakest: P, the home head is the brand slogan, kept as the owner's words; the live screens beside it carry what only VeriCode can show */
/* Hallmark · dropped the home facts strip (6, 3, 3, India) · the counts now sit on the switcher tabs and in the closing line, India in the studio section */
/* Hallmark · dropped the home tile extras "100+ COLREGS questions", the "05:00" type art and the citrus photo · each home card now shows its live screen; the figures stay on /products/ and the product pages, the citrus photo inside the HexColourFinder capture */
/* Hallmark · waive 44c · Banner posture on /products/, /studio/ and /privacy/, named per route in the hero field above · these pages open on their index, story or policy, so the first section starts above the fold by design */
/* Hallmark · waive 77 · the product overview and Who it is for sections are prose with a fact list and a caveat box · the product's own intro and audience lines are long, honest sentences that would be distorted if set as a statement */
/* Hallmark · waive 7b · brand white paper behind the VeriCode lockup · the approved lockup artwork carries its own pure white field, so the page and the nav pill match it exactly */
@import url("./tokens.css");
@import url("./base.css");

/* Context tones: every component reads these, and the navy field swaps them in one rule (41). */
:root {
  --tone-ink: var(--color-ink);
  --tone-ink-2: var(--color-muted);
  --tone-rule: var(--color-rule);
  --tone-mark: var(--color-accent);
  --tone-focus: var(--color-focus);
  --nav-clear: 144px;
}
.field {
  --tone-ink: var(--color-on-field);
  --tone-ink-2: var(--color-on-field-2);
  --tone-rule: var(--color-field-rule);
  --tone-mark: var(--color-teal-light);
  --tone-focus: var(--color-on-field);
  background: var(--color-field);
  color: var(--tone-ink);
}
.field :focus-visible { outline-color: var(--tone-focus); }

html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { font-feature-settings: "kern"; text-rendering: optimizeLegibility; }
h1, h2, h3 { color: var(--tone-ink); }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--space-xs); background: var(--color-field); color: var(--color-on-field); font-weight: 600; text-decoration: none; }
.skip-link:focus-visible { top: var(--space-md); }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid transparent; border-radius: var(--radius-pill); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--tone-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-accent-2); }
.btn-ghost { background: transparent; color: var(--tone-ink); border-color: var(--color-rule-strong); }
.btn-ghost:hover { background: var(--color-paper-2); }
.field .btn-ghost { border-color: var(--color-field-rule-strong); }
.field .btn-ghost:hover { background: var(--color-field-2); }
.btn-sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.text-link { white-space: nowrap; color: var(--tone-mark); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.text-link:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-xl); }

/* Island navigation (kept: floating pill) */
.island { position: fixed; inset: var(--space-lg) 0 auto; z-index: var(--z-sticky-nav); display: flex; justify-content: center; pointer-events: none; padding-inline: var(--space-md); }
/* The pill is opaque white because the approved horizontal lockup carries its own white background. */
.island-pill { pointer-events: auto; position: relative; z-index: 2; display: flex; align-items: center; gap: var(--space-lg); width: max-content; max-width: 100%; padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg); border-radius: var(--radius-pill); background: var(--color-paper); box-shadow: 0 8px 32px var(--color-shadow); }
.island-brand img { width: 184px; }
.island-links { display: flex; align-items: center; gap: var(--space-2xs); }
.island-links a, .island-drop-trigger { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 44px; padding: 0 var(--space-sm); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); font: 600 var(--text-sm)/1 var(--font-body); text-decoration: none; cursor: pointer; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.island-links a:hover, .island-links a[aria-current="page"], .island-drop-trigger:hover, .island-drop-trigger.is-current, .island-drop.open .island-drop-trigger { color: var(--color-ink); background: var(--color-paper-2); }
.island-drop { position: relative; }
.island-drop-trigger svg { transition: transform var(--dur-short) var(--ease-out); }
.island-drop.open .island-drop-trigger svg { transform: rotate(180deg); }
.island-panel { position: absolute; top: calc(100% + var(--space-md)); left: 50%; width: 660px; max-width: calc(100dvw - 32px); padding: var(--space-lg); border-radius: 28px; background: var(--color-paper); box-shadow: 0 24px 64px var(--color-shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 8px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.island-panel::before { content: ''; position: absolute; left: 0; right: 0; top: calc(-1 * var(--space-md)); height: var(--space-md); }
html:not(.js) .island-drop:hover > .island-panel,
.island-drop:focus-within > .island-panel,
.island-drop.open > .island-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.island-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.island-panel-label { padding-inline: var(--space-sm); color: var(--color-muted); font-size: var(--text-xs); font-weight: 700; }
.island-panel-grid ul { margin-top: var(--space-xs); display: grid; gap: var(--space-3xs); }
.island-panel-grid a { display: flex; align-items: flex-start; gap: var(--space-sm); padding: var(--space-sm); border-radius: var(--space-md); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.island-panel-grid a:hover, .island-panel-grid a[aria-current="page"] { background: var(--color-paper-2); }
.island-panel-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--space-sm); overflow: hidden; background: var(--color-paper-2); color: var(--color-accent-2); font-weight: 700; }
.island-panel-icon img { width: 36px; height: 36px; }
.island-panel-text { display: grid; gap: var(--space-3xs); min-width: 0; }
.island-panel-name { font-size: 0.9375rem; line-height: 1.25rem; font-weight: 700; }
.island-panel-tag { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--color-muted); font-size: var(--text-xs); line-height: 1.125rem; }
.island-panel-all { display: block; margin-top: var(--space-md); padding: var(--space-md) var(--space-sm) 0; border-top: 1px solid var(--color-rule); color: var(--color-accent-2); font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.island-panel-all:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.island-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); cursor: pointer; }
.island-toggle span { position: absolute; left: 14px; top: 21px; width: 16px; height: 2px; border-radius: 2px; background: var(--color-ink); transition: transform var(--dur-long) var(--ease-in-out); }
.island-toggle span:first-child { transform: translateY(-3px); }
.island-toggle span:last-child { transform: translateY(3px); }
.menu-open .island-toggle span:first-child { transform: rotate(45deg); }
.menu-open .island-toggle span:last-child { transform: rotate(-45deg); }
.island-menu { pointer-events: auto; position: fixed; inset: 0; z-index: 1; display: flex; align-items: flex-end; padding: var(--space-3xl) var(--space-lg) var(--space-2xl); background: var(--color-paper); opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.island-menu[hidden] { display: none; }
.menu-open .island-menu { opacity: 1; }
.island-menu ul { display: grid; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.island-menu li a { display: inline-block; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; letter-spacing: -0.025em; text-decoration: none; }
.island-menu li a[aria-current="page"] { color: var(--color-accent-2); }
.island-menu .island-menu-sub { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); margin: var(--space-xs) 0 0; }
.island-menu .island-menu-sub a { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-md); line-height: 1.5rem; font-weight: 600; letter-spacing: 0; color: var(--color-muted); }
.island-menu .island-menu-sub a[aria-current="page"] { color: var(--color-accent-2); }
.island-menu-mail { color: var(--color-muted); font-weight: 600; }

/* Shared section furniture */
.section { padding-block: var(--section-gap); }
.section-s { padding-block: var(--section-gap-s); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.head-split { align-items: end; margin-bottom: var(--space-2xl); }
.head-split > h2 { grid-column: 1 / 7; }
.head-split > p { grid-column: 8 / 13; color: var(--tone-ink-2); font-size: var(--text-lead); line-height: 1.45; }
.head { margin-bottom: var(--space-2xl); }
.head > p { margin-top: var(--space-md); color: var(--tone-ink-2); font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }

/* Heroes */
.hero { display: flex; align-items: center; min-height: min(100svh, 1000px); padding-block: var(--nav-clear) var(--space-2xl); }
.hero > .container { width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-xl); align-items: center; }
.hero.is-fit { min-height: 0; padding-bottom: var(--space-2xl); }
.hero-grid.is-media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hero h1 { max-width: none; font-size: clamp(2.75rem, 3.4vw + 1rem, 4.75rem); }
.hero .lead { margin-top: var(--space-lg); color: var(--tone-ink-2); }
.banner { padding-block: var(--nav-clear) var(--space-2xl); }
.banner + .section, .banner + .section-s, .hero.is-fit + .section { padding-top: var(--space-2xl); }
.banner .lead { margin-top: var(--space-lg); color: var(--tone-ink-2); }
.back-link { display: inline-block; margin-bottom: var(--space-lg); color: var(--tone-ink-2); font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--tone-ink); text-decoration: underline; text-underline-offset: 0.2em; }

/* Home hero: the live screens, bleeding off the right edge */
.stage { position: relative; height: clamp(440px, 64svh, 620px); margin-right: calc(-1 * var(--gutter)); }
.stage img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.stage-web { position: absolute; top: 0; right: 0; width: 93%; aspect-ratio: 1280 / 940; overflow: hidden; border-radius: var(--radius-media) 0 0 var(--radius-media); outline: 1px solid var(--color-field-rule); outline-offset: -1px; background: var(--color-paper); }
.stage-phone { position: absolute; bottom: 0; width: 25%; aspect-ratio: 9 / 17; overflow: hidden; border-radius: var(--radius-phone); outline: 1px solid var(--color-field-rule-strong); outline-offset: -1px; background: var(--color-paper); box-shadow: 0 24px 48px var(--color-shadow-deep); }
.stage-phone.is-a { left: 0; }
.stage-phone.is-b { left: 21%; bottom: var(--space-xl); }

/* Product shots, used on the home switcher and the catalogue */
.shot { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-media); background: var(--color-paper-2); outline: 1px solid var(--color-rule); outline-offset: -1px; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot.is-phone { display: flex; justify-content: center; align-items: flex-end; padding-top: var(--space-xl); background: var(--color-field); outline-color: var(--color-field); }
.shot.is-phone img { width: 46%; height: 100%; object-position: top; border-radius: var(--space-lg) var(--space-lg) 0 0; }

/* Home: the collection switcher */
.seg { display: inline-flex; gap: var(--space-2xs); padding: var(--space-2xs); margin-bottom: var(--space-xl); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.seg button { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.seg button:hover { color: var(--color-ink); }
.seg button[aria-selected="true"] { background: var(--color-paper); color: var(--color-ink); box-shadow: var(--shadow-card); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg .count { color: var(--color-muted); font-variant-numeric: tabular-nums; }
html:not(.js) .seg { display: none; }
.panel-title { margin-bottom: var(--space-lg); font-size: var(--text-title); }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:not(.js) .panel + .panel { margin-top: var(--space-2xl); }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.product-link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius-media); }
.product-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.product-text { display: grid; gap: var(--space-2xs); padding-top: var(--space-lg); }
.product-text h3 { transition: color var(--dur-short) var(--ease-out); }
.product-link:hover h3 { color: var(--color-accent-2); }
.product-meta { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }
.product-meta img { width: 24px; height: 24px; border-radius: 6px; }
.product-text > p:last-child { color: var(--color-muted); }
.shelf-next { align-items: baseline; margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.shelf-next h3 { grid-column: 1 / 5; }
.shelf-next p { grid-column: 5 / 11; color: var(--color-muted); }
.shelf-next .text-link { grid-column: 11 / 13; justify-self: end; }

/* Statement, lit word by word as it scrolls */
.statement { padding-block: var(--space-2xl) var(--section-gap); }
.statement-text { max-width: 30ch; font-size: var(--text-display-s); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.statement-text .w { color: var(--color-ink-faint); transition: color var(--dur-long) var(--ease-out); }
.statement-text .w.on { color: var(--color-ink); }

/* Rows: a head held on the left, an ordered run on the right */
.rows-wrap > h2, .rows-head { grid-column: 1 / 6; align-self: start; position: sticky; top: 120px; }
.rows-head p { margin-top: var(--space-md); color: var(--tone-ink-2); font-size: var(--text-lead); line-height: 1.45; }
.rows-wrap > .rows, .rows-wrap > .faq { grid-column: 6 / 13; }
.rows { counter-reset: row; }
.rows > li { counter-increment: row; display: grid; grid-template-columns: var(--space-2xl) minmax(0, 1fr); column-gap: var(--space-lg); padding-block: var(--space-xl); border-top: 1px solid var(--tone-rule); }
.rows > li:last-child { border-bottom: 1px solid var(--tone-rule); }
.rows > li::before { content: counter(row, decimal-leading-zero); grid-row: span 2; color: var(--tone-mark); font-size: var(--text-title); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rows p { margin-top: var(--space-xs); color: var(--tone-ink-2); }

/* Trio: three or more across, parted by a top rule */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.trio.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trio > li { padding-top: var(--space-lg); border-top: 2px solid var(--tone-ink); }
.trio p { margin-top: var(--space-sm); color: var(--tone-ink-2); }
.trio a:not(.btn) { color: var(--tone-mark); font-weight: 600; overflow-wrap: break-word; }

/* Studio split with the looping logo film */
.studio-grid { align-items: center; }
.studio-copy { grid-column: 1 / 6; }
.studio-copy p { margin-top: var(--space-lg); color: var(--color-muted); }
.studio-copy p.lead { color: var(--color-ink); }
.studio-copy .text-link { display: inline-block; margin-top: var(--space-xl); }
.film { grid-column: 7 / 13; position: relative; }
.film video { width: 100%; border-radius: var(--radius-media); outline: 1px solid var(--color-rule); outline-offset: -1px; }
.film-toggle { position: absolute; right: var(--space-md); bottom: var(--space-md); min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 600 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.film-toggle:hover { background: var(--color-paper-2); }
.film-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
html:not(.js) .film-toggle { display: none; }

/* Close: the job again, left-aligned on a tinted band */
.close { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.close-grid { align-items: end; }
.close-grid > div:first-child { grid-column: 1 / 8; }
.close-grid p { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-lead); line-height: 1.45; }
.close-grid .actions { grid-column: 9 / 13; justify-content: flex-end; margin-top: 0; }

/* Catalogue (the products index) */
.catalogue + .catalogue { padding-top: 0; }
.cat-head { align-items: end; padding-top: var(--space-lg); margin-bottom: var(--space-lg); border-top: 2px solid var(--color-ink); }
.cat-head h2 { grid-column: 1 / 7; }
.cat-head p { grid-column: 8 / 13; color: var(--color-muted); font-size: var(--text-lead); line-height: 1.45; }
.cat-row { position: relative; align-items: start; padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.cat-row:last-child { border-bottom: 0; }
.cat-row .shot { grid-column: 1 / 6; }
.cat-body { grid-column: 6 / 10; display: grid; gap: var(--space-sm); align-content: start; }
.cat-body h3 a { text-decoration: none; }
.cat-body h3 a::after { content: ''; position: absolute; inset: 0; }
.cat-row:hover h3 a { color: var(--color-accent-2); }
.cat-body h3 a:focus-visible { outline: none; }
.cat-row:has(h3 a:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--space-xs); }
.cat-tagline { font-size: var(--text-lead); line-height: 1.4; font-weight: 600; }
.cat-desc { color: var(--color-muted); }
.cat-side { grid-column: 10 / 13; display: grid; gap: var(--space-lg); align-content: start; }
.cat-flip .shot { grid-column: 8 / 13; grid-row: 1; }
.cat-flip .cat-body { grid-column: 1 / 5; grid-row: 1; }
.cat-flip .cat-side { grid-column: 5 / 8; grid-row: 1; }
.fact-list li { padding-block: var(--space-xs); border-bottom: 1px solid var(--tone-rule); color: var(--tone-ink); font-size: var(--text-sm); font-weight: 600; }
.fact-list li:first-child { border-top: 1px solid var(--tone-rule); }
.cat-links { position: relative; z-index: 1; display: grid; gap: var(--space-xs); justify-items: start; }
.cat-read { color: var(--color-accent-2); font-weight: 600; }

/* Product page */
.hero-shot { position: relative; margin-right: calc(-1 * var(--gutter)); }
.hero-shot img { width: 100%; border-radius: var(--radius-media) 0 0 var(--radius-media); outline: 1px solid var(--color-field-rule); outline-offset: -1px; }
.hero-shot figcaption { margin-top: var(--space-sm); color: var(--tone-ink-2); font-size: var(--text-sm); }
.frame-quote { padding: var(--space-2xl); border-radius: var(--radius-card); background: var(--color-field-2); }
.frame-quote-top { color: var(--tone-ink-2); font-size: var(--text-sm); font-weight: 600; }
.frame-quote-lines { margin-top: var(--space-xl); display: grid; gap: var(--space-xs); }
.frame-quote-lines span { font-size: var(--text-display); line-height: 1; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.frame-quote > p { margin-top: var(--space-xl); color: var(--tone-ink-2); }
.overview-copy { grid-column: 1 / 8; display: grid; gap: var(--space-lg); }
.overview-copy p { color: var(--color-muted); max-width: 62ch; }
.overview-copy p.lead { color: var(--color-ink); max-width: 52ch; }
.overview-facts { grid-column: 9 / 13; align-self: start; }
.steps-run { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--gap-columns); counter-reset: step; }
.steps-run > li { counter-increment: step; display: grid; gap: var(--space-sm); align-content: start; }
.steps-run > li::before { content: counter(step); color: var(--color-ink); font-size: var(--text-display-s); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.steps-run p { color: var(--color-muted); }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); }
.link-grid a { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg); min-height: 128px; padding: var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-card); text-decoration: none; transition: border-color var(--dur-short) var(--ease-out); }
.link-grid a:hover { border-color: var(--color-accent); }
.link-grid strong { font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.02em; }
.link-grid small { color: var(--color-muted); font-size: var(--text-sm); }
.explore-cta { margin-top: var(--space-xl); }
.audience-grid > h2 { grid-column: 1 / 6; }
.audience-copy { grid-column: 6 / 13; display: grid; gap: var(--space-lg); }
.audience-copy > p:first-child { font-size: var(--text-lead); line-height: 1.45; }
.audience-copy > p { color: var(--color-ink); }
.audience-copy > p + p { color: var(--color-muted); }
.notes { padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); }
.notes h3 { font-size: var(--text-md); }
.notes ul { margin-top: var(--space-sm); display: grid; gap: var(--space-sm); }
.notes li { color: var(--color-muted); }
.faq details { border-top: 1px solid var(--color-rule); }
.faq details:last-child { border-bottom: 1px solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding-block: var(--space-lg); font-size: var(--text-title); line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; cursor: pointer; list-style: none; transition: color var(--dur-short) var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-accent-2); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.faq-marker { position: relative; flex: none; width: 16px; height: 16px; }
.faq-marker::before, .faq-marker::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--color-accent); transition: transform var(--dur-long) var(--ease-in-out); }
.faq-marker::after { transform: rotate(90deg); }
.faq details[open] .faq-marker::after { transform: rotate(0deg); }
.faq details > p { padding-bottom: var(--space-lg); max-width: 62ch; color: var(--color-muted); }
.related > li { position: relative; }
.related h3 a { text-decoration: none; }
.related h3 a::after { content: ''; position: absolute; inset: 0; }
.related > li:hover h3 a { color: var(--color-accent-2); }
.related h3 { display: flex; align-items: center; gap: var(--space-sm); }
.related h3 img { width: 32px; height: 32px; border-radius: var(--space-xs); flex-shrink: 0; }
.related .product-meta { margin-bottom: var(--space-sm); }
.related-all { margin-top: var(--space-2xl); }

/* Studio page */
.story > h2 { grid-column: 1 / 5; }
.story-copy { grid-column: 5 / 13; display: grid; gap: var(--space-lg); }
.story-copy p { color: var(--color-muted); max-width: 62ch; }
.story-copy p.lead { color: var(--color-ink); }

/* Support */
.contact-panel { padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-field-2); color: var(--color-on-field); }
.contact-panel h2 { font-size: var(--text-title); }
.contact-mail { display: block; margin-top: var(--space-lg); color: var(--color-on-field); font-size: clamp(1.25rem, 1.5vw + 0.375rem, 2.5rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; text-decoration: underline; text-decoration-color: var(--color-teal); text-decoration-thickness: 3px; text-underline-offset: 0.18em; overflow-wrap: anywhere; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.contact-mail:hover { text-decoration-color: var(--color-on-field); }
.contact-panel p { margin-top: var(--space-md); color: var(--tone-ink-2); }
.help-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.help-index a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.help-index a:hover { color: var(--color-accent-2); }
.help-index strong { font-size: var(--text-title); letter-spacing: -0.02em; }
.help-index span { color: var(--color-muted); font-size: var(--text-sm); text-align: right; }

/* Legal and 404 */
.legal { max-width: 68ch; padding-block: var(--space-2xl) var(--section-gap-s); }
.legal h2 { margin-top: var(--space-2xl); font-size: var(--text-2xl); }
.legal p { margin-top: var(--space-md); color: var(--color-muted); font-size: 1.125rem; line-height: 1.7; }
.legal p strong { color: var(--color-ink); }
.legal p a { color: var(--color-accent-2); font-weight: 600; }
.legal .btn { margin-top: var(--space-2xl); }

.error-page { min-height: min(80svh, 760px); display: flex; align-items: center; }
.error-page > .container { width: 100%; }

/* Footer (kept: index columns) */
.studio-footer { padding-block: var(--space-2xl) var(--space-xl); border-top: 1px solid var(--color-rule); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); }
.footer-identity img { width: 280px; }
.footer-identity p { margin-top: var(--space-lg); max-width: 46ch; color: var(--color-muted); }
.footer-mail { display: inline-block; margin-top: var(--space-md); color: var(--color-accent-2); font-weight: 600; text-decoration: none; }
.footer-mail:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.footer-columns h2 { font-size: var(--text-sm); line-height: 1.4; letter-spacing: 0; color: var(--color-muted); }
.footer-columns ul { margin-top: var(--space-md); display: grid; gap: var(--space-sm); }
.footer-columns a { text-decoration: none; }
.footer-columns a:hover { color: var(--color-accent-2); }
.footer-note { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }

/* One reveal: a short rise on the product cards and the standards, visible without script */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 60rem) {
  :root { --nav-clear: 120px; }
  .hero { min-height: 0; }
  .hero-grid, .grid-12 { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .grid-12 > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .stage { height: auto; aspect-ratio: 4 / 3; margin-right: 0; }
  .stage-web { border-radius: var(--radius-media); }
  .hero-shot { margin-right: 0; }
  .hero-shot img { border-radius: var(--radius-media); }
  .rows-wrap > h2, .rows-head { position: static; }
  .shelf, .trio, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf-next .text-link { justify-self: start; }
  .close-grid .actions { justify-content: flex-start; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .help-index { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .island-links, .island-cta { display: none; }
  .island-toggle { display: block; }
  .island-pill { width: 100%; justify-content: space-between; gap: var(--space-md); padding-left: var(--space-md); }
  .island-brand img { width: 160px; }
}
@media (max-width: 40rem) {
  .shelf, .trio, .trio.is-2, .link-grid { grid-template-columns: minmax(0, 1fr); }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; justify-content: center; padding-inline: var(--space-sm); font-size: var(--text-sm); }
  .rows > li { grid-template-columns: var(--space-xl) minmax(0, 1fr); column-gap: var(--space-md); }
  .contact-panel, .notes, .frame-quote { padding: var(--space-lg); }
  .contact-mail { font-size: 1.375rem; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-identity img { width: min(100%, 240px); }
}
@media (max-width: 380px) {
  .contact-mail { font-size: 1.125rem; overflow-wrap: normal; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .island-toggle span, .faq-marker::before, .faq-marker::after, .island-panel { transition: none; }
}

/* Homepage motion: the product screens are the moving centerpiece. */
.home .hero { position: relative; overflow: hidden; isolation: isolate; }
.home .hero::before, .home .hero::after { content: ''; position: absolute; z-index: -1; border: 1px solid var(--color-field-rule); border-radius: 50%; pointer-events: none; }
.home .hero::before { width: min(75vw, 1000px); aspect-ratio: 1; right: -15%; top: -35%; }
.home .hero::after { width: min(58vw, 780px); aspect-ratio: 1; right: -7%; bottom: -48%; border-color: oklch(70% 0.125 182.6 / .24); }
.home .hero-copy { position: relative; z-index: 1; }
.home .hero-copy h1 { animation: home-arrive 850ms var(--ease-out) both; }
.home .hero-copy .lead { animation: home-arrive 850ms 100ms var(--ease-out) both; }
.home .hero-copy .actions { animation: home-arrive 850ms 200ms var(--ease-out) both; }
.home .stage { --stage-x: 0; --stage-y: 0; }
.home .stage-web, .home .stage-phone { transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out); }
.home .stage-web { transform: translate(calc(var(--stage-x) * -10px), calc(var(--stage-y) * -10px)); animation: stage-arrive 1s 100ms var(--ease-out) both; box-shadow: 0 32px 80px var(--color-shadow-deep); }
.home .stage-phone.is-a { transform: translate(calc(var(--stage-x) * 16px), calc(var(--stage-y) * 16px)); animation: stage-arrive 1s 240ms var(--ease-out) both; }
.home .stage-phone.is-b { transform: translate(calc(var(--stage-x) * 24px), calc(var(--stage-y) * 24px)); animation: stage-arrive 1s 340ms var(--ease-out) both; }
.home .shot img { transition: transform 700ms var(--ease-out); }
.home .shot { transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out); }
.home .product-link:focus-visible .shot { transform: translateY(-6px); box-shadow: 0 20px 40px var(--color-shadow); }
.home .product-link:focus-visible .shot img { transform: scale(1.045); }
@media (hover: hover) {
  .home .product-link:hover .shot { transform: translateY(-6px); box-shadow: 0 20px 40px var(--color-shadow); }
  .home .product-link:hover .shot img { transform: scale(1.045); }
}
.home .rows > li::before { transition: transform 400ms var(--ease-out), color 400ms var(--ease-out); }
@media (hover: hover) { .home .rows > li:hover::before { transform: translateX(8px); color: var(--color-on-field); } }
.home .btn, .home .text-link { transition: transform 250ms var(--ease-out), background-color 250ms var(--ease-out), color 250ms var(--ease-out), box-shadow 250ms var(--ease-out); }
@media (hover: hover) { .home .btn:hover { transform: translateY(-3px); } }
.home .btn:active { transform: translateY(0) scale(.98); }
@keyframes home-arrive { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stage-arrive { from { opacity: 0; translate: 0 35px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .home .hero-copy h1, .home .hero-copy .lead, .home .hero-copy .actions, .home .stage-web, .home .stage-phone.is-a, .home .stage-phone.is-b { animation: none; }
  .home .stage-web, .home .stage-phone, .home .shot, .home .shot img, .home .rows > li::before, .home .btn, .home .text-link { transition: none; }
  .home .product-link:hover .shot, .home .product-link:focus-visible .shot, .home .product-link:hover .shot img, .home .product-link:focus-visible .shot img, .home .rows > li:hover::before, .home .btn:hover { transform: none; }
}

/* Blog: list, cards and post. Uses existing tokens only. */
.blog-list > *, .post-body > * { max-width: 760px; }
.blog-filter { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.blog-filter a { padding: var(--space-xs) var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); font-size: var(--text-sm); text-decoration: none; }
.blog-filter a:hover, .blog-filter a[aria-current="page"] { background: var(--color-paper-2); }
.blog-card { padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.blog-card h2 { font-size: var(--text-title); letter-spacing: -0.02em; margin-block: var(--space-xs); }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--color-accent-2); }
.blog-card p:last-child { color: var(--color-muted); }
.blog-meta { color: var(--color-muted); font-size: var(--text-sm); }
.blog-feed { margin-top: var(--space-xl); font-size: var(--text-sm); }
.post h1 { margin-block: var(--space-sm); }
.prose { margin-top: var(--space-xl); line-height: 1.65; }
.prose h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-sm); }
.prose h3 { margin-top: var(--space-xl); }
.prose p, .prose ul, .prose ol { margin-block: var(--space-md); }
.prose ul, .prose ol { padding-left: var(--space-lg); }
.prose a { color: var(--color-accent-2); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin-block: var(--space-lg); font-size: var(--text-sm); }
.prose th, .prose td { padding: var(--space-xs) var(--space-sm); border-bottom: 1px solid var(--color-rule); text-align: left; }
.post-cta { margin-top: var(--space-2xl); padding: var(--space-lg); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-card); }
.post-cta h2 { margin-top: 0; }
.post-cta p { color: var(--color-muted); margin-block: var(--space-sm) var(--space-md); }
.app-blogs > * { max-width: none; }
.app-blog { margin-bottom: var(--space-3xl, 64px); max-width: 760px; }
.app-blog-head { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); }
.app-blog-head > div { flex: 1; min-width: 0; }
.app-blog-head img { border-radius: 12px; flex: none; }
.app-blog-head h2 { font-size: var(--text-title); letter-spacing: -0.02em; margin: 0; }
.app-blog-head h2 a { text-decoration: none; }
.app-blog-head p { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }
.blog-filter span { color: var(--color-muted); font-size: var(--text-sm); align-self: center; }
@media (max-width: 600px) { .app-blog-head { flex-wrap: wrap; } .app-blog-head > div { flex-basis: calc(100% - 72px); } }
.post h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.prose h2 { font-size: var(--text-title); letter-spacing: -0.02em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-block: var(--space-xs); }
.app-blog { margin-bottom: var(--space-2xl); }
