:root {
    --navy: #003366;
    --gold: #fdcb58;
    --ink: #1f2933;
    --muted: #5f6b76;
    --line: #dce3e8;
    --paper: #ffffff;
    --wash: #eef3f5;
    --success: #16794d;
    --danger: #b42318;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 15% 5%, #fff7dc 0, transparent 28%), var(--wash);
    color: var(--ink);
    font-family: 'Open Sans', sans-serif;
}
.site-header {
    min-height: 84px;
    padding: 18px clamp(18px, 5vw, 64px);
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand { color: white; font: 800 32px/1 'Montserrat', sans-serif; text-decoration: none; }
.brand span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-nav a, .link-button {
    border: 0;
    background: transparent;
    color: white;
    font: 700 13px/1 'Montserrat', sans-serif;
    text-decoration: none;
    cursor: pointer;
    padding: 10px;
}
.site-nav .nav-accent { border: 1px solid var(--gold); color: var(--gold); }
.member-main { width: min(1080px, calc(100% - 36px)); margin: 0 auto; padding: 52px 0 72px; }
.member-main.narrow { width: min(500px, calc(100% - 36px)); }
.eyebrow { color: var(--navy); font: 700 12px/1 'Montserrat', sans-serif; text-transform: uppercase; }
h1, h2 { color: var(--navy); font-family: 'Montserrat', sans-serif; }
h1 { margin: 10px 0; font-size: clamp(30px, 5vw, 50px); }
.lead { color: var(--muted); max-width: 680px; font-size: 17px; line-height: 1.6; }
.panel, .plan {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(0, 51, 102, 0.08);
}
.panel { padding: clamp(22px, 5vw, 38px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.plan { padding: 26px; display: flex; flex-direction: column; }
.plan.featured { border-top: 5px solid var(--gold); padding-top: 22px; }
.plan h2 { margin: 0 0 8px; font-size: 22px; }
.price { color: var(--navy); font: 800 34px/1.2 'Montserrat', sans-serif; }
.price small { color: var(--muted); font-size: 13px; }
.features { padding-left: 20px; color: var(--muted); line-height: 1.8; flex: 1; }
.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    padding: 12px 18px;
    background: var(--navy);
    color: white;
    font: 700 14px/1 'Montserrat', sans-serif;
    text-decoration: none;
    cursor: pointer;
}
.button.gold { background: var(--gold); color: var(--navy); }
.button:disabled { opacity: 0.55; cursor: wait; }
.field { margin: 18px 0; }
.field label { display: block; margin-bottom: 7px; color: var(--navy); font-weight: 700; }
.field input {
    width: 100%; min-height: 46px; border: 1px solid #aebbc5; border-radius: 5px;
    padding: 10px 12px; font: inherit;
}
.auth-switch { display: flex; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.auth-switch button { flex: 1; border: 0; padding: 13px; background: transparent; cursor: pointer; font: 700 14px 'Montserrat'; }
.auth-switch button.active { color: var(--navy); border-bottom: 3px solid var(--gold); }
.notice { display: none; margin: 16px 0; padding: 12px; border-radius: 5px; background: #edf7f2; color: var(--success); }
.notice.error { background: #fff1f0; color: var(--danger); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.account-grid .panel h2 { margin-top: 0; }
.status { font-weight: 700; text-transform: capitalize; }
.fine-print { color: var(--muted); font-size: 13px; line-height: 1.5; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
    .site-header { align-items: flex-start; flex-direction: column; }
    .plans, .account-grid { grid-template-columns: 1fr; }
}