/* ==========================================================================
   LinkVoice — website styles
   Same editorial structure as kevser.app and ourlittleplace.app; the palette
   is LinkVoice's own: the app icon's black, electric blue and white bars, and
   a cool grey paper for documents. No frameworks, scripts, remote fonts or
   runtime requests.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --night-950: #050608;
  --night-900: #0b0d11;
  --night-850: #111419;
  --night-800: #171b22;
  --night-700: #232933;

  --paper-50: #ffffff;
  --paper-100: #f5f7fa;
  --paper-150: #eef1f6;
  --paper-200: #e4e9f1;
  --sky-300: #9cc8ff;
  --sky-400: #5ea6ff;
  --blue-500: #0a7aff;
  --blue-600: #0062d6;
  --blue-700: #004fae;

  --ink: #10141b;
  --ink-soft: #4f5866;
  --line: #d6dde8;
  --line-strong: #bcc7d8;

  --font-display: "Avenir Next", Avenir, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Avenir Next", Avenir, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.75rem);
  --band-pad: clamp(4.5rem, 8vw, 7.5rem);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-card: 0 20px 55px rgba(16, 20, 27, 0.08);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper-100);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
::selection { background: var(--sky-300); color: var(--ink); }

/* --------------------------------------------------------------------------
   3. Accessibility helpers
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--paper-50);
  color: var(--blue-700);
  font: 700 0.84rem/1 var(--font-ui);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--sky-400);
  outline-offset: 4px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: var(--band-pad);
}
.band--paper { background: var(--paper-100); }
.band--mist { background: var(--paper-200); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--centered {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  color: var(--blue-600);
  font: 700 0.7rem/1.4 var(--font-ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::after {
  content: "";
  width: 4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.48;
}
.section-head--centered .eyebrow { justify-content: center; }
.section-head--centered .eyebrow::before,
.section-head--centered .eyebrow::after {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
}

h2.section-title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
}
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

/* --------------------------------------------------------------------------
   5. Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--night-900);
  color: var(--paper-200);
  border-bottom: 1px solid rgba(156, 200, 255, 0.12);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: 78px;
  padding-block: 0.75rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 46px;
  color: var(--paper-50);
  text-decoration: none;
}
.wordmark img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.wordmark__text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.wordmark__text span {
  display: block;
  margin-top: 0.35rem;
  color: var(--sky-400);
  font: 700 0.58rem/1 var(--font-ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-header__actions,
.site-nav ul {
  display: flex;
  align-items: center;
}
.site-nav ul {
  flex-wrap: wrap;
  gap: 0.25rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid transparent;
  color: rgba(245, 247, 250, 0.8);
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--blue-500);
  color: var(--paper-50);
}

/* --------------------------------------------------------------------------
   6. Store badges and buttons
   -------------------------------------------------------------------------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}
.store-badge-link { display: inline-flex; border-radius: 10px; }
.store-badge { display: block; width: auto; }
.store-badge--apple { height: 48px; }
.store-badge--soon {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 54px;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(156, 200, 255, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper-50);
  cursor: default;
  user-select: none;
}
.store-badge--soon svg { width: 22px; height: 22px; flex: none; }
.store-badge--soon b {
  display: block;
  color: rgba(245, 247, 250, 0.6);
  font: 700 0.59rem/1.4 var(--font-ui);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.store-badge--soon span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.05;
}
.availability {
  margin: 1.15rem 0 0;
  color: rgba(245, 247, 250, 0.66);
  font-size: 0.84rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--blue-700);
  font: 700 0.9rem/1 var(--font-ui);
  text-decoration: none;
}
.btn:hover { background: rgba(10, 122, 255, 0.07); }
.btn--primary {
  border-color: var(--blue-500);
  background: var(--blue-500);
  color: var(--paper-50);
}
.btn--primary:hover { background: var(--blue-600); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(10, 122, 255, 0.28), transparent 34%),
    radial-gradient(circle at 70% 110%, rgba(10, 122, 255, 0.16), transparent 40%),
    var(--night-900);
  color: var(--paper-200);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle at 1px 1px, rgba(156, 200, 255, 0.22) 1px, transparent 0);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 65%, #000);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -9rem;
  bottom: -19rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(156, 200, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(156, 200, 255, 0.025), 0 0 0 10rem rgba(156, 200, 255, 0.018);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
  min-height: 680px;
  padding-block: clamp(4.5rem, 8vw, 7.25rem);
}
.hero .eyebrow { color: var(--sky-400); }
.hero h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  color: var(--paper-50);
  font-size: clamp(2.9rem, 5.8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero h1 em { color: var(--blue-500); font-style: normal; }
.hero__lede {
  max-width: 46ch;
  margin-bottom: 2rem;
  color: rgba(245, 247, 250, 0.84);
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}
.hero__promise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  margin: 1.75rem 0 0;
  padding: 0;
  color: rgba(245, 247, 250, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
}
.hero__promise li { display: flex; align-items: center; gap: 0.5rem; }
.hero__promise li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(10, 122, 255, 0.18);
}
.hero__media { display: flex; justify-content: center; }
.niche {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1.08;
}
.niche::before,
.niche::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(156, 200, 255, 0.14);
  border-radius: 34% 34% 20% 34%;
  pointer-events: none;
}
.niche::before { inset: 8% -4% 2% 18%; transform: rotate(4deg); }
.niche::after { inset: 17% 17% -4% -3%; transform: rotate(-5deg); }
.niche__wave {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 55px rgba(0, 0, 0, 0.35));
}

.hero__phone {
  position: relative;
  z-index: 1;
  width: 58%;
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, 0.5));
}

/* --------------------------------------------------------------------------
   8. Feature cards
   -------------------------------------------------------------------------- */
