/* Hallmark · shape: custom (product home, products, company) · genre: modern-minimal · theme: brand
 * paper: oklch(99.4% 0.005 230) · accent: oklch(43.6% 0.155 5) · display: Archivo 800 · body: Archivo 400 · hero: Corridor, the tagline centred over the real run · nav: edge-aligned, wordmark and two tabs, GitHub and Download at the far edge · footer: mast, the wordmark over three short link groups · signature: the cog of the Acogni wordmark, turning: one cog, a gear train, a planetary gear driven by the Acogni cog
 * axes: light/grotesk-heavy/chromatic-ruby · posture: restrained · contrast: pass · fold: pass · job: try (download PDO) and enquire (quote for Acogni Driver) · imagery: captures 12 and one still, filmed in 1080p on Acogni Driver 0.83.0 with mock data, no window chrome · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E5 S5 R4 V4 · weakest: V, the captures show the app in its dark theme on a light page; each sits in a framed shot, so it reads as the product, not as a dark band of the page */
/* Hallmark · waive 80 · every drawing reuses the wm-cog path of the Acogni Driver lockup, the brand's own logo · one cog, a gear train and a planetary gear carry the individual, team and company story of the Acogni pages */
/* Hallmark · waive 64 · mono only on the brew command and the PDO wordmark, both code or the logo · Geist Mono is the face the PDO app itself sets for code */
/* Hallmark · answered F15 · the hero splits keep 96px between text and picture, card grids keep the 32px column gap, the 40px gap is the Ignition equation's operators */
/* Hallmark · dismissed 42 · the nav is named in the stamp: wordmark, Products and Acogni tabs, GitHub and Download as the brief asks */
/* Hallmark · dismissed 49 · the tour tabs carry a title and a line by design; the tab shows the title, the line is the caption under the screen */
/* Hallmark · waive 79 · the hero is a Corridor whose picture, the run canvas, starts at y 600 under the actions · the Acogni Driver home opens like the app it sells: the head, then the real run filling the rest of the fold */
/* Hallmark · waive 44c · the measured hero is the text block, the run capture below it fills the fold and runs past it · the Acogni Driver capture is the hero's picture, set under the head as the brief's Orca reference does */
/* Hallmark · waive 59 · the 12px gap lies inside the hero section, between the hero text and its own run capture; the other section gaps measure 133 to 308px · the run capture belongs to the hero, as on the Orca page the brief names */
/* Hallmark · waive 77 · the Acogni page's closing band is one line and two actions, once on that page · the company page ends on the quote, as the anatomy of an enquiry asks */
/* Hallmark · dismissed 58 · products, 93 words: the two cards carry the user's own product lines and the seven Acogni Driver items asked for at review, no other text on that screen */
/* Hallmark · dismissed 58 · home, about 100 words at 1440: the screen straddles the tour's caption (the Pipelines line, 31 words, the user's own at review) and the Ignition head; each section alone stays under 80 */
/* Hallmark · waive 39b · the 28px buttons are the review layer's option chips, loaded from review/ and absent from the site · prototype chrome the review removes */
/* Hallmark · answered F19 · Archivo is the app's variable face: 400 body, 500 and 600 for UI labels as the app sets them, 800 for display as the review chose */
/* Hallmark · dismissed render · the latin-ext subset of Archivo stays unloaded because no glyph needs it; the latin file loads with status 200 and font/woff2 */
@import url("./tokens.css");
@import url("./base.css");

