/* ==========================================================================
   Landing pages (renew.html, never-again.html): the shared layout on top of
   site.css. Prefix rn-*. Calculator card + gate, result, section heads,
   step cards, story carousel, pass card, Ask Dash panel/bubble, final CTA.
   Page-only tweaks stay in a small <style> on the page.
   ========================================================================== */
/* ---------- hero ---------- */
.rn-hero .hero__in { align-items: flex-start; }
.rn-hero .h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); }
.rn-hero .h1 em { font-style: normal; color: var(--lime-light); }
.rn-hero .kicker { color: var(--lime-light); }
.rn-hero__copy { flex: 1 1 360px; min-width: 0; padding-top: 8px; }
.rn-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rn-ghost { background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; font-size: 16px; padding: 13px 20px; min-height: 52px; }
.rn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.rn-math { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rn-math span { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 10px 14px; color: var(--mid-3); font-weight: 700; font-size: 14px; line-height: 1.3; }
.rn-math b { display: block; color: #fff; font-size: 18px; font-weight: 900; }

/* ---------- calculator card ---------- */
.rn-calc { flex: 1 1 400px; min-width: 0; max-width: 520px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-sheet); padding: 24px 22px 22px; scroll-margin-top: 84px; }
.rn-calc__title { font-weight: 900; font-size: 20px; color: var(--sky-deep); margin: 0 0 4px; }
.rn-calc__sub { font-weight: 600; font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.rn-q { margin-bottom: 16px; }
.rn-q__label { display: block; font-weight: 800; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.rn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rn-chip { border: 1.5px solid var(--line); background: #fff; color: var(--sky-deep); font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.rn-chip:hover { border-color: var(--sky); }
.rn-chip[aria-pressed="true"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.rn-chip:disabled { opacity: .4; cursor: default; }
.rn-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rn-seg button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 10px; text-align: left; cursor: pointer; font-weight: 800; font-size: 14px; color: var(--sky-deep); line-height: 1.25; }
.rn-seg button small { display: block; font-weight: 700; font-size: 12px; color: var(--muted); margin-top: 2px; }
.rn-seg button[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-tint); box-shadow: inset 0 0 0 1px var(--lime); }
.rn-step { display: flex; align-items: center; gap: 10px; }
.rn-step button { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 22px; font-weight: 800; color: var(--sky-deep); cursor: pointer; flex: none; }
.rn-step button:disabled { opacity: .35; cursor: default; }
.rn-step output { min-width: 0; flex: 1; text-align: center; font-weight: 900; font-size: 18px; color: var(--ink); }
.rn-step output small { font-weight: 700; font-size: 13px; color: var(--muted); }
.rn-select { font-family: var(--font); cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23175574' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }

/* ---------- gate ---------- */
.rn-gate__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rn-gate__num { width: 64px; height: 64px; flex: none; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1.5px dashed rgba(166, 207, 91, .6); color: var(--lime-light); font-weight: 900; font-size: 38px; display: flex; align-items: center; justify-content: center; }
.rn-gate__label { display: block; font-weight: 800; font-size: 13px; color: #fff; margin-bottom: 6px; }
.rn-gate .check span { color: var(--mid-3); }
.rn-gate .check a, .rn-res__fine a { color: var(--lime-light); }
.rn-gate__err { margin-top: 10px; background: #FDECEA; color: #8E2F25; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 13px; }
.rn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- video ---------- */
.rn-watch { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; font-weight: 800; font-size: 15px; }
.rn-watch__ic { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .3); display: inline-flex; align-items: center; justify-content: center; }
.rn-watch small { color: var(--mid-2); font-weight: 700; margin-left: 2px; }
.rn-watch:hover .rn-watch__ic { background: var(--lime); border-color: var(--lime); }

/* ---------- result ---------- */
.rn-res { margin-top: 6px; border-radius: 18px; background: var(--dusk); color: #fff; padding: 20px 18px 18px; position: relative; overflow: hidden; }
.rn-res__top { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.rn-res__num { font-weight: 900; font-size: 64px; line-height: .9; color: var(--lime-light); letter-spacing: -.03em; }
.rn-res__unit { font-weight: 800; font-size: 17px; line-height: 1.25; padding-bottom: 4px; }
.rn-res__unit small { display: block; font-weight: 700; font-size: 14px; color: var(--mid-3); }
.rn-tag { display: inline-block; margin-left: auto; align-self: flex-start; background: rgba(166, 207, 91, .18); color: var(--lime-light); font-weight: 800; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.rn-res__line { font-weight: 600; font-size: 14.5px; line-height: 1.5; color: var(--mid-3); margin: 14px 0 0; }
.rn-res__line b { color: #fff; }
.rn-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.rn-slot { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 9px 8px; text-align: center; font-weight: 700; font-size: 12px; color: var(--mid-3); }
.rn-slot b { display: block; font-weight: 900; font-size: 20px; color: #fff; }
.rn-free { display: flex; gap: 10px; align-items: center; margin-top: 14px; background: var(--lime-tint); color: var(--on-lime); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 13.5px; line-height: 1.4; }
.rn-free svg { flex: none; }
.rn-res .btn { margin-top: 14px; }
.rn-res__fine { font-weight: 600; font-size: 12px; color: var(--mid-2); text-align: center; margin-top: 8px; }
.rn-warn { margin: 0 0 12px; background: #FFF6E5; color: #7A4B00; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 13.5px; line-height: 1.45; }

/* ---------- sections ---------- */
.rn-sec-head .lead { margin-top: 12px; }
.rn-steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: rn; }
.rn-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; box-shadow: var(--shadow-card); }
.rn-card__n { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: #fff; font-weight: 900; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.rn-card h3 { margin: 0 0 6px; font-weight: 800; font-size: 19px; color: var(--sky-deep); }
.rn-card p { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.55; color: var(--body-2); }
.rn-card__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--fill-2); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.rn-center { text-align: center; margin-top: 32px; }


.rn-final { background: var(--dusk); position: relative; overflow: hidden; text-align: center; }
.rn-final .h2 { color: #fff; }
.rn-final .lead { color: var(--mid-3); margin: 12px auto 26px; max-width: 520px; }

/* ---------- your passes ---------- */
.rn-pxdone { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; max-width: 900px; margin: -8px auto 28px; background: var(--lime-tint); border: 1px solid var(--lime-border); border-radius: 18px; padding: 14px 16px; }
.rn-pxdone__ic { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rn-pxdone__text { flex: 1 1 260px; margin: 0; font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--on-lime-2); }
.rn-pxdone__text b { color: var(--on-lime); }
.rn-pxdone__step { flex: 0 0 auto; width: 210px; }
.rn-pxdone__step button { background: #fff; }
.rn-pxdone__step output { font-size: 17px; }
.rn-px { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: stretch; max-width: 900px; margin: 0 auto; }
.rn-px__card { position: relative; flex: 1 1 380px; max-width: 520px; background: #fff; border: 2px solid var(--lime); border-radius: 22px; padding: 26px 22px 20px; box-shadow: var(--shadow-card); }
.rn-px__badge { position: absolute; top: -13px; left: 22px; background: var(--lime); color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.rn-px__title { font-weight: 900; font-size: 20px; color: var(--sky-deep); margin-bottom: 12px; }
.rn-px__lines { list-style: none; margin: 0; padding: 0; }
.rn-px__lines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-weight: 800; font-size: 15px; color: var(--ink); }
.rn-px__lines li small { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.rn-px__lines li > b { font-weight: 900; color: var(--sky-deep); white-space: nowrap; }
.rn-px__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 6px; font-weight: 800; font-size: 15px; color: var(--ink); }
.rn-px__total > b { font-weight: 900; font-size: 30px; color: var(--sky-deep); letter-spacing: -.02em; }
.rn-px__save { background: var(--lime-tint); color: var(--on-lime); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 13.5px; margin-bottom: 14px; }
.rn-px__fine { margin: 10px 0 0; font-weight: 600; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.rn-px__side { flex: 1 1 260px; max-width: 360px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.rn-px__why { background: var(--fill-3); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.rn-px__why h3 { margin: 0 0 8px; font-weight: 800; font-size: 17px; color: var(--sky-deep); }
.rn-px__why ul { margin: 0; padding-left: 18px; }
.rn-px__why li { font-weight: 600; font-size: 14.5px; line-height: 1.5; color: var(--body-2); margin-top: 6px; }

/* Ask Dash (panel / bubble): moved to css/site.css so every page can show it. */

/* in-page jumps land below the sticky nav */
main section[id] { scroll-margin-top: 72px; }

@media (max-width: 819px) {
  .rn-math { display: none; } /* phones: bring the calculator up the page */
}
@media (max-width: 480px) {
  .rn-calc { padding: 20px 16px 16px; border-radius: 18px; }
  .rn-res__num { font-size: 54px; }
  .rn-hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- the calculator card's header: the app, fanned ----------
   A soft band across the top of the white card; two real screens rise out of
   it, cropped at its bottom edge, with a reminder toast beside them. */
.rn-fan { position: relative; height: 196px; margin: -24px -22px 20px; border-radius: 22px 22px 0 0; overflow: hidden;
  background: radial-gradient(120% 140% at 70% 0%, #2a7aa3 0%, #175574 55%, #0f394e 100%); }
.rn-fan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(to bottom, rgba(15, 57, 78, 0), rgba(15, 57, 78, .35)); pointer-events: none; }
.rn-fan .phone { position: absolute; padding: 7px; border-radius: 26px; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .6), 0 0 0 2px rgba(255, 255, 255, .08); }
.rn-fan .phone__screen { border-radius: 20px; }
.rn-fan .phone--front { width: 168px; left: 50%; top: 22px; margin-left: 0; z-index: 2; transform: rotate(4deg); }
.rn-fan .phone--back { width: 148px; left: 50%; top: 42px; margin-left: -132px; z-index: 1; transform: rotate(-8deg); }
.rn-fan .toast { z-index: 3; left: 16px; top: 18px; transform: rotate(-5deg); }
.rn-fan .toast__t, .rn-fan .toast__t small { font-size: 11.5px; }
@media (max-width: 480px) {
  .rn-fan { height: 140px; margin: -20px -16px 16px; border-radius: 18px 18px 0 0; }
  .rn-fan .phone--front { width: 124px; top: 18px; margin-left: 0; }
  .rn-fan .phone--back { width: 110px; top: 34px; margin-left: -96px; }
  .rn-fan .toast { left: 10px; top: 12px; }
}