#features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: clamp(2rem, 5vw, 4rem);
  background: var(--line-strong);
}
.cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}
@media (min-width: 780px) {
  .cards--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}
.card:nth-child(2), .card:nth-child(3) { background: rgba(238, 241, 246, 0.9); }
.card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1.35rem;
  padding: 11px;
  border: 1px solid var(--sky-300);
  border-radius: 50%;
  background: var(--paper-50);
  color: var(--blue-600);
}
.card h3 { position: relative; z-index: 1; margin-bottom: 0.7rem; }
.card p {
  position: relative;
  z-index: 1;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li {
  counter-increment: step;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.9rem;
  color: var(--blue-600);
  font: 700 0.75rem/1 var(--font-ui);
  letter-spacing: 0.18em;
}
.steps h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.steps p { color: var(--ink-soft); font-size: 0.93rem; }

/* Plans */
.plans {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}
@media (min-width: 780px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan {
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}
.plan--highlight { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(10, 122, 255, 0.12); }
.plan h3 { font-size: 1.15rem; }
.plan .plan__time {
  display: block;
  margin: 0.6rem 0 0.4rem;
  color: var(--blue-600);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.plan p { color: var(--ink-soft); font-size: 0.9rem; }
.plans-note { margin-top: 1.5rem; color: var(--ink-soft); font-size: 0.85rem; max-width: 80ch; }

/* --------------------------------------------------------------------------
   9. Document pages (privacy / terms)
   -------------------------------------------------------------------------- */
.doc-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(circle at 82% 15%, rgba(10, 122, 255, 0.22), transparent 31%), var(--night-900);
  color: var(--paper-200);
}
.doc-hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 8vw, 9rem);
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(156, 200, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(156, 200, 255, 0.025);
}
.doc-hero > .shell { position: relative; z-index: 1; }
.doc-hero .eyebrow { color: var(--sky-400); }
.doc-hero h1 {
  max-width: 18ch;
  color: var(--paper-50);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}
.doc-hero p {
  max-width: 62ch;
  margin-top: 1rem;
  color: rgba(245, 247, 250, 0.8);
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: rgba(245, 247, 250, 0.62);
  font-size: 0.8rem;
  font-weight: 600;
  list-style: none;
}
.doc {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
  padding-block: var(--band-pad);
}
.toc {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}
.toc h2 {
  margin-bottom: 0.85rem;
  color: var(--blue-600);
  font: 700 0.66rem/1.4 var(--font-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.2rem;
  padding: 0.36rem 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
  text-decoration: none;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--blue-600);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}
.toc a:hover { color: var(--blue-700); }
.prose { max-width: 70ch; }
.prose h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.1;
}
.prose > .callout:first-child + h2,
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}
.prose p, .prose li { color: var(--ink-soft); }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a {
  color: var(--blue-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.prose a:hover { color: var(--blue-600); }
.callout {
  margin-bottom: 2.5rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--paper-200);
}
.callout h3 { margin-top: 0; color: var(--blue-700); }
.callout p:last-child { margin-bottom: 0; }
.prose address { color: var(--ink-soft); font-style: normal; line-height: 1.8; }
.prose table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.prose th, .prose td {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: left;
  vertical-align: top;
}
.prose th { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   10. Support
   -------------------------------------------------------------------------- */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
}
.support-card { min-height: 100%; }
.support-card h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.8rem;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
}
.support-card p, .support-card li { color: var(--ink-soft); }
.support-card .btn { margin-top: 0.65rem; }
.support-email {
  margin-top: 1rem;
  color: var(--blue-700);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.support-checklist { margin-top: 1.4rem; }
.support-checklist li { margin-bottom: 0.55rem; }
.support-note {
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.support-faq { max-width: 900px; }
.support-faq .section-title { max-width: 14ch; }
.faq {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-strong);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 1.3rem 3rem 1.3rem 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--blue-600);
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 400;
  transform: translateY(-50%);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div {
  max-width: 68ch;
  padding: 0 3rem 1.4rem 0;
  color: var(--ink-soft);
}
.faq details > div p { margin: 0 0 0.6rem; }
.faq a { color: var(--blue-700); text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 2.25rem;
  background: var(--night-950);
  color: rgba(245, 247, 250, 0.7);
  font-size: 0.86rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(156, 200, 255, 0.14);
}
.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--sky-400);
  font: 700 0.65rem/1.4 var(--font-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.25rem; }
