/* ==========================================================================
   Emsyra — shared design system stylesheet
   Part of the Kolaxa family. Tokens, base type, components, chrome.
   ========================================================================== */

@layer od-layout {
  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  /* containers */
  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  /* stacked information: each piece is its own line — never sibling inline spans */
  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  /* media keeps its intrinsic ratio by default; never a distorted or cropped
     cover by accident. height:auto lets the ratio win over an <img height="…">
     attribute. Cropping to a uniform box is an explicit opt-in: set --od-ratio
     AND add .od-media-cover together (per the core rule, only where a crop is
     deliberate — tile thumbs, decorative fills — never on full-frame content). */
  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  /* functional inline SVG icons opt into bounded geometry; content SVGs keep their own */
  .od-icon { display: inline-block; inline-size: var(--od-icon-size, 1em); block-size: var(--od-icon-size, 1em); flex: none; }

  /* data text only — authored copy is rewritten to its budget instead */
  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }   /* block-level reservation for a shared baseline */
  .od-nowrap  { white-space: nowrap; }           /* 数字+单位 · 价格+起 · 日期+星期 */
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; } /* CJK labels break at spaces / <wbr> first */

  /* screen skeleton (optional): bars take their own space, the middle scrolls — no padding guessed for chrome */
  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  /* horizontal rail: the next item peeks at the edge; trailing room survives overflow */
  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
/* /OD-LAYOUT-PRIMITIVES v1 */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* dark (default) */
  --bg: #05090a;
  --bg-2: #070d0f;
  --panel: #0a1215;
  --panel-2: #0d171a;
  --panel-3: #111c20;
  --line: rgba(206, 228, 220, 0.1);
  --line-2: rgba(206, 228, 220, 0.18);
  --line-3: rgba(206, 228, 220, 0.3);
  --fg: #eaf1ee;
  --fg-2: #a6b7b2;
  --fg-3: #7e918c;
  --accent: #3bb79a;
  --accent-2: #8fe3c9;
  --accent-ink: #04120e;
  --cyan: #74c8d6;
  --warn: #d7a45e;
  --danger: #f09a90;
  --ok: #7fd8b4;
  --tint: rgba(206, 228, 220, 0.035);
  --tint-2: rgba(206, 228, 220, 0.06);
  --focus: #74c8d6;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  --r-1: 4px;
  --r-2: 8px;
  --r-3: 14px;
  --r-pill: 999px;

  --dur-1: 160ms;
  --dur-2: 240ms;
  --dur-3: 320ms;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.9, 0.4);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --head-h: 68px;

  --fs-display: clamp(2.55rem, 6.1vw, 4.85rem);
  --fs-h2: clamp(1.85rem, 3.5vw, 2.85rem);
  --fs-h3: 1.0625rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-mono: 0.6875rem;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f4;
  --bg-2: #eef2ef;
  --panel: #ffffff;
  --panel-2: #f6f8f6;
  --panel-3: #ecefec;
  --line: rgba(12, 30, 24, 0.12);
  --line-2: rgba(12, 30, 24, 0.2);
  --line-3: rgba(12, 30, 24, 0.32);
  --fg: #0a1512;
  --fg-2: #3d504a;
  --fg-3: #5b6e68;
  --accent: #0f7a63;
  --accent-2: #0a6653;
  --accent-ink: #ffffff;
  --cyan: #0d6675;
  --warn: #8a5e17;
  --danger: #a63a2e;
  --ok: #0f7a63;
  --tint: rgba(12, 30, 24, 0.03);
  --tint-2: rgba(12, 30, 24, 0.055);
  --focus: #0d6675;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { max-width: 100%; }

a { color: inherit; }

::selection { background: rgba(59, 183, 154, 0.28); color: var(--fg); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.lede {
  color: var(--fg-2);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  max-width: 56ch;
}

.accent { color: var(--accent-2); }

.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;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--fg);
  color: var(--bg);
  font-size: var(--fs-small);
  border-radius: var(--r-1);
  transform: translateY(-160%);
  transition: transform var(--dur-1) var(--ease);
}

.skip-link:focus-visible { transform: none; }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* --------------------------------------------------------------------------
   Buttons, chips, badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-2);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover { background: var(--accent-2); }

.btn-ghost {
  border-color: var(--line-2);
  color: var(--fg);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--line-3);
  background: var(--tint-2);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: var(--fs-small);
}

.btn .od-icon { --od-icon-size: 15px; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-2);
  background: var(--tint);
  white-space: nowrap;
}

.badge-warn {
  color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 38%, transparent);
  background: color-mix(in srgb, var(--warn) 8%, transparent);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease);
}

.chip:hover { color: var(--fg); border-color: var(--line-3); }

.chip[aria-pressed="true"] {
  color: var(--fg);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-small);
  color: var(--fg-2);
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}

.status-ok::before { background: var(--ok); }
.status-hold::before { background: var(--warn); }

.note {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--fg-3);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Site header
   -------------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 9, 10, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}

@supports (backdrop-filter: blur(1px)) {
  .site-head {
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter: blur(16px) saturate(120%);
  }
}

.site-head[data-scrolled="true"] { border-bottom-color: var(--line); }

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--head-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  flex: none;
}

.brand-mark { width: 24px; height: 24px; flex: none; }

.brand-word {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.head-nav a {
  position: relative;
  padding: 6px 0;
  font-size: var(--fs-small);
  color: var(--fg-2);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease);
}

.head-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}

.head-nav a:hover { color: var(--fg); }
.head-nav a:hover::after { transform: scaleX(1); }

.head-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--tint);
  flex: none;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 40px;
  padding: 0 7px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}

.lang-switch a:hover { color: var(--fg); }

.lang-switch a[aria-current="page"] {
  color: var(--fg);
  background: var(--panel-3);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.menu-btn[aria-expanded="true"] { background: var(--tint-2); }

.menu-lines { display: block; width: 16px; height: 10px; position: relative; }
.menu-lines span {
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}
.menu-lines span:nth-child(1) { top: 0; }
.menu-lines span:nth-child(2) { top: 4.5px; }
.menu-lines span:nth-child(3) { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-lines span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-lines span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.mobile-menu[hidden] { display: none; }

.mobile-menu-inner {
  display: grid;
  gap: 2px;
  padding-block: var(--sp-4) var(--sp-5);
}

.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--fg);
  text-decoration: none;
}

.mobile-menu .btn { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(64px, 9vw, 118px);
  border-top: 1px solid var(--line);
}

.sec-head { display: grid; gap: var(--sp-5); }

.sec-title {
  font-size: var(--fs-h2);
  max-width: 22ch;
}

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 6px; }

.field label {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
}

.field .req { color: var(--accent-2); font-family: var(--font-mono); font-size: 0.6875rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--bg-2);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-3) 50%),
    linear-gradient(135deg, var(--fg-3) 50%, transparent 50%);
  background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-3); }

.field input::placeholder,
.field textarea::placeholder { color: var(--fg-3); opacity: 1; }

.hint { font-size: 0.8125rem; color: var(--fg-3); line-height: 1.5; }

.field .error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--danger);
}

.field .error[hidden] { display: none; }

.field [aria-invalid="true"] { border-color: color-mix(in srgb, var(--danger) 65%, transparent); }

.form-note {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--fg-3);
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(48px, 6vw, 72px) var(--sp-6);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.6fr));
  gap: var(--sp-7) var(--sp-6);
}

.foot-brand .brand { margin-bottom: var(--sp-4); }
.foot-tag { color: var(--fg-2); font-size: var(--fs-small); margin-bottom: var(--sp-4); }

.foot-col h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: var(--sp-3);
}

.foot-col a,
.foot-col button.linklike {
  display: inline-block;
  padding-block: 5px;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--fg-2);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-1) var(--ease);
}

.foot-col a:hover,
.foot-col button.linklike:hover { color: var(--fg); }

.foot-col li { display: block; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--fg-3);
}

.foot-family { display: inline-flex; align-items: center; gap: 8px; }

.foot-family a { color: var(--fg-2); text-underline-offset: 3px; }
.foot-family a:hover { color: var(--fg); }

/* --------------------------------------------------------------------------
   Dialog
   -------------------------------------------------------------------------- */
.dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-3);
  background: var(--panel);
  color: var(--fg);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
}

.dialog::backdrop {
  background: rgba(3, 6, 7, 0.72);
  backdrop-filter: blur(3px);
}

.dialog-inner { padding: var(--sp-5) var(--sp-6) var(--sp-6); }

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.dialog-head h2 { font-size: 1.375rem; }

.dialog-body { color: var(--fg-2); font-size: var(--fs-small); line-height: 1.7; }
.dialog-body p + p { margin-top: 10px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: transparent;
  color: var(--fg-2);
  cursor: pointer;
}

.icon-btn:hover { color: var(--fg); border-color: var(--line-3); }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive chrome
   -------------------------------------------------------------------------- */
@media (max-width: 1039px) {
  .head-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .head-actions .btn { display: none; }
  .lang-switch a { min-height: 44px; min-width: 40px; }
  .foot-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

/* Production additions: inline legal link, spam honeypot, submit error */
.form-note button.linklike {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--fg-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.form-note button.linklike:hover { color: var(--fg); }
.form-note button.linklike:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ea-form .error { font-size: 0.8125rem; line-height: 1.45; color: var(--danger); }
.ea-form .error[hidden] { display: none; }
.form-card { position: relative; }
