/* Leap Loyalty: rebuilt from Jacquie's approved design (reference/leap-loyalty/sign-up-flow.html).
   Fonts: Playfair Display (headings), Source Sans 3 (body). Brand kit: olive #465b21, green #6eb43f,
   gold #fcbf11, white; the design's line art (#10372A) and pale green tints are kept as designed. */
:root {
  --olive: #465b21;
  --olive-hover: #3a4c1b;
  --green: #6eb43f;
  --gold: #fcbf11;
  --ink: #10372a;
  --pale: #f1f8ea;
  --pale-2: #f4f8ef;
  --mint: #c9e6b3;
  --mint-2: #e2f1d6;
  --line: #e6ebe1;
  --line-2: #ecefe8;
  --field: #dce2d6;
  --muted: #cbd5c2;
  --disabled: #b9c2b1;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --shadow: 0 6px 18px rgba(16, 55, 42, .04);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--olive); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
img, svg { display: block; }
a { color: var(--olive); }
a:hover { color: var(--olive-hover); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--olive); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 50; font-weight: 700; }
.skip-link:focus { top: 12px; }
.center { text-align: center; }
.small { font-size: 15px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 14px 0 28px; border: 0; border-radius: 999px; background: var(--olive); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--olive-hover); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-arrow { width: 30px; height: 30px; border-radius: 999px; background: var(--green); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-block { width: 100%; padding: 0 28px; }
.btn-block .btn-arrow { width: 28px; height: 28px; }
.btn-shadow { box-shadow: 0 8px 24px rgba(16, 55, 42, .25); }
.btn:disabled { background: var(--disabled); cursor: not-allowed; transform: none; }
.strong-link, .back-link { font-size: 15px; font-weight: 700; text-decoration: none; color: var(--olive); background: none; border: 0; padding: 0; cursor: pointer; }
.strong-link:hover, .back-link:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.u-link { font-weight: 700; color: var(--olive); text-decoration: underline 2px var(--green); text-underline-offset: 3px; }

.pill-cta { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.pill-label { height: 44px; padding: 0 22px; border-radius: 999px; background: var(--olive); color: #fff; display: flex; align-items: center; font-size: 15px; font-weight: 700; transition: background .2s; }
.pill-arrow { width: 44px; height: 44px; border-radius: 999px; background: var(--green); color: var(--ink); display: grid; place-items: center; transition: transform .2s; }
.pill-arrow svg { width: 18px; height: 18px; }
.pill-cta:hover .pill-label { background: var(--olive-hover); }
.pill-cta:hover .pill-arrow { transform: translateX(3px); }

.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Form controls ---------- */
.stack { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span:first-child { font-size: 14px; font-weight: 700; }
.field input, .field select { width: 100%; height: 52px; padding: 0 18px; border: 1.5px solid var(--field); border-radius: 14px; background: #fff; color: var(--olive); font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #8a9580; }
.field input:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(110, 180, 63, .18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c0392b; }
.pw, .select { position: relative; display: block; }
.pw input { padding-right: 54px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--olive); cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover { background: var(--pale-2); }
.pw-toggle[aria-pressed="true"] { color: var(--green); }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; position: relative; font-size: 15px; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check .box { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; border: 1.5px solid var(--disabled); background: #fff; display: grid; place-items: center; color: transparent; transition: background .15s, border-color .15s; }
.check input:checked + .box { background: var(--green); border-color: var(--ink); color: var(--ink); }
.check input:focus-visible + .box { outline: 3px solid var(--gold); outline-offset: 2px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row-between .check { align-items: center; }

.form-note { padding: 12px 16px; border-radius: 14px; background: var(--pale-2); border: 1.5px solid var(--mint); font-size: 15px; }
.form-note.is-error { background: #fff6f4; border-color: #f0c8bf; }
.preview-note { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff6d6; border: 1px solid #fde38a; font-size: 14px; font-weight: 600; }
.preview-pill { position: fixed; left: 16px; bottom: 16px; z-index: 40; margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid #fde38a; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; pointer-events: none; }

/* ---------- Shared screen frame ---------- */
.screen { min-height: 100vh; min-height: 100dvh; position: relative; }
.top-logo img { height: 56px; width: auto; }

/* ---------- 6a Sign In ---------- */
.signin { display: grid; grid-template-columns: minmax(0, 1fr) 500px; grid-template-rows: auto 1fr auto; column-gap: 64px; padding: 36px 96px 32px; max-width: 1440px; margin: 0 auto; }
.signin .top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.signin-hero { position: relative; padding-top: 80px; display: flex; flex-direction: column; gap: 24px; }
.signin-hero h1 { font-family: var(--serif); font-size: clamp(44px, 4.9vw, 70px); line-height: 1.04; font-weight: 700; letter-spacing: -.015em; max-width: 620px; }
.lead { font-size: 19px; line-height: 1.55; max-width: 480px; }
.trophy { position: absolute; left: clamp(300px, 26vw, 374px); top: 22px; width: 130px; height: 130px; color: var(--green); }
.trophy svg { transform: rotate(12deg); }
.trophy-glow { position: absolute; left: 15px; top: 15px; width: 100px; height: 100px; border-radius: 999px; background: radial-gradient(circle, rgba(252, 191, 17, .35), rgba(252, 191, 17, 0) 70%); animation: glow 4s ease-in-out infinite; }
.cards-illo { width: 300px; color: var(--green); margin: 32px 0 0 -16px; }
.signin-card { align-self: start; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 44px; display: flex; flex-direction: column; gap: 28px; box-shadow: 0 20px 50px rgba(16, 55, 42, .07), 0 2px 6px rgba(16, 55, 42, .04); }
.switch { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--pale-2); border-radius: 999px; }
.switch button { height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--olive); font-size: 15px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s; }
.switch button.is-on { background: var(--olive); color: #fff; }
.card-head { display: flex; flex-direction: column; gap: 8px; }
.card-head h2 { font-family: var(--serif); font-size: 42px; line-height: 1.1; letter-spacing: -.01em; }
.card-head p { font-size: 17px; }
.signin > .foot-links { grid-column: 1 / -1; justify-content: flex-end; padding-top: 24px; }

/* ---------- Split screens (6b to 6e) ---------- */
.split { display: grid; grid-template-columns: 520px minmax(0, 1fr); }
.split-wide { grid-template-columns: 600px minmax(0, 1fr); }
.panel { position: relative; overflow: hidden; background: var(--pale); padding: 40px 56px 32px; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.split .panel { position: sticky; top: 0; height: 100vh; height: 100dvh; }
.panel-dot { position: absolute; right: 64px; top: -56px; width: 124px; height: 124px; border-radius: 999px; background: var(--mint); }
.panel-ring { position: absolute; left: -240px; bottom: -240px; width: 520px; height: 520px; border-radius: 999px; border: 90px solid; border-color: var(--mint) var(--mint) var(--mint-2) var(--mint-2); transform: rotate(20deg); animation: ring 24s linear infinite; }
.panel-logo { position: relative; align-self: flex-start; }
.panel-logo img { height: 48px; width: auto; }
.panel-copy { position: relative; margin-top: 108px; display: flex; flex-direction: column; gap: 22px; }
.panel-copy .panel-h { font-family: var(--serif); font-size: 52px; line-height: 1.08; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.panel-copy p:not(.panel-h) { font-size: 18px; line-height: 1.55; max-width: 400px; text-wrap: pretty; }
.panel .foot-links { position: relative; margin-top: auto; padding-top: 32px; justify-content: flex-end; gap: 24px; }
.panel-center .panel-copy { margin-top: 108px; align-items: center; text-align: center; gap: 24px; }
.panel-center h1 { font-family: var(--serif); font-size: 62px; line-height: 1.06; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.panel-center .panel-copy p { font-size: 19px; max-width: 420px; }
.panel-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 12px; }

/* 6b benefit tiles */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; color: var(--green); min-height: 100vh; min-height: 100dvh; }
.benefits li { display: flex; flex-direction: column; gap: 24px; padding: 48px 32px; }
.benefits li.flip { flex-direction: column-reverse; }
.b1 { background: #eef6e7; } .b2 { background: #cfe2c0; } .b3 { background: #e3eeda; }
.b4 { background: #dcebcf; } .b5 { background: var(--pale-2); } .b6 { background: #c9ddba; }
.b-icon { flex: 1; display: flex; align-items: center; justify-content: center; }
.b-icon svg { width: 120px; height: 120px; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.benefits li:hover .b-icon svg { transform: translateY(-6px) scale(1.04); }
.b-label { color: var(--olive); font-size: 24px; line-height: 1.25; font-weight: 600; text-align: center; text-wrap: balance; min-height: 60px; display: flex; align-items: center; justify-content: center; }

/* ---------- Sign-up flow (6c to 6e + done) ---------- */
.flow { display: flex; flex-direction: column; padding: 32px 88px 28px; min-height: 100vh; min-height: 100dvh; }
.stepper { list-style: none; margin: 0; padding: 0 0 20px; display: flex; align-items: flex-start; border-bottom: 1px solid var(--line-2); }
.stepper li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.stepper li + li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: #e1e7db; transition: background .4s; }
.stepper .dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 999px; background: #fff; border: 1.5px solid var(--muted); display: grid; place-items: center; font-size: 14px; font-weight: 600; transition: background .3s, border-color .3s; }
.stepper .dot svg { display: none; color: #fff; }
.stepper li.is-current { font-weight: 700; }
.stepper li.is-current .dot { background: var(--green); border: 2px solid var(--ink); font-weight: 700; }
.stepper li.is-done .dot { background: var(--ink); border-color: var(--ink); }
.stepper li.is-done .dot b { display: none; }
.stepper li.is-done .dot svg { display: block; }
.stepper li.is-done + li::before, .stepper li.is-current:not(:first-child)::before { background: var(--ink); }
.step { flex: 1; display: flex; flex-direction: column; gap: 18px; padding-top: 22px; }
.step[hidden] { display: none; }
.step-h { font-family: var(--serif); font-size: 38px; line-height: 1.1; font-weight: 700; outline: none; }
.step-intro { display: flex; flex-direction: column; gap: 12px; }
.step-intro p { font-size: 17px; line-height: 1.55; max-width: 640px; }
.grid6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 16px; }
.grid6 .field > span:first-child { font-size: 13px; }
.grid6 .field input, .grid6 .field select { height: 46px; padding: 0 14px; border-radius: 12px; }
.grid6 .pw input { padding-right: 52px; }
.grid6 .pw-toggle { right: 4px; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s6 { grid-column: span 6; }
.org-note { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: var(--pale-2); font-size: 15px; }
.org-note svg { flex-shrink: 0; }
.org-note span { flex: 1; }
.step-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 12px; }

/* 6d choices */
.choices { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { position: relative; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 22px; border: 1.5px solid #e1e7db; background: #fff; box-shadow: var(--shadow); transition: border-color .2s, background .2s, transform .2s; }
.choice:hover { transform: translateY(-2px); }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; color: var(--green); }
.radio { width: 24px; height: 24px; border-radius: 999px; border: 2px solid var(--ink); display: grid; place-items: center; }
.radio::after { content: ""; width: 12px; height: 12px; border-radius: 999px; background: var(--ink); transform: scale(0); transition: transform .2s; }
.choice:has(input:checked) { border: 2px solid var(--ink); background: var(--pale-2); }
.choice input:checked ~ .choice-top .radio::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice-title { font-size: 21px; font-weight: 700; }
.choice-text { font-size: 15px; line-height: 1.45; }
.tbc { margin: 0; border-bottom: 1px solid var(--line-2); }
.tbc > div { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.tbc dt { flex: 1; display: flex; align-items: center; gap: 18px; font-size: 16px; font-weight: 700; }
.tbc dd { margin: 0; font-size: 15px; }
.tbc-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--pale-2); display: grid; place-items: center; flex-shrink: 0; }

/* 6e terms */
.info3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); color: var(--green); }
.info-card h2 { font-family: var(--sans); font-size: 17px; font-weight: 700; color: var(--olive); }
.info-card p { font-size: 14px; line-height: 1.5; color: var(--olive); margin-top: -4px; }
.check-req { align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1.5px solid #dce6d2; background: var(--pale-2); font-size: 16px; line-height: 1.45; }
.check-req input, .optional .check input { left: 20px; top: 18px; width: 24px; height: 24px; }
.check-req .box, .optional .box { width: 24px; height: 24px; margin-top: 1px; }
.check-text { flex: 1; }
.req-tag { flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.optional { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.opt-h { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.opt-h::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.optional .check { gap: 14px; padding: 4px 20px; line-height: 1.5; }
.optional .check input { top: 5px; }

/* Done step and 6f pending: shared illustration bits */
.step-done { align-items: center; justify-content: center; text-align: center; gap: 20px; }
.step-done .done-text { font-size: 17px; line-height: 1.55; max-width: 540px; }
.done-illo, .pending-illo { position: relative; width: 240px; height: 210px; color: var(--green); }
.spin-ring { position: absolute; left: 20px; top: 5px; width: 200px; height: 200px; border-radius: 999px; border: 1.5px dashed var(--muted); animation: spin 40s linear infinite; }
.done-disc { position: absolute; left: 50px; top: 35px; width: 140px; height: 140px; border-radius: 999px; background: var(--pale-2); }
.done-illo .bob { position: absolute; left: 65px; top: 50px; }

/* ---------- 6f Access request pending ---------- */
.pending, .doc { display: flex; flex-direction: column; align-items: center; padding: 40px 24px 28px; }
.pending-logo, .doc > .top-logo { position: absolute; left: 96px; top: 40px; }
.pending-body, .doc-body { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; margin: 16px 0 32px; }
.pending-illo { width: 340px; height: 250px; transform: scale(.84); margin: -20px 0; }
.pending-illo .spin-ring { left: 50px; width: 240px; height: 240px; }
.pending-illo .done-disc { left: 95px; top: 50px; width: 150px; height: 150px; }
.pending-illo .env { position: absolute; left: 110px; top: 70px; }
.float-tile { position: absolute; width: 64px; height: 64px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(16, 55, 42, .08); display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.t1 { left: 14px; top: 40px; } .t2 { left: 262px; top: 24px; animation-delay: -2s; } .t3 { left: 250px; top: 170px; animation-delay: -4s; }
.spark { position: absolute; border-radius: 999px; }
.spark.s1 { left: 60px; top: 180px; width: 14px; height: 14px; background: var(--gold); }
.spark.s2 { left: 236px; top: 6px; width: 10px; height: 10px; background: var(--green); }
.pending h1, .doc h1 { font-family: var(--serif); font-size: 46px; line-height: 1.1; font-weight: 700; text-wrap: balance; }
.pending-text, .doc-body > p:not(.preview-note) { font-size: 17px; line-height: 1.55; max-width: 540px; text-wrap: pretty; }
.status { list-style: none; margin: 0; width: 100%; padding: 18px 24px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); text-align: left; }
.status li { display: flex; gap: 16px; position: relative; padding-bottom: 16px; }
.status li:last-child { padding-bottom: 0; }
.status li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: #e1e7db; }
.status li.is-done::after { background: var(--ink); }
.status li > span:last-child { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; font-size: 14px; line-height: 1.45; }
.status b { font-size: 16px; }
.s-dot { width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: #fff; border: 1.5px solid var(--muted); display: grid; place-items: center; }
.is-done .s-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.is-current .s-dot { background: var(--green); border: 2px solid var(--ink); }
.pending > .foot-links, .doc > .foot-links { margin-top: auto; justify-content: center; }
.doc-body { margin-top: 120px; }
@media (min-width: 961px) { .pending h1 { white-space: nowrap; } }

/* ---------- Motion (the design's twinkle, bob, float, spin and pulse) ---------- */
.twinkle { animation: twinkle 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.twinkle:nth-of-type(2n) { animation-delay: -1.1s; }
.twinkle:nth-of-type(3n) { animation-delay: -2.2s; }
.bob { animation: bob 4s ease-in-out infinite; }
.pulse { animation: pulse 2s ease-out infinite; }
.trophy > svg { animation: sway 6s ease-in-out infinite; transform-origin: 50% 80%; }
.reveal { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.signin-card.reveal { animation-delay: .12s; }
.benefits li { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.benefits li:nth-child(2) { animation-delay: .06s; } .benefits li:nth-child(3) { animation-delay: .12s; }
.benefits li:nth-child(4) { animation-delay: .18s; } .benefits li:nth-child(5) { animation-delay: .24s; } .benefits li:nth-child(6) { animation-delay: .3s; }
.step:not([hidden]) { animation: rise .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { from { transform: rotate(20deg); } to { transform: rotate(380deg); } }
@keyframes glow { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes sway { 0%, 100% { transform: rotate(12deg); } 50% { transform: rotate(6deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(110, 180, 63, .45); } 100% { box-shadow: 0 0 0 12px rgba(110, 180, 63, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .signin { padding: 28px 48px 28px; grid-template-columns: minmax(0, 1fr) 460px; column-gap: 40px; }
  .flow { padding: 28px 48px; }
  .split { grid-template-columns: 420px minmax(0, 1fr); }
  .split-wide { grid-template-columns: 460px minmax(0, 1fr); }
  .panel { padding: 36px 40px 28px; }
  .panel-copy .panel-h { font-size: 42px; }
  .panel-center h1 { font-size: 50px; }
  .b-label { font-size: 20px; }
  .b-icon svg { width: 96px; height: 96px; }
  .pending-logo, .doc > .top-logo { left: 48px; }
}
@media (max-width: 960px) {
  .signin { grid-template-columns: 1fr; padding: 20px 20px 24px; }
  .signin-hero { padding-top: 40px; gap: 18px; }
  .trophy { width: 90px; height: 90px; left: auto; right: 0; top: 4px; }
  .trophy svg { width: 90px; height: 90px; }
  .trophy-glow { left: 10px; top: 10px; width: 70px; height: 70px; }
  .cards-illo { display: none; }
  .signin-card { margin-top: 32px; }
  .signin > .foot-links { justify-content: center; }
  .split, .split-wide { grid-template-columns: 1fr; }
  .split .panel { position: relative; height: auto; min-height: 0; padding: 24px 20px 28px; }
  .panel-copy { margin-top: 28px; gap: 12px; }
  .panel-copy .panel-h { font-size: 30px; }
  .panel-copy p:not(.panel-h) { font-size: 16px; }
  .split .panel > .foot-links { display: none; }
  .split:not(.split-wide) .panel-copy p:not(.panel-h) { display: none; }
  .panel-dot { width: 90px; height: 90px; top: -40px; right: 32px; }
  .panel-ring { width: 300px; height: 300px; border-width: 50px; left: -150px; bottom: -170px; }
  .panel-center .panel-copy { margin-top: 32px; }
  .panel-center h1 { font-size: 40px; }
  .split-wide .panel > .foot-links { display: flex; justify-content: center; margin-top: 32px; }
  .benefits { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: 0; }
  .benefits li, .benefits li.flip { flex-direction: column; padding: 28px 16px; gap: 12px; }
  .b-icon svg { width: 80px; height: 80px; }
  .b-label { font-size: 18px; min-height: 0; }
  .flow { padding: 24px 20px 32px; min-height: 0; }
  .step-nav { margin-top: 12px; }
  .pending-logo, .doc > .top-logo { position: static; align-self: flex-start; }
  .pending-body { margin-top: 8px; }
  .doc-body { margin-top: 40px; }
}
@media (max-width: 640px) {
  .signin .top-logo img { height: 46px; }
  .pill-label { height: 40px; padding: 0 16px; font-size: 14px; }
  .pill-arrow { width: 40px; height: 40px; }
  .signin-hero h1 { font-size: 40px; padding-right: 64px; }
  .lead { font-size: 17px; }
  .card { padding: 24px 20px; gap: 22px; border-radius: 22px; }
  .card-head h2 { font-size: 34px; }
  .switch button { font-size: 14px; }
  .stepper .step-name { font-size: 12px; text-align: center; }
  .step-h { font-size: 30px; }
  .grid6 { grid-template-columns: 1fr 1fr; }
  .s3, .s6 { grid-column: span 2; }
  .s2 { grid-column: span 1; }
  .grid6 .field:nth-last-child(2) { grid-column: span 2; }
  .org-note { flex-wrap: wrap; gap: 10px 14px; }
  .org-note a { flex-basis: 100%; }
  .choices, .info3 { grid-template-columns: 1fr; }
  .choice { padding: 20px; }
  .choice-top svg { width: 52px; height: 52px; }
  .tbc > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tbc dd { padding-left: 62px; margin-top: -10px; }
  .check-req { flex-wrap: wrap; }
  .req-tag { margin-left: 38px; }
  .step-nav { flex-wrap: wrap-reverse; justify-content: center; }
  .step-nav .btn { width: 100%; padding: 0 20px; }
  .step-nav .btn { font-size: 15px; }
  .pending h1, .doc h1 { font-size: 34px; }
  .pending-illo { transform: scale(.72); margin: -36px 0; }
  .status { padding: 16px; }
  .preview-pill { position: static; display: table; margin: 0 auto 20px; box-shadow: none; }
}

/* ---------- Homepage (single scrolling page, from the Oct 12 content doc) ----------
   Kept deliberately simple so Pooja can refine spacing, styling and details. */
@media (prefers-reduced-motion: no-preference) { html:has(.page-home) { scroll-behavior: smooth; } }
.page-home { color: var(--olive); }
.page-home h1, .page-home h2, .page-home h3 { font-family: var(--sans); }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.h-narrow { max-width: 780px; }
.h-center { text-align: center; }
[id] { scroll-margin-top: 84px; }

.h-nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.h-nav-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.h-logo img { height: 48px; width: auto; }
.h-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 600; }
.h-links a, .h-signin { text-decoration: none; }
.h-links a:hover, .h-signin:hover { text-decoration: underline 2px var(--green); text-underline-offset: 4px; }
.h-actions { display: flex; align-items: center; gap: 16px; }
.h-signin { font-size: 15px; font-weight: 700; }
.h-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; background: var(--olive); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s; }
.h-btn:hover { background: var(--olive-hover); color: #fff; }
.h-btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.h-text-link { font-weight: 700; text-decoration: underline 2px var(--green); text-underline-offset: 4px; }

.h-hero { background: var(--pale); padding: clamp(48px, 7vw, 88px) 0; }
.h-hero-in { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 48px; align-items: center; }
.h-hero h1 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -.01em; }
.h-hero-copy { display: flex; flex-direction: column; gap: 14px; }
.h-hero-copy p { font-size: 18px; max-width: 560px; }
.h-hero-copy .h-lead { font-size: 20px; font-weight: 600; margin-top: 6px; }
.h-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 10px; }
.h-small { font-size: 15px !important; }
.h-summary { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.h-summary h2 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.h-summary ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.h-summary li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line-2); position: relative; font-size: 16px; }
.h-summary li::before { content: ""; position: absolute; left: 0; top: 17px; width: 14px; height: 14px; border-radius: 999px; background: var(--green); }
.h-summary strong { font-size: 18px; }

.h-section { padding: clamp(48px, 7vw, 80px) 0; }
.h-tint { background: var(--pale); }
.h-section h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 700; margin-bottom: 12px; }
.h-intro { font-size: 18px; max-width: 680px; margin-bottom: 32px; }
.h-cols, .h-steps, .h-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-col, .h-steps li, .h-tier { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.h-col { border-top: 4px solid var(--green); }
.h-section h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.h-col p, .h-steps p { font-size: 16px; }
.h-steps { list-style: none; margin: 28px 0 0; padding: 0; }
.h-step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--olive); color: #fff; font-weight: 700; margin-bottom: 14px; }
.h-tier { text-align: center; }
.h-tier h3 { text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.h-rate { font-size: 52px; line-height: 1; font-weight: 700; color: var(--olive); }
.h-points { font-size: 15px; font-weight: 600; color: #5b7a2c; margin-top: 6px; }
.h-range { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 15px; }
.h-tier:nth-child(3) { background: var(--olive); border-color: var(--olive); color: #fff; }
.h-tier:nth-child(3) .h-rate, .h-tier:nth-child(3) .h-points { color: #fff; }
.h-tier:nth-child(3) .h-range { border-color: rgba(255, 255, 255, .25); }
.h-note { margin-top: 20px; font-size: 15px; }
.h-biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.h-biz p { font-size: 17px; margin-top: 10px; max-width: 520px; }
.h-logos { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; background: #fff; border-radius: 16px; padding: 28px; border: 1px solid var(--line); }
.h-logos img { width: auto; height: 96px; max-width: 45%; object-fit: contain; }
.h-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.h-faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.h-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 17px; position: relative; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; line-height: 1; color: var(--green); }
.h-faq details[open] summary::after { content: "–"; }
.h-faq details p { padding: 0 20px 18px; font-size: 16px; }
.h-final { background: var(--pale); }
.h-final p { font-size: 18px; margin: 4px auto 24px; max-width: 600px; }
.h-final h3 { margin-top: 40px; font-size: 20px; }
.h-contact { font-weight: 700; }
.h-contact a { text-decoration: underline 2px var(--green); text-underline-offset: 4px; }
.h-foot { padding: 32px 0 40px; border-top: 1px solid var(--line-2); }
.h-foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.h-foot img { height: 40px; width: auto; margin-bottom: 6px; }
.h-foot p { font-size: 15px; }
.h-foot nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.h-foot nav a { text-decoration: none; }
.h-foot nav a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .h-nav-in { flex-wrap: wrap; row-gap: 0; }
  .h-actions { margin-left: auto; }
  .h-links { order: 3; width: 100%; margin: 0; gap: 20px; overflow-x: auto; padding: 4px 0 12px; font-size: 14px; white-space: nowrap; }
  [id] { scroll-margin-top: 116px; }
  .h-hero-in, .h-biz { grid-template-columns: 1fr; gap: 28px; }
  .h-cols, .h-steps, .h-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .h-nav-in { gap: 12px; min-height: 64px; }
  .h-logo img { height: 40px; }
  .h-actions { gap: 12px; }
  .h-actions .h-btn { padding: 0 12px; font-size: 14px; min-height: 40px; }
  .h-hero-copy p { font-size: 17px; }
  .h-logos img { height: 72px; }
}

/* ---------- Program Terms & Privacy Policy (text from the Oct 14 PDFs, word for word) ---------- */
.page-legal { color: var(--olive); }
.page-legal h1, .page-legal h2 { font-family: var(--sans); }
.legal h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; font-weight: 700; }
.legal-date { margin-top: 8px; font-weight: 600; color: #5b7a2c; }
.legal-body { margin-top: 28px; border-top: 1px solid var(--line-2); padding-top: 8px; }
.legal-body h2 { font-size: 21px; font-weight: 700; margin: 32px 0 10px; }
.legal-body p, .legal-body li, .legal-body address { font-size: 17px; line-height: 1.65; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 10px 0 0; padding-left: 22px; }
.legal-body li { margin-top: 6px; }
.legal-body li::marker { color: var(--green); }
.legal-body address { font-style: normal; margin-top: 10px; }
.legal-body a { font-weight: 600; text-decoration: underline 2px var(--green); text-underline-offset: 3px; }
.legal-table { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 460px; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.legal-table thead th { background: var(--pale); font-weight: 700; }
.legal-table tbody tr:last-child > * { border-bottom: 0; }
