/* PET ID landing — Manrope self-hosted, monochrome + rare blue.
   Type scale, spacing, radii and motion follow the landing-page-design skill. */

/* ---------- Fonts (self-hosted, no CDN) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-subtle: #f5f5f7;
  --surface: #ffffff;
  --surface-raised: #fafafb;
  --text: #0a0a0a;
  --text-muted: #55555b;
  --text-soft: #6e6e73;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --accent: #0057d9;
  --accent-contrast: #ffffff;
  --accent-soft: #eaf1fd;
  --nav-surface: rgba(255, 255, 255, 0.78);
  --nav-border: rgba(10, 10, 10, 0.08);
  --focus: #0057d9;
  --shadow-soft: 0 2px 8px rgba(10, 10, 10, 0.06);
  --shadow-card: 0 12px 32px rgba(10, 10, 10, 0.08);
  --shadow-phone: 0 24px 64px rgba(10, 10, 10, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-subtle: #181818;
  --surface: #1f1f1f;
  --surface-raised: #272727;
  --text: #ffffff;
  --text-muted: #a8a8a8;
  --text-soft: #9b9b9b;
  --border: #313131;
  --border-strong: #3a3a3a;
  --accent: #64d2ff;
  --accent-contrast: #000000;
  --accent-soft: #101a1f;
  --nav-surface: rgba(0, 0, 0, 0.66);
  --nav-border: rgba(255, 255, 255, 0.12);
  --focus: #64d2ff;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-phone: 0 24px 64px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

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

/* ---------- Named text styles ---------- */
.heading-1,
.heading-2,
.heading-3,
.heading-4,
.heading-5,
.heading-6 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.heading-1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.heading-2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.heading-3 {
  font-size: 1.5rem;
  line-height: 2rem;
}
.heading-4 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.heading-5 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.heading-6 {
  font-size: 1rem;
  line-height: 1.5rem;
}

.title-1,
.title-2,
.title-3,
.title-4,
.title-5 {
  margin: 0;
  font-weight: 500;
}
.title-1 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.title-2 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.title-3 {
  font-size: 1rem;
  line-height: 1.5rem;
}
.title-4 {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.title-5 {
  font-size: 0.75rem;
  line-height: 1rem;
}

.body-1,
.body-2,
.body-3,
.body-4,
.body-5,
.body-6 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  text-wrap: pretty;
}
.body-1 {
  font-weight: 600;
}
.body-2 {
  font-weight: 500;
}
.body-3 {
  font-weight: 400;
}
.body-4,
.body-5,
.body-6 {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.body-4 {
  font-weight: 600;
}
.body-5 {
  font-weight: 500;
}
.body-6 {
  font-weight: 400;
}

.button-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}
.button-md {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}
.button-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.button-xsm {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}

