/* ==========================================================================
   OperaCore Tech — site stylesheet (design system v3, unified)
   One token set, one radius scale, one type scale. No inline styles (CSP).
   Approved logo files are displayed as-is: no filters, recolouring or cropping.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License), latin subset */
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-var.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* --------------------------------------------------------------------------
   1. Tokens
   Palette: warm titanium taken from the approved logo.
   --plate (#EBE2E3) is the logo background and must stay exactly this value,
   so any container behind a logo file matches the file edge-to-edge.
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg: #F6F4F2;
  --surface: #FFFFFF;
  --surface-2: #EFECEA;
  --plate: #EBE2E3;

  /* Ink */
  --black: #111214;
  --text: #1E2023;
  --graphite: #2E3034;
  --muted: #5F646A;
  --titanium: #6A6E74;
  --silver: #B8BBBF;

  /* Lines */
  --line: #DEDAD7;
  --line-strong: #C4BFBC;

  /* Energy (blue at the C junction of the logo) */
  --energy: #0A84F5;
  --energy-text: #0060BF;

  /* Accent band (formerly dark; now the same light titanium family as the rest of the site) */
  --dark: #ECE8E6;
  --dark-2: #E2DDDB;
  --dark-surface: #FFFFFF;
  --on-dark: #1E2023;
  --on-dark-muted: #50555B;
  --on-dark-strong: #111214;
  --line-dark: #CFCAC7;

  /* Legacy aliases (kept so older class rules and SVG helpers resolve) */
  --ivory: var(--bg);
  --white: var(--surface);
  --platinum: var(--surface-2);
  --charcoal: var(--dark);

  /* Type */
  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --step--2: 0.72rem;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem);
  --step-4: clamp(2.5rem, 1.5rem + 3.6vw, 4.75rem);

  /* Shape: actions and fields = sm, panels and art = md, labels = pill */
  --r-sm: 8px;
  --r-md: 12px;
  --r-pill: 999px;
  --radius: var(--r-md);

  /* Rhythm */
  --section-y: clamp(72px, 9vw, 128px);
  --hero-top: clamp(56px, 7vw, 104px);
  --hero-bottom: clamp(64px, 7vw, 112px);
  --head-gap: clamp(36px, 4vw, 56px);
  --header-h: 72px;

  --shadow-art: 0 1px 0 rgba(17, 18, 20, 0.04), 0 24px 56px -28px rgba(36, 40, 45, 0.28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0; }
a { color: var(--energy-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--black); }
:focus-visible { outline: 2px solid var(--energy); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(10, 132, 245, 0.18); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--black); line-height: 1.1; text-wrap: balance; margin: 0; font-weight: 600; }
h1 { font-size: var(--step-4); letter-spacing: -0.045em; line-height: 1.03; }
h2 { font-size: var(--step-3); letter-spacing: -0.03em; }
h3, .h3-like { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; font-weight: 600; }

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.wrap {
  max-width: 1320px; margin: 0 auto;
  padding-left: max(clamp(20px, 4vw, 64px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(20px, 4vw, 64px), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -9999px; top: 8px; background: var(--black); color: #fff; padding: 8px 14px; z-index: 50; border-radius: var(--r-sm); }
.skip:focus { left: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   3. Brand (approved files only, displayed untouched)
   -------------------------------------------------------------------------- */
.brand-logo { display: block; max-width: 100%; height: auto; object-fit: contain; filter: none; opacity: 1; transform: none; mix-blend-mode: normal; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.brand:hover { color: var(--black); }
/* The emblem file carries the plate colour; rounding its box turns it into a plate chip. */
.brand-emblem { height: 40px; width: auto; border-radius: var(--r-sm); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.015em; }
.logo-plate { background: var(--plate); border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden; }
.logo-plate-sm { width: 200px; }
.hero-logo { padding: 8px; }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 244, 242, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 8px 10px; border-radius: var(--r-sm);
  color: var(--graphite); text-decoration: none; font-size: 0.9rem; font-weight: 500; white-space: nowrap;
  transition: background .2s, color .2s;
}
.site-nav ul a:hover { color: var(--black); background: rgba(17, 18, 20, 0.05); }
.site-nav ul a[aria-current="page"] { color: var(--black); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.menu-btn {
  display: none; margin-left: auto; font: 500 0.9rem var(--font-body);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 9px 16px; color: var(--black); cursor: pointer;
}
@media (max-width: 1180px) {
  .menu-btn { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(17, 18, 20, 0.25);
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px max(clamp(20px, 4vw, 64px), env(safe-area-inset-right, 0px)) 24px max(clamp(20px, 4vw, 64px), env(safe-area-inset-left, 0px));
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 12px 0; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a:hover { background: transparent; }
  .site-nav ul a[aria-current="page"] { background: transparent; box-shadow: none; color: var(--energy-text); }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  font: 600 0.95rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.86rem; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--graphite); color: #fff; }
.btn-line { border-color: var(--line-strong); color: var(--black); background: var(--surface); }
.btn-line:hover { border-color: var(--black); color: var(--black); }
.btn-light { background: var(--black); color: #fff; }
.btn-light:hover { background: var(--graphite); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   6. Sections and bands
   Light sections alternate --bg / --surface; accent band is one light titanium gradient.
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--line); }
.section-tight { padding-block: clamp(44px, 5vw, 72px); }
.band-plate { background: var(--surface); }
.band-dark { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--on-dark); }
.section.band-dark, .section + .section.band-dark, .band-dark + .section { border-top-color: transparent; }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--on-dark-strong); }
.band-dark .lead, .band-dark p { color: var(--on-dark-muted); }
.band-dark .eyebrow { color: var(--on-dark-muted); }
.band-dark a:not(.btn) { color: var(--on-dark-strong); }

.eyebrow {
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--titanium);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; flex: none; width: 24px; height: 2px; background: var(--energy); border-radius: 2px; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--graphite); max-width: 40em; }
.stack { display: grid; gap: 20px; align-content: start; }
.stack-lg { display: grid; gap: 32px; align-content: start; }
.head { display: grid; gap: 16px; max-width: 46em; margin-bottom: var(--head-gap); }
.prose { max-width: 42em; display: grid; gap: 16px; align-content: start; color: var(--graphite); }
.prose p { color: var(--graphite); }
.band-dark .prose p { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   7. Heroes — home, page and product share one surface
   -------------------------------------------------------------------------- */
.hero, .page-hero {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(235, 226, 227, 0.55) 0%, rgba(235, 226, 227, 0) 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero { padding-block: var(--hero-top) var(--hero-bottom); }
.hero-grid, .product-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero h1 { margin-top: 22px; }
.hero .sub, .product-sub {
  margin-top: 22px; font-family: var(--font-display); font-size: var(--step-2);
  line-height: 1.3; color: var(--graphite); font-weight: 500; letter-spacing: -0.015em; max-width: 30em;
}
.hero .lead { margin-top: 20px; max-width: 34em; }
.hero .actions { margin-top: 36px; }

.page-hero { padding-block: var(--hero-top) clamp(48px, 6vw, 88px); }
.page-hero h1 { margin-top: 20px; max-width: 16em; }
.page-hero .lead { margin-top: 22px; }
.product-hero { padding-bottom: var(--hero-bottom); }
.product-hero h1 { margin-top: 18px; }
.product-hero .lead { margin-top: 18px; max-width: 36em; font-size: var(--step-0); line-height: 1.65; color: var(--graphite); }
.product-hero .lead + .lead { margin-top: 12px; }
.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--black); }

@media (max-width: 960px) {
  .hero-grid, .product-hero-grid { grid-template-columns: 1fr; }
  .hero-art, .product-art { max-width: 680px; }
}

/* Conceptual art (static SVG files) */
.core-art { min-width: 0; }
.core-art img { display: block; width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-art); background: var(--surface-2); }
.core-art figcaption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 14px; font: 400 var(--step--2) var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--titanium);
}
.core-feature { max-width: 960px; margin: 0 auto var(--head-gap); }

