:root {
  --navy-900: #0d1a2b;
  --navy-800: #132644;
  --navy-700: #1c3358;
  --navy-600: #26476d;
  --green-500: #32b858;
  --green-400: #4bd473;
  --off-white: #fcfcf8;
  --paper: #f5f6f8;
  --ink: #16233a;
  --ink-soft: #4b5567;
  --border: #e3e6ec;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 50px -25px rgba(13, 26, 43, 0.35);
  --max-w: 1120px;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 248, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-800);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--navy-800); }

.nav-cta {
  background: var(--navy-800);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem !important;
}

.nav-cta:hover { background: var(--navy-700); }

.nav-toggle {
  display: none;
  /* 44x44 is the smallest comfortable touch target, and this is the one
     control a phone visitor cannot do without. */
  width: 44px;
  height: 44px;
  /* column, or inline-flex would lay the three bars out side by side
     instead of stacking them. */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  background: radial-gradient(120% 140% at 15% -10%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff;
  padding: 76px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(50, 184, 88, 0.16), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cfe9d9;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 3px rgba(75, 212, 115, 0.25);
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.05rem);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.hero h1 .accent { color: var(--green-400); }

.hero p.lead {
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green-500);
  color: #06210f;
}
.btn-primary:hover { background: var(--green-400); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.13); }

.btn-dark {
  background: var(--navy-800);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-700); }

.hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Phone mockup */

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 250px;
  border-radius: 34px;
  background: #05101d;
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotate(-2deg);
}

.phone .screen {
  background: var(--paper);
  border-radius: 25px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
}

.phone .screen .bar {
  background: var(--navy-800);
  color: #fff;
  padding: 18px 16px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.phone .screen .bar small {
  display: block;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  font-size: 0.62rem;
}

.phone .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin: 6px 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.66rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.phone .row .chip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.phone .row.correct {
  border-color: rgba(50, 184, 88, 0.4);
  background: rgba(50, 184, 88, 0.08);
}
.phone .row.correct .chip {
  background: var(--green-500);
  border-color: var(--green-500);
}

.phone .tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 6px 16px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.phone .tabbar span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--border);
}
.phone .tabbar span.active { background: var(--navy-800); }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-card.top {
  top: 6%;
  left: -8%;
}
.float-card.bottom {
  bottom: 10%;
  right: -10%;
}
.float-card .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.kicker {
  color: var(--green-500);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.03rem;
  margin: 0;
}

/* Feature grid */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.card .ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--navy-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card.green .ic { background: var(--green-500); color: #06210f; }

.card h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: var(--navy-800);
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* How it works */

.steps {
  background: var(--paper);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding-top: 6px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.step h4 {
  margin: 0 0 8px;
  color: var(--navy-800);
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Premium */

.premium {
  background: radial-gradient(120% 160% at 85% 0%, var(--navy-600), var(--navy-900) 60%);
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.premium h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); }
.premium p.lead { color: rgba(255,255,255,0.75); margin: 0 0 26px; max-width: 46ch; }

.feature-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}

.feature-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--green-400); }

.price-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.price-card .amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
}
.price-card .amount span { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.6); }

.price-card p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 6px 0 22px; }

/* FAQ */

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-800);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2212"; }

.faq p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Final CTA */

.cta-band {
  background: var(--navy-800);
  color: #fff;
  border-radius: 28px;
  padding: 60px;
  text-align: center;
}
.cta-band h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: rgba(255,255,255,0.72); margin: 0 0 28px; }
.cta-band .cta-row { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  max-width: 34ch;
  margin: 0;
}

.footer-col h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--navy-800);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--green-500); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 64px 0 100px;
}

.legal .wrap { max-width: 780px; }

.legal h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--navy-800);
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0 0 40px;
}

.legal h2 {
  color: var(--navy-800);
  font-size: 1.2rem;
  margin: 38px 0 12px;
}

.legal h3 {
  color: var(--navy-800);
  font-size: 1.02rem;
  margin: 22px 0 8px;
}

.legal p, .legal li { color: var(--ink-soft); font-size: 0.97rem; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}