/* ---------------------------------------------------------------- page */
body { font-weight: var(--body-weight); }
h1, h2, h3 { font-weight: var(--display-weight); }
h3 { letter-spacing: -0.02em; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-tooltip); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.lead { color: var(--color-ink-2); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head h2 { max-width: 22ch; }
.head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--gap-columns); }
.head--split .lead { justify-self: end; }
.ico { width: 16px; height: 16px; flex-shrink: 0; }
.link { color: var(--color-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-rule-strong); text-underline-offset: 0.25em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover { text-decoration-color: var(--color-accent); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding-inline: var(--space-lg); border: 1px solid transparent; border-radius: var(--radius-ui); font-family: var(--font-body); font-size: var(--text-md); font-weight: 650; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hi); }
.btn--secondary { background: transparent; color: var(--color-ink); border-color: var(--color-rule-strong); }
.btn--secondary:hover { border-color: var(--color-ink); }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.btn--quiet:hover { border-color: var(--color-rule-strong); background: var(--color-paper-2); }
.btn--two { padding-block: var(--space-2xs); }
.btn__label { display: grid; justify-items: start; line-height: 1.15; }
.btn__sub { font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }
.btn--sm { min-height: 36px; padding-inline: var(--space-md); font-size: var(--text-sm); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.actions--center { justify-content: center; }
.terms { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-rule-2); }
.nav__inner { display: flex; align-items: center; gap: var(--space-xl); min-height: 64px; }
.nav__brand { display: inline-flex; color: var(--color-ink); border-radius: var(--radius-ui); }
.nav__brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.wordmark { height: 26px; width: auto; aspect-ratio: 7200 / 2100; }
.wm-tri { stroke: var(--color-accent); }
.wm-cog { transform-box: fill-box; transform-origin: center; transition: transform var(--dur-long) var(--ease-out); }
.nav__brand:hover .wm-cog { transform: rotate(30deg); }
.nav__links { display: flex; gap: var(--space-lg); }
.nav__links a { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 550; text-decoration: none; padding-block: var(--space-xs); border-bottom: 2px solid transparent; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); }
.nav__links a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.nav__links a:focus-visible, .nav__gh:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.nav__end { display: flex; align-items: center; gap: var(--space-md); margin-left: auto; }
.nav__gh { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 550; text-decoration: none; }
.nav__gh:hover { color: var(--color-ink); }

/* ---------------------------------------------------------------- the product shot */
.shot { margin: 0; position: relative; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; box-shadow: 0 1px 2px var(--color-shade); }
.shot > video, .shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.playtoggle { position: absolute; right: var(--space-sm); bottom: var(--space-sm); z-index: var(--z-raised); display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-ui); background: color-mix(in oklab, var(--color-paper) 85%, transparent); color: var(--color-ink); cursor: pointer; opacity: 0.8; transition: opacity var(--dur-short) var(--ease-out); }
.playtoggle:hover, .playtoggle:focus-visible { opacity: 1; }
.playtoggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------------------------------------------------------------- emblems: the cog, the train, the planetary gear */
/* They keep still. site.js turns them for under five seconds when they come into view or under the pointer. */
.emblem { width: 100%; height: auto; color: var(--color-ink); overflow: visible; --spin: 12s; }
.em-tri { stroke: var(--color-accent); }
.em-spin { transform-box: fill-box; transform-origin: center; animation: spin var(--spin) linear infinite; animation-play-state: paused; }
.em-spin.ccw { animation-name: spin-rev; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* The planetary gear. The logo turns with a sun gear of 32 teeth that drives four planets of 20 on fixed axles; the ring of 72 turns back:
   the planets at 32/20 of the sun, the ring at 32/72. Drawn as an engineer's plan: three line weights, centre lines, pitch circles.
   The small version (.pg-sm, the enterprise tab) keeps the outlines only, in a heavier line. */
.pg-sun { animation-duration: var(--spin); }
.pg-planet { animation-name: spin-rev; animation-duration: calc(var(--spin) * 0.625); }
.pg-ringspin { animation-name: spin-rev; animation-duration: calc(var(--spin) * 2.25); }
.pg-opt-a .pa-main { fill: none; stroke: var(--color-ink-2); stroke-width: 20; stroke-linejoin: round; }
.pg-opt-a .pa-det { fill: none; stroke: var(--color-muted); stroke-width: 14; }
.pg-opt-a .pa-hair { fill: none; stroke: var(--color-rule-strong); stroke-width: 10; }
.pg-opt-a .pa-pitch { fill: none; stroke: var(--color-rule-strong); stroke-width: 10; stroke-dasharray: 60 30; }
.pg-opt-a .pa-centre { fill: none; stroke: var(--color-rule-strong); stroke-width: 10; stroke-dasharray: 160 40 24 40; }
.pg-opt-a .pa-pin { fill: var(--color-muted); }
.pg-sm .pa-main { stroke-width: 58; }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: var(--space-3xl); }
.hero__title { font-size: var(--text-display); line-height: 1.02; }
.hero-a { display: grid; justify-items: center; text-align: center; }
.hero-a__text { display: grid; justify-items: center; gap: var(--space-lg); max-width: 60rem; }
/* the tagline holds on one line at every width: its size follows the container, 16 of its em fit across */
.hero-a .hero__title { max-width: none; white-space: nowrap; font-size: min(4.25rem, calc((100vw - 2 * var(--gutter)) / 16)); }
.hero-a .lead { max-width: 54ch; text-wrap: balance; }
.shot--hero-a { width: min(100%, 1180px); aspect-ratio: 16 / 9; margin-top: var(--space-2xl); }

