/* ============================================================
   Sapient Loop — site stylesheet
   Palette: ink navy + warm paper + brand cyan (#73C2D2, from logo)
   Type: Thunder (display) + BDO Grotesk (body/UI)
   ============================================================ */

/* ---------- Fonts ----------
   Headings: IBM Plex Sans Light (300), loaded from Google Fonts in the HTML.
   Body/UI: BDO Grotesk (local). */
@font-face {
  font-family: "BDO Grotesk";
  src: url("../fonts/BDOGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("../fonts/BDOGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("../fonts/BDOGrotesk-DemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #070b12;
  --ink-2: #0c121c;
  --ink-3: #111a28;
  --line: rgba(234, 240, 248, 0.10);
  --line-strong: rgba(234, 240, 248, 0.18);
  --text: #eaf0f6;
  --muted: #93a0b4;
  --accent: #73c2d2;
  --accent-bright: #9fdeeb;
  --accent-ink: #0a2530;
  --paper: #f2efe7;
  --paper-2: #e9e4d8;
  --paper-ink: #12233a;
  --paper-muted: #55617a;
  --paper-line: rgba(18, 35, 58, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 11vw, 150px);
  --display: "IBM Plex Sans", "Segoe UI", -apple-system, sans-serif;
  --sans: "BDO Grotesk", "Inter", -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(115, 194, 210, 0); }
.btn--primary:hover { background: var(--accent-bright); box-shadow: 0 8px 32px -8px rgba(115, 194, 210, 0.55); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); }
.btn--paper { background: var(--paper-ink); color: var(--paper); }
.btn--paper:hover { background: #1b3355; transform: translateY(-2px); }
.btn .arr { transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn--lg { padding: 18px 34px; font-size: 16.5px; }
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; justify-content: center; }
  .btn--lg { padding: 16px 26px; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px;
}
.site-header .logo img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--muted); border: 1px solid var(--line-strong);
  padding: 7px 12px; border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lang-switch:hover { color: var(--accent-bright); border-color: var(--accent); }
.header-cta { padding: 12px 22px; font-size: 14.5px; }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 9px 11px; color: var(--text);
}
.nav-toggle svg { display: block; }
@media (max-width: 1000px) {
  .site-nav {
    position: fixed; top: 78px; inset-inline: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(7, 11, 18, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; font-size: 17px; width: 100%; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(150px, 20vw, 220px);
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; z-index: 0;
  top: -320px; right: -260px;
  width: 820px; height: 820px;
  background: radial-gradient(circle at center, rgba(115, 194, 210, 0.16), transparent 62%);
  pointer-events: none;
}
.hero__loop {
  position: absolute; z-index: 0;
  right: clamp(-160px, -6vw, -40px);
  top: clamp(60px, 10vw, 140px);
  width: clamp(340px, 42vw, 640px);
  opacity: 0.5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(42px, 6.4vw, 86px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 26px 0 28px; max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 58ch; margin-bottom: 40px; }
.hero__sub strong { color: var(--text); font-weight: 500; }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
.hero__cta-note { font-size: 14px; color: var(--muted); }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  margin-top: 54px; padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.hero__trust li { display: flex; align-items: center; gap: 9px; }
.hero__trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Metrics band ---------- */
.metrics { border-block: 1px solid var(--line); background: var(--ink-2); }
.metrics__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric {
  padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2.4vw, 34px);
  border-inline-start: 1px solid var(--line);
}
.metric:first-child { border-inline-start: 0; }
.metric__num {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(36px, 4vw, 54px); line-height: 1;
  color: var(--accent-bright);
}
.metric__label { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 24ch; }
.metrics__note {
  grid-column: 1 / -1; padding: 14px clamp(16px, 2.4vw, 34px);
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em;
}
@media (max-width: 860px) {
  .metrics__inner { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(odd) { border-inline-start: 0; }
  .metric:nth-child(n + 3):not(.metrics__note) { border-top: 1px solid var(--line); }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(32px, 4.3vw, 56px); line-height: 1.12; letter-spacing: -0.015em;
  margin-top: 22px;
}
.section-head h2 em { font-style: normal; color: var(--accent-bright); }
.section-head .lead { margin-top: 20px; color: var(--muted); font-size: 17.5px; max-width: 62ch; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 28px);
}
.service-card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2) 62%);
  padding: clamp(28px, 3.4vw, 42px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(115, 194, 210, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
.service-card__num {
  font-family: var(--sans); font-weight: 600;
  font-size: 12px; color: var(--accent);
  letter-spacing: 0.16em;
}
.service-card h3 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 14px 0 14px;
}
.service-card p { color: var(--muted); font-size: 16px; }
.service-card__deliv {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.service-card__deliv strong {
  display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px; font-weight: 600;
}
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; } }