.legal th, .legal td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.legal th {
  background: var(--paper);
  color: var(--navy-800);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.callout {
  background: #fff7e6;
  border: 1px solid #f3d99a;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 0 0 32px;
  font-size: 0.92rem;
  color: #6b4e0a;
}

.callout strong { color: #4a3400; }

.placeholder {
  background: #fdecea;
  border: 1px dashed #e08b83;
  border-radius: 6px;
  padding: 1px 8px;
  color: #a33a30;
  font-weight: 600;
  font-size: 0.92em;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  /* The hamburger has to survive past 640px. At 641 the row layout came back
     while the links still needed 639px on their own — 534 in English — and
     the page scrolled sideways on portrait tablets and split windows. The
     row only fits again around 900. */
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; }
  /* The toggle puts .open on .nav-links, but no rule ever matched it — the
     class landed on an element still stuck at display:none, so tapping the
     hamburger did nothing and the menu was unreachable on every phone. */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    order: 3;
    width: 100%;
    margin-top: 12px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
  }
  /* The padding used to sit on the li, so a full-width 47px row exposed only
     a 62x18 patch of tappable text. Moving it onto the link makes the whole
     row the target. */
  .nav-links.open li { padding: 0; }
  .nav-links.open li > a { display: block; padding: 13px 2px; }
  .nav-links.open .nav-cta { text-align: center; }
  /* The language pills are the one row in the menu holding several targets.
     At 40x30 with a 2px gap between them, a mis-tap silently switches
     language instead of missing. */
  .nav-links.open .lang-switch { padding: 4px; gap: 4px; }
  .nav-links.open .lang-switch a { padding: 13px 16px; }
  .nav-toggle { display: inline-flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phone-stage { order: -1; margin-bottom: 8px; }
  .phone { width: 210px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  /* minmax(0, …), not plain 1fr: 1fr means minmax(auto, 1fr), whose auto
     minimum is the content's min-content width. The price card could not
     go below 294px and pushed the whole page 20px past a 320px screen. */
  .premium { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { font-size: 16px; }
  section { padding: 60px 0; }
  .grid { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .cta-band, .premium { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }

  /* The legal tables are three columns of prose. Auto table layout sizes
     them to their content, which pushed the whole page past the viewport —
     up to 529px on a 375px screen for the German privacy policy, whose
     wording is the longest. Fixed layout makes the columns share the width
     and the text wrap instead; horizontal scrolling would be the worse trade
     for running text you actually have to read. */
  .legal table { table-layout: fixed; font-size: 0.82rem; }
  .legal th, .legal td { padding: 8px 7px; overflow-wrap: anywhere; hyphens: auto; }
  .legal th { font-size: 0.72rem; letter-spacing: 0.01em; }
}

/* Narrow phones (320px and down) are where the longest single words stop
   fitting. German has no space to wrap at in "Allgemeine
   Geschäftsbedingungen", which ran 3px past the screen — English and
   Romanian break at spaces and never hit this. Hyphenation needs the
   document's lang attribute to pick the right dictionary; all three
   languages set it correctly. */
@media (max-width: 400px) {
  h1 { hyphens: auto; overflow-wrap: break-word; }
  .premium { padding: 32px 18px; }
  .price-card { padding: 24px 20px; }
}

/* ---------- Language switcher ---------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}

.lang-switch a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 5px 11px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.lang-switch a.active {
  background: var(--navy-800);
  color: #fff;
}

/* ---------- Premium purchase page ---------- */

.buy-hero {
  background: radial-gradient(120% 140% at 15% -10%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff;
  padding: 64px 0 72px;
  text-align: center;
}

.buy-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 18px 0 14px;
  letter-spacing: -0.01em;
}

.buy-hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
}


.auth-section {
  max-width: 440px;
  margin: 0 auto 90px;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}

.auth-card h2 {
  font-size: 1.2rem;
  color: var(--navy-800);
  margin: 0 0 6px;
  text-align: center;
}

.auth-card .sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0 0 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
}

.field input:focus {
  outline: none;
  border-color: var(--navy-600);
  background: #fff;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.auth-switch {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.auth-switch button {
  background: none;
  border: none;
  color: var(--green-500);
  font-weight: 700;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  font-family: inherit;
}

.form-error {
  background: #fdecea;
  border: 1px solid #e08b83;
  color: #a33a30;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.form-error[hidden], .field.hidden { display: none; }

.auth-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto 70px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-row svg { color: var(--green-500); flex-shrink: 0; }

/* ---------- Success page ---------- */

.success-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.success-card {
  max-width: 480px;
}

.success-check {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--green-500);
  color: #06210f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.success-card h1 {
  color: var(--navy-800);
  font-size: 1.7rem;
  margin: 0 0 12px;
}

.success-card p {
  color: var(--ink-soft);
  margin: 0 0 28px;
}

/* ---------- Plan picker (replaces the old static 2-tile compare) ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 48px;
}

.plan-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-card .inner {
  display: block;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-card input:checked + .inner {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(50, 184, 88, 0.14);
}

.plan-card input:focus-visible + .inner {
  outline: 2px solid var(--navy-600);
  outline-offset: 2px;
}

.plan-card .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.plan-card .name {
  font-weight: 700;
  color: var(--navy-800);
  font-size: 1rem;
}

.plan-card .save-badge {
  background: rgba(50, 184, 88, 0.14);
  color: #1f7a3d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-card .radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}

.plan-card input:checked ~ .inner .radio-dot {
  border-color: var(--green-500);
}

.plan-card input:checked ~ .inner .radio-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
}

/* Monthly-equivalent price leads (big) so the four plans are directly
   comparable at a glance; the actual amount billed for that commitment is
   the smaller supporting line underneath. */
.plan-card .big-price {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-800);
}

.plan-card .big-price small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.plan-card .billed-line {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .plan-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 26px 20px; }
}