/* ---------------------------------------------------------------- tour */
.tour { padding-top: var(--section-gap); }
.tour__ui { display: grid; gap: var(--space-xl); }
.tour__tabs { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-2xs); }
.tour__tabs li[data-picked="false"] { display: none; }
.tour__tabs button { position: relative; display: grid; gap: var(--space-2xs); padding: var(--space-sm) var(--space-md); border: 1px solid transparent; border-radius: var(--radius-ui); background: transparent; color: var(--color-muted); font: inherit; font-size: var(--text-sm); font-weight: 600; text-align: left; cursor: pointer; overflow: hidden; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.tour__tabs button:hover { color: var(--color-ink); }
.tour__tabs button[aria-selected="true"] { color: var(--color-ink); background: var(--color-paper-2); border-color: var(--color-rule); }
.tour__tabs button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tour__d { display: none; font-weight: 400; color: var(--color-ink-2); }
.tour__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-accent); transform-origin: left center; transform: scaleX(var(--p, 0)); }
.tour__tabs button[aria-selected="false"] .tour__bar { transform: scaleX(0); }
.tour__stage { position: relative; display: grid; gap: var(--space-md); width: min(100%, 1120px); margin-inline: auto; }
.tour__panel { aspect-ratio: 16 / 9; }
.tour__caption { justify-self: center; max-width: 60ch; font-size: var(--text-lead); color: var(--color-ink-2); text-align: center; min-height: 1.5em; text-wrap: balance; }
.tour__s { display: block; }
.tour__small { display: block; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.tour__pause { justify-self: center; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 36px; padding-inline: var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-ui); background: transparent; color: var(--color-ink-2); font: inherit; font-size: var(--text-sm); cursor: pointer; }
.tour__pause:hover { color: var(--color-ink); border-color: var(--color-rule-strong); }
.tour__pause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tour__pause[aria-pressed="true"] { color: var(--color-accent); border-color: var(--color-accent); }
html:not(.js) .tour__caption, html:not(.js) .tour__pause { display: none; }

/* ---------------------------------------------------------------- ignition */
.ignition { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); background: var(--color-paper-2); border-block: 1px solid var(--color-rule-2); }
.ignition .head h2 { max-width: 18ch; }
.ignition .head .lead { max-width: 60ch; }
.eq { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.25fr); align-items: start; gap: var(--space-xl); }
.eq__side { display: grid; gap: var(--space-md); }
.eq__side p { color: var(--color-ink-2); }
.lockup { display: flex; align-items: center; gap: var(--space-md); font-size: var(--text-xl); letter-spacing: -0.02em; }
.mark { flex: none; width: 64px; height: 64px; color: var(--color-ink); }
.mark__acc { fill: var(--color-accent); }
.eq__op { align-self: start; margin-top: var(--space-2xs); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-section); line-height: 1; color: var(--color-muted); }

