/* Hallmark · shape: map/diagram · genre: modern-minimal · theme: Dusk (by request) · job: hire · draw: none (sections fixed by the brief) · modes: dark+light · copy: verbatim
 * hero: Stage · nav: edge-aligned over the photograph, slate glass after · footer: mast over four columns (by request) · imagery: photographs, library 1, natural · signature: the coordination ledger in smoked navy glass over a fog valley · dusk: fog/gold (owner's brand)/glass
 * axes: dark/geometric-sans/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · dismissed 29 · the nav is the Dusk theme's slate glass once it leaves the photograph, not a glow or wash behind text */
/* Hallmark · dismissed 42 · the owner asked for four footer columns; the stamp names the mast above them */
/* Hallmark · answered F20 · the service lists are the owner's own set of nine items, kept at their true count */
/* Hallmark · finish-review: subagent, fix · 8 findings · 6 resolved · kept: Neurents mark (their own favicon.svg), placeholders (the owner asked for them) */
/* Hallmark · dismissed 49 · the six service tab names are the owner's own and must wrap on a 320px phone rather than overflow */
/* Hallmark · answered F4 · the gold fill on the chosen service tab is an 8px selection dot, not a second primary button */
/* Hallmark · answered F15 · every section split uses 64px; the smaller gaps sit inside the service panel and the process rows */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a dusk valley could front any firm; the ledger over it names this firm's own chain from client to third-party provider */
@import url("./tokens.css");
@import url("./base.css");

body { font-weight: var(--weight-regular); }
strong, b { font-weight: var(--weight-bold); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[data-slot] > img { filter: contrast(1.04) saturate(1.03); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* Controls: one gold pill, a ghost pill beside it */
.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 var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 35%, transparent); font: var(--weight-bold) 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(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-slate); box-shadow: none; }
@media (hover: hover) {
  .btn:hover { background: var(--color-accent-hi); border-color: var(--color-accent-hi); }
  .btn--ghost:hover { background: var(--color-paper-2); border-color: var(--color-ink); }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid color-mix(in oklab, currentColor 28%, transparent); border-radius: var(--radius-pill); background: transparent; color: inherit; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.icon-btn:active { transform: translateY(1px); }
.icon-btn:disabled { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) { .icon-btn:hover { background: color-mix(in oklab, currentColor 10%, transparent); } }
.icon-btn svg { width: 20px; height: 20px; }

/* Nav: sits on the photograph, turns to slate glass once it leaves it */
.nav { position: absolute; inset: 0 0 auto; z-index: var(--z-sticky-nav); color: var(--color-day-ink); border-bottom: var(--rule-hair) solid transparent; --color-focus: var(--color-day-ink); }
.js .nav { position: fixed; transition: background-color var(--dur-short) var(--ease-out); }
.nav.is-solid, .js .nav.is-open { background: var(--nav-glass); color: var(--color-ink); border-bottom-color: var(--color-rule); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); --color-focus: var(--color-accent-text); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); height: var(--nav-height); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; font-weight: var(--weight-bold); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.nav__end { display: flex; align-items: center; gap: var(--space-lg); }
.nav__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: var(--weight-medium); text-decoration: none; white-space: nowrap; }
.nav__links a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--color-accent); }
@media (hover: hover) { .nav__links a:hover { box-shadow: inset 0 -2px 0 currentColor; } }
.nav__tools { display: flex; gap: var(--space-xs); }
.nav__menu { display: none; }
html:not(.js) .theme-toggle, html:not(.js) .nav__menu { display: none; }

/* Logo and toggle icon follow the surface under them */
.logo--dark, .theme-toggle .icon-moon { display: none; }
.nav.is-solid .logo--light, .js .nav.is-open .logo--light { display: none; }
.nav.is-solid .logo--dark, .js .nav.is-open .logo--dark { display: block; }
:root[data-mode="light"] .nav .logo--light { display: block; }
:root[data-mode="light"] .nav .logo--dark, :root[data-mode="light"] .theme-toggle .icon-sun { display: none; }
:root[data-mode="light"] .theme-toggle .icon-moon { display: block; }

