/* Ventura Foundry — ventura.at */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Navy · Yellow · White */
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #0b1b3a;
  --ink-2: #3b4a66;
  --muted: #6a7790;
  --line: #e2e6ee;
  --line-strong: #c9d0dd;
  --accent: #ffc928;
  --accent-ink: #0b1b3a;
  --mark: #0b1b3a;
  --logo-bg: #0b1b3a;
  --icon-bg: #0b1b3a;
  --focus: #0b1b3a;
  --band: #0b1b3a;
  --band-ink: #ffffff;
  --band-muted: #9fb0cf;
  --band-line: #23365c;

  /* Hero visual */
  --p1-top: #ffffff;
  --p1-l: #d3dae7;
  --p1-r: #e4e8f1;
  --p1-line: #c9d0dd;
  --p2-top: #0b1b3a;
  --p2-l: #050d1f;
  --p2-r: #10254d;
  --p2-line: #3a5384;
  --p3-top: #eceff5;
  --p3-l: #cdd4e2;
  --p3-r: #dde2ec;
  --p3-line: #c3cbda;
  --viz-edge: #0b1b3a;
  --p2-node: #ffffff;
  --p3-trace: #7d8cab;
  --p2-edge: #46619a;
  --chip: #0b1b3a;
  --beam: #9aa8c2;

  --max: 1160px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 14px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060e20;
    --surface: #0c1830;
    --ink: #eef2f9;
    --ink-2: #b8c3d8;
    --muted: #8292ae;
    --line: #18284a;
    --line-strong: #27395f;
    --accent: #ffcf3a;
    --mark: #ffcf3a;
    --logo-bg: #13264d;
    --icon-bg: #13264d;
    --focus: #ffcf3a;
    --band: #0c1830;
    --band-ink: #eef2f9;
    --band-muted: #93a3c1;
    --band-line: #1f3259;

    --p1-top: #eef2f9;
    --p1-l: #8d9cb9;
    --p1-r: #b6c1d6;
    --p1-line: #c3ccdc;
    --p2-top: #1a3366;
    --p2-l: #0c1a38;
    --p2-r: #142a55;
    --p2-line: #4a679e;
    --p3-top: #0f1f40;
    --p3-l: #08142c;
    --p3-r: #0c1a36;
    --p3-line: #24395f;
    --viz-edge: #13264d;
    --p2-node: #eef2f9;
    --p3-trace: #4a679e;
    --p2-edge: #5674b0;
    --chip: #1a3366;
    --beam: #3a5384;
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 560; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }

::selection { background: var(--accent); color: #0b1b3a; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.solid { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.wordmark { font-weight: 400; color: var(--ink-2); }
.wordmark b { font-weight: 650; color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-2);
  transition: color .15s ease, background-color .15s ease;
}
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }

.cta {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  background: var(--ink);
  color: var(--bg);
  transition: opacity .15s ease;
}
.cta:hover { opacity: .88; }

/* Language toggle: a two-position segmented switch */
.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
}
.lang-switch svg {
  width: 15px;
  height: 15px;
  margin: 0 4px 0 6px;
  color: var(--muted);
}
.lang-switch a {
  position: relative;
  z-index: 1;
  min-width: 34px;
  padding: 5px 9px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s ease, background-color .2s ease;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .nav-right > .cta, .lang-switch svg { display: none; }
  .lang-switch { grid-template-columns: 1fr 1fr; }
}


/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, opacity .15s ease, border-color .15s ease, background-color .15s ease, box-shadow .2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(11, 27, 58, .08), 0 8px 20px -10px rgba(255, 186, 0, .65);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(11, 27, 58, .08), 0 12px 26px -10px rgba(255, 186, 0, .8); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 8vh, 96px) 0 clamp(56px, 9vh, 104px);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  /* Faint engineering grid, fading out towards the edges */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 72% 40%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 65% 75% at 72% 40%, #000 10%, transparent 72%);
  opacity: .8;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -140px;
  top: -120px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent) 0%, transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.hero h1 .accent {
  /* Highlighter stroke behind the word */
  background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 90%, transparent 90%);
  padding: 0 .04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (prefers-color-scheme: dark) {
  .hero h1 .accent {
    color: var(--accent);
    background: linear-gradient(transparent 86%, color-mix(in srgb, var(--accent) 35%, transparent) 86%, color-mix(in srgb, var(--accent) 35%, transparent) 96%, transparent 96%);
  }
}