.site-footer a, .site-footer .soon {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}
.site-footer a {
  border-bottom: 1px solid transparent;
  color: rgba(245, 247, 250, 0.8);
  text-decoration: none;
}
.site-footer a:hover { border-bottom-color: var(--blue-500); color: var(--paper-50); }
.site-footer .soon { color: rgba(245, 247, 250, 0.52); }
.site-footer__mark { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.site-footer__mark img { width: 44px; height: 44px; border-radius: 12px; }
.site-footer__mark span {
  color: var(--paper-50);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.footer-summary { max-width: 34ch; }
.site-footer__legal {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
  color: rgba(245, 247, 250, 0.48);
  font-size: 0.75rem;
  line-height: 1.65;
}
.site-footer__legal p { max-width: 100ch; margin: 0; }

/* --------------------------------------------------------------------------
   12. Motion and responsive behavior
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-bottom: 2.5rem;
  }
  .hero h1 { max-width: 14ch; }
  .hero__media { margin-top: 0.5rem; }
  .niche { max-width: 470px; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --gutter: 1.2rem; }
  .site-header__inner { min-height: 70px; gap: 0.45rem 1rem; }
  .wordmark__text { font-size: 1.12rem; }
  .wordmark__text span { font-size: 0.52rem; }
  .site-nav ul { gap: 0.2rem 1rem; }
  .site-nav a { font-size: 0.82rem; }
  .hero__inner { gap: 2rem; padding-top: 3.8rem; }
  .hero h1 { max-width: none; font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero__lede { font-size: 1rem; }
  .hero__promise { display: grid; }
  .niche { width: min(100%, 390px); }
  .hero__phone { width: 62%; }
  .section-head--centered { text-align: left; }
  .section-head--centered .eyebrow { justify-content: flex-start; }
  .section-head--centered .eyebrow::before { display: none; }
  .card { min-height: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .doc-hero::after { opacity: 0.55; }
  .toc { padding: 1.25rem; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 390px) {
  .site-header__inner { align-items: flex-start; }
  .site-nav ul { gap: 0 0.8rem; }
  .site-nav a { min-height: 38px; }
}

@media print {
  .site-header, .site-footer, .toc, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  .doc { display: block; padding-block: 0; }
  .prose { max-width: none; }
}