@media (max-width: 60rem) {
  .brand { font-size: var(--text-sm); }
  .brand img { width: 36px; height: 36px; }
  .js .nav__menu { display: inline-grid; }
  .nav__end { gap: var(--space-xs); }
  .js .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: var(--space-xs) var(--gutter) var(--space-md); background: var(--color-paper); color: var(--color-ink); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .js .nav.is-open .nav__links { display: flex; }
  .js .nav__links a { width: 100%; min-height: 48px; font-size: var(--text-md); }
  html:not(.js) .nav { position: static; background: var(--color-paper); color: var(--color-ink); }
  html:not(.js) .nav__row { height: auto; flex-wrap: wrap; padding-block: var(--space-xs); }
  html:not(.js) .nav__links { flex-wrap: wrap; gap: var(--space-md); }
}

/* Hero: the hour behind, the head on its palest part, the ledger in glass on its darker side */
.hero { position: relative; display: grid; align-items: center; min-height: max(40rem, 100svh); max-height: 67.5rem; color: var(--color-day-ink); background: var(--color-fog); isolation: isolate; }
.hero__photo { position: absolute; inset: 0; margin: 0; background: var(--color-fog); }
.hero [data-slot] > img { object-position: 50% 30%; }
.hero__scrim { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse 54% 52% at 22% 56%, color-mix(in oklab, var(--color-fog) 78%, transparent), color-mix(in oklab, var(--color-fog) 62%, transparent) 55%, transparent 100%); }
.hero__foot { position: absolute; inset: auto 0 0; z-index: 2; height: 14%; background: linear-gradient(to bottom, transparent, var(--color-paper)); }
.hero__grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; column-gap: var(--space-2xl); row-gap: var(--space-xl); padding-block: calc(var(--nav-height) + var(--space-lg)) var(--space-2xl); }
.hero h1 { font-size: var(--text-hero); line-height: 1.1; }
.hero h1 span { display: block; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-day-muted); font-weight: var(--weight-medium); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__text { --color-focus: var(--color-day-ink); }
.hero .btn--ghost { background: color-mix(in oklab, var(--color-light) 55%, transparent); color: var(--color-day-ink); border-color: color-mix(in oklab, var(--color-day-ink) 42%, transparent); }
@media (hover: hover) { .hero .btn--ghost:hover { background: color-mix(in oklab, var(--color-light) 80%, transparent); border-color: var(--color-day-ink); } }

.glass { background: var(--glass); border-radius: var(--radius-card); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35); backdrop-filter: blur(var(--glass-blur)) saturate(1.35); box-shadow: var(--glass-hi), var(--shadow-card); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: var(--color-navy); } }

.flow { margin: 0; min-width: 0; padding: var(--space-lg); color: var(--color-glass-ink); --color-focus: var(--color-glass-accent); }
.flow__title { margin: 0 0 var(--space-md); font-size: var(--text-lg); font-weight: var(--weight-bold); }
.flow ol, .flow ul { margin: 0; padding: 0; list-style: none; }
.flow__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-md); min-height: 80px; padding: var(--space-xs) var(--space-sm); }
.flow__row > svg { width: 24px; height: 24px; justify-self: center; color: var(--color-glass-accent); }
.flow__row > img { width: 40px; height: 40px; }
.flow__name { display: grid; gap: var(--space-3xs); min-width: 0; }
.flow__name strong { font-weight: var(--weight-bold); }
.flow__name span, .flow__who { color: var(--color-glass-muted); font-size: var(--text-sm); }
.flow__who { text-align: right; }
.flow__row--hub { background: var(--glass-gold); border-radius: var(--radius-inner); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-accent) 55%, transparent); }
.flow__row--hub .flow__who { color: var(--color-glass-accent); font-weight: var(--weight-bold); }
.flow__group { margin: var(--space-lg) 0 var(--space-2xs); padding: 0 var(--space-sm); color: var(--color-glass-muted); font-size: var(--text-sm); }
.flow__providers li + li { border-top: var(--rule-hair) solid var(--glass-row); }
.flow__providers a { color: inherit; text-decoration: none; border-radius: var(--radius-inner); transition: background-color var(--dur-short) var(--ease-out); }
.flow__providers a:active { background: var(--glass-gold); }
.flow__providers a:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .flow__providers a:hover { background: var(--glass-hover); } .flow__providers a:hover strong { text-decoration: underline; text-underline-offset: 0.2em; } }

