:root {
  --ink: #f2f4f5;
  --muted: #aeb7bf;
  --ghost: #77818a;
  --cool: #71869a;
  --accent: #35b8e0;
  --night: #111418;
  --panel: rgba(255, 255, 255, 0.026);
  --line: rgba(255, 255, 255, 0.09);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--night);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.purchase-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(70% 55% at 52% 24%, #22282e 0%, #161a1f 50%, var(--night) 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.purchase-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
}

.site-header,
.site-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 64px);
}

.site-header { border-bottom: 1px solid var(--line); }

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-decoration: none;
}

.site-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.buy-main {
  width: min(980px, calc(100% - 40px));
  margin: auto;
  padding: clamp(54px, 8vh, 88px) 0;
}

.buy-intro { margin-bottom: 34px; }

.eyebrow {
  margin: 0 0 14px;
  color: #35b8e0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.product-summary,
.thanks-card > p:not(.eyebrow, .help-note) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.purchase-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.price-panel,
.included-panel,
.checkout-panel { padding: clamp(26px, 4vw, 40px); }

.price-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: rgba(113, 134, 154, 0.07);
}

.price-label {
  margin: 0 0 14px;
  color: var(--ghost);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}

.price del {
  color: var(--ghost);
  font-size: 20px;
}

.price strong {
  color: var(--ink);
  font-size: clamp(42px, 6vw, 60px);
  letter-spacing: -0.05em;
}

.price-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.included-panel h2 {
  margin: 0 0 18px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.included-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.5;
}

.included-panel li {
  position: relative;
  padding-left: 24px;
}

.included-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #35b8e0;
  font-weight: 700;
}

.checkout-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 24px;
  border-top: 1px solid var(--line);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 24px;
  border: 1px solid var(--accent);
  border-radius: 9px;
  background: var(--accent);
  color: #04141a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.primary-button:hover { opacity: 0.9; transform: translateY(-1px); }

.primary-button:focus-visible,
.trial-note a:focus-visible,
.help-note a:focus-visible,
.site-footer a:focus-visible,
.site-brand:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.merchant-note {
  max-width: 600px;
  margin: 0;
  color: var(--ghost);
  font-size: 13px;
  line-height: 1.55;
}

.trial-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.trial-note a,
.help-note a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.thanks-main {
  width: min(760px, calc(100% - 40px));
  margin: auto;
  padding: clamp(54px, 9vh, 92px) 0;
}

.thanks-card {
  padding: clamp(30px, 6vw, 56px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.thanks-card h1 { max-width: 660px; }

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

.help-note {
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  color: var(--ghost);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.site-footer a {
  color: var(--ghost);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.site-footer a:hover { color: var(--muted); }

@media (max-width: 700px) {
  .site-header,
  .site-footer { padding: 22px 20px; }

  .buy-main,
  .thanks-main { padding: 46px 0 54px; }

  .purchase-card { grid-template-columns: 1fr; }

  .price-panel { border-right: 0; border-bottom: 1px solid var(--line); }

  .checkout-panel {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .primary-button { width: 100%; }

  .site-footer {
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .site-footer { flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
  .purchase-card,
  .thanks-card { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