/* --------------------------------------------------------------------------
   8. Grids and lists
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
@media (min-width: 961px) { .grid-2 > .stack:first-child { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.grid-3 > * { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.grid-3 > *:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.band-dark .grid-3, .band-dark .grid-3 > * { border-color: var(--line-dark); }
@media (max-width: 960px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > *, .grid-3 > *:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; }
}
.item h3 { margin-bottom: 10px; }
.item p { color: var(--muted); }
.band-dark .item p { color: var(--on-dark-muted); }
.num { font-family: var(--font-mono); font-size: 0.76rem; color: var(--energy-text); display: block; margin-bottom: 16px; letter-spacing: 0.06em; }
.band-dark .num { color: var(--on-dark-muted); }

.cap-list { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.cap-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.cap-list li strong { color: var(--black); font-weight: 600; }
.cap-list li span { color: var(--muted); }
.band-dark .cap-list, .band-dark .cap-list li { border-color: var(--line-dark); }
.band-dark .cap-list li strong { color: var(--on-dark-strong); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 6px 14px; font-size: 0.88rem; color: var(--graphite); background: var(--surface); }
.band-plate .chips li { background: var(--bg); }
.band-dark .chips li { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }

.note { font-size: 0.9rem; color: var(--muted); border-left: 2px solid var(--energy); padding-left: 16px; max-width: 46em; }
.band-dark .note { color: var(--on-dark-muted); border-color: var(--line-dark); }

/* --------------------------------------------------------------------------
   9. Statements
   -------------------------------------------------------------------------- */
.statement { font-family: var(--font-display); font-size: var(--step-4); font-weight: 600; letter-spacing: -0.045em; line-height: 1.04; color: var(--black); max-width: 13em; text-wrap: balance; }
.statement em { font-style: normal; color: var(--titanium); }
.band-dark .statement { color: var(--on-dark-strong); }
.band-dark .statement em { color: var(--on-dark-muted); }
.statement-sm { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; color: var(--black); max-width: 22em; }
.band-dark .statement-sm { color: var(--on-dark-strong); }
.lines { display: grid; gap: 8px; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: var(--black); }
.band-dark .lines { color: var(--on-dark-strong); }

.ladder { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-display); font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.4rem); font-weight: 600; color: var(--black); }
.ladder span { display: inline-flex; align-items: center; gap: 22px; }
.ladder span:not(:last-child)::after { content: ""; width: 22px; height: 1px; background: var(--silver); }

/* --------------------------------------------------------------------------
   10. Product list
   -------------------------------------------------------------------------- */