/* One settle: the rows rise in once, from the client down */
@keyframes row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.flow li { animation: row-in var(--dur-long) var(--ease-out) backwards; }
.flow__chain li:nth-child(2) { animation-delay: 60ms; }
.flow__providers li:nth-child(1) { animation-delay: 120ms; }
.flow__providers li:nth-child(2) { animation-delay: 180ms; }
.flow__providers li:nth-child(3) { animation-delay: 240ms; }
@media (prefers-reduced-motion: reduce) { .flow li { animation: none; } }

@media (max-width: 75rem) {
  .flow { padding: var(--space-md); }
}
@media (max-width: 60rem) {
  .hero { max-height: none; }
  .hero h1 { font-size: clamp(2rem, 6.5vw, 3.5rem); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-bottom: var(--space-xl); }
  .hero__scrim { background: linear-gradient(to bottom, color-mix(in oklab, var(--color-fog) 46%, transparent), color-mix(in oklab, var(--color-fog) 80%, transparent) 45%, transparent 100%); }
}
@media (max-width: 40rem) {
  .hero__grid { padding-top: calc(var(--nav-height) + var(--space-xs)); row-gap: var(--space-md); }
  .hero h1 { font-size: clamp(1.625rem, 8.3vw, 2.25rem); line-height: 1.12; }
  .hero h1 span:nth-child(2), .hero h1 span:nth-child(3) { display: inline; }
  .hero .lead { margin-top: var(--space-sm); line-height: 1.45; }
  .actions { flex-wrap: nowrap; gap: var(--space-xs); margin-top: var(--space-md); }
  .actions .btn { flex: 1 1 auto; padding: 0 var(--space-sm); font-size: var(--text-sm); }
  .flow { padding: var(--space-sm); }
  .flow__title { margin-bottom: var(--space-2xs); padding: 0 var(--space-xs); font-size: var(--text-md); }
  .flow__row { grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: var(--space-sm); min-height: 44px; padding: var(--space-3xs) var(--space-xs); }
  .flow__row > svg { width: 20px; height: 20px; }
  .flow__row > img { width: 28px; height: 28px; }
  .flow__name span { display: none; }
  .flow__group { margin-top: var(--space-xs); padding: 0 var(--space-xs); }
}

/* Shared section furniture */
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: var(--space-lg); }
.head { margin-bottom: var(--space-2xl); }
.head .lead { margin-top: var(--space-md); color: var(--color-muted); }
.head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: var(--space-2xl); }
.head--split .lead { margin: 0; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-accent-text); font-weight: var(--weight-bold); text-decoration-line: underline; }
.textlink:active { transform: translateY(1px); }
@media (hover: hover) { .textlink:hover { text-decoration-thickness: 2px; } }
.linklike { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.16em; cursor: pointer; }
.linklike:active { transform: translateY(1px); }
.linklike:disabled { opacity: 0.55; cursor: not-allowed; }
.fill { color: color-mix(in oklab, currentColor 72%, transparent); }

