:root {
  --bg: #ffffff;
  --bg-tint: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0066cc;
  --button-bg: #1d1d1f;
  --button-text: #ffffff;
  --statement-bg: #000000;
  --statement-text: #f5f5f7;
  --statement-muted: #a1a1a6;
  --header-bg: rgba(255, 255, 255, 0.78);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.25);
  --radius-phone: clamp(28px, 4vw, 44px);
  --gutter: clamp(16px, 5vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-tint: #111113;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #2c2c2e;
    --accent: #2997ff;
    --button-bg: #f5f5f7;
    --button-text: #1d1d1f;
    --statement-bg: #f5f5f7;
    --statement-text: #1d1d1f;
    --statement-muted: #6e6e73;
    --header-bg: rgba(0, 0, 0, 0.72);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--button-bg);
  color: var(--button-text);
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1024px;
  height: 52px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text);
  font-size: 14px;
  opacity: 0.8;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: none;
}

.language-control select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  padding: 4px 12px;
  cursor: pointer;
}

.menu-button {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span[aria-hidden] {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease;
}

.menu-button span[aria-hidden]:nth-child(1) { top: 18px; }
.menu-button span[aria-hidden]:nth-child(2) { top: 25px; }

.menu-button[aria-expanded="true"] span[aria-hidden]:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span[aria-hidden]:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 720px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 52px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    font-size: 24px;
    font-weight: 600;
    opacity: 1;
    border-bottom: 1px solid var(--line);
  }

  .language-control {
    margin-top: 20px;
  }
}

/* Home sections: one idea per screen */

.hero,
.feature,
.statement,
.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(80px, 14vw, 160px) var(--gutter) 0;
}

.hero {
  padding-top: clamp(64px, 10vw, 120px);
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.feature h2,
.statement h2,
.price h2 {
  max-width: 16ch;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.04;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
}

.lead {
  max-width: 36ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.38;
  font-weight: 500;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 17px;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  text-decoration: none;
  transform: scale(1.02);
}

.button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.price-inline {
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  margin-top: 28px;
  font-size: clamp(17px, 1.8vw, 21px);
}

.phone {
  width: min(78vw, 340px);
  margin: clamp(56px, 8vw, 88px) 0 0;
  border-radius: var(--radius-phone);
  overflow: hidden;
  box-shadow: var(--shadow);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}

.phone-hero {
  width: min(82vw, 380px);
}

.feature,
.hero {
  padding-bottom: 0;
}

.feature-tint {
  background: var(--bg-tint);
  padding-bottom: clamp(80px, 12vw, 140px);
  margin-top: clamp(80px, 14vw, 160px);
}

.feature-tint + .feature {
  padding-top: clamp(80px, 14vw, 160px);
}

.statement {
  margin-top: clamp(80px, 14vw, 160px);
  padding-bottom: clamp(96px, 16vw, 180px);
  background: var(--statement-bg);
  color: var(--statement-text);
}

.statement .eyebrow,
.statement .lead {
  color: var(--statement-muted);
}

.statement h2 {
  font-size: clamp(56px, 11vw, 140px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.statement .text-link {
  color: var(--accent);
}

.price-figure {
  margin-bottom: 8px;
  font-size: clamp(88px, 18vw, 200px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.price h2 {
  font-size: clamp(32px, 4.6vw, 56px);
}

.fine-print {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) var(--gutter);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.fine-print h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

/* Reveal motion: only when JavaScript runs and the user allows motion */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Footer */

.site-footer {
  background: var(--bg-tint);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px var(--gutter) 32px;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer nav a {
  color: var(--text);
}

/* Inner pages: privacy, support, legal */

.inner-main {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 120px) var(--gutter) clamp(64px, 10vw, 120px);
}

.inner-hero {
  margin-bottom: clamp(48px, 7vw, 80px);
}

.inner-hero h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.04;
}

.inner-hero p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.4;
}

.document-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.document-meta span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.document-meta strong,
.document-meta a {
  font-weight: 500;
  overflow-wrap: anywhere;
}

.callout {
  margin: 40px 0;
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--bg-tint);
  font-size: 19px;
  line-height: 1.45;
}

.document-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .document-section {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
}

.document-section h2 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.document-section p + p,
.document-section ul + p {
  margin-top: 12px;
}

.document-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.document-section li + li {
  margin-top: 6px;
}

.support-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 860px) {
  .support-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }

  .support-aside {
    position: sticky;
    top: 92px;
  }
}

.support-aside h2 {
  font-size: 24px;
}

.support-aside p:not(.eyebrow) {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.support-email {
  font-size: 17px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 40px 22px 0;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--muted);
  font-size: 26px;
  font-weight: 300;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details > div {
  padding: 0 0 24px;
  color: var(--muted);
}
