:root {
  color-scheme: light dark;
  --bg: #f8f8fb;
  --surface: #ffffff;
  --ink: #1b1c24;
  --muted: #62647a;
  --line: #e4e4ee;
  --accent: #4f5bd5;
  --accent-ink: #ffffff;
  --accent-soft: #ecedfc;
  --slow: #b0b2c3;
  --radius: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Follows the system theme. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121318;
    --surface: #1b1c23;
    --ink: #eceef6;
    --muted: #9a9cb0;
    --line: #2b2d38;
    --accent: #8f98ff;
    --accent-ink: #121318;
    --accent-soft: #23264a;
    --slow: #555869;
  }
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.header,
main,
.footer {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  font-weight: 700;
  text-decoration: none;
}

.header-link {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.header-link:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


/* Hero */

.hero {
  padding: 64px 0 8px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 34rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.button.primary {
  color: var(--accent-ink);
  background: var(--accent);
}

.button.primary:hover {
  opacity: 0.9;
}

.button.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
}

.button.ghost:hover {
  background: var(--surface);
}

.button.wide {
  width: 100%;
}

.button.disabled {
  padding-block: 10px;
  color: var(--muted);
  border-style: dashed;
  text-align: center;
  cursor: default;
}

.button.ghost.disabled:hover {
  background: none;
}

.button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Sections */

.section {
  padding-top: 56px;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.05rem;
}

.benefits {
  display: grid;
  gap: 28px;
}

.benefits p,
.steps p {
  margin-top: 4px;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 52px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}

/* Offer */

.offer {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.offer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.offer-head h2 {
  margin: 0;
}

.price {
  color: var(--muted);
}

.price span {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.offer-list {
  display: grid;
  gap: 8px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.offer-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 700;
}

.methods {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 560px) {
  .methods {
    grid-template-columns: 1fr 1fr;
  }
}

.method {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: var(--bg);
}

.method-body {
  flex: 1;
  margin-bottom: 14px;
}

.method h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.method p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.method.soon {
  border-style: dashed;
  background: none;
}

.method.soon h3 {
  color: var(--muted);
}

.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: 2px;
}

.fine-print {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

/* FAQ */

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

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

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding-bottom: 18px;
  color: var(--muted);
}

/* Footer */

.footer {
  padding: 56px 0 32px;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* Requirements, notes, links below a section */

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

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.checklist strong {
  color: var(--ink);
}

.note {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--accent-soft);
}

.more {
  margin-top: 24px;
}

.more a,
.steps a,
.faq a,
.note a {
  color: var(--accent);
}

/* FAQ page */

.page-head {
  padding: 40px 0 0;
}

.page-head h1 {
  font-size: clamp(2.2rem, 7vw, 3.2rem);
}

.page-head .lede {
  margin-top: 16px;
  font-size: 1.1rem;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
  background: var(--surface);
}

.faq-group {
  padding-top: 48px;
  scroll-margin-top: 16px;
}

.faq-group h2 {
  margin-bottom: 12px;
}

.faq details {
  scroll-margin-top: 16px;
}

.faq details > :not(summary) {
  color: var(--muted);
}

.faq details ul,
.faq details ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.faq details li + li {
  margin-top: 6px;
}

.faq details p + p,
.faq details p + ul,
.faq details ul + p {
  margin-top: -6px;
}

.faq details strong {
  color: var(--ink);
  font-weight: 600;
}

.faq code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.faq pre {
  margin: 0 0 18px;
  padding: 12px 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}

.faq pre code {
  overflow-wrap: normal;
}

/* Legal pages (terms.html, privacy.html, refund.html) */

.legal {
  padding-top: 8px;
}

.legal h2 {
  margin: 48px 0 12px;
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
}

.legal h3 {
  margin: 28px 0 8px;
}

.legal p,
.legal ul,
.legal ol,
.legal table {
  margin: 0 0 14px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
}

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

.legal a {
  color: var(--accent);
}

.legal code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  font-weight: 600;
}

.footer p + p {
  margin-top: 4px;
}
