/* VoiceTutor website. Design system of BYOD-Bot and EdPilot (tokens, Outfit,
   aurora gradients, marker highlight), see docs/adr/0005-testserver.md.
   Light only, no external resources. */

@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #f5f5f0;
  --foreground: #0c1330;
  --card: #ffffff;
  --primary: #2443d6;
  --primary-foreground: #ffffff;
  --fill: #0c13300f;
  --fill-hover: #0c13301a;
  --muted: #ecece6;
  --muted-foreground: #4f566b;
  --subtle: #61677a; /* 4.5:1 also on --tinte-soft (TD-82); was #646a7d */
  --border: #0c13301a;
  --line-strong: #868c9e;
  --ring: #2443d6;
  --tinte-soft: #e5e9fd;
  --marker: #ffe14a;
  --marker-soft: #fff5c4;
  --on-marker: #0c1330;
  --ok: #157a45;
  --ok-soft: #dcf2e4;
  --nacht: #0b1640;
  --on-nacht: #ffffff;
  --on-nacht-muted: #b6c0e6;

  --shadow-card: 0 0 0 1px rgb(12 19 48 / 0.06), 0 1px 2px rgb(12 19 48 / 0.06);
  --shadow-float: 0 12px 40px -12px rgb(11 22 64 / 0.35);
  --shadow-shot: 0 30px 80px -30px rgb(11 22 64 / 0.45);
  --shadow-glow: 0 10px 30px -10px rgb(36 67 214 / 0.7);

  --font-sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  /* No animation or transition anywhere (the wave only animates with no-preference). */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:active {
    transform: none !important;
  }
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}
/* The skip link's target takes focus (tabindex="-1") without a frame around the page. */
main[tabindex="-1"]:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
.container-narrow {
  max-width: 48rem;
}
@media (min-width: 640px) {
  .container {
    padding-inline: 24px;
  }
}

/* --- highlight, gradients ------------------------------------------------ */

.hl {
  padding-inline: 0.06em;
  margin-inline: -0.06em;
  background: linear-gradient(
    transparent 60%,
    var(--marker) 60%,
    var(--marker) 90%,
    transparent 90%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  hyphens: manual;
}

.aurora-light {
  background:
    radial-gradient(50% 70% at 12% 0%, rgb(36 67 214 / 0.18), transparent 70%),
    radial-gradient(40% 60% at 92% 12%, rgb(255 225 74 / 0.4), transparent 70%),
    radial-gradient(60% 60% at 55% 110%, rgb(36 67 214 / 0.12), transparent 70%),
    linear-gradient(160deg, var(--tinte-soft), var(--background));
}
.aurora-dark {
  --foreground: var(--on-nacht);
  --muted-foreground: var(--on-nacht-muted);
  --subtle: var(--on-nacht-muted);
  --ring: var(--marker);
  color: var(--on-nacht);
  background:
    radial-gradient(60% 80% at 12% 8%, rgb(36 67 214 / 0.7), transparent 62%),
    radial-gradient(45% 65% at 92% 18%, rgb(96 140 255 / 0.35), transparent 60%),
    radial-gradient(55% 60% at 62% 118%, rgb(255 225 74 / 0.26), transparent 62%),
    linear-gradient(140deg, #13205a, #070c24);
}

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    filter 0.15s;
}
.btn:active {
  transform: scale(0.98);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-sm {
  height: 40px;
  padding-inline: 16px;
  font-size: 14px;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 90%, white);
}
.btn-glow {
  box-shadow: var(--shadow-glow);
}
.btn-outline {
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-card);
}
.btn-outline:hover {
  background: color-mix(in srgb, var(--card) 92%, var(--foreground));
}
.btn-marker {
  background: var(--marker);
  color: var(--on-marker);
}
.btn-marker:hover {
  filter: brightness(0.95);
}
.btn-on-dark {
  border-color: rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.1);
  color: var(--on-nacht);
}
.btn-on-dark:hover {
  background: rgb(255 255 255 / 0.16);
}
.btn-icon {
  width: 44px;
  padding: 0;
  background: var(--fill);
  color: var(--foreground);
}