/* ---------------------------------------------------------------- audiences */
.aud { padding-block: var(--section-gap); }
.switch { display: grid; gap: var(--space-xl); }
.switch__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.switch__tabs button { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--space-md); align-items: center; padding: var(--space-lg); border: 1px solid var(--color-rule); border-top: 2px solid var(--color-rule); border-radius: var(--radius-ui); background: transparent; color: var(--color-ink-2); font: inherit; text-align: left; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.switch__tabs button:hover { color: var(--color-ink); border-color: var(--color-rule-strong); }
.switch__tabs button[aria-selected="true"] { color: var(--color-ink); background: var(--color-paper-2); border-top-color: var(--color-accent); }
.switch__tabs button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.switch__em { grid-row: 1 / 3; width: 72px; }
.switch__t { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-title); letter-spacing: -0.02em; line-height: 1.15; }
.switch__d { font-size: var(--text-sm); color: var(--color-muted); }
.switch__brand { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); font-weight: 600; }
.switch__brand .mark { width: 20px; height: 20px; }
.switch__brand .pdo-mark { width: 40px; height: 20px; }
.brand-pdo { font-family: var(--font-outlier); letter-spacing: -0.02em; }
.switch__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; min-height: 460px; }
.switch__text { display: grid; gap: var(--space-lg); justify-items: start; }
.switch__panel .shot { aspect-ratio: 16 / 9; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.ticks li { position: relative; padding-left: var(--space-lg); color: var(--color-ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--color-accent); }

/* ---------------------------------------------------------------- close */
.close { padding-bottom: var(--section-gap); }
.doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--color-rule); }
.door { display: grid; align-content: start; gap: var(--space-lg); padding: var(--space-2xl) var(--space-2xl) var(--space-2xl) 0; }
.door--driver { padding: var(--space-2xl) 0 var(--space-2xl) var(--space-2xl); border-left: 1px solid var(--color-rule); }
.door__title { font-size: var(--text-section); max-width: 14ch; }
.door p { color: var(--color-ink-2); }
.cmd { display: inline-flex; align-items: center; justify-self: start; max-width: 100%; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-ui); background: var(--color-paper-2); }
.cmd code { min-width: 0; padding: var(--space-sm) var(--space-md); font-family: var(--font-outlier); font-size: var(--text-md); white-space: nowrap; overflow-x: auto; }
.cmd__copy { align-self: stretch; display: inline-grid; place-items: center; width: 48px; border: 0; border-left: 1px solid var(--color-rule-strong); background: transparent; color: var(--color-ink-2); cursor: pointer; }
.cmd__copy:hover { color: var(--color-ink); background: var(--color-paper-3); }
.cmd__copy:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.cmd__copy[data-done] { color: var(--color-done); }
.band { color: var(--color-ink); background: var(--color-paper-3); border-block: 1px solid var(--color-rule); padding-block: var(--section-gap-s); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xl); }
.band__title { font-size: var(--text-section); max-width: 16ch; }

/* ---------------------------------------------------------------- footer */
.foot { padding-block: var(--space-3xl) var(--space-2xl); border-top: 1px solid var(--color-rule); }
.foot__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl) var(--gap-columns); }
.foot__mark { display: inline-flex; justify-self: start; color: var(--color-ink); }
.foot__mark .wordmark { height: clamp(48px, 6vw, 88px); }
.foot__mark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.foot__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); align-self: end; }
.foot__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); align-content: start; }
.foot__links a { color: var(--color-ink-2); text-decoration: none; }
.foot__links a:hover { color: var(--color-ink); text-decoration: underline; }
.foot__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__legal { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule-2); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------------------------------------------------------------- products */
.prods { padding-block: var(--space-2xl) var(--section-gap); }
.prod__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); }
.prod { display: grid; grid-template-rows: auto auto auto auto 1fr auto; align-content: start; gap: var(--space-lg); padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.prod--driver { background: var(--color-paper-2); }
.prod__logo { display: flex; align-items: center; gap: var(--space-sm); height: 40px; color: var(--color-ink); }
.prod__logo .pdo-mark { height: 30px; width: 60px; }
.pdo-mark__run { fill: var(--color-accent); }
.prod__pdo { font-family: var(--font-outlier); font-weight: 600; font-size: 1.875rem; letter-spacing: -0.02em; line-height: 1; }
.prod__lockup { display: inline-flex; align-items: center; gap: var(--space-sm); height: 30px; }
.prod__lockup .wordmark { height: 30px; }
.pill { height: 22px; width: auto; aspect-ratio: 3250 / 1290; }
.pill__t { font-family: var(--font-body); }
.prod__title { font-size: var(--text-section); max-width: 14ch; }
.prod__for { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 44ch; }
.prod .shot { aspect-ratio: 16 / 9; align-self: end; }
.prod > *, .door > * { min-width: 0; max-width: 100%; }
.prod__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }

.compare { padding-block: var(--space-2xl) var(--section-gap); background: var(--color-paper-2); border-block: 1px solid var(--color-rule-2); }
.table-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-rule); text-align: left; }
.cmp thead th { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); white-space: nowrap; }
.cmp tbody th { font-weight: 600; color: var(--color-ink); }
.cmp td { width: 22%; color: var(--color-ink-2); }
.cmp thead th:not(:first-child) { width: 22%; }
.ico--check { width: 20px; height: 20px; color: var(--color-accent); }
.ico--dash { width: 20px; height: 20px; color: var(--color-rule-strong); }

.quote { padding-block: var(--section-gap); }
.quote__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.quote__head { display: grid; gap: var(--space-md); position: sticky; top: calc(64px + var(--space-xl)); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); }
.field { display: grid; gap: var(--space-xs); }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-ui); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); }
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -1px; }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.form__note { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------------------------------------------------------------- acogni */
.ahero { padding-block: var(--space-3xl) var(--space-3xl); }
.ahero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; min-height: calc(100svh - 64px - 2 * var(--space-3xl)); }
.ahero__text { display: grid; gap: var(--space-lg); }
.ahero__gear { width: min(100%, 520px); justify-self: center; }
.ahero__em { width: 100%; }
.ahero__lead { font-size: var(--text-2xl); line-height: 1.3; max-width: 26ch; color: var(--color-ink-2); }
.story { padding-block: var(--section-gap-s); border-top: 1px solid var(--color-rule-2); }
.story__inner { display: grid; gap: var(--space-xl); }
.story__p { font-size: var(--text-2xl); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; max-width: 34ch; color: var(--color-ink-2); }
.story__p--end { padding-top: var(--space-xl); border-top: 2px solid var(--color-accent); max-width: 30ch; font-weight: 700; color: var(--color-ink); }
.why__title { font-size: var(--text-display); line-height: 1.02; max-width: 14ch; }
.why { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-paper-2); border-block: 1px solid var(--color-rule-2); }
.makes { padding-top: var(--section-gap-s); }
.why-a { display: grid; gap: var(--space-3xl); }
.why-a__p { font-family: var(--font-display); font-size: var(--text-section); line-height: 1.12; font-weight: var(--display-weight); letter-spacing: -0.03em; max-width: 26ch; color: var(--color-ink); }
.why-a__p:nth-child(2) { justify-self: end; }
.why-a__p:nth-child(3) { font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.015em; max-width: 46ch; color: var(--color-ink-2); }
.makes { padding-bottom: var(--section-gap); }
.makes h2 { margin-bottom: var(--space-2xl); }
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.index a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.index a:hover { background: var(--color-paper-2); }
.index a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.index__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-title); letter-spacing: -0.02em; }
.index__line { color: var(--color-ink-2); font-size: var(--text-lead); }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .em-spin { animation: none; }
  .wm-cog, .btn, .link { transition: none; }
}

/* ---------------------------------------------------------------- small screens */
@media (max-width: 60rem) {
  .nav__links { gap: var(--space-md); }
  .nav__gh span { display: none; }
  .head--split { grid-template-columns: minmax(0, 1fr); }
  .head--split .lead { justify-self: start; }
  .tour__tabs { justify-content: start; flex-wrap: nowrap; overflow-x: auto; }
  .eq { grid-template-columns: minmax(0, 1fr); }
  .eq__op { margin: 0; }
  .switch__panel, .duo, .quote__inner, .ahero__inner, .foot__inner { grid-template-columns: minmax(0, 1fr); }
  .switch__tabs { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door, .door--driver { padding: var(--space-xl) 0; border-left: 0; }
  .door--driver { border-top: 1px solid var(--color-rule); }
  .quote__head { position: static; }
  .ahero__gear { justify-self: start; width: min(100%, 320px); }
  .why-a__p:nth-child(2) { justify-self: start; }
  .ahero__inner { min-height: 0; }
  .index a { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
}
@media (max-width: 40rem) {
  .nav__inner { gap: var(--space-sm); }
  .nav__links { gap: var(--space-sm); }
  .nav__end { gap: var(--space-xs); }
  .nav__gh { display: none; }
  .nav__end .btn { padding-inline: var(--space-sm); }
  .nav__end .btn span { display: none; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .foot__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .switch__panel { min-height: 0; }
  .prod { padding: var(--space-lg); }
  .prod__groups { grid-template-columns: minmax(0, 1fr); }
}
