/* EXZAI — design tokens (docs/SPEC.md §2) */
:root {
  --navy-950: #081627;
  --navy-900: #10243a;
  --navy-800: #183251;
  --teal-500: #15c6b1;
  --teal-700: #0e8c7e; /* AA on light backgrounds */
  --cobalt-500: #4477ff;
  --paper: #f7f9fc;
  --white: #ffffff;
  --slate-900: #1b2b3d;
  --slate-600: #526477;
  --slate-300: #9fb2c6;
  --line: #dce5ed;
  --line-dark: #24405f;
  --amber-700: #8a5a00;
  --amber-50: #fff6e0;

  --font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(8, 22, 39, .04), 0 8px 24px rgba(8, 22, 39, .06);
  --gutter: 16px;
  --header-h: 64px;
  --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--cobalt-500);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-600);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3 { color: var(--navy-950); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-950); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
main:focus { outline: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal-500); color: var(--navy-950); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }
.icon-lg { width: 32px; height: 32px; }
.mono-label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); margin: 0 0 .5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.2rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1.2 var(--font-ui); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--teal-500); color: var(--navy-950); }
.btn-primary:hover { background: #3fd8c6; color: var(--navy-950); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { border-color: var(--teal-500); color: var(--white); }
.btn-outline { border-color: var(--navy-950); color: var(--navy-950); }
.btn-outline:hover { background: var(--navy-950); color: var(--white); }
.btn:disabled, fieldset:disabled .btn { opacity: .55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; color: var(--teal-700); }
.link-arrow:hover { color: var(--navy-950); gap: .55rem; }

/* ---------- header ---------- */
/* No backdrop-filter here: it would become the containing block of the fixed mobile drawer. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-950); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark-name { font-weight: 800; font-size: 1.45rem; letter-spacing: .08em; color: var(--white); }
.wordmark-sub { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-500); margin-top: 4px; }
.wordmark:hover .wordmark-name { color: var(--teal-500); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; color: var(--white); cursor: pointer; }
.nav-toggle .nav-toggle-close, .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

/* mobile drawer */
.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-950);
  display: flex; flex-direction: column; overflow-y: auto; padding: 1rem var(--gutter) 0;
  visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
.no-js .site-nav { position: static; visibility: visible; opacity: 1; transform: none; }
.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js .site-nav { width: 100%; }
.no-js .mega { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.nav-list > li { border-bottom: 1px solid var(--line-dark); }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; gap: .35rem; width: 100%;
  padding: .95rem 0; background: none; border: 0; color: var(--white); text-decoration: none;
  font: 600 1.05rem var(--font-ui); cursor: pointer; text-align: left;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--teal-500); }
.menu-toggle .icon { transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mega { display: none; padding: 0 0 1rem; }
.mega.is-open { display: block; }
.mega-intro p { color: var(--slate-300); font-size: .92rem; }
.mega-intro .mono-label { color: var(--teal-500); }
.mega-intro .link-arrow { color: var(--teal-500); }
.mega-links { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .1rem; }
.mega-links a { display: block; padding: .5rem .75rem; border-radius: var(--radius-sm); color: var(--white); text-decoration: none; border-left: 2px solid var(--line-dark); }
.mega-links a:hover { color: var(--teal-500); border-left-color: var(--teal-500); background: rgba(255, 255, 255, .04); }
.nav-actions {
  position: sticky; bottom: 0; display: flex; flex-direction: column; gap: .75rem;
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom)); background: var(--navy-950); border-top: 1px solid var(--line-dark);
}
.locale-switch { display: inline-flex; gap: .25rem; align-self: flex-start; padding: 3px; border: 1px solid var(--line-dark); border-radius: 999px; }
.locale-switch a { font-family: var(--font-mono); font-size: .8rem; padding: .35rem .7rem; border-radius: 999px; color: var(--slate-300); text-decoration: none; }
.locale-switch a[aria-current="true"] { background: var(--teal-500); color: var(--navy-950); font-weight: 700; }
.locale-switch a:hover:not([aria-current="true"]) { color: var(--white); }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; visibility: visible; opacity: 1; transform: none; flex-direction: row; align-items: center;
    gap: 1.25rem; padding: 0; overflow: visible; background: none;
  }
  .nav-list { display: flex; gap: 1.1rem; flex: none; }
  .nav-list > li { border: 0; position: relative; }
  .nav-link { padding: .5rem 0; font-size: .93rem; width: auto; }
  .mega {
    position: absolute; top: calc(100% + 14px); left: -24px; width: min(640px, 80vw);
    display: none; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.5rem;
    background: var(--navy-900); border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  }
  .mega.is-open { display: grid; }
  .no-js .site-nav { width: auto; }
  .no-js .mega { display: none; }
  .no-js .has-menu:hover .mega, .no-js .has-menu:focus-within .mega { display: grid; }
  .mega-links { margin: 0; }
  .nav-actions { position: static; flex-direction: row; align-items: center; padding: 0; border: 0; background: none; }
  .nav-actions .btn { min-height: 42px; padding: .55rem 1rem; font-size: .9rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--slate-300);
  background:
    radial-gradient(circle at 85% 20%, rgba(21, 198, 177, .12), transparent 40%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero-inner { position: relative; padding: 3.5rem var(--gutter) 4rem; display: grid; gap: 2.5rem; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero-split h1 { max-width: 20ch; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 60ch; color: #c9d6e3; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 1rem; }
.eyebrow-dark { color: var(--teal-700); }
.hero-trust { color: var(--slate-300); margin-top: 1.75rem; }
.hero-visual { display: flex; justify-content: center; }
.hero-404 .hero-inner { min-height: 50vh; align-content: center; }
@media (min-width: 900px) {
  .hero-inner { padding: 5.5rem var(--gutter) 6rem; }
  .hero-split { grid-template-columns: 1.15fr .85fr; align-items: center; }
}

/* hero layers diagram */
.hero-diagram { width: 100%; max-width: 440px; height: auto; }
.hero-diagram .grid circle { fill: rgba(255, 255, 255, .12); }
.hero-diagram .layer rect { fill: rgba(16, 36, 58, .9); stroke: var(--line-dark); stroke-width: 1.5; }
.hero-diagram .layer-0 rect { stroke: var(--teal-500); }
.hero-diagram .layer-1 rect { stroke: #2fa3b8; }
.hero-diagram .layer-2 rect { stroke: var(--cobalt-500); }
.hero-diagram .layer-3 rect { stroke: #6b7fa8; }
.hero-diagram .layer-num { font: 500 12px var(--font-mono); fill: var(--teal-500); }
.hero-diagram .layer-name { font: 700 15px var(--font-ui); fill: var(--white); }
.hero-diagram .flow { stroke: var(--teal-500); stroke-width: 2; fill: none; stroke-dasharray: 4 10; opacity: .7; animation: flow 3.5s linear infinite; }
.hero-diagram .flow-1 { stroke: var(--cobalt-500); animation-duration: 4.5s; animation-direction: reverse; }
.hero-diagram .flow-2 { animation-duration: 6s; opacity: .4; }
@keyframes flow { to { stroke-dashoffset: -140; } }

/* ---------- sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy-900); color: var(--slate-300); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-head p { color: #c9d6e3; }
.section-dark .eyebrow-dark { color: var(--teal-500); }
.section-dark .card { background: var(--navy-950); border-color: var(--line-dark); }
.section-dark .card p { color: var(--slate-300); }
.section-dark .link-arrow { color: var(--teal-500); }
.section-dark .note { color: var(--slate-300); border-color: var(--line-dark); }
@media (min-width: 900px) { .section { padding: 5rem 0; } }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head p { font-size: 1.075rem; }
.sub-h { margin: 3rem 0 1.25rem; font-size: 1.3rem; }
.lead-block { font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.55; color: var(--navy-900); max-width: 62ch; margin: 0; border-left: 3px solid var(--teal-500); padding-left: 1.25rem; }
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 3rem 0 2rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid { gap: 1.25rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; gap: .25rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.section-alt .card { background: var(--paper); }
.card:hover { border-color: #b9cbdc; box-shadow: var(--shadow); }
.card p { margin: 0 0 .75rem; font-size: .96rem; }
.card .link-arrow { margin-top: auto; }
.card .badge { align-self: flex-start; margin-bottom: .75rem; }
.card:target { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(21, 198, 177, .25); }
.card-num { font-family: var(--font-mono); font-size: .78rem; color: var(--teal-700); margin-bottom: .5rem; }

.badge { display: inline-flex; align-items: center; gap: .35rem; font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .03em; padding: .3rem .6rem; border-radius: 999px; border: 1px solid; }
.badge-neutral { color: var(--slate-600); border-color: var(--line); background: var(--paper); }
.badge-available { color: #0a6b60; border-color: #9ad9cf; background: #e6f8f5; }
.badge-pilot { color: #2a4fbf; border-color: #b8c9ff; background: #eef2ff; }
.badge-planned { color: var(--amber-700); border-color: #f0d28c; background: var(--amber-50); }

.note { display: flex; gap: .6rem; align-items: flex-start; margin: 1.5rem 0 0; font-size: .9rem; padding: .9rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.note .icon { margin-top: 2px; color: var(--teal-700); }
.section-dark .note .icon { color: var(--teal-500); }

/* split layout (copy + tabs) */
.split { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .split { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 3rem; } }

/* tabs */
.tabs { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section-alt .tabs { background: var(--paper); }
.tablist { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .tablist { grid-template-columns: repeat(4, 1fr); } }
.tab { padding: .9rem .5rem; background: none; border: 0; border-bottom: 3px solid transparent; font: 600 .9rem var(--font-ui); color: var(--slate-600); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--navy-950); border-bottom-color: var(--teal-700); background: rgba(21, 198, 177, .06); }
.tab:hover { color: var(--navy-950); }
.tab-panel { padding: 1.5rem; }
.tab-panel h3 { font-size: 1.3rem; }
.tab-panel[hidden] { display: none; }

/* stepper */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 1.75rem 3.5rem; }
.step::before { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step-num { position: absolute; left: 0; top: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-950); color: var(--teal-500); font: 500 .85rem var(--font-mono); }
.step h3 { margin: .45rem 0 .25rem; }
.step p { margin: 0; font-size: .95rem; }
@media (min-width: 1024px) {
  .stepper { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
  .step { padding: 3.75rem 0 0; }
  .step::before { left: 46px; right: -1.25rem; top: 20px; bottom: auto; width: auto; height: 2px; }
}

/* chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip, .chips-static li { display: inline-flex; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy-950); font-weight: 600; font-size: .95rem; text-decoration: none; }
.chip:hover { border-color: var(--teal-700); color: var(--teal-700); }
.section-alt .chips-static li { background: var(--paper); }

/* why list */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .why { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; } }
.why li { display: flex; gap: .75rem; align-items: flex-start; color: var(--navy-900); font-weight: 500; }
.icon-check { color: var(--teal-700); margin-top: 3px; padding: 2px; border-radius: 50%; background: rgba(21, 198, 177, .14); width: 22px; height: 22px; }

/* faq */
.faq { max-width: 860px; display: grid; gap: .75rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; font-weight: 700; color: var(--navy-950); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s; color: var(--teal-700); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 1.25rem 1.25rem; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); color: #c9d6e3; padding: 3.5rem 0; }
.cta-band h2 { color: var(--white); }
.cta-inner { display: grid; gap: 1rem; align-items: center; }
.cta-inner p { max-width: 60ch; margin: 0; }
.cta-inner .actions { margin-top: .5rem; }
@media (min-width: 1024px) { .cta-inner { grid-template-columns: 1.2fr auto; gap: 3rem; } .cta-inner .actions { margin: 0; justify-content: flex-end; } }

/* product */
.product-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .product-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } .product-grid .why { grid-template-columns: 1fr; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }

/* technology table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.layers { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.layers th, .layers td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.layers thead th { font: 500 .75rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--slate-600); background: var(--paper); }
.layers tbody th { color: var(--navy-950); font-weight: 700; }
.layers tbody tr:last-child > * { border-bottom: 0; }

/* architecture diagram */
.arch { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; overflow-x: auto; }
.arch svg { display: block; width: 100%; max-width: 860px; min-width: 560px; height: auto; margin: 0 auto; }
.arch figcaption { margin-top: .75rem; }
.arch .boundary { fill: rgba(21, 198, 177, .05); stroke: var(--teal-700); stroke-width: 1.5; stroke-dasharray: 8 6; }
.arch .boundary-label { font: 500 12px var(--font-mono); fill: var(--teal-700); letter-spacing: .06em; text-transform: uppercase; }
.arch .node rect { fill: var(--white); stroke: #b9cbdc; stroke-width: 1.5; }
.arch .node-ops rect { fill: var(--navy-950); stroke: var(--navy-950); }
.arch .node-ops .node-label { fill: var(--white); }
.arch .node-external rect { fill: var(--paper); stroke: var(--slate-600); stroke-dasharray: 5 4; }
.arch .node-label { font: 600 12.5px var(--font-ui); fill: var(--navy-950); }
.arch .edge { fill: none; stroke: var(--navy-900); stroke-width: 1.6; }
.arch .edge-mon { stroke: var(--cobalt-500); stroke-dasharray: 2 4; }
.arch .edge-ext { stroke: var(--slate-600); stroke-dasharray: 6 5; }
.arch .arrowhead { fill: var(--navy-900); }
.arch .arrowhead-mon { fill: var(--cobalt-500); }

/* about */
.location { display: flex; gap: 1.25rem; align-items: flex-start; }
.location .icon { color: var(--teal-700); margin-top: .35rem; }

/* forms */
.form-wrap { max-width: 880px; }
.lead-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; color: var(--navy-950); margin-bottom: .35rem; font-size: .95rem; }
.field-tag { font-weight: 500; color: var(--slate-600); font-size: .82rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 46px; padding: .65rem .8rem; font: 500 1rem var(--font-ui); color: var(--navy-950);
  background: var(--white); border: 1.5px solid #c3d2df; border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--cobalt-500); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field-hint { font-size: .85rem; margin: .35rem 0 0; }
.field-error { color: #b0281a; font-size: .85rem; font-weight: 600; margin: .3rem 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.field-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--teal-700); }
.field-check label { font-weight: 500; }
.field-check .field-error { grid-column: 2; }
fieldset:disabled .field input, fieldset:disabled .field select, fieldset:disabled .field textarea { background: #eef2f6; cursor: not-allowed; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.75rem; }
.form-result:empty { display: none; }
.form-result { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-result.is-success { background: #e6f8f5; color: #0a5a51; border: 1px solid #9ad9cf; }
.form-result.is-error { background: #fdecea; color: #8e2015; border: 1px solid #f2b8b0; }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--amber-50); border: 1px solid #f0d28c; color: var(--amber-700); margin-bottom: 1.5rem; font-weight: 600; }
.alert p { margin: 0; }
.alert .icon { margin-top: 2px; }
.prose { max-width: 70ch; color: var(--navy-900); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--slate-300); padding: 3.5rem 0 1.5rem; font-size: .94rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-brand p { max-width: 42ch; margin-top: 1rem; }
.footer-brand .mono-label { color: var(--teal-500); }
.footer-h { font: 500 .75rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--slate-300); text-decoration: none; }
.site-footer a:hover { color: var(--teal-500); text-decoration: underline; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