.products { border-top: 1px solid var(--line); }
.product-row {
  display: grid; grid-template-columns: 168px minmax(0, 1fr) minmax(0, 1.25fr) auto;
  gap: 32px; align-items: center; padding: 24px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.product-thumb { width: 168px; display: block; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.product-row:hover .product-thumb { box-shadow: var(--shadow-art); transform: translateY(-2px); }
.product-row .row-title { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.02em; }
.product-row:hover .row-title { color: var(--energy-text); }
.product-row .kicker { font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.1em; text-transform: uppercase; color: var(--titanium); margin-top: 8px; display: block; }
.product-row p { color: var(--muted); }
.product-row .go { font-size: 0.9rem; color: var(--black); font-weight: 600; white-space: nowrap; transition: transform .2s var(--ease); }
.product-row:hover .go { transform: translateX(4px); color: var(--energy-text); }
@media (max-width: 960px) {
  .product-row { grid-template-columns: 112px minmax(0, 1fr); gap: 8px 20px; }
  .product-thumb { width: 112px; grid-row: span 3; align-self: start; }
  .product-row p, .product-row .go { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   11. Figures (inline conceptual SVG diagrams)
   -------------------------------------------------------------------------- */
.figure { background: linear-gradient(135deg, #FBFAF8 0%, #ECEBE8 100%); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 3vw, 40px); box-shadow: var(--shadow-art); }
.band-plate .figure { background: linear-gradient(135deg, #F9F8F5 0%, #E7E6E3 100%); }
.band-dark .figure { background: var(--dark-surface); border-color: var(--line-dark); box-shadow: none; }
.figure svg { width: 100%; height: auto; display: block; }
.figure figcaption { margin-top: 16px; font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.08em; text-transform: uppercase; color: var(--titanium); }
.band-dark .figure figcaption { color: var(--on-dark-muted); }
.scroll-x { overflow-x: auto; }
.scroll-x svg { min-width: 680px; }
.svg-ink { stroke: var(--graphite); }
.svg-text { fill: var(--graphite); font-family: var(--font-body); }
.svg-mono { fill: var(--titanium); font-family: var(--font-mono); }

/* --------------------------------------------------------------------------
   12. Status, readiness, capabilities, KPIs
   -------------------------------------------------------------------------- */
.status {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  color: var(--graphite); background: var(--surface); white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--titanium); }
.status.on::before { background: var(--energy); box-shadow: 0 0 0 3px rgba(10, 132, 245, 0.16); }
.status.dev::before { background: var(--silver); box-shadow: inset 0 0 0 1px var(--titanium); }
.band-plate .status { background: var(--bg); }
.band-dark .status { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.status-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 28px; font-size: 0.85rem; color: var(--muted); }

.readiness { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.readiness > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.readiness dt { font-weight: 600; color: var(--black); }
.readiness dd { margin: 0; color: var(--graphite); }
@media (max-width: 720px) { .readiness > div { grid-template-columns: 1fr; gap: 6px; } }

.cap-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 72px); }
@media (max-width: 960px) { .cap-groups { grid-template-columns: 1fr; } }
.cap-group h3 { margin-bottom: 8px; }
.cap-group > p { color: var(--muted); margin-bottom: 12px; }
.cap-group ul { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line-strong); }
.cap-group li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--graphite); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.cap-group li > span:first-child { min-width: 0; }

.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.kpi-row.kpi-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpi-row > div { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.kpi-row > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.kpi-row strong { display: block; font-family: var(--font-display); font-size: var(--step-4); font-weight: 600; color: var(--black); letter-spacing: -0.05em; line-height: 1; }
.kpi-row span { color: var(--muted); max-width: 22em; }
@media (max-width: 720px) {
  .kpi-row, .kpi-row.kpi-2 { grid-template-columns: 1fr; }
  .kpi-row > div + div { padding-left: 0; border-left: 0; }
}

/* --------------------------------------------------------------------------
   13. Call to action
   -------------------------------------------------------------------------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   14. Form
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 20px; max-width: 760px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--black); }
.field input, .field select, .field textarea {
  font: 400 1rem var(--font-body); color: var(--text); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  min-height: 48px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--titanium); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--energy); box-shadow: 0 0 0 3px rgba(10, 132, 245, 0.18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--graphite); }
.check input { margin-top: 4px; accent-color: var(--energy); }
.form-msg { font-size: 0.95rem; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-strong); }
.form-msg[data-kind="error"] { border-color: #B3261E; color: #8C1D18; }
.copy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --------------------------------------------------------------------------
   15. Footer — light titanium, same family as the accent band
   -------------------------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-block: clamp(56px, 6vw, 80px) 32px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid h2 { font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 500; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--on-dark); text-decoration: none; }
.footer-grid a:hover { color: var(--on-dark-strong); text-decoration: underline; }
.footer-brand p { margin-top: 20px; color: var(--on-dark); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; max-width: 18em; }
.lang { margin-top: 10px; font-size: 0.85rem; color: var(--on-dark-muted); }
.footer-legal { margin-top: 48px; padding-top: 24px; background: linear-gradient(var(--line-dark), var(--line-dark)) content-box top / 100% 1px no-repeat; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: var(--on-dark-muted); }
.footer-legal a { color: var(--on-dark-muted); }
.footer-legal a:hover { color: var(--on-dark-strong); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   16. Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s var(--ease) both; }
  .hero-art, .product-art { animation: rise .8s var(--ease) .08s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* --------------------------------------------------------------------------
   17. Spacing utilities (no inline styles: CSP style-src forbids them)
   -------------------------------------------------------------------------- */
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-14 { margin-top: 14px; }
.mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-40 { margin-top: 40px; }
@media (max-width: 560px) {
  .cap-group li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero .actions .btn, .product-hero .actions .btn { flex: 1 1 100%; }
}
