/* AuthorityBase.eu — premium executive styling
   Palette: deep ink, sovereign gold, parchment. 8px rhythm. Mobile-first. */

:root {
  --ink-900: #0b1220;
  --ink-800: #111a2e;
  --ink-700: #1a2540;
  --ink-600: #243154;
  --ink-500: #36456b;
  --ink-400: #5a6a8c;
  --ink-300: #94a2c0;
  --ink-200: #c7d0e2;
  --ink-100: #e7ecf6;
  --bg: #fbfaf6;
  --bg-2: #f3efe6;
  --paper: #ffffff;
  --line: #e3dccb;
  --gold-700: #8a6a1f;
  --gold-600: #a07c25;
  --gold-500: #b8902d;
  --gold-400: #d4a93f;
  --gold-100: #f5ead0;
  --accent: #b8902d;
  --text: #1a2540;
  --text-soft: #4b587a;
  --danger: #a4331f;
  --ok: #1f6b4a;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 1px 1px rgba(11,18,32,.04);
  --shadow-md: 0 8px 24px rgba(11,18,32,.08), 0 2px 6px rgba(11,18,32,.05);
  --shadow-lg: 0 24px 60px rgba(11,18,32,.14), 0 6px 18px rgba(11,18,32,.08);
  --container: 1200px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --font-serif: "Source Serif Pro", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-700); text-decoration: none; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
a:hover { color: var(--gold-600); border-bottom-color: var(--gold-400); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink-900);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}
h1 { font-size: clamp(2.25rem, 3.6vw + 1.25rem, 3.65rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 1.6vw + 1.25rem, 2.5rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.3rem; font-weight: 600; }
/* Section h2 titles: normal h2 size (the +4 rule applies to the .kicker eyebrow, not the h2). */
.kicker + h2,
.section-head h2,
.split > div > h2 {
  font-size: clamp(1.85rem, 1.6vw + 1.25rem, 2.5rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.01em;
  font-weight: 600;
}
p { margin: 0 0 var(--space-2); color: var(--text-soft); }
ul, ol { margin: 0 0 var(--space-2); padding-left: 1.25rem; color: var(--text-soft); }
li { margin: 0 0 .35rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-3); }
section { padding: var(--space-6) 0; }
@media (min-width: 900px) { section { padding: var(--space-7) 0; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-700);
  border: 1px solid var(--gold-400);
  background: var(--gold-100);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}

.lead { font-size: 1.125rem; color: var(--text-soft); max-width: 64ch; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 250, 246, .92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink-900);
  border: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-600));
  color: var(--gold-400);
  font-family: var(--font-serif);
  font-weight: 700;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand-name { display: inline-flex; align-items: baseline; gap: 2px; }
.brand-name b { color: var(--ink-900); font-weight: 700; }
.brand-tld { color: var(--gold-600); font-family: var(--font-sans); font-size: .78em; font-weight: 600; margin-left: 2px; }
.brand:hover { color: var(--ink-900); border: 0; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  color: var(--ink-800);
  cursor: pointer;
}
.nav-toggle .bars { display: inline-block; width: 18px; height: 12px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 5px; }
.nav-toggle .bars::after { bottom: 0; }

.primary-nav {
  display: none;
}
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.primary-nav a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--ink-700);
  font-size: .95rem;
  border-radius: 6px;
  border: 0;
}
.primary-nav a:hover { color: var(--gold-700); background: var(--gold-100); }
.primary-nav a.is-active { color: var(--gold-700); background: var(--gold-100); }
.primary-nav .cta-mini {
  margin-left: 8px;
  background: var(--ink-900);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
}
.primary-nav .cta-mini:hover { background: var(--ink-700); color: #fff; }

@media (min-width: 1020px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.mobile-nav a {
  display: block;
  padding: 12px var(--space-3);
  color: var(--ink-800);
  border: 0;
  border-bottom: 1px solid var(--ink-100);
  font-size: 1rem;
}
.mobile-nav a:hover { background: var(--gold-100); color: var(--gold-700); }
@media (min-width: 1020px) { .mobile-nav { display: none !important; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:focus-visible { outline-offset: 3px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink-900);
  color: var(--bg);
  border-color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--ink-700); color: #fff; border-color: var(--ink-700); }

.btn-secondary {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-300);
}
.btn-secondary:hover { border-color: var(--gold-500); color: var(--gold-700); background: var(--gold-100); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: #fff;
  border-color: var(--gold-700);
}
.btn-gold:hover { color: #fff; }

.btn-ghost { background: transparent; color: var(--ink-700); border-color: transparent; }
.btn-ghost:hover { color: var(--gold-700); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-3); }

/* Hero */
.hero {
  position: relative;
  padding: var(--space-6) 0 var(--space-7);
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(184, 144, 45, .14), transparent 60%),
    radial-gradient(900px 480px at -10% 0%, rgba(17, 26, 46, .08), transparent 60%),
    linear-gradient(180deg, #fdfcf8 0%, var(--bg) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
.hero h1 { color: var(--ink-900); }
.hero .lead { font-size: 1.18rem; }
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 60% at 50% 40%, #ffffff 0%, #fbfaf6 60%, #f3efe6 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 90%, rgba(184,144,45,.10), transparent 50%);
  pointer-events: none;
}
.hero-logo {
  position: relative;
  z-index: 1;
  max-width: 86%;
  max-height: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.hero-art-inner {
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: var(--space-4);
}
.crest {
  width: min(70%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(212,169,63,.5);
  display: grid; place-items: center;
  color: var(--gold-400);
  font-family: var(--font-serif);
  text-align: center;
  background:
    radial-gradient(closest-side, rgba(212,169,63,.18), transparent 70%);
}
.crest .crest-mono {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: .04em;
  line-height: 1;
  font-weight: 600;
}
.crest .crest-sub {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--ink-200);
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--space-6); }
}

/* Trust strip */
.trust-strip {
  background: var(--ink-900);
  color: var(--ink-100);
  padding: 20px 0;
  border-bottom: 1px solid #000;
}
.trust-strip-inner {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  font-size: .92rem;
  align-items: center;
}
.trust-strip-inner > div { display: flex; align-items: center; gap: 10px; color: var(--ink-200); }
.trust-strip-inner svg { flex: 0 0 auto; color: var(--gold-400); }
@media (min-width: 800px) {
  .trust-strip-inner { grid-template-columns: repeat(4, 1fr); }
}

/* Cards & grids */
.section-head { max-width: 760px; margin-bottom: var(--space-4); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #d9d2bf; }
.card h3 { margin-bottom: 6px; }
.card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--gold-700);
  margin-bottom: var(--space-2);
}

