/* ═══════════════════════════════════════════════════════════════════════════
   MOTIVE — LIGHT REGISTER
   2026-05-21 · Pure-white palette, cobalt accent, Geist + Geist Mono.
   Locked palette: bg #FFFFFF, text #0A0A0A, secondary #525252,
   surface #F7F7F7, hairline rgba(0,0,0,0.08), accent #1D4ED8 cobalt.
   Background: #FFFFFF chosen (pure white — Mercury/Stripe Atlas register).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Self-hosted fonts (Geist, SIL OFL 1.1) ──────────────────────────────────
   Served locally from /fonts/ instead of fonts.googleapis.com. Eliminates the
   cross-origin request to Google (no visitor IP passed to Google, no GDPR
   third-party-transfer disclosure) and lets the CSP keep font-src 'self'.
   Variable woff2 covers the full weight axis used across the site. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/Geist-Variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/GeistMono-Variable.woff2') format('woff2');
}

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

:root {
  /* ── Background ── */
  --bg:        #FFFFFF;   /* pure white — Mercury/Stripe Atlas register */
  --bg-2:      #FCFCFC;   /* near-white for subtle lift */

  /* ── Hairlines ── */
  --line:      rgba(0, 0, 0, 0.08);   /* Notion-Calendar grade */
  --line-soft: rgba(0, 0, 0, 0.05);
  --line-hi:   rgba(0, 0, 0, 0.14);

  /* ── Typography ── */
  --ink:       #0A0A0A;   /* cool near-black */
  --ink-2:     #525252;   /* cool mid-gray — 6.5:1 on white, passes AA */
  --ink-3:     #737373;   /* muted — 4.6:1 on white, passes AA */
  --ink-4:     #A3A3A3;   /* placeholder / metadata */

  /* ── Accent — cobalt, NOT indigo ── */
  --accent:        #1D4ED8;                  /* cobalt — Stripe Atlas / Justin Welsh register */
  --accent-hi:     #2563EB;                  /* slightly lighter cobalt on hover */
  --accent-soft:   rgba(29, 78, 216, 0.08);  /* surface tint */
  --accent-glow:   rgba(29, 78, 216, 0.12);  /* shadow / glow */

  /* ── Surface ── */
  --surface:   #F7F7F7;   /* very light gray — card lift on white */

  /* ── Layout ── */
  --container: 1700px;
  --pad-x:     clamp(24px, 5vw, 72px);

  /* ── Fonts ── */
  --font-sans: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;

  /* ── Easing ── */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

html { background: var(--bg); }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* Focus — styled, not default browser ring */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip-to-content link — visually hidden until keyboard-focused (WCAG 2.4.1).
   z-index sits above #nav (100) and #scroll-progress (1000). */
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 8px; }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ─── SCROLL PROGRESS ─────────────────────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent);
  z-index: 1000;
  transition: width 80ms linear;
}

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad-x);
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms var(--ease),
              backdrop-filter 220ms var(--ease),
              border-color 220ms var(--ease),
              padding 220ms var(--ease);
}
#nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-mark { display: block; height: 22px; width: auto; object-fit: contain; transition: opacity 150ms var(--ease); }
.nav-logo:hover .brand-mark { opacity: 0.78; }

.nav-links {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: -0.012em;
  padding: 4px 14px;
  position: relative;
  transition: color 150ms var(--ease);
}
.nav-links a + a::before {
  content: '·';
  color: var(--ink-4);
  margin-left: -10px;
  margin-right: 10px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* NAV CTA — filled near-black pill (B8) */
.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.008em;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background-color 150ms var(--ease),
              transform 120ms var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.nav-cta-pill:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
}
.nav-cta-pill:active { transform: translateY(0); }
.nav-cta-pill .arrow { font-style: normal; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
}