.lead {
  margin-top: 28px;
  max-width: 34em;
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .viz { max-width: 480px; margin: 8px auto 0; }
}

/* ---------- Hero visual: the product stack ---------- */

.viz { width: 100%; }
.viz svg { width: 100%; height: auto; overflow: visible; }
.viz text {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  fill: var(--muted);
}
.viz .t-num { fill: var(--ink); font-weight: 600; }
@media (max-width: 600px) {
  .viz text { font-size: 13.5px; letter-spacing: 0; }
}

.p1-top { fill: var(--p1-top); stroke: var(--p1-line); stroke-width: 1; }
.p1-l { fill: var(--p1-l); }
.p1-r { fill: var(--p1-r); }
.p2-top { fill: var(--p2-top); }
.p2-l { fill: var(--p2-l); }
.p2-r { fill: var(--p2-r); }
.p3-top { fill: var(--p3-top); stroke: var(--p3-line); stroke-width: 1; }
.p3-l { fill: var(--p3-l); }
.p3-r { fill: var(--p3-r); }
.shadow { fill: var(--ink); opacity: .07; }
.leader { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.leader-dot { fill: var(--ink); }

/* 01 Interface: an app screen */
.ui-frame { fill: none; stroke: var(--p1-line); stroke-width: .6; }
.ui-bar { fill: var(--viz-edge); }
.ui-line { fill: var(--p1-line); }
.ui-dim { fill: var(--p1-r); }
.ui-card { fill: none; stroke: var(--p1-line); stroke-width: .6; }
.ui-accent { fill: var(--accent); }
.typing { animation: typing 5s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes typing { 0% { transform: scaleX(.15); } 45%, 80% { transform: scaleX(1); } 100% { transform: scaleX(.15); } }
.bar1, .bar2, .bar3 { transform-box: fill-box; transform-origin: bottom; animation: grow 4.5s ease-in-out infinite; }
.bar2 { animation-delay: .3s; }
.bar3 { animation-delay: .6s; }
@keyframes grow { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }

/* 02 Intelligence: a network firing column by column */
.ai-edge { stroke: var(--p2-edge); stroke-width: 1; stroke-opacity: .7; fill: none; }
.ai-path { stroke: var(--accent); stroke-width: 1.6; fill: none; stroke-dasharray: 160; stroke-dashoffset: 160; animation: trace 2.8s linear infinite; }
.ai-path.p1 { animation-delay: 1.4s; }
@keyframes trace { 0% { stroke-dashoffset: 160; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.ai-node { fill: var(--p2-node); animation: fire 2.8s ease-in-out infinite; }
.ai-node.n1 { animation-delay: .35s; }
.ai-node.n2 { animation-delay: .7s; }
.ai-node.n3 { animation-delay: 1.05s; }
@keyframes fire { 0%, 40%, 100% { fill: var(--p2-node); } 12% { fill: var(--accent); } }
.signal { fill: var(--accent); }

/* 03 Infrastructure: a circuit board */
.board { fill: none; stroke: var(--p3-trace); stroke-width: 1; stroke-dasharray: 3 3; opacity: .6; }
.trace { fill: none; stroke: var(--p3-trace); stroke-width: 1.4; stroke-linejoin: round; }
.pad { fill: var(--p3-top); stroke: var(--p3-trace); stroke-width: 1.2; }
.pin { fill: var(--p3-trace); }
.chip { fill: var(--chip); }
.core { fill: var(--accent); animation: core 2.4s ease-in-out infinite; }
@keyframes core { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.module { fill: var(--p3-trace); opacity: .75; }
.led { fill: var(--p3-trace); animation: led 3s steps(1) infinite; }
.led.d1 { animation-delay: 1s; }
.led.d2 { animation-delay: 2s; }
@keyframes led { 0%, 100% { fill: var(--p3-trace); } 20%, 45% { fill: var(--accent); } }
.socket { fill: var(--accent); }
.socket-ring { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: .55; }

/* Data rising through the stack */
.beam { stroke: var(--beam); stroke-width: 1.2; stroke-dasharray: 2 4; fill: none; }
.flow { fill: var(--accent); opacity: 0; animation: flow 3.6s cubic-bezier(.45, 0, .55, 1) infinite; }
.flow.f1 { animation-delay: 1.2s; }
.flow.f2 { animation-delay: 2.4s; }
@keyframes flow {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(-300px); opacity: 0; }
}

.spark { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; animation: rise 3.6s ease-out infinite; }
.spark.s1 { animation-delay: .9s; }
.spark.s2 { animation-delay: 1.8s; }
.spark.s3 { animation-delay: 2.7s; }
@keyframes rise {
  0% { transform: translateY(0) rotate(45deg); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-40px) rotate(45deg); opacity: 0; }
}

.float-a { animation: float-a 7s ease-in-out infinite; }
.float-b { animation: float-b 7s ease-in-out infinite; }
.float-c { animation: float-c 7s ease-in-out infinite; }
@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes float-c { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

@media (prefers-reduced-motion: reduce) {
  .viz * { animation: none !important; }
  .viz .spark, .viz .signal, .viz .flow { display: none; }
  .viz .ai-path { stroke-dashoffset: 0; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 11vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: -0.035em;
}
.section-head p { color: var(--ink-2); max-width: 34em; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.service {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  border-color: var(--line);
  border-style: solid;
  border-width: 0;
  transition: background-color .2s ease;
}
.service::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service:hover::after { transform: scaleX(1); }
.service:nth-child(odd) { border-right-width: 1px; }
.service:nth-child(-n+2) { border-bottom-width: 1px; }
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }
.num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}
.service h3 { font-size: 1.4rem; letter-spacing: -0.02em; }
.service p { margin-top: 12px; color: var(--ink-2); max-width: 30em; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .service { border-right-width: 0 !important; border-bottom-width: 1px !important; }
  .service:last-child { border-bottom-width: 0 !important; }
}

/* Process — navy band */

.band {
  background: var(--band);
  color: var(--band-ink);
  border-top: 0 !important;
}
.band + .section { border-top: 0; }
.band .eyebrow { color: var(--band-muted); }
.band .section-head p { color: var(--band-muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 28px 28px 0 0;
  border-top: 1px solid var(--band-line);
}
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--band);
  border: 1.5px solid var(--band-muted);
}
.step:first-child::before { background: var(--accent); border-color: var(--accent); }
.step .num { color: var(--accent); }
.step h3 { margin-top: 14px; font-size: 1.3rem; }
.step p { margin-top: 10px; color: var(--band-muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step { padding-right: 0; }
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px 72px;
}
.about h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: -0.035em;
}
.about-body > p {
  font-size: clamp(1.06rem, 1.5vw, 1.18rem);
  color: var(--ink-2);
}
.principles {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.principles li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 4px 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.principles li::before {
  content: "";
  grid-row: span 2;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent);
  transform: rotate(45deg);
}
.principles strong { font-weight: 580; }
.principles span { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* Contact */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--band);
  color: var(--band-ink);
  isolation: isolate;
}
.contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -280px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent) 0%, transparent 65%);
  filter: blur(10px);
}
.contact .eyebrow { color: var(--band-muted); }
.contact h2 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  max-width: 14em;
}
.contact p { margin-top: 18px; color: var(--band-muted); max-width: 32em; font-size: 1.08rem; }
.mail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: clamp(1.35rem, 3.4vw, 2.2rem);
  font-weight: 520;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: var(--band-ink);
  border-bottom: 2px solid var(--band-line);
  padding-bottom: 6px;
  transition: border-color .2s ease;
  overflow-wrap: anywhere;
}
.mail svg { width: .8em; height: .8em; color: var(--accent); flex: none; transition: transform .2s ease; }
.mail:hover { border-color: var(--accent); }
.mail:hover svg { transform: translate(3px, -3px); }
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--band-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px 0 40px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.footer-brand .brand { color: var(--ink); }
.footer-brand p { margin-top: 12px; max-width: 26em; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.legal-line {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
}
.legal-inner { max-width: 720px; }
.legal h1 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
}
.legal .intro { margin-top: 18px; color: var(--ink-2); }
.legal h2 {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.legal h3 { margin-top: 28px; font-size: 1.05rem; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--accent); }
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 32px;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
}
.facts dt, .facts dd {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { color: var(--ink); }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; font-size: 13.5px; }
  .facts dd { padding-top: 4px; }
}
.updated { margin-top: 48px !important; font-family: var(--mono); font-size: 12.5px; color: var(--muted) !important; }

/* ---------- 404 ---------- */

.notfound {
  min-height: 62vh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 80px 0;
}
.notfound h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.04em;
}
.notfound p { margin-top: 16px; color: var(--ink-2); max-width: 32em; }
.notfound .hero-actions { margin-top: 32px; }
