:root {
  color-scheme: dark;
  --ink: #eef2f8;
  --muted: #a5afc0;
  --line: #2d3544;
  --soft: #1c2533;
  --blue: #9bb5ff;
  --page: #10131a;
  --panel: #151b25;
}

.thanks-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--page);
}

.thanks-page .nav-links a:hover { color: var(--ink); }

.thanks-page main {
  width: min(680px, calc(100% - 48px));
  margin: 64px auto 72px;
  flex: 1;
}

.thanks-header { text-align: center; }
.thanks-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  color: #7ddbb0;
  background: #16372c;
  border: 1px solid #295540;
  border-radius: 50%;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.thanks-header h1 {
  max-width: 560px;
  margin: 0 auto 18px;
  font-size: clamp(34px, 5.5vw, 48px);
  line-height: 1.12;
}
.thanks-header .intro {
  max-width: 480px;
  margin: 0 auto;
  color: var(--muted);
}

.next-steps {
  margin-top: 36px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.next-steps h2 { margin-bottom: 24px; font-size: 20px; }
.next-steps ol {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.next-steps li {
  position: relative;
  margin: 0;
  padding-left: 48px;
  counter-increment: steps;
}
.next-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}
.next-steps h3 { margin: 0 0 6px; }
.next-steps p { margin: 0; color: var(--muted); font-size: 15px; }
.next-steps strong { color: var(--ink); }
.license-note {
  margin-top: 28px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.license-note h3 { font-size: 15px; }
.license-note p { font-size: 14px; }

.purchase-support { margin-top: 32px; text-align: center; }
.purchase-support h2 { font-size: 18px; }
.purchase-support p { margin-bottom: 24px; color: var(--muted); font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 20px;
  color: var(--page);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: #d6deea; }
.button.secondary { color: var(--ink); background: var(--panel); border-color: var(--line); }
.button.secondary:hover { background: var(--soft); }

@media (max-width: 480px) {
  .thanks-page main { width: calc(100% - 40px); margin: 36px auto 48px; }
  .thanks-header .intro { font-size: 16px; }
  .next-steps { padding: 22px 18px; }
  .next-steps li { padding-left: 44px; }
  .actions { flex-direction: column; }
}