/* ─── TEXT LINK ───────────────────────────────────────────────────────────── */
.tlink {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
  transition: color 160ms var(--ease);
}
.tlink .arrow {
  color: var(--accent);
  transition: transform 200ms var(--ease);
  display: inline-block;
}
.tlink::after {
  content: '';
  position: absolute;
  left: 0; right: 28px; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.tlink:hover { color: var(--accent); }
.tlink:hover::after { transform: scaleX(1); }
.tlink:hover .arrow { transform: translate(4px, -4px); }

.tlink-primary {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.tlink-primary::after {
  background: var(--accent);
  transform: scaleX(1);
  height: 1.5px;
}
.tlink-primary:hover::after { height: 2px; }

.tlink-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--accent);
  position: relative;
  padding-bottom: 1px;
}
.tlink-inline::after {
  content: '';
  position: absolute;
  left: 0; right: 18px; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}
.work-card-open:hover .tlink-inline::after { transform: scaleX(1); }
.tlink-inline .arrow { transition: transform 180ms var(--ease); }
.work-card-open:hover .tlink-inline .arrow { transform: translate(3px, -3px); }

.tlink-lg { font-size: 20px; font-weight: 600; }

/* ─── HERO — two-column split with iPhone mock ───────────────────────────── */
.hero {
  position: relative;
  padding: clamp(140px, 20vh, 240px) 0 clamp(80px, 9vw, 120px);
  overflow: hidden;
}

/* Subtle grid — light version: very faint warm lines */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: -1px 0 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent 80%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 25%, rgba(29, 78, 216, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Two-column split: copy left, iPhone right */
.hero-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; }

/* iPhone mock — animated morning-recap thread, hide on tablet and mobile */
.hero-phone {
  flex-shrink: 0;
  width: clamp(240px, 16vw, 280px);
  display: flex;
  justify-content: center;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
}

.hp-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 18px 48px rgba(10, 10, 10, 0.07);
  padding: 10px 12px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--font-sans);
}

/* Dynamic island — sits at top: 10px, height 24px (band y=10..34) */
.hp-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 24px;
  background: var(--ink);
  border-radius: 14px;
  z-index: 2;
}

/* Status bar — Apple layout: time left of island, status icons right.
   Height matches the island and shares the same top, so time + icons sit
   centered on the same horizontal band as the dynamic island (y=10..34). */
.hp-statusbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 24px;
  padding: 0 14px 0 16px;
  margin: 0 -12px 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.hp-time { line-height: 1; }
.hp-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
}
.hp-icons svg { display: block; }
.hp-batt {
  position: relative;
  display: inline-block;
  width: 20px; height: 10px;
  border: 1px solid currentColor;
  border-radius: 2.5px;
  background: linear-gradient(90deg, currentColor 80%, transparent 80%) no-repeat;
  opacity: 0.95;
}
.hp-batt::after {
  content: '';
  position: absolute;
  right: -2.5px; top: 3px;
  width: 1.5px; height: 4px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}

/* Chat header — avatar + name + online status */
.hp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  margin: 0 -12px;
  padding-left: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}
.hp-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-avatar-letter {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hp-avatar-status {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  background: #22C55E;
  border: 2px solid var(--bg);
  border-radius: 50%;
}
.hp-meta { display: flex; flex-direction: column; gap: 1px; }
.hp-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.hp-status {
  font-size: 11px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.005em;
}
.hp-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22C55E;
}

/* Thread */
.hp-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 4px;
  overflow: hidden;
}
.hp-thread.hp-loop > .hp-msg {
  display: none;
}
.hp-thread.hp-loop > .hp-msg.is-shown {
  display: block;
  animation: hp-msg-in 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hp-thread.hp-loop > .hp-msg-typing.is-shown {
  display: inline-flex;
}
@keyframes hp-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hp-thread.hp-loop > .hp-msg { display: block !important; animation: none !important; }
  .hp-thread.hp-loop > .hp-msg-typing { display: inline-flex !important; }
}

/* Messages */
.hp-msg {
  font-size: 11.5px;
  line-height: 1.42;
  padding: 8px 11px;
  border-radius: 13px;
  max-width: 86%;
  position: relative;
  word-wrap: break-word;
  letter-spacing: -0.005em;
}
.hp-msg-bot {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.hp-msg-user {
  align-self: flex-end;
  background: var(--accent-soft);
  border: 1px solid rgba(29, 78, 216, 0.16);
  border-bottom-right-radius: 4px;
  color: var(--ink);
  padding-right: 36px;
}
.hp-msg-time {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-4);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}
.hp-msg-tick {
  position: absolute;
  bottom: 7px;
  right: 11px;
  font-size: 10px;
  color: var(--accent);
  opacity: 0.7;
  letter-spacing: -0.05em;
}

