/* ===========================================================
   CLYNTARA — design tokens (Enterprise Trust system)
   bg #F8FAFC · surface #FFFFFF · muted #EEF2F7
   navy #0F172A · blue #0369A1 · blue-bright #0284C7
   text #0F172A · text-dim #475569 · text-faint #94A3B8 · border #E2E8F0
   display: EB Garamond · body: Lato
   =========================================================== */

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --muted: #EEF2F7;
  --navy: #0F172A;
  --blue: #0369A1;
  --blue-bright: #0284C7;
  --danger: #DC2626;
  --success: #15803D;
  --text: #0F172A;
  --text-dim: #475569;
  --text-faint: #94A3B8;
  --text-on-navy: #F1F5F9;
  --text-on-navy-dim: #94A3B8;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --font-display: "EB Garamond", Georgia, serif;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.br-desktop { display: inline; }
@media (max-width: 720px) { .br-desktop { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.nav-logo-dot { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-cta {
  font-size: 14px;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--blue-bright); transform: translateY(-1px); }
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 14px 16px; }
  .nav-logo { font-size: 18px; }
  .nav-cta { font-size: 13px; padding: 9px 14px; }
}

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 20px;
  max-width: 20ch;
}

.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 58ch;
  margin: 0 0 44px;
}

h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy); margin: 0 0 8px; }
h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); margin: 0 0 6px; }
p { margin: 0 0 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-bright); }
.btn-ghost { border-color: var(--border-strong); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline { border-color: var(--border-strong); color: var(--navy); background: #fff; width: 100%; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background: linear-gradient(180deg, #EFF4FA 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { position: relative; }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.12;
  margin: 0 0 24px;
  max-width: 18ch;
  color: var(--navy);
}
.hero-headline em {
  font-style: italic;
  color: var(--blue);
  font-weight: 500;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 54ch;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.hero-reducer { font-size: 13px; color: var(--text-faint); margin: 0 0 56px; }

.hero-player { max-width: 780px; }
.player-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.player-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-on-navy-dim);
}
.player-placeholder-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-on-navy);
}
.player-placeholder-note { font-size: 12px; }
.player-play {
  position: absolute;
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: rgba(15, 23, 42, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.player-play:hover { background: var(--blue); border-color: var(--blue); transform: scale(1.06); }
.player-play svg { margin-left: 3px; }
.player-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- section shell ---------- */
.section {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
}

/* ---------- trust bar ---------- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; gap: 8px; }
.trust-value { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--navy); }
.trust-label { font-size: 13px; font-weight: 600; letter-spacing: 0.03em; color: var(--text-dim); }
@media (max-width: 720px) {
  .trust-bar-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- pain ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 40px;
}
.pain-chart-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.pain-chart { width: 100%; height: auto; }
.chart-label { font-family: var(--font-body); font-size: 11px; fill: var(--text-faint); }
.chart-legend { display: flex; gap: 24px; margin-top: 12px; font-size: 13px; color: var(--text-dim); }
.legend-item { display: inline-flex; align-items: center; gap: 8px; }
.legend-swatch { width: 12px; height: 2px; display: inline-block; }
.swatch-leak { background: #B45309; }
.swatch-gold { background: var(--blue); }

.pain-cards { display: flex; flex-direction: column; gap: 28px; }
.pain-card { border-left: 3px solid var(--blue); padding-left: 20px; }
.pain-card-tc { font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--blue); margin: 0 0 6px; }
.pain-card p { color: var(--text-dim); font-size: 15px; }

.pain-position {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
  max-width: 48ch;
  color: var(--navy);
}
.pain-position em { color: var(--blue); font-style: italic; }

@media (max-width: 860px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* ---------- portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.portfolio-media { aspect-ratio: 16/10; background: var(--muted); }
.portfolio-split { display: flex; height: 100%; }
.split-pane { flex: 1; display: flex; align-items: flex-end; padding: 12px; }
.split-before { background: repeating-linear-gradient(45deg, #E9EEF4, #E9EEF4 10px, #EEF2F7 10px, #EEF2F7 20px); }
.split-after { background: linear-gradient(160deg, #E3EEF7, #F0F6FB); border-left: 1px solid var(--border); }
.split-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-faint); }
.split-tag-gold { color: var(--blue); }
.portfolio-media--open {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--muted), var(--muted) 12px, var(--surface) 12px, var(--surface) 24px);
  border-bottom: 1px solid var(--border);
}
.open-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  text-align: center;
  line-height: 1.6;
}
.portfolio-body { padding: 22px 20px 26px; }
.portfolio-format-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 12px;
}
.portfolio-body p { color: var(--text-dim); font-size: 14px; }
.portfolio-metric { font-weight: 700; font-size: 15px; color: var(--blue); margin-top: 14px; }
.portfolio-metric-note { display: block; font-weight: 400; font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.portfolio-card--open { border-style: dashed; }
.portfolio-honesty-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-faint);
  max-width: 60ch;
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ---------- process ---------- */
.edit-log { display: flex; flex-direction: column; margin-bottom: 36px; }
.edit-log-line {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.edit-log-line:last-child { border-bottom: 1px solid var(--border); }
.edit-log-tc {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--blue);
  width: 40px; height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.edit-log-content h3 { margin-bottom: 8px; }
.edit-log-content p { color: var(--text-dim); font-size: 15px; max-width: 60ch; }
.process-note { color: var(--text-faint); font-size: 14px; max-width: 60ch; }
@media (max-width: 640px) {
  .edit-log-line { grid-template-columns: 1fr; gap: 8px; }
  .edit-log-tc { width: 32px; height: 32px; font-size: 15px; }
}

/* ---------- systems / SLA / security ---------- */
.systems-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.feature-list { margin-top: 36px; display: flex; flex-direction: column; gap: 28px; }
.feature-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.feature-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}
.feature-item p { color: var(--text-dim); font-size: 14px; margin: 0; }

.systems-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.systems-panel-title { margin: 0 0 20px; }
.systems-panel-list { list-style: none; margin: 0 0 24px; padding: 0; }
.systems-panel-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dim);
}
.systems-panel-list li:first-child { border-top: none; }
.systems-panel-value { color: var(--navy); font-weight: 700; font-size: 14px; text-align: right; }
.systems-panel-gold { color: var(--blue); }
.systems-panel-note { font-size: 12px; color: var(--text-faint); margin: 0; }

