/* Layout: a Swiss grid on cool snow; one alpenglow ridge under the hero; the Switzerland–UAE–Japan corridor as the recurring structure. */
:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --ink: #171a24;
  --muted: #586071;
  --line: #d8dbe3;
  --accent: #b23d5b;
  --accent-ink: #ffffff;
  --accent-soft: #f4dde4;
  --ridge-far: rgba(178, 61, 91, 0.16);
  --ridge-mid: rgba(178, 61, 91, 0.32);
  --ridge-near: #f4f5f8;
  --focus: #3c5bd6;

  --font-display: "Archivo Variable", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk Variable", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.84rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.7rem);
  --step-4: clamp(2.3rem, 1.3rem + 4.4vw, 4.6rem);

  --wrap: 72rem;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4rem, 3rem + 4vw, 7rem);
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12141b;
    --surface: #1a1d27;
    --ink: #eceef3;
    --muted: #a3a9b8;
    --line: #2d313e;
    --accent: #ee8ba4;
    --accent-ink: #1b0f15;
    --accent-soft: #3a2531;
    --ridge-far: rgba(238, 139, 164, 0.12);
    --ridge-mid: rgba(238, 139, 164, 0.24);
    --ridge-near: #12141b;
    --focus: #9db0ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12141b;
  --surface: #1a1d27;
  --ink: #eceef3;
  --muted: #a3a9b8;
  --line: #2d313e;
  --accent: #ee8ba4;
  --accent-ink: #1b0f15;
  --accent-soft: #3a2531;
  --ridge-far: rgba(238, 139, 164, 0.12);
  --ridge-mid: rgba(238, 139, 164, 0.24);
  --ridge-near: #12141b;
  --focus: #9db0ff;
  color-scheme: dark;
}