.hp-msg-typing {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 4px;
  padding: 11px 13px;
  align-items: center;
}
.hp-typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: hp-typing 1.3s ease-in-out infinite;
}
.hp-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.hp-typing-dot:nth-child(3) { animation-delay: 0.30s; }
@keyframes hp-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-3px); opacity: 0.9; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: -0.008em;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.hero-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: livePulse 2.4s var(--ease) infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50%       { box-shadow: 0 0 0 6px rgba(29, 78, 216, 0); }
}

.hero-headline {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(48px, 6.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: clamp(24px, 3vw, 36px);
  max-width: 32ch;
}
.hl-line { display: block; }
/* Muted gray span for "for what actually matters." */
.hl-muted {
  color: var(--ink-3);
  font-weight: 500;
}

.hero-secondary {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: clamp(14px, 1.6vw, 20px);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: var(--ink-2);
  max-width: 38ch;
  margin-bottom: clamp(32px, 4vw, 48px);
  font-weight: 400;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: 20px;
}

.hero-credibility {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .hero-headline { font-size: clamp(38px, 11vw, 58px); }
  .hero-sub { font-size: 16px; }
}

/* ─── SECTION primitive ───────────────────────────────────────────────────── */
.section {
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}

.section-head {
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 5vw, 64px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-h {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.section-h .headline-em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.section-kicker {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-3);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-top: 14px;
  max-width: 48ch;
}

/* ─── STRIP (thin section divider with text) ─────────────────────────────── */
.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--pad-x);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.strip-inner em { color: var(--ink); font-style: italic; font-weight: 500; }

/* ─── WORK GRID ───────────────────────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 32px);
}
.work-grid .work-card-open { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; }
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(22px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 150ms var(--ease),
              background-color 150ms var(--ease);
  text-decoration: none;
  color: inherit;
}
.work-card:hover {
  border-color: var(--line-hi);
  background: #F0F0F0;
}

.work-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.work-card-name {
  font-family: var(--font-sans);
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.work-card .status-mark {
  width: 8px; height: 8px;
  transform: translateY(-1px);
}
.work-card .status-pilot { width: 9px; height: 9px; border-width: 1.5px; }
.work-card .status-open  { width: 12px; height: 12px; }
.work-card .status-scoping { width: 8px; height: 8px; }
.work-card .status-scoping::after { inset: -3px; }

.work-card-when {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-weight: 400;
  flex-shrink: 0;
}
.work-card-when em { color: var(--ink-2); font-style: italic; font-weight: 400; }

/* Card thumbnail — 96×72 SVG (D14) */
.card-thumb {
  width: 96px;
  height: 72px;
  color: var(--ink-3);
  display: block;
  margin-bottom: 2px;
  flex-shrink: 0;
}
.card-thumb text { font-feature-settings: "tnum" 1; }

.work-card-tagline {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  line-height: 1.45;
  font-weight: 400;
}

/* Open slot card */
.work-card-open {
  background: rgba(247, 247, 247, 0.5);
  border-style: dashed;
  border-color: var(--line-hi);
}
.work-card-open:hover {
  border-style: solid;
  border-color: var(--accent);
  background: var(--accent-soft);
}
@media (min-width: 761px) {
  .work-card-open {
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
  }
  .work-card-open .work-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex-shrink: 0;
    min-width: 180px;
  }
  .work-card-open .work-card-tagline { flex: 1; margin: 0; }
  .work-card-open .work-card-foot {
    flex-shrink: 0;
    padding-top: 0;
    border-top: none;
    margin-top: 0;
  }
}

