:root {
  --ink: #07090f;
  --blue: #00a3ff;
  --blue-strong: #0070d8;
  --gold: #f0c431;
  --card: #0c1422;
  --card-line: #1c283c;
  --text: #141820;
  --muted: #8b919a;
  --old: #9aa1aa;
  --line: #eceae6;
  --cream: #f3f1ec;
  --header: 15px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
.btn {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  background: var(--ink);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.logo {
  display: block;
  height: 48px;
  width: auto;
}

.hero {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 28px 0 48px;
}

.hero.home {
  padding: 56px 0 64px;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow.blue {
  color: var(--blue);
}

.eyebrow.gold {
  color: var(--gold);
}

.hero h1 {
  margin: 12px 0 0;
  font-size: clamp(34px, 6.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero.home h1 {
  color: var(--blue);
}

.hero .sub {
  max-width: 680px;
  margin: 14px auto 0;
  color: #d7dbe3;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.br-sm {
  display: none;
}

.date-box {
  display: inline-block;
  max-width: 100%;
  margin-top: 28px;
  padding: 11px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-bottom: 6px;
  color: #e6ebf3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.back:hover {
  color: #fff;
}

.section {
  background: #fff;
  padding: 48px 0 calc(56px + env(safe-area-inset-bottom));
}

.intro {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.intro h2 {
  margin: 0;
  color: #12141a;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.intro p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.plans {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.plan {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px 24px 22px;
  background: var(--card);
  color: #f3f6fb;
  border: 2px solid var(--card-line);
  border-radius: 8px;
}

.plan.featured {
  border-color: var(--blue);
}

.icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  place-items: center;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.plan h2 {
  margin: 16px 0 12px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.plan p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.plan p + p {
  margin-top: 14px;
}

.kicker {
  margin-top: 18px;
  font-weight: 700;
}

.perks {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.perks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.4;
}

.perks svg {
  flex: none;
  margin-top: 2px;
  color: var(--blue);
}

.plan-foot {
  margin-top: auto;
  padding-top: 22px;
}

.tagline {
  margin: 0;
  color: var(--blue);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
}

.btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 4px;
  background: var(--blue-strong);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background: #0064c8;
}

.prices {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.price-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e1dc;
  border-radius: 4px;
}

.price-head {
  padding: 18px 16px 14px;
  background: var(--cream);
}

.price-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.price-head p {
  margin: 4px 0 0;
  color: #8d939c;
  font-size: 14px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px 16px;
  align-items: center;
  padding: 15px 16px;
  border-top: 1px solid var(--line);
}

.name {
  font-size: 15px;
  font-weight: 600;
}

.old,
.cyber {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.old {
  color: var(--old);
  font-size: 15px;
  font-weight: 600;
  text-decoration: line-through;
}

.cyber {
  color: var(--blue-strong);
  font-size: 18px;
  font-weight: 800;
}

.buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 2px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.buy:hover,
.buy:focus-visible {
  background: #000;
}

.buy[aria-disabled="true"] {
  cursor: default;
}

.buy[aria-disabled="true"]:hover {
  background: #111;
}

.note {
  margin: 28px 0 0;
  color: #9aa0a8;
  font-size: 14px;
  text-align: center;
}

.site-footer {
  padding: 0 16px calc(22px + env(safe-area-inset-bottom));
  background: #fff;
  color: #98a0aa;
  font-size: 13px;
  text-align: center;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (min-width: 800px) {
  .plans {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
  }
}

@media (min-width: 1100px) {
  .prices {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (max-width: 639px) {
  .wrap {
    width: min(1080px, calc(100% - 28px));
  }

  .br-sm {
    display: inline;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .brand {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .logo {
    height: 40px;
  }

  .header-inner {
    min-height: 56px;
  }

  .hero.home {
    padding: 40px 0 48px;
  }

  .date-box {
    font-size: 11.5px;
    letter-spacing: 0.03em;
  }

  .price-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name name"
      "old cyber"
      "buy buy";
    row-gap: 8px;
  }

  .name {
    grid-area: name;
  }

  .old {
    grid-area: old;
    justify-self: start;
  }

  .cyber {
    grid-area: cyber;
    justify-self: end;
  }

  .buy {
    grid-area: buy;
    width: 100%;
    min-height: 44px;
  }

  .plan {
    padding: 28px 18px 18px;
  }
}

.opcion {
  max-width: 720px;
}

.opcion .back {
  color: #1c2430;
}

.opcion .back:hover {
  color: #000;
}

.opcion-title {
  margin: 4px 0 0;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.opcion-lead {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.facts {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.fact {
  padding: 14px 16px;
  background: #f7f5f1;
  border-radius: 6px;
}

.fact-label {
  margin: 0;
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.opcion .perks {
  color: #1c2430;
}

.opcion .perks svg {
  color: var(--blue-strong);
}

.opcion-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 26px;
}

.opcion-price .cyber {
  font-size: 32px;
}

.opcion .note {
  margin-top: 8px;
  text-align: left;
}

.pay-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.pay-btn.is-confirming {
  background: #0d5c32;
}

.pay-btn.is-confirming::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: #7dffb2;
  transform-origin: left center;
  animation: confirm-window 8s linear forwards;
}

.pay-btn:disabled {
  cursor: default;
}

.pay-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: #3d4654;
  font-size: 14px;
  font-weight: 600;
}

.opcion-miss {
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
}

@keyframes confirm-window {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