@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-wdth.woff2") format("woff2-variations"), url("fonts/archivo-wdth.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/hanken-grotesk.woff2") format("woff2-variations"), url("fonts/hanken-grotesk.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("fonts/plex-mono-500.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "ss01";
}
img, canvas, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent-soft); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 620; font-stretch: 112%; line-height: 1.08; letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-stretch: 108%; line-height: 1.25; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 38rem; }
.muted { color: var(--muted); }
.label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--surface); padding: 8px 12px; z-index: 20; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 12px; flex: none; }
.brand-word { font-family: var(--font-display); font-weight: 680; font-stretch: 122%; font-size: 1.02rem; letter-spacing: 0.01em; white-space: nowrap; }
.brand-word span { font-weight: 420; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn { color: var(--ink); text-decoration: none; }
.nav a.btn-primary { color: var(--accent-ink); }
.nav a.btn:hover { color: var(--bg); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.5em; text-decoration-thickness: 2px; }
@media (max-width: 520px) { .nav .nav-optional { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 20px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: 0.92rem; }
.btn .arrow { font-family: var(--font-mono); font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.hub-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.hub-strip > div { padding: 10px 12px 10px 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; min-width: 0; }
.hub-strip > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.hub-name { font-family: var(--font-display); font-stretch: 118%; font-weight: 640; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; }
.hub-time { font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hub-time b { color: var(--ink); font-weight: 500; }
.hero h1 {
  margin-top: clamp(1.8rem, 1rem + 3vw, 3rem);
  font-size: clamp(1.9rem, 0.55rem + 6.2vw, 4.6rem);
  font-weight: 700;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.98;
  max-width: 15ch;
}
.hero h1 .amp { color: var(--accent); }
@media (max-width: 760px) { .hub-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hub-strip > div:nth-child(3) { padding-left: 0; border-left: 0; } .hub-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .hero h1 { font-stretch: 114%; } }
.hero-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.hero-lead { font-size: var(--step-1); line-height: 1.5; max-width: 34rem; }
.hero-body .actions { justify-content: flex-end; }
@media (max-width: 760px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-body .actions { justify-content: flex-start; }
}
.ridge { display: block; width: 100%; height: clamp(110px, 16vw, 190px); margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }

/* Sections */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 16px 48px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head .label { padding-top: 0.6em; }
.section-head .lead { margin-top: 16px; color: var(--muted); max-width: 40rem; font-size: var(--step-1); line-height: 1.5; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } .section-head .label { padding-top: 0; } }

/* Intro statement */
.statement { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 16px 48px; }
.statement p.big { font-size: var(--step-2); line-height: 1.4; font-weight: 450; max-width: 44rem; text-wrap: pretty; }
.statement p.big + p { margin-top: 20px; color: var(--muted); max-width: 40rem; }
@media (max-width: 760px) { .statement { grid-template-columns: 1fr; } }

/* Audiences */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.audience { padding: 24px 24px 28px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.audience + .audience { padding-left: 24px; border-left: 1px solid var(--line); }
.audience p { color: var(--muted); flex: 1; }
.audience a.more { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; color: var(--ink); }
.audience a.more:hover { color: var(--accent); }
@media (max-width: 860px) {
  .audiences { grid-template-columns: 1fr; }
  .audience, .audience + .audience { padding: 22px 0; border-left: 0; }
  .audience + .audience { border-top: 1px solid var(--line); }
}

/* Services */
.services { display: grid; gap: 0; counter-reset: none; }
.service { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) minmax(0, 17rem); gap: 16px 48px; padding-block: 32px; border-top: 1px solid var(--line); }
.service:first-child { border-top-color: var(--ink); }
.service h3 { font-size: var(--step-1); }
.service .why { color: var(--muted); }
.service .what { margin-top: 12px; font-weight: 560; }
.service ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.service li { padding-left: 18px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--accent); }
.service .gets .label { display: block; margin-bottom: 10px; }
@media (max-width: 980px) { .service { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); } .service .gets { grid-column: 2; } }
@media (max-width: 640px) { .service { grid-template-columns: 1fr; } .service .gets { grid-column: auto; } }

/* Corridor */
.corridor { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.node.home { border-color: var(--ink); }
.node .hub-name { font-size: 1.15rem; }
.node .role { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.node p { color: var(--muted); font-size: 0.97rem; }
.node .clock { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.6rem; font-weight: 500; line-height: 1; margin-top: auto; padding-top: 10px; }
.node .clock small { font-size: 0.8rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding-inline: 8px; min-width: 60px; }
.link .bar { width: 100%; height: 1px; background: var(--ink); position: relative; }
.link .bar::before, .link .bar::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.link .bar::before { left: -3px; } .link .bar::after { right: -3px; }
.link .delta { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.corridor-note { margin-top: 24px; color: var(--muted); max-width: 44rem; }
.corridor-note b { color: var(--ink); font-weight: 560; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) {
  .corridor { grid-template-columns: 1fr; }
  .link { flex-direction: row; min-height: 44px; padding-inline: 0; }
  .link .bar { width: 1px; height: 36px; }
  .link .bar::before { left: -3px; top: -3px; } .link .bar::after { left: -3px; right: auto; top: auto; bottom: -3px; }
}

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.sector { border-top: 3px solid var(--accent); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sector p { color: var(--muted); font-size: 0.97rem; }
.sector-note { margin-top: 28px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 980px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--step--1); color: var(--accent); letter-spacing: 0.06em; }
.steps p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.partner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.monogram { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--ink); font-family: var(--font-display); font-stretch: 120%; font-weight: 650; font-size: 1.1rem; letter-spacing: 0.04em; }
.partner .role { color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-top: 4px; }
.partner p.bio { color: var(--muted); margin-top: 10px; font-size: 0.97rem; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--ink); color: var(--bg); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.cta-band h2 { font-size: var(--step-3); max-width: 22ch; }
.cta-band p { margin-top: 12px; opacity: 0.78; max-width: 36rem; }
.cta-band .btn-primary:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Page header (sub pages) */
.page-head { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-4); font-stretch: 122%; font-weight: 680; margin-top: 14px; max-width: 18ch; }
.page-head .lead { margin-top: 20px; font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 40rem; }

/* Use cases */
.cases { display: grid; gap: 0; }
.case { display: grid; grid-template-columns: minmax(0, 15rem) repeat(3, minmax(0, 1fr)); gap: 16px 32px; padding-block: 30px; border-top: 1px solid var(--line); }
.case:first-child { border-top-color: var(--ink); }
.case h3 { font-size: var(--step-1); }
.case .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); white-space: nowrap; }
.case .col .label { display: block; margin-bottom: 8px; }
.case .col p { font-size: 0.97rem; }
.case .col.outcome p { font-weight: 560; }
@media (max-width: 980px) { .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .case > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .case { grid-template-columns: 1fr; } }

/* Engagement formats */
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.format { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.format-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.format .duration { font-family: var(--font-mono); font-size: 0.88rem; color: var(--accent); white-space: nowrap; }
.format p { color: var(--muted); }
.format dl { margin: auto 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.93rem; }
.format dt { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.2em; }
.format dd { margin: 0; }
@media (max-width: 760px) { .formats { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 44rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); min-width: 0; }
.form-shell iframe { width: 100%; border: 0; min-height: 900px; display: block; }
.notice { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 12px 16px; font-size: 0.93rem; border-radius: 0 var(--radius) var(--radius) 0; }
.notice + * { margin-top: 20px; }
.fallback h2 { font-size: var(--step-2); }
.fallback p { margin-top: 12px; color: var(--muted); }
.fallback .actions { margin-top: 20px; }
.aside { display: grid; gap: 28px; min-width: 0; }
.aside h2 { font-size: var(--step-1); }
.checklist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 26px; position: relative; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.direct { display: grid; gap: 10px; margin-top: 12px; }
.direct-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.direct-row .val { font-family: var(--font-mono); font-size: 0.95rem; user-select: all; word-break: break-all; }
.copy { font: inherit; font-size: 0.82rem; font-weight: 600; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: var(--radius); padding: 4px 10px; cursor: pointer; }
.copy:hover { border-color: var(--ink); }

/* Form (preview of the live Tally form) */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; background: var(--bg); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.drop { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); background: var(--bg); position: relative; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop strong { color: var(--ink); }
.files { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-family: var(--font-mono); font-size: 0.85rem; }
.files li.bad { color: var(--accent); }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.93rem; color: var(--muted); }
.consent input { margin-top: 0.3em; width: 18px; height: 18px; accent-color: var(--accent); }
.form-status { font-size: 0.95rem; }