/* ─── STATUS MARKS ────────────────────────────────────────────────────────── */
.status-mark {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}
.status-live {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: livePulse 2.4s var(--ease) infinite;
}
.status-shipped {
  background: var(--ink-3);
  width: 11px; height: 11px;
}
.status-pilot {
  background: transparent;
  border: 2px solid var(--ink-3);
  width: 13px; height: 13px;
}
.status-scoping {
  background: var(--accent);
  opacity: 0.4;
  position: relative;
}
.status-scoping::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed var(--accent);
  border-radius: 50%;
  animation: scopeRotate 16s linear infinite;
}
@keyframes scopeRotate { to { transform: rotate(360deg); } }
.status-open {
  background: transparent;
  position: relative;
  border: none;
  width: 16px; height: 16px;
}
.status-open::before,
.status-open::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
}
.status-open::before {
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}
.status-open::after {
  top: 50%; left: 0; right: 0;
  height: 2px;
  transform: translateY(-50%);
}

/* ─── WHAT WE BUILD — sticky anchor + scrolling feature list ──────────────
   Differentiates from "What we've shipped" (bento card grid) via a stripped
   typographic list paired with a sticky section anchor. No card chrome.
   Each row reveals its graphic panel as it crosses the viewport, with one
   row marked active via a cobalt left-border. */

.section-scope { padding-top: clamp(64px, 8vw, 120px); }
.scope-split {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .scope-split { grid-template-columns: 1fr; gap: 32px; }
}

.scope-anchor {
  position: sticky;
  top: clamp(96px, 12vh, 140px);
  align-self: start;
}
@media (max-width: 900px) {
  .scope-anchor { position: static; }
}
.scope-anchor .section-h { margin-bottom: 16px; }
.scope-anchor-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  line-height: 1.5;
  max-width: 28ch;
}

.scope-flow {
  display: flex;
  flex-direction: column;
}

.scope-row {
  position: relative;
  padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line-soft);
  transition: border-color 220ms var(--ease);
}
.scope-row:first-child { border-top: none; padding-top: 8px; }
.scope-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height 320ms var(--ease);
}
.scope-row[data-active]::before { height: clamp(60px, 60%, 160px); }

.scope-row-head {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2vw, 28px);
}
.scope-idx {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  transition: color 220ms var(--ease);
}
.scope-row[data-active] .scope-idx { color: var(--accent); }
.scope-name {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
}
.scope-desc {
  margin-top: 14px;
  margin-left: calc(clamp(16px, 2vw, 28px) + 1.5em);
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-2);
  letter-spacing: -0.005em;
  line-height: 1.5;
  max-width: 56ch;
}
@media (max-width: 600px) {
  .scope-desc { margin-left: 0; }
}

.scope-panel {
  margin-top: clamp(28px, 3vw, 40px);
  margin-left: calc(clamp(16px, 2vw, 28px) + 1.5em);
  width: 100%;
  max-width: 640px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.scope-row[data-shown] .scope-panel {
  opacity: 1;
  transform: translateY(0);
}
.scope-panel svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--ink-2);
}
@media (max-width: 600px) {
  .scope-panel { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scope-panel { opacity: 1; transform: none; transition: none; }
  .scope-row::before { transition: none; }
}

/* ─── PROOF — white pull-quote section (replaces dark island) ────────────── */
.section-proof-white {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 0;
  max-width: none;
}
.proof-white-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.proof-white-headline {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: 16px;
}
.proof-white-body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.008em;
  max-width: 38ch;
}
/* Dashboard mockup — light register */
.dash-mockup-light {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
@media (max-width: 860px) {
  .proof-white-inner { grid-template-columns: 1fr; }
  .dash-mockup-light { max-width: 480px; }
}

/* ─── PROCESS DIAGRAM (D15) ───────────────────────────────────────────────── */
/* Unified 4-step grid — icon over its own centered text, all columns aligned.
   Connector line runs behind the icon row (::before on steps 2-4). */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
  max-width: 880px;
  margin: 8px auto 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
/* connector: a hairline from the previous icon's center to this one's, behind the circle */
.process-step::before {
  content: "";
  position: absolute;
  top: 48px;                 /* vertical center of the 96px icon circle */
  right: calc(50% + 48px);   /* start just left of this circle */
  width: calc(100% - 96px + 24px); /* span the gap + reach prev circle edge */
  height: 1px;
  background: var(--line-hi);
  z-index: 0;
}
.process-step:first-child::before { display: none; }
.process-icon {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-hi);
  background: var(--bg, #fff);
  color: var(--ink-3);
}
.process-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  margin-top: 20px;
}
.process-label {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 4px 0 0;
}
.process-body {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  letter-spacing: -0.005em;
  margin: 10px 0 0;
  max-width: 22ch;
}
@media (max-width: 760px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; max-width: 480px; }
  /* connectors only make sense across a single row; hide on the 2-col wrap */
  .process-step::before { display: none; }
}
@media (max-width: 420px) {
  .process-steps { grid-template-columns: 1fr; gap: 40px; max-width: 280px; }
}