/* About */
.about { padding-block: var(--section-gap-s); }
.roles-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; }
.roles-row > div { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.roles-row dt { font-size: var(--text-title); font-weight: var(--weight-bold); line-height: 1.25; }
.roles-row dd { margin: var(--space-xs) 0 0; color: var(--color-muted); }

/* Services: a ruled list of six, one bone well beside it */
.services { padding-block: var(--space-xl) var(--section-gap); }
.svc__side .head { margin-bottom: var(--space-xl); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-columns); align-items: start; }
.svc.is-ready { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); }
.svc__tabs { display: flex; flex-direction: column; }
.svc__tabs button { display: flex; align-items: center; gap: var(--space-sm); min-height: 56px; padding: var(--space-sm) var(--space-2xs); border: 0; border-bottom: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-muted); font: var(--weight-medium) var(--text-md)/1.35 var(--font-body); text-align: left; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.svc__tabs button .num { font-size: var(--text-sm); }
.svc__tabs button::before { content: ""; width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--radius-pill); }
.svc__tabs button[aria-selected="true"] { color: var(--color-ink); font-weight: var(--weight-bold); }
.svc__tabs button[aria-selected="true"]::before { background: var(--color-accent); }
.svc__tabs button:active { background: var(--color-paper-3); }
.svc__tabs button:focus-visible { outline-offset: -2px; }
.svc__tabs button:disabled { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) { .svc__tabs button:hover { color: var(--color-ink); } }
.svc__panels { display: grid; gap: var(--space-lg); min-width: 0; }
.svc__panel { padding: var(--space-xl); border: var(--rule-hair) solid var(--color-well-rule); border-radius: var(--radius-card); background: var(--color-well); color: var(--color-well-ink); --color-focus: var(--color-well-accent-text); }
.svc__panel > p { margin-top: var(--space-xs); color: var(--color-well-muted); }
.svc__panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); margin: var(--space-lg) 0 var(--space-md); padding: 0; list-style: none; }
.svc__panel li { padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-well-rule); }
.svc__panel .textlink { color: var(--color-well-accent-text); }
.svc.is-ready .svc__panel { min-height: 28rem; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.svc.is-ready .svc__panel.is-entering { animation: fade-in var(--dur-short) var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .svc.is-ready .svc__panel.is-entering { animation: none; } }

/* Technology partner: the navy band */
.partner { padding-block: var(--section-gap-s); background: var(--color-navy); color: var(--color-glass-ink); --color-focus: var(--color-glass-accent); }
.partner__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: var(--space-2xl); }
.partner .lead { margin: var(--space-lg) 0 var(--space-xl); color: var(--color-glass-muted); }
.partner .btn--ghost { color: var(--color-glass-ink); border-color: var(--color-glass-muted); }
@media (hover: hover) { .partner .btn--ghost:hover { background: var(--glass-hover); border-color: var(--color-glass-ink); } }
.partner__well { padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-well); color: var(--color-well-ink); box-shadow: var(--shadow-card); --color-focus: var(--color-well-accent-text); }
.neurents { display: inline-flex; align-items: center; gap: var(--space-md); min-height: 64px; text-decoration: none; }
.neurents span { display: grid; line-height: 1.15; }
.neurents strong { font-size: var(--text-2xl); font-weight: var(--weight-bold); letter-spacing: 0.02em; }
.neurents small { color: var(--color-well-muted); font-size: var(--text-md); }
.partner__well dl { margin: var(--space-lg) 0 0; }
.partner__well dl > div { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-well-rule); }
.partner__well dt { font-weight: var(--weight-bold); }
.partner__well dd { margin: var(--space-2xs) 0 0; color: var(--color-well-muted); }
.partner__note { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-well-rule); color: var(--color-well-muted); font-size: var(--text-sm); }

/* Jurisdictions: incorporation and licensing in separate columns */
.jurisdictions { padding-block: var(--section-gap); }
.jur { width: 100%; border-collapse: collapse; text-align: left; }
.jur th, .jur td { padding: var(--space-md) var(--space-lg) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: top; }
.jur thead th { color: var(--color-muted); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.jur thead th:nth-child(1) { width: 20%; }
.jur thead th:nth-child(2) { width: 32%; }
.jur tbody th { font-size: var(--text-lg); font-weight: var(--weight-bold); }
.jur td { color: var(--color-ink-2); }
.footnote { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }

/* Industries and process: who, in large type, beside how, as a connected ledger */
.advise { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.advise__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: var(--space-2xl); }
.industries__list { margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
.industries__list li { padding-block: var(--space-2xs); font-size: var(--text-2xl); font-weight: var(--weight-medium); line-height: 1.3; letter-spacing: var(--tracking-display); }
.process { margin: 0; padding: var(--space-lg) var(--space-xl); list-style: none; counter-reset: step; border-radius: var(--radius-card); background: var(--color-navy); color: var(--color-glass-ink); box-shadow: var(--shadow-card); }
.process li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--space-lg); padding-block: var(--space-lg); counter-increment: step; }
.process li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--color-accent); border-radius: var(--radius-pill); color: var(--color-glass-accent); font-size: var(--text-lg); font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; }
.process li:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: calc(var(--space-lg) + 48px); bottom: calc(-1 * var(--space-lg)); width: 1px; background: var(--color-accent); }
.process h3 { align-self: center; }
.process p { margin-top: var(--space-2xs); color: var(--color-glass-muted); }

/* Why */
.why { padding-block: var(--section-gap-l); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: var(--space-2xl); }
.why h2 { position: sticky; top: calc(var(--nav-height) + var(--space-lg)); }
.why ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.why li { padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-title); font-weight: var(--weight-medium); line-height: 1.3; }