.section-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.section-cta-row .hint { font-size: 14.5px; color: var(--muted); }

/* ---------- Case studies (paper section) ---------- */
.cases { background: var(--paper); color: var(--paper-ink); }
.cases .eyebrow { color: #2a7f95; }
.cases .section-head h2 em { color: #2a7f95; }
.cases .section-head .lead { color: var(--paper-muted); }

.case {
  border-top: 1px solid var(--paper-line);
  padding-block: clamp(40px, 5.5vw, 68px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4.5vw, 72px);
}
.case:last-of-type { border-bottom: 1px solid var(--paper-line); }
.case__index {
  font-family: var(--sans); font-weight: 600;
  color: #2a7f95; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.case h3 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(27px, 3.1vw, 40px); line-height: 1.15;
  margin: 12px 0 18px; letter-spacing: -0.015em;
}
.case__meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
}
.case__meta span {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--paper-muted);
  border: 1px solid var(--paper-line); border-radius: 999px;
  padding: 5px 13px; background: rgba(255, 255, 255, 0.5);
}
.case__body p { color: #33415e; font-size: 16.5px; margin-bottom: 16px; }
.case__body p strong { color: var(--paper-ink); }
.case__built { margin-top: 6px; }
.case__built li {
  position: relative; padding-inline-start: 24px; margin-bottom: 10px;
  color: #33415e; font-size: 15.5px;
}
.case__built li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px; border: 2px solid #2a7f95; border-radius: 50%;
}
.case__built li strong { color: var(--paper-ink); font-weight: 600; }