@media (max-width: 860px) {
  .systems-inner { grid-template-columns: 1fr; }
}

/* ---------- fit check ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fit-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 26px;
  background: var(--surface);
}
.fit-card--yes { border-top: 3px solid var(--blue); }
.fit-card--no { border-top: 3px solid var(--border-strong); }
.fit-list { list-style: none; margin: 0; padding: 0; }
.fit-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dim);
}
.fit-list li:first-child { border-top: none; }
.fit-card--yes .fit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.fit-card--no .fit-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--text-faint);
  font-weight: 700;
}
@media (max-width: 720px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.price-card--featured {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(3, 105, 161, 0.08);
}
.price-badge {
  position: absolute;
  top: -12px; left: 26px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 4px;
}
.price-tier { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-dim); margin-bottom: 10px; text-transform: uppercase; }
.price-amount { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.price-amount span { font-size: 15px; font-weight: 400; color: var(--text-dim); font-family: var(--font-body); }
.price-note { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; min-height: 42px; }
.price-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price-features li {
  font-size: 14px;
  color: var(--text);
  padding: 9px 0;
  border-top: 1px solid var(--border);
}
.price-features li:first-child { border-top: none; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- founder ---------- */
.founder-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
.founder-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--muted);
  border: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-faint);
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-copy p { color: var(--text-dim); max-width: 56ch; }
.founder-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--surface);
}
@media (max-width: 720px) {
  .founder-inner { grid-template-columns: 1fr; text-align: left; }
  .founder-photo { width: 100px; }
}

/* ---------- close / teardown / forms ---------- */
.close-inner { max-width: 680px; }
.contact-form { margin-top: 12px; }
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 13px; font-weight: 700; color: var(--text-dim); }
.form-row input, .form-row textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.form-note { margin-top: 16px; font-size: 13px; color: var(--text-faint); text-align: center; }
.form-note a { color: var(--blue); font-weight: 600; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-error {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--danger);
}
.form-row input.field-invalid,
.form-row textarea.field-invalid {
  border-color: var(--danger);
  outline-color: var(--danger);
}

.form-row--checkbox { margin-top: 4px; }
.form-row--checkbox .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.form-result {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
}
.form-result.is-pending { color: var(--blue); }
.form-result.is-success { color: var(--success); }
.form-result.is-error { color: var(--danger); }

/* ---------- faq ---------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: 18px; margin-bottom: 8px; }
.faq-item p { color: var(--text-dim); font-size: 15px; max-width: 68ch; margin: 0; }

/* ---------- booking ---------- */
.booking-embed {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  max-width: 900px;
}
.booking-fallback {
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
  margin: 8px 0 0;
}
.booking-fallback a { color: var(--blue); font-weight: 600; }

/* ---------- contact / final cta ---------- */
.contact {
  text-align: center;
  background: var(--navy);
  border-top: none;
}
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 32px;
  max-width: 22ch;
}
.contact-sub { margin-top: 18px; color: var(--text-on-navy-dim); font-size: 14px; }

/* ---------- footer ---------- */
.footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); padding: 28px 0 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-on-navy-dim);
}
.footer-inner a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-logo { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--text-faint);
}
.breadcrumbs a { color: var(--blue); font-weight: 600; }
.breadcrumbs .crumb-sep { margin: 0 6px; }

/* ---------- "also built for" homepage module ---------- */
.also-for {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background: var(--muted);
}
.also-for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.also-for-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px 24px;
  background: var(--surface);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.also-for-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.also-for-card h3 { margin-bottom: 8px; }
.also-for-card p { color: var(--text-dim); font-size: 14px; margin: 0 0 12px; }
.also-for-card span { color: var(--blue); font-weight: 700; font-size: 14px; }
@media (max-width: 720px) {
  .also-for-grid { grid-template-columns: 1fr; }
}

/* ---------- cookie consent banner ---------- */
.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.consent-text { font-size: 14px; color: var(--text-dim); margin: 0; }
.consent-actions { display: flex; gap: 12px; justify-content: flex-end; }
.consent-actions .btn { padding: 10px 18px; font-size: 13px; width: auto; }
@media (max-width: 640px) {
  .consent-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .consent-actions { justify-content: stretch; }
  .consent-actions .btn { flex: 1; }
}

/* ---------- standalone legal pages ---------- */
.legal-page { padding: 64px 0 96px; }
.legal-page h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 42px); color: var(--navy); margin: 0 0 8px; }
.legal-page .legal-updated { color: var(--text-faint); font-size: 13px; margin-bottom: 40px; }
.legal-page h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--navy); margin: 40px 0 12px; }
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 15px; line-height: 1.7; }
.legal-page ul { padding-left: 22px; }
.legal-back { display: inline-block; margin-bottom: 32px; font-size: 14px; font-weight: 600; color: var(--blue); }

/* ---------- focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