.more-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.more-link:hover {
  text-decoration: underline;
}
.more-link svg {
  width: 16px;
  height: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding-inline: 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--tinte-soft);
  color: var(--primary);
}
.badge-ok {
  background: var(--ok-soft);
  color: var(--ok);
}
.badge-marker {
  background: var(--marker);
  color: var(--on-marker);
}
.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* --- logo --------------------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 20px;
}
.logo svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* --- header ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--background) 85%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.site-nav {
  display: none;
  gap: 32px;
}
.site-nav a,
.header-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted-foreground);
  text-decoration: none;
}
.site-nav a:hover,
.header-link:hover {
  color: var(--foreground);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-actions .header-link,
.header-actions .btn:not(.menu-toggle) {
  display: none;
}
.menu-toggle {
  display: inline-flex;
}
.mobile-menu {
  border-top: 1px solid var(--border);
  padding-block: 8px 20px;
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  display: block;
  padding-block: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
}
@media (min-width: 640px) {
  .header-actions .btn:not(.menu-toggle) {
    display: inline-flex;
  }
}
@media (min-width: 1024px) {
  .site-nav,
  .header-actions .header-link {
    display: flex;
  }
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* --- sections ----------------------------------------------------------- */

.section {
  padding-block: 64px;
  scroll-margin-top: 96px;
}
@media (min-width: 640px) {
  .section {
    padding-block: 96px;
  }
}
.section-header {
  max-width: 46rem;
  margin-bottom: 48px;
}
.section-header.center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lead {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.625;
  color: var(--muted-foreground);
  max-width: 62ch;
}
.section-header.center .lead {
  margin-inline: auto;
}
.fine-print {
  margin-top: 20px;
  font-size: 14px;
  color: var(--subtle);
}
.center-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* --- hero ---------------------------------------------------------------- */

.hero {
  padding-block: 40px 72px;
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero {
    padding-block: 64px 96px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.hero-pill .pill-icon {
  flex-shrink: 0;
}
.hero-pill .pill-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--marker);
  color: var(--on-marker);
}
.hero-pill svg {
  width: 14px;
  height: 14px;
}
.h1 {
  margin-top: 24px;
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero .lead {
  max-width: 34em;
  margin-top: 24px;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  border-radius: 2rem;
  padding: 40px 16px;
}
@media (min-width: 640px) {
  .hero-visual {
    padding: 48px 44px;
  }
}
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-float);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.float-chip small {
  display: block;
  font-weight: 500;
  color: var(--subtle);
  font-size: 12.5px;
}
.float-chip .chip-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tinte-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.float-chip .chip-icon.marker {
  background: var(--marker-soft);
  color: var(--on-marker);
}
.float-chip svg {
  width: 16px;
  height: 16px;
}
.chip-top {
  top: -20px;
  left: 28px;
}
.chip-bottom {
  right: 28px;
  bottom: -20px;
}

/* --- call mockup --------------------------------------------------------- */

.call {
  max-width: 440px;
  margin-inline: auto;
  border-radius: 1.75rem;
  background: var(--card);
  box-shadow: var(--shadow-shot);
  overflow: hidden;
}
.call-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.call-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tinte-soft);
  flex-shrink: 0;
}
.call-avatar svg {
  width: 24px;
  height: 24px;
}
.call-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
}
.call-sub {
  font-size: 12.5px;
  color: var(--subtle);
}
.call-head .badge {
  margin-left: auto;
}
.call-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 1.25rem;
  font-size: 15px;
  line-height: 1.45;
}
.bubble-agent {
  align-self: flex-start;
  background: var(--muted);
  border-bottom-left-radius: 6px;
}
.bubble-learner {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble-meta {
  font-size: 12px;
  color: var(--subtle);
  font-family: var(--font-mono);
}
.bubble-meta.right {
  align-self: flex-end;
}
.call-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--background);
}
.call-mic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}
.call-mic svg {
  width: 20px;
  height: 20px;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  flex: 1;
}
.wave span {
  display: block;
  width: 4px;
  height: 30%;
  border-radius: 2px;
  background: var(--primary);
  opacity: 0.75;
  transform-origin: center;
}
.wave span:nth-child(3n) {
  background: var(--marker);
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .wave span {
    animation: wave 1.2s ease-in-out 8 alternate;
  }
  .wave span:nth-child(2n) {
    animation-delay: 0.15s;
  }
  .wave span:nth-child(3n) {
    animation-delay: 0.3s;
  }
  .wave span:nth-child(5n) {
    animation-delay: 0.45s;
  }
}
@keyframes wave {
  from {
    height: 25%;
  }
  to {
    height: 100%;
  }
}
.call-timer {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}

/* --- question cloud ------------------------------------------------------ */

.cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 60rem;
  margin-inline: auto;
}
.cloud .bubble-learner {
  align-self: auto;
  max-width: none;
}
.cloud .bubble-learner:nth-child(even) {
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-card);
  border-bottom-right-radius: 1.25rem;
  border-bottom-left-radius: 6px;
}

/* --- cards, steps, features --------------------------------------------- */

.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.card {
  border-radius: 1.75rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.card h3,
.feature h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.card p,
.feature p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--marker);
  color: var(--on-marker);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}
.step-meta {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--subtle);
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
  color: var(--primary);
  margin-bottom: 18px;
}
.card .icon-tile {
  background: var(--tinte-soft);
  box-shadow: none;
}
.icon-tile svg {
  width: 20px;
  height: 20px;
}
.features {
  display: grid;
  gap: 40px 32px;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- split section ------------------------------------------------------- */

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.points li {
  display: flex;
  gap: 12px;
  color: var(--muted-foreground);
  line-height: 1.55;
}
.points strong {
  color: var(--foreground);
  font-weight: 600;
}
.check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tinte-soft);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.check svg {
  width: 14px;
  height: 14px;
}

.flow {
  max-width: 460px;
  margin-inline: auto;
  border-radius: 1.75rem;
  background: var(--card);
  box-shadow: var(--shadow-shot);
  padding: 24px;
}
.flow-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 16px;
}
.flow ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.flow li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 0.875rem;
  font-size: 15px;
  color: var(--muted-foreground);
}
.flow li .state {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
}
.flow li .state svg {
  width: 14px;
  height: 14px;
}
.flow li.done {
  color: var(--foreground);
}
.flow li.done .state {
  border-color: transparent;
  background: var(--tinte-soft);
  color: var(--primary);
}
.flow li.active {
  background: var(--marker-soft);
  color: var(--foreground);
  font-weight: 600;
}
.flow li.active .state {
  border-color: transparent;
  background: var(--marker);
}
.flow li.indent {
  margin-left: 24px;
}
.flow li .time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}

/* --- FAQ ----------------------------------------------------------------- */

.faq-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
  .faq-grid .section-header {
    position: sticky;
    top: 104px;
    align-self: start;
  }
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--subtle);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-list .answer {
  padding: 0 24px 22px;
  color: var(--muted-foreground);
  line-height: 1.625;
}
.faq-list .answer p + p {
  margin-top: 10px;
}

/* --- final CTA ----------------------------------------------------------- */

.final-cta {
  border-radius: 2rem;
  padding: 56px 24px;
  text-align: center;
}
@media (min-width: 640px) {
  .final-cta {
    padding: 96px 48px;
  }
}
.final-cta .h2 {
  max-width: 14em;
  margin-inline: auto;
}
.final-cta .lead {
  margin-inline: auto;
}
.final-cta .button-row {
  justify-content: center;
}
/* On dark the stripe would sit under white text: use a full marker instead. */
.aurora-dark .hl {
  background: var(--marker);
  color: var(--on-marker);
  border-radius: 0.12em;
  padding-inline: 0.12em;
  margin-inline: 0;
}

/* --- footer -------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-block: 56px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
.footer-grid .logo {
  font-size: 19px;
}
.footer-grid .logo svg {
  width: 26px;
  height: 26px;
}
.footer-tagline {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted-foreground);
  max-width: 34ch;
}
.footer-col h2 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 15px;
  color: var(--muted-foreground);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--foreground);
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid var(--border);
  padding-block: 24px;
  font-size: 13.5px;
  color: var(--subtle);
}
.footer-bottom nav {
  display: flex;
  gap: 20px;
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--foreground);
  text-decoration: underline;
}

/* --- legal pages --------------------------------------------------------- */

.page-intro {
  padding-block: 56px 32px;
}
.page-intro h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 18em;
  hyphens: auto;
}
.prose {
  padding-bottom: 64px;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.prose h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}
.prose p + p,
.prose ul {
  margin-top: 12px;
}
.prose ul {
  padding-left: 1.25rem;
}
.prose li + li {
  margin-top: 6px;
}
.prose a {
  color: var(--primary);
}
.prose strong {
  color: var(--foreground);
}
.note {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 1.25rem;
  background: var(--marker-soft);
  color: var(--foreground);
  font-size: 15px;
}
.facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.facts div {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.facts div:last-child {
  border-bottom: 0;
}
@media (min-width: 640px) {
  .facts div {
    grid-template-columns: 14rem 1fr;
  }
}
.facts dt {
  font-weight: 600;
  color: var(--foreground);
}
.facts dd {
  margin: 0;
}
