/* Quva — site styles. One file, no build step. Order: tokens, base, layout, components, sections, legal pages, print. */

/* ───────────────────────────── Tokens ───────────────────────────── */

:root {
  color-scheme: light dark;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --bg: #f6f6f3;
  --bg-glass: rgba(246, 246, 243, 0.78);
  --surface: #ffffff;
  --surface-2: #eeeeea;
  --ink: #0c0c0b;
  --ink-2: #464642;
  --ink-3: #6b6b65;
  --line: rgba(12, 12, 11, 0.1);
  --line-strong: rgba(12, 12, 11, 0.2);
  --accent: #95d26b;
  --accent-ink: #2f6a12;
  --accent-soft: rgba(149, 210, 107, 0.26);
  --on-accent: #0c0c0b;
  --focus-ring: #2f6a12;
  --shadow-device: 0 60px 110px -50px rgba(12, 12, 11, 0.5), 0 24px 48px -28px rgba(12, 12, 11, 0.35);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 30px 60px -40px rgba(12, 12, 11, 0.25);

  --phone-frame: #0c0c0b;
  --phone-edge: rgba(255, 255, 255, 0.18);

  --nav-h: 64px;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1120px;
  --section-y: clamp(72px, 10vw, 132px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-glass: rgba(10, 10, 10, 0.74);
    --surface: #131312;
    --surface-2: #1b1b19;
    --ink: #f5f5f2;
    --ink-2: #b9b9b2;
    --ink-3: #8a8a83;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --accent-ink: #95d26b;
    --accent-soft: rgba(149, 210, 107, 0.15);
    --focus-ring: #95d26b;
    --shadow-device: 0 70px 120px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset;

    --phone-frame: #1b1b19;
    --phone-edge: rgba(255, 255, 255, 0.24);
  }
}

/* ───────────────────────────── Base ───────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

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

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lede {
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.muted { color: var(--ink-3); }

/* ───────────────────────────── Header ───────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--bg-glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-rounded);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__mark { width: 28px; height: 28px; }

.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav__links a {
  position: relative;
  padding: 8px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

@media (max-width: 560px) {
  .hide-xs { display: none; }
}

/* ───────────────────────────── Components ───────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.9688rem;
  font-weight: 600;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-weight: 600;
  color: var(--ink);
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateY(2px); }
.link-arrow--right:hover span { transform: translateX(3px); }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .link-arrow span { transition: none; }
}

/* ───────────────────────────── Hero ───────────────────────────── */

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  max-width: 760px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero h1 .w { display: inline-block; }
.hero .lede { max-width: 34ch; margin-top: 26px; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin-top: 34px;
}
.hero__note { margin-top: 18px; font-size: 0.9375rem; color: var(--ink-3); }

.hero__visual { display: flex; justify-content: center; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .w {
    opacity: 0;
    transform: translateY(0.4em);
    animation: rise 0.8s var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 90ms + 80ms);
  }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* The Home Screen illustration: drawn in CSS, no image. */