.case__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  align-content: start;
}
.case__stat {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
  padding: 22px 20px;
}
.case__stat b {
  display: block; font-family: var(--display); font-weight: 300;
  font-size: clamp(27px, 2.7vw, 37px); line-height: 1; color: var(--paper-ink);
}
.case__stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--paper-muted); }
.case__quotebar {
  grid-column: 1 / -1;
  background: var(--paper-ink); color: var(--paper); border-radius: var(--radius);
  padding: 20px 24px; font-size: 15px; line-height: 1.55;
}
.case__quotebar em { font-style: normal; }
.cases__disclosure {
  margin-top: 26px; font-size: 13px; color: var(--paper-muted);
  max-width: 72ch;
}
.cases__cta { margin-top: clamp(36px, 5vw, 54px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cases__cta .hint { font-size: 14.5px; color: var(--paper-muted); }
@media (max-width: 880px) {
  .case { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
  counter-reset: step;
}
.process-step {
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
  position: relative;
}
.process-step::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 44px; height: 1px; background: var(--accent);
}
.process-step__num {
  font-family: var(--sans); font-weight: 600;
  color: var(--accent); font-size: 12px; letter-spacing: 0.16em;
}
.process-step h3 { font-size: 19px; font-weight: 600; margin: 10px 0 10px; }
.process-step p { font-size: 15px; color: var(--muted); }
.process-step__out {
  margin-top: 14px; font-size: 13px; color: var(--accent-bright);
}
.process-step__out::before { content: "→ "; }
@media (max-width: 880px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Why us ---------- */
.why { background: var(--ink-2); border-block: 1px solid var(--line); }
.why__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.why__points li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.why__points li:last-child { border-bottom: 0; }
.why__points .n {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  color: var(--accent); font-size: 12px; letter-spacing: 0.16em; padding-top: 4px;
}
.why__points h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 6px; }
.why__points p { font-size: 15px; color: var(--muted); }
.why__media { position: relative; }
.why__media img {
  border-radius: var(--radius-lg); width: 100%;
  aspect-ratio: 4 / 4.6; object-fit: cover;
  filter: saturate(0.88);
}
.why__badge {
  position: absolute; left: 22px; bottom: 22px;
  background: rgba(7, 11, 18, 0.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 16px 20px;
}
.why__badge b { font-family: var(--display); font-weight: 300; font-size: 36px; line-height: 1; color: var(--accent-bright); display: block; }
.why__badge span { font-size: 13px; color: var(--muted); }
@media (max-width: 880px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-size: 18px; font-weight: 500;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-bright); }
.faq-item summary .ind {
  font-family: var(--sans); font-weight: 400; color: var(--accent);
  flex: none; transition: transform 0.2s ease; font-size: 22px; line-height: 1;
}
.faq-item[open] summary .ind { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 26px; color: var(--muted); font-size: 16px; max-width: 66ch; }
.faq-item .faq-a a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute; bottom: -420px; left: -260px;
  width: 860px; height: 860px;
  background: radial-gradient(circle at center, rgba(115, 194, 210, 0.12), transparent 62%);
  pointer-events: none;
}
.contact .container { position: relative; }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact__grid > * { min-width: 0; }
.contact__intro h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(34px, 4.3vw, 56px); line-height: 1.1; margin-top: 22px;
  letter-spacing: -0.015em;
}
.contact__intro h2 em { font-style: normal; color: var(--accent-bright); }
.contact__intro .lead { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 46ch; }
.book-card {
  margin-top: 34px;
  border: 1px solid rgba(115, 194, 210, 0.35);
  background: linear-gradient(150deg, rgba(115, 194, 210, 0.10), rgba(115, 194, 210, 0.03));
  border-radius: var(--radius-lg); padding: 26px 26px 28px;
}
.book-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.book-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.book-card .btn { width: 100%; justify-content: center; }
.contact__alts { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.contact__alts a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }
.contact__alts li { margin-bottom: 8px; display: flex; gap: 9px; align-items: baseline; }
.contact__alts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }

/* Form */
.contact-form {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--ink-2); padding: clamp(24px, 3vw, 38px);
}
.contact-form .form-title { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.contact-form .form-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; font: inherit; font-size: 15.5px;
  color: var(--text); background: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(147, 160, 180, 0.6); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(115, 194, 210, 0.18);
}
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.form-status { margin-top: 14px; font-size: 14.5px; text-align: center; display: none; }
.form-status.ok { display: block; color: #8fe3b0; }
.form-status.err { display: block; color: #f2a3a3; }
@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Small headings share the display family (Plex Light is too faint below ~20px,
   so these use the 500 weight) */
.process-step h3, .why__points h3, .faq-item summary,
.book-card h3, .contact-form .form-title, .footer-col h4 {
  font-family: var(--display); font-weight: 500;
}

/* ---------- Legal / utility pages ---------- */
.page-plain { padding-top: clamp(140px, 16vw, 190px); }
.legal { max-width: 760px; }
.legal h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(34px, 4.5vw, 54px); letter-spacing: -0.015em;
  margin: 14px 0 10px;
}
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 38px; }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal p { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.notfound h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(48px, 8vw, 110px); letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 18px;
}
.notfound p { color: var(--muted); font-size: 17px; max-width: 48ch; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px);
}
.footer-brand img { height: 55px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; color: var(--muted); max-width: 32ch; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col span { font-size: 15px; color: var(--text); opacity: 0.85; transition: color 0.15s ease, opacity 0.15s ease; }
.footer-col a:hover { color: var(--accent-bright); opacity: 1; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 22px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