/* Prose (legal pages) */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose ul, .prose dl { margin-top: 0.9rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }
.prose dl { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 8px 20px; }
.prose dt { color: var(--muted); }
.prose dd { margin: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--ink); padding-block: 40px 48px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.footer-grid p { color: var(--muted); margin-top: 10px; max-width: 26rem; }
.footer-grid ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { text-decoration: none; color: var(--ink); }
.footer-grid a:hover { color: var(--accent); }
.footer-base { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Colour schemes (set via data-palette on <html>) ----------
   rose = original; cobalt, lake, ultramarine = blue options. */
:root[data-palette="cobalt"] {
  --accent: #1f5fbf; --accent-ink: #ffffff; --accent-soft: #dce7f7;
  --ridge-far: rgba(31, 95, 191, 0.14); --ridge-mid: rgba(31, 95, 191, 0.30);
}
:root[data-palette="lake"] {
  --accent: #136a89; --accent-ink: #ffffff; --accent-soft: #d5ebf1;
  --ridge-far: rgba(19, 106, 137, 0.15); --ridge-mid: rgba(19, 106, 137, 0.32);
}
:root[data-palette="ultramarine"] {
  --accent: #2a45e0; --accent-ink: #ffffff; --accent-soft: #e0e4fd;
  --ridge-far: rgba(42, 69, 224, 0.12); --ridge-mid: rgba(42, 69, 224, 0.26);
}
@media (prefers-color-scheme: dark) {
  :root[data-palette="cobalt"]:not([data-theme="light"]) { --accent: #7eaaf2; --accent-ink: #0d1626; --accent-soft: #1b2a44; --ridge-far: rgba(126, 170, 242, 0.12); --ridge-mid: rgba(126, 170, 242, 0.24); }
  :root[data-palette="lake"]:not([data-theme="light"]) { --accent: #5fbcd9; --accent-ink: #0b1a20; --accent-soft: #14313b; --ridge-far: rgba(95, 188, 217, 0.12); --ridge-mid: rgba(95, 188, 217, 0.24); }
  :root[data-palette="ultramarine"]:not([data-theme="light"]) { --accent: #8f9fff; --accent-ink: #0f1230; --accent-soft: #1f2450; --ridge-far: rgba(143, 159, 255, 0.12); --ridge-mid: rgba(143, 159, 255, 0.24); }
}
:root[data-palette="cobalt"][data-theme="dark"] { --accent: #7eaaf2; --accent-ink: #0d1626; --accent-soft: #1b2a44; --ridge-far: rgba(126, 170, 242, 0.12); --ridge-mid: rgba(126, 170, 242, 0.24); }
:root[data-palette="lake"][data-theme="dark"] { --accent: #5fbcd9; --accent-ink: #0b1a20; --accent-soft: #14313b; --ridge-far: rgba(95, 188, 217, 0.12); --ridge-mid: rgba(95, 188, 217, 0.24); }
:root[data-palette="ultramarine"][data-theme="dark"] { --accent: #8f9fff; --accent-ink: #0f1230; --accent-soft: #1f2450; --ridge-far: rgba(143, 159, 255, 0.12); --ridge-mid: rgba(143, 159, 255, 0.24); }

/* Preview-only colour switcher */
.palette-switch {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: calc(100% - 32px);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 8px 6px 14px; box-shadow: 0 6px 24px rgba(10, 14, 30, 0.14); font-size: 0.85rem;
}
.palette-switch .label { font-size: 0.72rem; }
.palette-switch button {
  display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 0.82rem; color: var(--ink);
  background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 4px 10px 4px 6px; cursor: pointer;
}
.palette-switch button[aria-pressed="true"] { border-color: var(--ink); }
.palette-switch .sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* Facts block */
.facts { max-width: 52rem; }
.facts dl { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--ink); }
.facts dt { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; padding-top: 0.25em; }
@media (min-width: 761px) { .facts { margin-left: calc(14rem + 48px); } }
