:root {
  --ink: #202124;
  --muted: #5f6368;
  --blue: #123dcb;
  --coral: #fa595c;
  --white: #fff;
  --line: rgba(18, 61, 203, .16);
  --shell: min(1120px, calc(100% - 48px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin-top: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: -80px; left: 16px; padding: 10px 15px; border-radius: 8px; background: #fff; color: var(--blue); font-weight: 750; }
.skip-link:focus { top: 16px; }

.checkout-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.15), transparent 34%),
    radial-gradient(circle at 88% 85%, rgba(0,0,0,.09), transparent 36%),
    var(--blue);
  color: #fff;
}
.checkout-page::before,
.welcome-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.46' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.68'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}
.checkout-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10vw;
  bottom: -24vw;
  width: min(740px, 65vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(250, 89, 92, .78);
  filter: blur(1px);
}

.checkout-header { padding: 34px 0 18px; }
.brand-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 25px;
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
  font-size: 1.13rem;
  font-weight: 520;
  line-height: 1;
  box-shadow: 0 18px 38px rgba(3, 20, 84, .24), 0 0 25px rgba(255,255,255,.13);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.brand-card img { width: 24px; }
.brand-card:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 22px 42px rgba(3, 20, 84, .3), 0 0 28px rgba(255,255,255,.17); }
.brand-card:focus-visible, .button:focus-visible, .text-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.checkout-main { padding: 62px 0 92px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 465px); gap: clamp(55px, 8vw, 110px); align-items: center; }
.eyebrow { margin-bottom: 18px; font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.checkout-copy h1 { max-width: 680px; margin-bottom: 24px; font-size: clamp(3.3rem, 6.3vw, 6rem); font-weight: 470; line-height: .93; letter-spacing: -.06em; text-wrap: balance; text-shadow: 0 8px 20px rgba(4,22,86,.11); }
.checkout-copy h1 em { color: var(--coral); font-style: normal; }
.lede { max-width: 620px; margin-bottom: 42px; color: rgba(255,255,255,.83); font-size: clamp(1.03rem, 1.6vw, 1.2rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.36); }
.step-number { display: block; margin-bottom: 8px; color: var(--coral); font-size: .7rem; font-weight: 850; letter-spacing: .1em; }
.steps strong { display: block; margin-bottom: 5px; font-size: .91rem; }
.steps p { margin: 0; color: rgba(255,255,255,.7); font-size: .78rem; line-height: 1.45; }

.plan-card { padding: clamp(30px, 4.5vw, 48px); border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 28px 75px rgba(4,22,86,.3); }
.plan-label { margin-bottom: 20px; color: var(--coral); font-size: .7rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.plan-price { display: flex; align-items: flex-end; gap: 9px; margin-bottom: 23px; color: var(--blue); line-height: .86; }
.plan-price strong { display: inline-flex; align-items: flex-start; font-size: clamp(4rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.07em; }
.currency { padding-top: .15em; font-size: .34em; font-weight: 650; letter-spacing: 0; }
.period { margin-bottom: .32em; color: var(--muted); font-size: .88rem; font-weight: 650; line-height: 1; }
.plan-summary { margin-bottom: 25px; font-size: 1.12rem; font-weight: 650; line-height: 1.45; letter-spacing: -.015em; }
.plan-features { display: grid; gap: 12px; margin: 0 0 30px; padding: 22px 0; border-block: 1px solid var(--line); list-style: none; }
.plan-features li { position: relative; padding-left: 22px; color: #414349; font-size: .9rem; }
.plan-features li::before { content: ""; position: absolute; top: .48em; left: 1px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(250,89,92,.11); }
.button { display: inline-flex; width: 100%; min-height: 58px; align-items: center; justify-content: center; border-radius: 999px; background: var(--blue); color: #fff; font-size: .96rem; font-weight: 650; transition: transform .28s var(--ease), box-shadow .28s ease, opacity .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(18,61,203,.24); }
.button:active { transform: translateY(0); transition-duration: .1s; }
.button.is-disabled { cursor: not-allowed; opacity: .48; box-shadow: none; }
.button.is-disabled:hover { transform: none; }
.checkout-status { margin: 12px 0 0; color: var(--muted); font-size: .74rem; text-align: center; }
.plan-note { margin: 22px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; text-align: center; }
.plan-note .text-link { color: var(--blue); font-weight: 650; }

.checkout-footer { padding: 0 0 32px; }
.checkout-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; color: rgba(255,255,255,.69); font-size: .74rem; }
.checkout-footer p { margin: 0; }
.checkout-footer nav { display: flex; gap: 20px; }
.text-link { position: relative; color: #fff; }
.text-link::after { content: ""; position: absolute; right: 0; bottom: -3px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .28s var(--ease); }
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }

.welcome-page { position: relative; isolation: isolate; display: grid; min-height: 100vh; place-items: center; overflow: hidden; padding: 40px 24px; background: linear-gradient(145deg, var(--blue), #0d2e9f); }
.welcome-page::after { content: ""; position: absolute; z-index: -1; right: -10vw; bottom: -22vw; width: min(760px, 70vw); aspect-ratio: 1; border-radius: 50%; background: var(--coral); opacity: .94; }
.welcome-wrap { width: min(680px, 100%); }
.welcome-brand { margin: 0 auto 24px; }
.welcome-card { padding: clamp(32px, 6vw, 60px); border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(3,20,84,.35); }
.success-mark { display: grid; width: 52px; height: 52px; margin-bottom: 27px; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; font-size: 1.55rem; font-weight: 800; box-shadow: 0 10px 24px rgba(250,89,92,.27); }
.welcome-card h1 { max-width: 540px; margin-bottom: 18px; font-size: clamp(2.7rem, 6.5vw, 4.7rem); font-weight: 470; line-height: .96; letter-spacing: -.055em; }
.welcome-lede { margin-bottom: 30px; color: var(--muted); font-size: 1rem; }
.next-steps { display: grid; gap: 0; margin: 0 0 31px; padding: 0; border-block: 1px solid var(--line); list-style: none; counter-reset: steps; }
.next-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); counter-increment: steps; }
.next-steps li:last-child { border-bottom: 0; }
.next-steps li::before { content: "0" counter(steps); padding-top: 2px; color: var(--coral); font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.next-steps strong { display: block; margin-bottom: 3px; font-size: .91rem; }
.next-steps p { margin: 0; color: var(--muted); font-size: .8rem; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.welcome-actions .button { width: auto; flex: 1 1 220px; padding-inline: 24px; }
.button-outline { border: 1.5px solid var(--blue); background: #fff; color: var(--blue); }
.welcome-legal { margin: 20px 0 0; color: rgba(255,255,255,.7); font-size: .72rem; text-align: center; }

@media (max-width: 860px) {
  .checkout-main { padding-top: 38px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 45px; }
  .checkout-copy h1 { max-width: 720px; }
  .plan-card { width: min(590px, 100%); }
}
@media (max-width: 590px) {
  :root { --shell: min(100% - 30px, 1120px); }
  .checkout-header { padding-top: 22px; }
  .checkout-main { padding: 35px 0 70px; }
  .checkout-copy h1 { font-size: 3.25rem; }
  .lede { margin-bottom: 30px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 35px 1fr; column-gap: 9px; }
  .steps .step-number { grid-row: 1 / 3; }
  .checkout-footer-inner { align-items: flex-start; flex-direction: column; }
  .plan-card { border-radius: 19px; }
  .welcome-page { padding-inline: 15px; }
  .welcome-card { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