.phone {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 9 / 18.6;
  padding: 10px;
  border-radius: 46px;
  background: var(--phone-frame);
  box-shadow: var(--shadow-device), inset 0 0 0 1.5px var(--phone-edge);
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  padding: 44px 14px 14px;
  background:
    radial-gradient(120% 70% at 20% 0%, #f7b98c 0%, transparent 60%),
    radial-gradient(110% 80% at 90% 30%, #7f8cf0 0%, transparent 62%),
    linear-gradient(170deg, #e9a3b8, #5a6fc9 60%, #2f3f86);
  color: #fff;
}
.phone__island {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
.phone__status {
  position: absolute;
  top: 14px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 650;
}

.hs-widget {
  aspect-ratio: 338 / 354;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}
.hs-widget i { display: block; }
.hs-widget i:nth-child(1) { background: linear-gradient(160deg, #ffd89b, #ef7a85 60%, #7d4a9a); }
.hs-widget i:nth-child(2) { background: linear-gradient(160deg, #a7f0d1, #3aa6a0 55%, #1e4f72); }
.hs-widget i:nth-child(3) { background: linear-gradient(160deg, #f6f1c8, #c5d86d 50%, #4f8f3b); }
.hs-widget i:nth-child(4) { background: linear-gradient(160deg, #9ec5ff, #5b7be0 55%, #2a2f78); }
.hs-widget i:nth-child(5) { background: linear-gradient(160deg, #ffe3c2, #f2a65a 55%, #a24b2d); }
.hs-widget i:nth-child(6) { background: linear-gradient(160deg, #d8c4ff, #8d6be0 55%, #3d2a82); }

.hs-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 10px;
  margin-top: 16px;
}
.hs-icons i {
  display: block;
  aspect-ratio: 1;
  border-radius: 22%;
  background: rgba(255, 255, 255, 0.28);
}
.hs-icons i:nth-child(3n + 1) { background: rgba(255, 255, 255, 0.4); }
.hs-icons i:nth-child(5n) { background: rgba(149, 210, 107, 0.85); }

.hs-dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.24);
}
.hs-dock i { display: block; aspect-ratio: 1; border-radius: 22%; background: rgba(255, 255, 255, 0.5); }

/* ───────────────────────────── Strip ───────────────────────────── */

.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.strip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.strip__item {
  padding: 28px 24px;
  font-size: 0.9375rem;
  color: var(--ink-3);
  border-left: 1px solid var(--line);
}
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.0625rem;
  color: var(--ink);
}
@media (max-width: 820px) {
  .strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .strip__list { grid-template-columns: minmax(0, 1fr); }
  .strip__item { border-left: 0; padding-left: 0; }
  .strip__item:nth-child(n + 2) { border-top: 1px solid var(--line); }
}

/* ───────────────────────────── Sections ───────────────────────────── */

.section { padding: var(--section-y) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.section__head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.section__head p:not(.eyebrow) { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); text-wrap: pretty; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.section--alt .feature { background: var(--bg); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.feature p { color: var(--ink-2); font-size: 1rem; }
.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.feature__tag {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
}
.feature__tag--pro { border-color: transparent; background: var(--accent); color: var(--on-accent); }

@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--line-strong); }
.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-rounded);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-ink);
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.tier--pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow-card); }
.tier__name { font-size: 1.5rem; }
.tier__lead { color: var(--ink-2); }
.tier__list { display: grid; gap: 12px; }
.tier__list li { position: relative; padding-left: 28px; color: var(--ink); }
.tier__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2.4px solid var(--accent-ink);
  border-bottom: 2.4px solid var(--accent-ink);
  transform: rotate(-45deg);
}
.tier__foot { margin-top: auto; padding-top: 6px; font-size: 0.9375rem; color: var(--ink-3); }
@media (max-width: 760px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

.night { background: #0a0a0a; color: #f5f5f2; padding: var(--section-y) 0; }
.night .eyebrow { color: #95d26b; }
.night h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); max-width: 18ch; }
.night__lede { max-width: 56ch; margin-top: 22px; font-size: 1.1875rem; color: #b9b9b2; text-wrap: pretty; }
.night__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.night__grid h3 { font-size: 1.125rem; margin-bottom: 6px; }
.night__grid p { color: #b9b9b2; font-size: 1rem; }
.night__link { display: inline-flex; margin-top: 36px; min-height: 44px; align-items: center; gap: 8px; font-weight: 600; color: #95d26b; }
.night :focus-visible { outline-color: #95d26b; }
@media (max-width: 760px) { .night__grid { grid-template-columns: minmax(0, 1fr); } }

.closing { text-align: center; }
.closing h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.closing p { margin: 18px auto 0; max-width: 46ch; color: var(--ink-2); font-size: 1.1875rem; }
.closing .hero__cta { justify-content: center; }

/* ───────────────────────────── Support ───────────────────────────── */

.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); }
.page-head .lede { margin-top: 20px; max-width: 46ch; }

.support { display: grid; gap: clamp(48px, 6vw, 80px); padding-bottom: var(--section-y); }
.support h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 18px; }
.support__steps { display: grid; gap: 14px; counter-reset: s; max-width: 62ch; }
.support__steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); }
.support__steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.9375rem;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-card a { font-weight: 650; color: var(--accent-ink); }

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  min-height: 56px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* ───────────────────────────── Legal pages ───────────────────────────── */

.legal { padding: clamp(40px, 6vw, 80px) 0 var(--section-y); }
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }

.legal__toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: 0.9375rem; }
.legal__toc p { margin-bottom: 12px; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.legal__toc ol { display: grid; gap: 2px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: block;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--line);
  color: var(--ink-3);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.legal__toc a:hover { color: var(--ink); }
.legal__toc a.is-active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }

.legal__head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.legal__meta { margin-top: 14px; color: var(--ink-3); font-size: 0.9375rem; }

.callout {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}
.callout h2 { font-size: 1.125rem; margin-bottom: 12px; }
.callout ul { display: grid; gap: 8px; }
.callout li { position: relative; padding-left: 20px; }
.callout li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }

.prose { margin-top: clamp(32px, 5vw, 56px); max-width: 72ch; }
.prose section { padding-top: 12px; margin-top: 36px; }
.prose section:first-child { margin-top: 0; }
.prose h2 { font-size: 1.625rem; margin-bottom: 14px; }
.prose h3 { font-size: 1.125rem; margin: 24px 0 8px; letter-spacing: -0.01em; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + .table-wrap, .prose .table-wrap + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; margin-top: 14px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.9688rem; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 600; white-space: nowrap; }

@media (max-width: 880px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { display: none; }
}

/* ───────────────────────────── Footer ───────────────────────────── */

.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); background: var(--surface); }
.footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--ink-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer__links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); font-weight: 500; }
.footer__links a:hover { color: var(--ink); }
.footer__legal { margin-top: 28px; max-width: 78ch; font-size: 0.875rem; color: var(--ink-3); }

/* ───────────────────────────── Print ───────────────────────────── */

@media print {
  .site-header, .legal__toc, .hero__visual, .skip, .site-footer .footer__links { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .legal__grid { display: block; }
  .prose { max-width: none; }
  a { color: inherit; text-decoration: underline; }
}