/* ─── ROW primitive ───────────────────────────────────────────────────────── */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.row:last-child { border-bottom: 1px solid var(--line); }

/* ─── FAQ GRID ────────────────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 32px);
}
/* With 3 cards: last card spans full width */
.faq-grid .faq-card:last-child { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .faq-card:last-child { grid-column: auto; }
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(22px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 150ms var(--ease),
              background-color 150ms var(--ease);
}
.faq-card:hover {
  border-color: var(--line-hi);
  background: #F0F0F0;
}
.faq-q {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.faq-a {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

/* ─── ABOUT ───────────────────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  /* Single column while the portrait slot is empty (cleaner). Restore to
     1fr 1fr when the George + Dexter portrait is added back — see index.html About. */
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .about-photo-slot {
    max-width: 200px;
    aspect-ratio: 4/5;
  }
}

/* Open card footer */
.work-card-foot {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: 8px;
}

/* Photo slot — Mercury pattern. DORMANT: kept for when the George portrait
   returns (re-add the slot markup + flip .about-layout to two columns). The
   empty placeholder box was removed for a cleaner section in the meantime. */
.about-photo-slot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  aspect-ratio: 4/5;
  max-width: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-copy { display: flex; flex-direction: column; gap: 0; }
.about-lede {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.018em;
  color: var(--ink);
  max-width: 44ch;
  font-weight: 400;
  margin-bottom: 20px;
}
.about-body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  color: var(--ink-2);
  max-width: 48ch;
  margin-bottom: 28px;
}
.about-quote {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.022em;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  max-width: 34ch;
  margin-bottom: 32px;
}
.team-mails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.team-mail {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  position: relative;
  padding-bottom: 2px;
  transition: color 150ms var(--ease);
}
.team-mail::after {
  content: '';
  position: absolute;
  left: 0; right: 18px; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}
.team-mail:hover { color: var(--accent-hi); }
.team-mail:hover::after { transform: scaleX(1); }
.team-mail .arrow { transition: transform 180ms var(--ease); }
.team-mail:hover .arrow { transform: translate(3px, -3px); }

/* System diagram (D16) */
.system-diagram {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  color: var(--ink-2);
  margin-top: 28px;
}

/* Anti-pitch line */
.anti-pitch {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  line-height: 1.5;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

/* ─── CONTACT ─────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.contact-lead-h {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
}
.contact-lead-h em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.contact-lead-h em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.04em;
  background: var(--accent);
}
.contact-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.008em;
  margin-bottom: 32px;
  max-width: 38ch;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.form-input, .form-textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  letter-spacing: -0.008em;
  width: 100%;
  outline: none;
  resize: vertical;
  transition: border-color 180ms var(--ease);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-4); }
.form-input:focus, .form-textarea:focus { border-bottom-color: var(--accent); }
.form-submit {
  align-self: flex-start;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  position: relative;
  padding-bottom: 4px;
  transition: color 160ms var(--ease);
}
.form-submit::after {
  content: '';
  position: absolute;
  left: 0; right: 28px; bottom: -1px;
  height: 1.5px;
  background: var(--accent);
  transition: height 180ms var(--ease);
}
.form-submit:hover { color: var(--accent); }
.form-submit:hover::after { height: 2px; }
.form-submit .arrow { color: var(--accent); transition: transform 200ms var(--ease); }
.form-submit:hover .arrow { transform: translate(4px, -4px); }
.form-meta {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  margin-top: 4px;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 32px var(--pad-x);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-row {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-meta {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.footer-meta strong { color: var(--ink-2); font-weight: 500; }
.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.footer-links a {
  position: relative;
  padding-bottom: 2px;
  transition: color 150ms var(--ease);
}
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}
.footer-links a:hover { color: var(--ink); }
.footer-links a:hover::after { transform: scaleX(1); }

/* ─── TOPO CANVAS BACKGROUND ─────────────────────────────────────────────── */
/* Injected by mercer-motion.js into body::before via a canvas overlay */
#topo-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;            /* target: 5-8% per spec — 0.06 = 6% */
  will-change: transform;
}

/* ─── INTERSECTION-OBSERVER REVEAL STATES ────────────────────────────────── */
/* Elements start invisible; JS adds .m-revealed when in view */

/* Work cards — translate up 12px, fade in */
.work-card[data-reveal],
.capability-card[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 380ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 380ms cubic-bezier(0.4, 0, 0.2, 1);
}
.work-card[data-reveal].m-revealed,
.capability-card[data-reveal].m-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Dashboard mockup — fade + slight scale from 0.98 */
.dash-mockup-light[data-reveal] {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-mockup-light[data-reveal].m-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Proof white quote — fade in only, no translate (text-heavy, translate reads as jump) */
.proof-white-quote[data-reveal] {
  opacity: 0;
  transition: opacity 440ms cubic-bezier(0.4, 0, 0.2, 1);
}
.proof-white-quote[data-reveal].m-revealed {
  opacity: 1;
}

/* ─── HOVER MICRO-INTERACTIONS — cards ───────────────────────────────────── */
/* Already on .work-card and .capability-card via border-color + bg transitions  */
/* Add translateY lift — named, not transition:all */
.work-card {
  transition: border-color 150ms var(--ease),
              background-color 150ms var(--ease),
              transform 150ms var(--ease);
}
.work-card:hover {
  transform: translateY(-1px);
}
/* FAQ cards same treatment */
.faq-card {
  transition: border-color 150ms var(--ease),
              background-color 150ms var(--ease),
              transform 150ms var(--ease);
}
.faq-card:hover {
  transform: translateY(-1px);
}
/* capability cards */
.capability-card {
  transition: border-color 150ms var(--ease),
              background-color 150ms var(--ease),
              transform 150ms var(--ease);
}
.capability-card:hover {
  transform: translateY(-1px);
}

/* ─── REDUCED MOTION ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── SMALL VIEWPORT ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .section { padding-top: 60px; padding-bottom: 60px; }
  .section-h { font-size: clamp(44px, 13vw, 68px); }
  .faq-q { font-size: clamp(15px, 4.5vw, 18px); }
  .contact-lead-h { font-size: clamp(36px, 10vw, 52px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES — privacy / accessibility / terms
   Standalone documents. Reuse the design tokens; single readable prose column.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Simpler header for legal pages: logo + back-to-home, no scroll behavior. */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.legal-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-header .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.legal-header .back-home {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 160ms var(--ease);
}
.legal-header .back-home:hover { color: var(--ink); }

.legal-page {
  max-width: 72ch;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 104px) var(--pad-x) clamp(72px, 10vh, 120px);
  font-family: var(--font-sans);
  color: var(--ink-2);
}
.legal-page h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}
.legal-page .legal-updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.legal-page .legal-intro {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  padding: 18px 20px;
  margin: 28px 0 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.legal-page h2 {
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 44px 0 14px;
}
.legal-page h3 {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 28px 0 10px;
}
.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal-page p { margin: 0 0 16px; }
.legal-page ul { margin: 0 0 16px; padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--ink); font-weight: 600; }
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal-page a:hover { color: var(--accent-hi); }
.legal-page hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

/* Data tables inside legal pages (sharing table, retention table). */
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 15px;
}
.legal-page th,
.legal-page td {
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.legal-page th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
.legal-page td { color: var(--ink-2); }

.legal-contact {
  margin-top: 8px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.7;
}
.legal-contact strong { color: var(--ink); }

@media (max-width: 600px) {
  .legal-page { padding-top: 40px; }
  .legal-page table { font-size: 14px; }
  .legal-page th, .legal-page td { padding: 9px 10px; }
}
