/* ─────────────────────────────────────────────────────────
   NOOMOTIC — "The Silent Engine"
   Architectural / editorial dark-mode tech.
   ───────────────────────────────────────────────────────── */

:root {
  --bg: #1A1A1B;
  --bg-deep: #111113;
  --panel: #1F1F21;
  --panel-hi: #26262A;

  --line: rgba(244, 244, 245, 0.08);
  --line-strong: rgba(244, 244, 245, 0.16);
  --line-accent: rgba(62, 84, 211, 0.45);

  --text: #F4F4F5;
  --muted: rgba(244, 244, 245, 0.58);
  --muted-soft: rgba(244, 244, 245, 0.32);
  --muted-soft-2: rgba(244, 244, 245, 0.18);

  --accent: #3E54D3;
  --accent-hi: #5A6FE6;
  --accent-glow: rgba(62, 84, 211, 0.22);

  --font-display: 'Instrument Serif', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, monospace;

  --container: 1400px;
  --pad-x: clamp(1.25rem, 4vw, 3.5rem);
  --pad-y: clamp(5rem, 12vh, 10rem);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ───── reset ───── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

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

/* ───── atmosphere overlays ───── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 0%, transparent 40%, rgba(0,0,0,0.35) 90%),
    radial-gradient(ellipse at 50% 100%, transparent 40%, rgba(0,0,0,0.25) 90%);
}

/* ───── top nav ───── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--pad-x);
  background: linear-gradient(to bottom, rgba(26,26,27,0.85), rgba(26,26,27,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
}
.nav-mark { color: var(--text); opacity: 0.9; }
.nav-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 180ms var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ───── hero ───── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(8rem, 14vh, 11rem) var(--pad-x) clamp(3rem, 6vh, 5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Cinematic background layers: parallax wrapper → ken burns image → dark overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-bg-parallax {
  position: absolute;
  inset: 0;
  display: block;
  will-change: transform;
  transform: translate3d(0, var(--parallax, 0px), 0);
}
.hero-bg-img {
  position: absolute;
  top: -6%;
  left: -3%;
  width: 106%;
  height: 112%;
  object-fit: cover;
  object-position: 60% 50%;
  transform-origin: 65% 45%;
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.15) translate3d(-2%, 1.4%, 0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(95deg,
      rgba(16, 16, 17, 0.92) 0%,
      rgba(22, 22, 24, 0.70) 30%,
      rgba(26, 26, 27, 0.32) 55%,
      rgba(26, 26, 27, 0.10) 80%),
    linear-gradient(180deg,
      rgba(26, 26, 27, 0.35) 0%,
      transparent 30%,
      rgba(26, 26, 27, 0.55) 75%,
      rgba(26, 26, 27, 0.98) 100%);
}

.hero-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-headline,
.hero-sub {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

/* Blueprint crosshairs — on the inner hero frame corners */
.corner {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 3;
  color: var(--muted-soft);
}
.corner::before, .corner::after {
  content: '';
  position: absolute;
  background: currentColor;
}
.corner::before { width: 26px; height: 1px; top: 50%; left: 0; transform: translateY(-0.5px); }
.corner::after  { width: 1px; height: 26px; top: 0; left: 50%; transform: translateX(-0.5px); }
.corner--tl { top: clamp(5.5rem, 12vh, 8rem);   left: calc(var(--pad-x) - 8px); }
.corner--tr { top: clamp(5.5rem, 12vh, 8rem);   right: calc(var(--pad-x) - 8px); }
.corner--bl { bottom: clamp(3rem, 8vh, 5rem);   left: calc(var(--pad-x) - 8px); }
.corner--br { bottom: clamp(3rem, 8vh, 5rem);   right: calc(var(--pad-x) - 8px); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}
.eyebrow-dash {
  width: 28px;
  height: 1px;
  background: var(--muted);
  display: inline-block;
}

/* Hero headline — the showpiece */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.6rem, 11vw, 9.5rem);
  line-height: 0.93;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--text);
}
.hero-headline span { display: block; }
.hero-headline em {
  font-style: italic;
  color: var(--text);
}
/* The blueprint period mark — a pulsing slate-blue square */
.period-mark {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  background: var(--accent);
  margin-left: 0.08em;
  vertical-align: baseline;
  transform: translateY(-0.04em);
  box-shadow: 0 0 24px var(--accent-glow);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: translateY(-0.04em) scale(1); }
  50%      { opacity: 0.55; transform: translateY(-0.04em) scale(0.82); }
}

.hero-sub {
  max-width: 44rem;
  margin: clamp(1.75rem, 4vh, 2.75rem) 0 0;
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}

/* Hero meta row */
.hero-meta {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.meta-item { display: inline-flex; gap: 0.5rem; align-items: baseline; }
.meta-key { color: var(--muted-soft); }
.meta-val { color: var(--text); }
.meta-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  transition: color 200ms var(--ease), gap 200ms var(--ease);
}
.meta-scroll svg { transition: transform 380ms var(--ease); }
.meta-scroll:hover { color: var(--text); }
.meta-scroll:hover svg { transform: translateY(3px); }

/* ───── generic section ───── */
.section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.section-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.rule-left { display: inline-flex; gap: 1.75rem; align-items: baseline; }
.section-num { color: var(--text); }
.section-name { color: var(--muted); }
.rule-right { color: var(--muted-soft); }

.display-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.97;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}
.display-title em { font-style: italic; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 52rem;
  margin: 0 0 clamp(3rem, 7vh, 5rem);
  color: var(--text);
}
.section-heading em { font-style: italic; color: var(--accent-hi); }