.card-dark {
  background: linear-gradient(160deg, #0b1220, #182240);
  color: #ffffff;
  border-color: #0b1220;
}
/* RULE: in dark-blue blocks ALL text is white */
.card-dark,
.card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4,
.card-dark p, .card-dark li, .card-dark span, .card-dark strong,
.card-dark em, .card-dark a, .card-dark small, .card-dark label,
.card-dark th, .card-dark td { color: #ffffff !important; }
.card-dark .feature-list li::before { background: rgba(255,255,255,.12); border-color: var(--gold-400); }
.card-dark .feature-list li::after { border-color: var(--gold-400); }
.card-dark a { text-decoration: underline; }
.card-dark a:hover { color: var(--gold-400) !important; }
.cta-block, .cta-block h1, .cta-block h2, .cta-block h3, .cta-block h4,
.cta-block p, .cta-block li, .cta-block span:not(.eyebrow), .cta-block strong,
.cta-block em, .cta-block small { color: #ffffff !important; }
.trust-strip, .trust-strip div, .trust-strip span { color: #ffffff !important; }

.feature-list { list-style: none; padding-left: 0; margin: 0; }
.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-soft);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: .82em;
  width: 6px; height: 3px;
  border-left: 2px solid var(--gold-700);
  border-bottom: 2px solid var(--gold-700);
  transform: rotate(-45deg);
}

/* Two-column with image */
.split {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .split.reverse > :first-child { order: 2; }
  /* When a split contains a figure-large, give the figure column extra width
     so the graph is clearly enlarged relative to the previous half size. */
  .split.figure-right-large { grid-template-columns: 1fr 1.6fr; }
}
/* Alignment helpers for graph+text rows.
   .align-start  -> graph taller than text: align with top of titles/text
   .align-end    -> text taller than graph: align graph with bottom of text */
.split.align-start { align-items: start; }
.split.align-end   { align-items: end; }
/* Compact graph wrapper (50% reduction) */
.figure.figure-half { max-width: 50%; }
@media (max-width: 760px) { .figure.figure-half { max-width: 100%; } }
.figure-half img { width: 100%; height: auto; }
/* +50% enlarged variant of figure-half: now full width of its column */
.figure.figure-large { max-width: 100%; width: 100%; }
.figure-large img { width: 100%; height: auto; }
/* +25% enlarged variant of figure-half */
.figure.figure-medium { max-width: 100%; width: 100%; }
.figure-medium img { width: 100%; height: auto; }
/* Split where left column is text and right column is a graph at 50% */
.split-graph {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 900px) {
  .split-graph { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .split-graph.reverse > :first-child { order: 2; }
  .split-graph.bottom { align-items: end; }
}
/* Stacked layout: titles+text on top, then two side-by-side blocks below */
.duo-below {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
  align-items: start;
}
@media (min-width: 760px) {
  .duo-below { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .duo-below.left-25 { grid-template-columns: 1.6fr 1fr; }
  .duo-below.left-50 { grid-template-columns: 1.85fr 1fr; }
}
.figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  margin: 0;
}
.figure img { width: 100%; height: auto; display: block; }
.figure figcaption {
  padding: 12px 18px;
  font-size: .85rem;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex; flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border-color: var(--gold-500);
  box-shadow: 0 24px 50px rgba(184, 144, 45, .18), 0 4px 12px rgba(11,18,32,.08);
}
.price-card .badge {
  position: absolute;
  top: -14px; right: 22px;
  background: var(--gold-500);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card .price {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--ink-900);
  font-weight: 600;
}
.price-card .price small {
  font-family: var(--font-sans);
  font-size: .8rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-left: 6px;
}
.price-card h3 { margin-bottom: 4px; }
.price-card .tagline { color: var(--text-soft); margin-bottom: var(--space-2); min-height: 3em; }
.price-card .feature-list { margin-bottom: var(--space-3); flex: 1; }
.price-card .btn { width: 100%; }

/* Domains */
.domain-card .domain-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-600));
  color: var(--gold-400);
  display: grid; place-items: center;
  margin-bottom: var(--space-2);
}