.caption-1,
.caption-2 {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.caption-1 {
  font-weight: 500;
}
.caption-2 {
  font-weight: 400;
}
.caption-3,
.caption-4,
.caption-5 {
  font-size: 0.75rem;
  line-height: 1rem;
}
.caption-3 {
  font-weight: 600;
}
.caption-4 {
  font-weight: 500;
}
.caption-5 {
  font-weight: 400;
}

@media (min-width: 768px) {
  .heading-1 {
    font-size: 3rem;
    line-height: 1;
  }
  .heading-2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .heading-3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .heading-4 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .heading-5 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .heading-6 {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .body-1,
  .body-2,
  .body-3 {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .heading-1 {
    font-size: 3.75rem;
    line-height: 1;
  }
  .heading-2 {
    font-size: 3rem;
    line-height: 1;
  }
  .heading-3 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .heading-4 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .heading-5 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .heading-6 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .body-1,
  .body-2,
  .body-3 {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 24px;
}

.container-narrow {
  max-width: 860px;
}

.text-muted {
  color: var(--text-muted);
}
.text-soft {
  color: var(--text-soft);
}
.text-accent {
  color: var(--accent);
}

.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: fixed;
  inset-inline-start: 16px;
  top: -64px;
  z-index: 200;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  transition: transform 300ms var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--accent);
}

/* ---------- Spacing utilities (token values only) ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-25 { margin-top: 4px; }
.mb-25 { margin-bottom: 4px; }
.mt-75 { margin-top: 8px; }
.mb-75 { margin-bottom: 8px; }
.mb-200 { margin-bottom: 16px; }
.mb-400 { margin-bottom: 32px; }
.mt-400 { margin-top: 32px; }
.mt-500 { margin-top: 40px; }
.mt-600 { margin-top: 48px; }
.pt-0 { padding-top: 0; }
.px-0 { padding-inline: 0; }
.border-top-0 { border-top: 0; }
.mx-auto { margin-inline: auto; }
.m-0 { margin: 0; }
.text-center { text-align: center; }
.text-ink { color: var(--text); }
.text-on-dark-muted { color: #a8a8a8; }
.maxw-680 { max-width: 680px; }
.doc-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 1024px;
  padding: 8px;
  border: 1px solid var(--nav-border);
  border-radius: 9999px;
  background: var(--nav-surface);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}

.nav-brand {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  margin-inline-end: auto;
  padding: 4px 8px;
  text-decoration: none;
  letter-spacing: 0.12em;
}

.nav-brand svg {
  width: 24px;
  height: 24px;
  color: var(--text);
}

.nav-links {
  display: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 9999px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.nav-link[aria-current="true"] {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  color: var(--text-muted);
  transition: color 300ms var(--ease), background-color 300ms var(--ease),
    transform 500ms var(--ease);
}

.icon-button:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.icon-button:active {
  transform: scale(0.98);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: inline-flex;
}

.nav-cta {
  display: none;
  white-space: nowrap;
}

@media (max-width: 899px) {
  .nav .nav-cta {
    display: none;
  }
}

/* Menu icon morph */
.menu-icon {
  position: relative;
  width: 18px;
  height: 14px;
}
.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 500ms var(--ease), opacity 300ms var(--ease);
}
.menu-icon span:nth-child(1) {
  top: 0;
}
.menu-icon span:nth-child(2) {
  top: 6px;
}
.menu-icon span:nth-child(3) {
  top: 12px;
}
[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}
[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 96px 24px 48px;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 400ms var(--ease), visibility 0s linear 400ms;
}

.mobile-menu[data-open="true"] {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 0;
  color: var(--text);
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.mobile-menu[data-open="true"] a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a:nth-child(1) {
  transition-delay: 60ms;
}
.mobile-menu a:nth-child(2) {
  transition-delay: 120ms;
}
.mobile-menu a:nth-child(3) {
  transition-delay: 180ms;
}
.mobile-menu a:nth-child(4) {
  transition-delay: 240ms;
}
.mobile-menu a:nth-child(5) {
  transition-delay: 300ms;
}

.mobile-menu .button {
  justify-content: center;
  margin-top: 24px;
}

@media (min-width: 900px) {
  .nav {
    width: auto;
    max-width: none;
    padding: 8px;
    gap: 8px;
  }
  .nav-links {
    display: flex;
  }
  .nav .menu-toggle {
    display: none;
  }
  .nav .nav-cta {
    display: inline-flex;
  }
  .mobile-menu {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: background-color 300ms var(--ease), color 300ms var(--ease),
    border-color 300ms var(--ease), transform 500ms var(--ease),
    box-shadow 500ms var(--ease);
}

.button svg {
  width: 20px;
  height: 20px;
  transition: transform 500ms var(--ease);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-soft);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.button-primary:hover svg {
  transform: translateX(4px);
}

.button-primary:active {
  transform: scale(0.98);
}

.button-secondary {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: transparent;
}

.button-secondary:hover {
  background: var(--bg-subtle);
}

.button-secondary:active {
  transform: scale(0.98);
}

.button-ghost {
  color: var(--text-muted);
  padding-inline: 12px;
}

.button-ghost:hover {
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: 128px 64px;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--text-muted);
}

.hero-title {
  margin: 24px 0 16px;
  color: var(--text);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title {
    background: linear-gradient(90deg, #000000, #666666);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

[data-theme="dark"] .hero-title {
  background: linear-gradient(90deg, #ffffff, #9b9b9b);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device {
  width: min(100%, 320px);
  padding: 8px;
  border-radius: 24px;
  background: #0a0a0a;
  box-shadow: var(--shadow-phone);
}

[data-theme="dark"] .device {
  background: #181818;
  border: 1px solid var(--border);
}

.device img {
  width: 100%;
  border-radius: 16px;
}

@media (min-width: 900px) {
  .hero {
    padding-block: 176px 96px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 64px;
  }
  .hero-visual {
    justify-content: flex-end;
  }
  .device {
    width: min(100%, 360px);
  }
}

/* ---------- Sections ---------- */
section[id] {
  scroll-margin-top: 96px;
}

.section {
  padding-block: 64px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head .heading-2 {
  margin: 8px 0 16px;
}

@media (min-width: 900px) {
  .section {
    padding-block: 96px;
  }
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  transition: border-color 300ms var(--ease), transform 500ms var(--ease),
    box-shadow 500ms var(--ease);
}

.benefit:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit .heading-5 {
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Tagline reveal */
.tagline {
  padding-block: 80px;
  border-block: 1px solid var(--border);
  background: var(--bg-subtle);
}

.tagline-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.02em;
}

.tagline-text .word {
  display: inline-block;
  opacity: 1;
  transition: opacity 700ms var(--ease), color 700ms var(--ease);
}

.js.reveal-ready .tagline-text .word {
  opacity: 0.3;
}

.js.reveal-ready .tagline-text .word.is-on {
  opacity: 1;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.step-number {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
}

.step .heading-5 {
  margin-bottom: 8px;
}

.how-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  align-items: end;
}

.how-visual figure {
  margin: 0;
}

.how-visual img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.how-visual figcaption {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .how-visual {
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
    gap: 24px;
  }
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.trust-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--accent);
}

.trust-item .heading-5 {
  margin-bottom: 4px;
}

.trust-note {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: var(--bg-subtle);
}

.trust-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.trust-gallery figure {
  margin: 0;
}

.trust-gallery img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.trust-gallery .trust-gallery-wide {
  grid-column: span 2;
  max-width: 320px;
  justify-self: center;
}

.trust-gallery figcaption {
  margin-top: 8px;
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  list-style: none;
  cursor: pointer;
  border-radius: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--text-muted);
  transition: transform 500ms var(--ease), color 300ms var(--ease);
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-body {
  padding: 0 24px 24px;
  color: var(--text-muted);
  max-width: 680px;
}

/* Final CTA */
.cta-section {
  padding-block: 64px;
}

.cta-panel {
  padding: 40px 24px;
  border-radius: 24px;
  background: #0a0a0a;
  color: #ffffff;
  text-align: center;
}

[data-theme="dark"] .cta-panel {
  background: #181818;
  border: 1px solid var(--border);
}

.cta-panel .heading-2 {
  margin: 8px auto 16px;
  max-width: 680px;
}

.cta-panel p {
  max-width: 680px;
  margin: 0 auto 32px;
  color: #a8a8a8;
}

.cta-panel .button-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

[data-theme="dark"] .cta-panel .button-primary {
  background: #64d2ff;
  color: #000000;
}

.cta-panel .caption-2 {
  margin-top: 16px;
  color: #9b9b9b;
}

@media (min-width: 768px) {
  .cta-panel {
    padding: 64px;
  }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 48px 32px;
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  transition: color 300ms var(--ease);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  display: grid;
  gap: 4px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }
}

/* ---------- Reveal on scroll ---------- */
.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Legal / doc pages ---------- */
.doc {
  padding-block: 128px 64px;
}

.doc-head {
  max-width: 680px;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .doc-head .heading-1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

.doc-body {
  max-width: 680px;
}

.doc-body h2 {
  margin: 40px 0 8px;
}

.doc-body p,
.doc-body li {
  color: var(--text-muted);
}

.doc-body p {
  margin: 0 0 16px;
}

.doc-body ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.doc-body li + li {
  margin-top: 8px;
}

.doc-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc-body .button {
  color: var(--accent-contrast);
  text-decoration: none;
}

.doc-body .button-secondary {
  color: var(--text);
}

.doc-body strong {
  color: var(--text);
}

.doc-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

/* ---------- 404 ---------- */
.notfound {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-block: 128px 64px;
}

.notfound .button {
  margin-top: 32px;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
  .js.reveal-ready .tagline-text .word {
    opacity: 1;
    color: var(--text);
  }
  .button-primary:hover {
    transform: none;
  }
  .benefit:hover {
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .nav,
  .mobile-menu,
  .skip-link,
  .cta-section {
    display: none !important;
  }
  .js.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
