:root {
  --vanilla: #FFF7EE;
  --cherry: #F0386B;
  --cherry-dark: #D72A5B;
  --peach: #FFB59A;
  --peach-soft: #FFE4D8;
  --navy: #1D2350;
  --navy-70: rgba(29, 35, 80, .72);
  --navy-12: rgba(29, 35, 80, .12);
  --card: #FFFFFF;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--vanilla);
  color: var(--navy);
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
.shell {
  max-width: 460px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
}
.top { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 0 14px; }
.top img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.wordmark { font-family: 'Shrikhand', 'Rubik', serif; font-size: 34px; line-height: 1; color: var(--cherry); letter-spacing: .2px; }
h1 { font-size: 27px; line-height: 1.15; font-weight: 800; margin: 6px 0 6px; text-align: center; }
.sub { text-align: center; color: var(--navy-70); margin: 0 0 18px; }
.perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.perks li::before {
  content: ''; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--cherry) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FFF7EE' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px 20px no-repeat;
}
.plans { display: grid; gap: 10px; margin: 0 0 14px; border: 0; padding: 0; }
.plans legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plan {
  position: relative; display: block; background: var(--card); border: 2px solid var(--navy-12);
  border-radius: 18px; padding: 14px 16px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked), .plan.checked { border-color: var(--cherry); box-shadow: 0 0 0 3px var(--peach-soft); }
.plan:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.plan-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.plan-name { font-weight: 600; font-size: 15px; color: var(--navy-70); }
.plan-price { font-size: 24px; font-weight: 800; letter-spacing: -.2px; white-space: nowrap; }
.plan-terms { margin-top: 4px; font-size: 14px; color: var(--navy-70); }
.chip {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  background: var(--peach); color: var(--navy); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px;
}
.terms-line { text-align: center; font-size: 15px; font-weight: 600; margin: 6px 0 12px; }
.cta {
  display: block; width: 100%; border: 0; border-radius: 999px; padding: 17px 20px;
  background: var(--cherry); color: #fff; font: 700 18px/1.1 'Rubik', sans-serif; text-align: center;
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 0 var(--cherry-dark);
}
.cta:active { transform: translateY(2px); box-shadow: 0 4px 0 var(--cherry-dark); }
.cta[disabled] { opacity: .6; cursor: progress; }
.cta.secondary { background: var(--navy); box-shadow: 0 6px 0 #0f1433; }
.fine { font-size: 13px; color: var(--navy-70); text-align: center; margin: 14px 0 0; }
.notice {
  background: var(--peach-soft); border: 1.5px solid var(--peach); border-radius: 16px; padding: 14px 16px; margin: 0 0 16px;
}
.notice strong { display: block; margin-bottom: 4px; }
.notice p { margin: 0 0 10px; font-size: 14.5px; }
.notice .cta { font-size: 16px; padding: 13px 16px; box-shadow: none; }
.notice label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-top: 10px; }
.error { color: #B0153F; font-weight: 600; text-align: center; margin: 10px 0 0; min-height: 1em; }
.card { background: var(--card); border-radius: 22px; padding: 24px 20px; text-align: center; border: 2px solid var(--navy-12); }
.card h1 { margin-top: 4px; }
.card .cta + .cta, .card .cta + .link { margin-top: 14px; }
.badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center;
  background: var(--cherry); color: var(--vanilla); font-size: 34px; font-weight: 800;
}
.link { display: block; text-align: center; font-weight: 600; margin-top: 12px; }
.steps { text-align: left; margin: 14px 0 0; padding-left: 20px; color: var(--navy-70); font-size: 14.5px; }
.foot { margin-top: 26px; text-align: center; font-size: 13px; color: var(--navy-70); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 8px; }
.foot a { color: var(--navy-70); }
.spinner {
  display: inline-block; width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.5); border-top-color: #fff;
  border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }
