:root {
  color-scheme: light;
  --navy: #081b3a;
  --blue: #146cff;
  --blue-dark: #0b4fd4;
  --pale: #edf4ff;
  --surface: #ffffff;
  --background: #f5f8fd;
  --text: #10213d;
  --muted: #65748b;
  --line: #dce5f2;
  --success: #118755;
  font: 16px/1.5 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% -10%, #dceaff 0, var(--background) 36rem); color: var(--text); }
.site-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; max-width: 980px; margin: auto; padding: 12px 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 850; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: white; font-size: 13px; letter-spacing: -.03em; }
.language { border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.85); padding: 8px 10px; color: var(--text); font-weight: 700; }
main { width: min(100% - 32px, 680px); margin: auto; padding: 42px 0 28px; }
.hero { text-align: center; margin-bottom: 26px; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; margin: 0 0 10px; }
h1 { color: var(--navy); font-size: clamp(32px, 7vw, 50px); line-height: 1.08; letter-spacing: -.045em; margin: 0; }
.lead { color: var(--muted); font-size: 17px; max-width: 590px; margin: 18px auto 0; }
.plan { background: rgba(255,255,255,.94); border: 1px solid rgba(20,108,255,.2); border-radius: 28px; padding: clamp(22px, 5vw, 34px); box-shadow: 0 24px 70px rgba(26,61,118,.12); }
.plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan-heading h2 { color: var(--navy); font-size: 27px; margin: 5px 0 0; }
.pill { display: inline-block; color: var(--blue-dark); background: var(--pale); border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 900; letter-spacing: .08em; margin: 0; }
.price { text-align: right; margin: 0; color: var(--muted); }
.price strong { display: block; color: var(--navy); font-size: 29px; line-height: 1; }
.plan-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 20px 0 2px; }
.plan-option { min-height: 52px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); padding: 9px 8px; font: inherit; font-size: 12px; font-weight: 800; line-height: 1.25; cursor: pointer; }
.plan-option.selected { border-color: var(--blue); background: var(--pale); color: var(--blue-dark); box-shadow: inset 0 0 0 1px rgba(20,108,255,.12); }
.features { list-style: none; display: grid; gap: 17px; padding: 25px 0; margin: 0; }
.features li { display: flex; gap: 13px; align-items: flex-start; }
.features li > span { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: #e6f7ef; color: var(--success); font-weight: 900; }
.features strong, .features small { display: block; }
.features small { color: var(--muted); margin-top: 2px; }
.account-panel { border-top: 1px solid var(--line); padding-top: 22px; text-align: center; }
.account-panel > p:first-child { color: var(--muted); margin: 0 0 14px; }
.account { overflow-wrap: anywhere; }
.button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 53px; border-radius: 15px; padding: 13px 18px; border: 0; font: inherit; font-weight: 850; text-decoration: none; cursor: pointer; transition: .18s ease; }
.button:disabled { opacity: .55; cursor: wait; }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 10px 24px rgba(20,108,255,.25); }
.button-primary:hover { transform: translateY(-1px); box-shadow: 0 13px 30px rgba(20,108,255,.32); }
.button-secondary { color: var(--navy); background: var(--pale); border: 1px solid #ccddf7; }
.text-button { border: 0; background: transparent; color: var(--blue); padding: 13px; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.status { min-height: 24px; color: #b33b36; text-align: center; margin: 12px 0 0; font-size: 14px; }
.app-return { margin-top: 10px; }
.secure { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 15px; border-radius: 15px; background: #f7f9fc; color: var(--muted); font-size: 12px; }
.secure p { margin: 0; }.secure strong { color: var(--text); }.lock { color: var(--success); }
.disclaimer { color: var(--muted); font-size: 12px; text-align: center; margin: 20px auto; max-width: 560px; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 12px 22px 35px; }
footer a { color: var(--muted); font-size: 12px; }
.hidden { display: none !important; }
.auth-loading .account-panel,
.auth-loading #manage-sign-in,
.auth-loading #open-portal,
.auth-loading #manage-sign-out { visibility: hidden; }
.result-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding-top: 0; }
.result-card { width: 100%; text-align: center; background: white; border: 1px solid var(--line); border-radius: 28px; padding: 38px 28px; box-shadow: 0 24px 70px rgba(26,61,118,.12); }
.result-card h1 { font-size: clamp(28px, 7vw, 42px); }
.result-card .button { margin-top: 26px; }
.text-link { display: inline-block; margin-top: 18px; color: var(--blue); font-size: 14px; font-weight: 750; }
.result-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 24px; font-size: 30px; font-weight: 900; }
.result-icon.pending { background: var(--pale); color: var(--blue); }.result-icon.success { background: #e6f7ef; color: var(--success); }
@media (max-width: 520px) { main { padding-top: 24px; }.plan-heading { align-items: flex-end; }.price strong { font-size: 25px; }.plan-options { grid-template-columns: 1fr; } }