/* ───── philosophy ───── */
.philosophy-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.philosophy-body { max-width: 34rem; }
.philosophy-body p { margin: 0 0 1.1rem; color: var(--muted); font-size: 1.02rem; }
.philosophy-body .lede {
  color: var(--text);
  font-size: clamp(1.15rem, 1.4vw, 1.32rem);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.principles {
  list-style: none;
  padding: 0;
  margin: clamp(4.5rem, 10vh, 7rem) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.principle {
  background: var(--bg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: background 280ms var(--ease);
}
.principle:hover { background: var(--panel); }
.principle-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--accent-hi);
}
.principle-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0.25rem 0 0.35rem;
  color: var(--text);
}
.principle p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

/* ───── portfolio ───── */
.portfolio { }
.ventures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
}
.venture {
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--line);
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 2.5vw, 2.25rem);
  min-height: 520px;
  transition: border-color 320ms var(--ease), transform 420ms var(--ease), background 420ms var(--ease);
  overflow: hidden;
}
.venture::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(400px 260px at 90% 110%, var(--accent-glow), transparent 65%);
  opacity: 0;
  transition: opacity 520ms var(--ease);
}
.venture:hover { border-color: var(--line-accent); transform: translateY(-4px); }
.venture:hover::before { opacity: 0.6; }

.venture-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.venture-num { color: var(--muted-soft); }
.venture-status { display: inline-flex; gap: 0.55rem; align-items: center; color: var(--text); }
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: dot-pulse 2.2s ease-in-out infinite;
}
.status-dot--dev { background: #8A8A90; box-shadow: none; animation-duration: 3.4s; }
@keyframes dot-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(0.7); opacity: 0.5; }
}

/* Venture logos — the visual seal above the wordmark */
.venture-logo-wrap {
  display: flex;
  align-items: flex-start;
  margin: 0;
}
.venture-logo {
  display: block;
  height: 96px;
  width: auto;
}
.venture-logo--thengo {
  border-radius: 22px;
  box-shadow: 0 18px 40px -12px rgba(62, 84, 211, 0.2), 0 2px 8px rgba(0, 0, 0, 0.4);
}
.venture-logo--modus {
  filter: invert(1) brightness(1.1) contrast(1.08);
  mix-blend-mode: screen;
  height: 104px;
  margin-left: -6px;
}
.venture-logo-wrap + .venture-mark {
  margin-top: -0.5rem;
}

/* Venture marks — each venture gets its own typographic identity */
.venture-mark {
  font-size: clamp(2.2rem, 3.4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0.5rem 0;
}
.venture-mark--thengo {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.venture-mark--thengo .dash {
  color: var(--accent);
  margin: 0 0.15em;
  display: inline-block;
  transform: translateY(-0.08em);
}
.venture-mark--modus {
  font-family: var(--font-display);
  font-style: normal;
}
.venture-mark--modus em {
  font-style: italic;
  font-size: 1em;
  letter-spacing: -0.015em;
}

.venture-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.venture-title em { font-style: italic; color: var(--accent-hi); }

.venture-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 34rem;
}

.venture-specs {
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.venture-specs > div { display: flex; flex-direction: column; gap: 0.35rem; }
.venture-specs dt { color: var(--muted-soft); margin: 0; }
.venture-specs dd { margin: 0; color: var(--text); font-weight: 500; }

.venture-foot {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-soft);
}

/* ───── contact ───── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-copy h2 { max-width: 26rem; }
.contact-copy p {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 32rem;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row:first-child { padding-top: 0; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-soft);
}
.contact-value {
  font-size: 0.98rem;
  color: var(--text);
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.55;
}
.contact-value--stack { align-items: flex-start; }
a.contact-value {
  transition: color 200ms var(--ease);
}
a.contact-value:hover { color: var(--accent-hi); }
.copy-btn {
  color: var(--muted);
  padding: 0.25rem;
  line-height: 0;
  border: 1px solid var(--line);
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}
.copy-btn:hover { color: var(--text); border-color: var(--line-strong); background: var(--panel-hi); }

/* ───── footer ───── */
.footer {
  margin-top: clamp(3rem, 6vh, 5rem);
  padding: clamp(3.5rem, 8vh, 6rem) var(--pad-x) 2rem;
  border-top: 1px solid var(--line);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.footer-tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.35;
  color: var(--muted);
  max-width: 30rem;
  text-align: right;
}
.footer-tagline em { color: var(--text); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-soft);
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 1.75rem;
}
.footer-links a { color: var(--muted); transition: color 180ms var(--ease); }
.footer-links a:hover { color: var(--text); }

/* ───── toast ───── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 1rem);
  background: var(--panel-hi);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.75rem 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
  z-index: 100;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ───── reveal animation ───── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(10px);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease),
    filter 900ms var(--ease);
  transition-delay: calc(var(--delay, 0) * 1ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ───── responsive ───── */
@media (max-width: 880px) {
  .nav { padding: 1rem var(--pad-x); }
  .nav-links { gap: 1.25rem; font-size: 0.68rem; letter-spacing: 0.12em; }

  .corner--tl, .corner--tr { top: 5rem; }
  .corner--bl, .corner--br { bottom: 2rem; }

  .philosophy-head { grid-template-columns: 1fr; gap: 2rem; }
  .principles { grid-template-columns: 1fr; }
  .ventures { grid-template-columns: 1fr; }
  .venture { min-height: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .venture-specs { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-tagline { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 540px) {
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .contact-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .venture-specs { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; font-size: 0.62rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ───── legal pages (privacy, terms) ───── */
.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(8rem, 15vh, 12rem) var(--pad-x) var(--pad-y);
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.legal .legal-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-soft);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
}
.legal p, .legal li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