/* CTA block */
.cta-block {
  background:
    radial-gradient(900px 280px at 80% 0%, rgba(184,144,45,.22), transparent 60%),
    linear-gradient(160deg, #0b1220, #182240);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-block h2 { color: #fff; }
.cta-block p { color: var(--ink-200); margin-left: auto; margin-right: auto; max-width: 60ch; }
.cta-block .btn-secondary { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-block .btn-secondary:hover { background: rgba(255,255,255,.08); color: #fff; border-color: var(--gold-400); }

/* Forms */
form.standard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-4);
}
legend {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink-900);
  margin-bottom: var(--space-2);
}
.field-grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
@media (min-width: 720px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .92rem; color: var(--ink-800); }
.hint { font-weight: 400; color: var(--text-soft); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
select, textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(184,144,45,.18);
}
textarea { min-height: 140px; resize: vertical; }
.checkbox, .radio { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.checkbox input, .radio input { margin-top: 4px; }
.checkbox label, .radio label { font-weight: 500; color: var(--text); }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin-top: var(--space-3);
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 500;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.ok { background: #e7f3ec; color: var(--ok); border: 1px solid #bcdfca; }
.form-status.err { background: #fbe9e6; color: var(--danger); border: 1px solid #f1c5be; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--paper); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink-100); font-size: .95rem; }
th { background: var(--bg-2); font-weight: 600; color: var(--ink-800); }
tr:last-child td { border-bottom: 0; }

/* Anchors / TOC */
.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
}
.toc h2 { font-size: 1.05rem; margin-bottom: 8px; }
.toc ol { columns: 1; }
@media (min-width: 800px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc a { color: var(--ink-700); border-bottom: 0; }
.toc a:hover { color: var(--gold-700); }

/* Page hero (subpages) */
.page-hero {
  padding: var(--space-6) 0 var(--space-4);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fdfcf8, var(--bg));
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { font-size: 1.12rem; }

/* Footer */
.site-footer {
  background: #0a111e;
  color: var(--ink-200);
  padding: var(--space-6) 0 var(--space-3);
  margin-top: var(--space-6);
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-grid h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: var(--space-2); }
.footer-grid a { color: var(--ink-200); display: block; padding: 4px 0; border-bottom: 0; font-size: .94rem; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: var(--ink-300); margin-top: var(--space-2); max-width: 36ch; }
.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--ink-300);
  font-size: .85rem;
}
.footer-bottom a { color: var(--ink-300); border: 0; }
.footer-bottom a:hover { color: var(--gold-400); }

/* Utilities */
.center { text-align: center; }
.muted { color: var(--text-soft); }
.kicker { color: var(--gold-700); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 1.1rem; display: inline-block; margin-bottom: .5rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: var(--space-4) 0; }
.note {
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  color: var(--ink-800);
  margin: var(--space-3) 0;
}
.note strong { color: var(--ink-900); }

/* Accordion */
details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
details + details { margin-top: 0; }
details summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-900);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--gold-600);
  transition: transform .2s;
}
details[open] summary::after { content: "−"; }
details > *:not(summary) { margin-top: var(--space-2); color: var(--text-soft); }

/* Legal pages typography */
.legal-content h2 { margin-top: var(--space-5); }
.legal-content h3 { margin-top: var(--space-3); color: var(--ink-800); }
.legal-content p, .legal-content li { color: var(--text); }

/* Team cards (HEATHER Mobility style) */
.team-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}
.team-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-3);
  align-items: start;
  box-shadow: var(--shadow-sm);
}
.team-photo {
  width: 160px;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  flex: 0 0 160px;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-body { min-width: 0; }
.team-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-900);
  margin: 0 0 4px;
  line-height: 1.25;
}
.team-role {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  color: var(--gold-700);
  margin-bottom: 10px;
  letter-spacing: .01em;
}
.team-bio { color: var(--text-soft); font-size: .98rem; margin: 0 0 var(--space-2); line-height: 1.6; }
.team-bio:last-child { margin-bottom: 0; }
@media (max-width: 520px) {
  .team-card { grid-template-columns: 1fr; }
  .team-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; max-width: 220px; }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; top: 0; color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
