:root {
  color-scheme: dark;
  --bg: #070711;
  --panel: #0d0b16;
  --panel2: #12101d;
  --ink: #f5f1ff;
  --muted: #a29bad;
  --line: #2d263b;
  --violet: #a772ff;
  --hot: #dccaff;
  --green: #78f7c5;
  --danger: #ff9fba;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 7%, #6d35aa24, transparent 30%), var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}
.upgrade-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: #080710e8;
}
.upgrade-brand {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.upgrade-brand img {
  width: 40px;
  height: 40px;
  border: 1px solid #8d68c4;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px #8c55d63d;
}
.upgrade-brand b,
.upgrade-brand small {
  display: block;
  letter-spacing: 0.17em;
}
.upgrade-brand b {
  font-size: 13px;
}
.upgrade-brand small {
  margin-top: 3px;
  color: var(--muted);
  font: 9px "IBM Plex Mono", monospace;
}
.back-link {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #49395f;
  padding: 0 14px;
  color: var(--hot);
  font: 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.back-link:hover,
.back-link:focus-visible {
  border-color: var(--violet);
  background: #a772ff12;
  outline: none;
}
main {
  width: min(1180px, calc(100% - 36px));
  margin: auto;
  padding: clamp(48px, 7vw, 88px) 0 70px;
}
.eyebrow {
  color: var(--violet);
  font: 10px "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
}
.upgrade-hero {
  max-width: 830px;
  margin: 0 auto clamp(38px, 6vw, 62px);
  text-align: center;
}
.upgrade-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 6.5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.upgrade-hero > p {
  max-width: 720px;
  margin: auto;
  color: #b5aebf;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}
.availability {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--green);
  font: 10px "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
}
.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.65fr);
  gap: 22px;
  align-items: start;
}
.checkout-card,
.pro-details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #100d1a, #0a0911);
  box-shadow: 0 24px 70px #0006;
}
.checkout-card {
  padding: clamp(22px, 4vw, 42px);
}
.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.card-heading h2,
.pro-details h2 {
  margin: 8px 0 0;
  font-size: clamp(25px, 4vw, 38px);
  letter-spacing: -0.03em;
}
.secure-badge,
.method-option > em {
  color: var(--violet);
  font: 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.09em;
  border: 1px solid #6d4c923d;
  border-radius: 99px;
  padding: 7px 9px;
  white-space: nowrap;
}
.option-group {
  margin: 32px 0 0;
  padding: 0;
  border: 0;
}
.option-group legend {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
}
.term-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.term-group legend {
  grid-column: 1/-1;
}
.term-option,
.method-option {
  position: relative;
  cursor: pointer;
}
.term-option input,
.method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.term-option > span,
.method-option {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #0c0a13;
  transition: 0.18s ease;
}
.term-option > span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 14px;
  align-items: center;
  min-height: 91px;
  padding: 16px;
}
.term-option b {
  font-size: 14px;
}
.term-option b em {
  display: inline-block;
  margin-left: 5px;
  color: var(--green);
  font: 8px "IBM Plex Mono", monospace;
  font-style: normal;
}
.term-option strong {
  grid-row: 1/3;
  grid-column: 2;
  font: 600 27px "Space Grotesk";
}
.term-option small {
  color: var(--muted);
  font: 10px "IBM Plex Mono", monospace;
}
.term-option input:checked + span,
.method-option:has(input:checked) {
  border-color: var(--violet);
  background: #a772ff0d;
  box-shadow:
    inset 0 0 0 1px #a772ff42,
    0 0 18px #a772ff12;
}
.term-option input:focus-visible + span,
.method-option:has(input:focus-visible) {
  outline: 2px solid var(--hot);
  outline-offset: 3px;
}
.option-group:disabled label {
  opacity: 0.47;
  cursor: not-allowed;
}
.annual-note,
.future-note,
.method-group > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.annual-note {
  margin: 10px 2px 0;
}
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}
.benefits span {
  padding: 8px 10px;
  border-radius: 99px;
  background: #151120;
  color: #c9c1d1;
  font-size: 11px;
}
.method-group > p {
  margin: -5px 0 13px;
}
.method-group {
  display: grid;
  gap: 9px;
}
.method-group legend {
  margin-bottom: 8px;
}
.method-option {
  min-height: 73px;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.method-option:before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid #6e657b;
  box-shadow: inset 0 0 0 4px #0c0a13;
}
.method-option:has(input:checked):before {
  background: var(--violet);
  border-color: var(--violet);
}
.method-copy {
  display: grid;
  gap: 5px;
  flex: 1;
}
.method-copy b {
  font-size: 14px;
}
.method-copy small {
  color: var(--muted);
  line-height: 1.35;
}
.method-option > em {
  font-style: normal;
}
.method-option[data-unavailable="true"] {
  display: none;
}
.order-summary {
  margin-top: 27px;
  padding: 18px;
  border: 1px solid #262031;
  border-radius: 15px;
  background: #090810;
}
.order-summary h3 {
  margin: 0 0 12px;
  font-size: 13px;
}
.order-summary dl {
  margin: 0;
}
.order-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-top: 1px solid #211b2b;
  font-size: 12px;
}
.order-summary dt {
  color: var(--muted);
}
.order-summary dd {
  margin: 0;
  text-align: right;
}
.checkout-action {
  width: 100%;
  min-height: 53px;
  margin-top: 18px;
  border: 1px solid var(--violet);
  border-radius: 13px;
  background: linear-gradient(135deg, #8c4ee8, #6d35ad);
  color: #fff;
  font: 600 12px "IBM Plex Mono", monospace;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 10px 30px #6d35ad36;
}
.checkout-action:hover:not(:disabled) {
  filter: brightness(1.1);
}
.checkout-action:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 3px;
}
.checkout-action:disabled {
  cursor: not-allowed;
  opacity: 0.43;
  box-shadow: none;
}
.crypto-cancel-action {
  width: 100%;
  min-height: 47px;
  margin-top: 10px;
  border: 1px solid #604789;
  border-radius: 13px;
  background: transparent;
  color: var(--hot);
  font: 500 11px "IBM Plex Mono", monospace;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.crypto-cancel-action:hover:not(:disabled) {
  border-color: var(--violet);
  background: #a772ff12;
}
.crypto-cancel-action:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 3px;
}
.crypto-cancel-action:disabled {
  cursor: not-allowed;
  opacity: 0.43;
}
.crypto-cancel-action[hidden] {
  display: none;
}
.checkout-message,
.method-terms {
  margin: 11px 3px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.checkout-message {
  min-height: 17px;
  color: #c7bcd2;
}
.crypto-review {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #604789;
  border-radius: 14px;
  background: #0c0915;
}
.crypto-review strong {
  font: 10px "IBM Plex Mono", monospace;
  color: var(--hot);
  letter-spacing: 0.08em;
}
.crypto-review pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #c6becf;
  font: 10px/1.65 "IBM Plex Mono", monospace;
}
.crypto-review p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.crypto-manual-recovery {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}
.crypto-manual-recovery label {
  font-size: 11px;
}
.crypto-manual-recovery input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #4b3a61;
  border-radius: 10px;
  background: #08070d;
  color: var(--ink);
  padding: 10px;
  font: 11px "IBM Plex Mono", monospace;
}
.crypto-manual-recovery button {
  min-height: 44px;
  border: 1px solid #654b87;
  border-radius: 10px;
  background: transparent;
  color: var(--hot);
  font: 10px "IBM Plex Mono", monospace;
}
.pro-details {
  padding: 30px;
  position: sticky;
  top: 92px;
}
.pro-details h2 {
  font-size: 28px;
  line-height: 1.05;
}
.pro-details ul {
  margin: 26px 0;
  padding: 0;
  list-style: none;
}
.pro-details li {
  padding: 14px 0 14px 23px;
  border-top: 1px solid #282131;
  color: #bbb3c3;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}
.pro-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--violet);
}
.pro-details a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.pro-details a b {
  color: var(--hot);
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.trust-strip > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0a0911;
}
.trust-strip b {
  color: var(--violet);
  font: 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
}
.trust-strip p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
footer {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: #766e81;
  font: 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
}
footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #a69bb1;
}
@media (max-width: 820px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .pro-details {
    position: static;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .upgrade-header {
    height: 64px;
  }
  .back-link {
    font-size: 0;
  }
  .back-link:after {
    content: "BACK";
    font-size: 9px;
  }
  main {
    width: min(100% - 24px, 1180px);
    padding-top: 42px;
  }
  .upgrade-hero {
    text-align: left;
  }
  .availability {
    justify-content: flex-start;
  }
  .checkout-card {
    padding: 20px 15px;
    border-radius: 18px;
  }
  .term-group {
    grid-template-columns: 1fr;
  }
  .term-group legend {
    grid-column: auto;
  }
  .card-heading {
    align-items: center;
  }
  .secure-badge {
    display: none;
  }
  .method-option {
    align-items: flex-start;
  }
  .method-option > em {
    font-size: 7px;
  }
  .trust-strip {
    margin-top: 12px;
  }
  footer {
    gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