/* Contact: the same evening, further down the valley, with the form in glass */
.contact { position: relative; isolation: isolate; padding-block: var(--section-gap-s); color: var(--color-glass-ink); background: var(--color-navy); --color-focus: var(--color-glass-accent); }
.contact__photo { position: absolute; inset: 0; margin: 0; background: var(--color-navy); }
.contact [data-slot] > img { top: auto; bottom: 0; height: 150%; object-position: 50% 100%; }
.contact__scrim { position: absolute; inset: 0; z-index: 2; background: var(--color-scrim-navy); }
:root:not([data-mode="light"]) .contact__scrim::before, :root:not([data-mode="light"]) .contact__scrim::after { content: ""; position: absolute; left: 0; right: 0; height: 10%; }
:root:not([data-mode="light"]) .contact__scrim::before { top: 0; background: linear-gradient(to bottom, var(--color-paper), transparent); }
:root:not([data-mode="light"]) .contact__scrim::after { bottom: 0; background: linear-gradient(to top, var(--color-paper), transparent); }
.contact__grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: var(--space-2xl); }
.contact .lead { margin-top: var(--space-lg); color: var(--color-glass-ink); }
.channels { margin: var(--space-2xl) 0 0; }
.channels > div { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--glass-row); }
.channels dt { color: var(--color-glass-muted); font-size: var(--text-sm); }
.channels dd { margin: var(--space-2xs) 0 0; font-size: var(--text-lg); overflow-wrap: anywhere; }
.channels a { display: inline-block; min-height: 32px; white-space: nowrap; }

.form { padding: var(--space-xl); }
.noscript { padding: var(--space-lg); }
html:not(.js) .form { display: none; }
.form__hint { margin-bottom: var(--space-md); color: var(--color-glass-muted); font-size: var(--text-sm); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-md); }
.field { display: grid; align-content: start; gap: var(--space-2xs); min-width: 0; margin-bottom: var(--space-2xs); }
.field > label:not(.consent-line), .checks legend { font-size: var(--text-sm); font-weight: var(--weight-medium); }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-slate); border-radius: var(--radius-input); background: var(--glass-field); color: var(--color-glass-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; }
.field textarea { min-height: 8rem; padding-block: var(--space-sm); resize: vertical; }
.field select option { background: var(--color-well); color: var(--color-well-ink); }
.field input:not([type="checkbox"]):focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; }
@media (hover: hover) { .field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { background: var(--glass-hover); } }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field input[aria-invalid="true"]:not([type="checkbox"]), .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--color-error-glass); }
.field__help { min-height: 1lh; color: var(--color-error-glass); font-size: var(--text-sm); }
.checks { min-width: 0; margin: 0 0 var(--space-2xs); padding: 0; border: 0; }
.checks legend { margin-bottom: var(--space-2xs); padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: var(--space-sm); width: calc(50% - var(--space-xs)); min-height: 44px; margin-right: var(--space-2xs); vertical-align: top; cursor: pointer; }
.checks input, .consent-line input, .prefs input { width: 20px; height: 20px; flex-shrink: 0; margin: 0; accent-color: var(--color-accent); }
.consent-line { display: flex; align-items: flex-start; gap: var(--space-sm); min-height: 44px; padding-top: var(--space-xs); font-size: var(--text-sm); cursor: pointer; }
.consent-line input { margin-top: var(--space-3xs); }
.consent-line a { white-space: nowrap; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__status { min-height: 1lh; margin-top: var(--space-sm); }
.form__status[data-state="error"] { color: var(--color-error-glass); }
.form__status[data-state="success"] { color: var(--color-success-glass); }
.form__fallback { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.form .textlink { color: var(--color-glass-accent); }

/* Footer */
.footer { padding-block: var(--section-gap-s) var(--space-xl); background: var(--color-paper); --color-focus: var(--color-accent-text); }
.footer__mast { display: flex; align-items: center; gap: var(--space-lg); }
.footer__mast img { width: 88px; height: 88px; flex-shrink: 0; }
.logo--footer-light, :root[data-mode="light"] .logo--footer-dark { display: none; }
:root[data-mode="light"] .logo--footer-light { display: block; }
.footer__name { font-size: var(--text-display-s); font-weight: var(--weight-bold); letter-spacing: var(--tracking-display); line-height: 1.1; }
.footer__line { margin-top: var(--space-xs); font-size: var(--text-lead); font-weight: var(--weight-medium); }
.footer__sub { color: var(--color-muted); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.footer__label { margin-bottom: var(--space-sm); font-weight: var(--weight-bold); }
.footer__cols ul { margin: 0; padding: 0; list-style: none; }
.footer__cols a { display: inline-flex; align-items: center; min-height: 36px; color: var(--color-ink-2); text-decoration: none; overflow-wrap: anywhere; }
.footer__connect { margin: 0; }
.footer__connect dt { color: var(--color-muted); font-size: var(--text-sm); }
.footer__connect dd { margin: 0 0 var(--space-xs); color: var(--color-ink-2); }
@media (hover: hover) { .footer a:hover { color: var(--color-ink); text-decoration: underline; } }
.footer__disclaimer { padding-right: max(0px, calc(100% - 75ch)); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-lg); font-size: var(--text-sm); }
.footer__base ul { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.footer__base a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__credits { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-xs); }

/* Cookie notice and preferences */
.consent { position: fixed; inset: auto 0 0; z-index: var(--z-toast); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-lg); padding: var(--space-sm) var(--gutter); background: var(--color-paper-2); color: var(--color-ink); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); --color-focus: var(--color-accent-text); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.consent .btn { min-height: 44px; font-size: var(--text-sm); }
.prefs { width: min(32rem, calc(100% - 2 * var(--space-md))); max-height: min(80dvh, 40rem); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); --color-focus: var(--color-accent-text); }
.prefs::backdrop { background: var(--color-scrim); }
.prefs__title { margin-bottom: var(--space-md); font-size: var(--text-xl); font-weight: var(--weight-bold); }
.prefs label { display: flex; align-items: flex-start; gap: var(--space-sm); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.prefs label strong { display: block; }
.prefs__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }

/* Legal and error pages */
.doc { padding-block: calc(var(--nav-height) + var(--space-3xl)) var(--section-gap-s); }
.doc h1 { font-size: var(--text-display-s); }
.doc__updated { margin-top: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); }
.doc__body { max-width: 68ch; margin-top: var(--space-2xl); line-height: 1.7; }
.doc__body h2 { margin: var(--space-2xl) 0 var(--space-sm); font-size: var(--text-xl); }
.doc__body p, .doc__body ul { margin: 0 0 var(--space-md); }
.doc__body ul { padding-left: var(--space-lg); }
.doc__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

@media (max-width: 75rem) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  .head--split, .partner__grid, .advise__grid, .why__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .head--split .lead { margin-top: var(--space-md); }
  .partner__grid { gap: var(--space-2xl); }
  .roles-row, .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc.is-ready { grid-template-columns: minmax(0, 1fr); }
  .svc__side .head { margin-bottom: var(--space-lg); }
  .svc__tabs button { min-height: 48px; }
  .svc.is-ready .svc__panel { min-height: 0; }
  .why h2 { position: static; }
}
@media (max-width: 40rem) {
  .roles-row, .footer__cols, .why ul, .form__grid, .svc__panel ul { grid-template-columns: minmax(0, 1fr); }
  .why li { padding-block: var(--space-md); }
  .industries__list li { font-size: var(--text-xl); }
  .process { padding: var(--space-xs) var(--space-md); }
  .process li { column-gap: var(--space-md); }
  .checks label { width: 100%; margin-right: 0; }
  .channels dd { font-size: var(--text-md); }
  .svc__panel, .partner__well, .form { padding: var(--space-lg) var(--space-md); }
  .footer__mast { flex-direction: column; align-items: flex-start; }
  .consent { gap: var(--space-2xs); padding-block: var(--space-xs); font-size: var(--text-xs); }
  .consent__actions { width: 100%; flex-wrap: nowrap; justify-content: space-between; }
  .consent .btn { flex: 1 1 auto; padding: 0 var(--space-sm); font-size: var(--text-xs); }
  .jur thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .jur, .jur tbody, .jur tr, .jur th, .jur td { display: block; width: 100%; }
  .jur tr { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .jur th, .jur td { padding: var(--space-3xs) 0; border: 0; }
  .jur td::before { content: attr(data-label); display: block; margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }
}

/* Native controls inside the dark glass stay dark in both modes */
.contact { color-scheme: dark; }
