/* RankRush /new — redesigned sales page. Deliberately isolated from
   public/css/style.css (the members-area/legal-page/old-sales-page
   stylesheet): this file is the ONLY stylesheet loaded on /new, and it
   is not linked from anywhere else. Extracted from
   design/RankRush-Redesign.html's <style> block (the approved design
   concept), reformatted for readability, with two additions of our own:
   the .video-trigger button reset (the concept's play control was a
   decorative span inside a role="img" div; production needs a real,
   keyboard-operable button) and a restyled copy of the shared
   .modal-* rules (see public/css/style.css) using this page's own
   tokens, since that CSS lives in the bundle we're deliberately not
   loading here but the brief asks for the same modal behavior. */

:root {
  --ink: #182725;
  --muted: #5e6c68;
  --paper: #faf9f5;
  --green: #17664c;
  --lime: #d7ef80;
  --line: #dcded4;
  --white: #fff;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 var(--sans); }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #c17020; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: min(1120px, calc(100% - 64px)); margin: auto; }
.reading { max-width: 740px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin: 0 0 22px; }
.brand { font-size: 25px; font-weight: 900; letter-spacing: -1.2px; text-decoration: none; }
.brand span { color: var(--green); }
header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 25px 0; border-bottom: 1px solid var(--line); }
nav { display: flex; gap: 26px; font-size: 13px; }
nav a { text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(32px, 5vw, 62px); line-height: 1.08; letter-spacing: -.05em; max-width: 1030px; margin: 0 auto 25px; font-weight: 800; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; color: var(--green); }
h2 { font-size: clamp(36px, 4.5vw, 57px); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 26px; }
h3 { font-size: 24px; line-height: 1.22; letter-spacing: -.035em; }
p { margin-bottom: 23px; }

.hero { text-align: center; padding: 56px 0 40px; }
.hero .intro { max-width: 720px; margin: 0 auto 16px; color: var(--muted); font-size: 21px; }
.hero .intro:last-of-type { margin-bottom: 24px; }
.pill { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; background: #e9eee3; padding: 7px 13px; border-radius: 25px; }
.pill:before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero-result { margin: 30px auto 0; }
.hero-result .jump { justify-content: center; gap: 22px; margin: 0; font-size: clamp(60px, 8.5vw, 104px); }
.hero-result .jump .from { font-size: .48em; }
.hero-result .jump .arrow { font-size: .4em; }
.hero-result .jump .to { background: linear-gradient(transparent 66%, var(--lime) 66%); padding: 0 .06em; }
.hero-result .time { margin: 10px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; font-variant: small-caps; color: var(--muted); }

.video { width: 100%; margin: 24px auto 0; max-width: 920px; aspect-ratio: 16/9; background: #172d29; color: white; text-align: left; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 24px 50px #193f2315; }
.video:after { content: ''; position: absolute; right: -55px; bottom: -190px; width: 560px; height: 560px; border: 1px solid #b5d4a833; border-radius: 50%; box-shadow: 0 0 0 55px #b5d4a80b, 0 0 0 110px #b5d4a808; pointer-events: none; opacity: .55; }
.video .eyebrow { color: var(--lime); }
.video-title { max-width: 570px; font-size: clamp(25px, 4vw, 47px); line-height: 1.12; letter-spacing: -.045em; position: relative; z-index: 1; }
/* Real button filling the poster, replacing the concept's decorative span
   inside a role="img" div, so click-to-play is keyboard-operable too.
   Laid out as a flex column (eyebrow, then the play control, then the
   hook text) rather than absolutely centring the play control in the
   whole box — the box is a fixed 16:9 aspect ratio, and at narrow mobile
   widths it's short enough that a true geometric centre would collide
   with the bottom-anchored hook text. flex: 1 on .video-play centres it
   in whatever space is actually left between the eyebrow and the hook
   text instead, which never overlaps regardless of box height. */
.video-trigger {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: clamp(18px, 4vw, 40px) clamp(20px, 5vw, 40px);
  cursor: pointer;
  position: relative;
  z-index: 1;
  color: inherit;
  font: inherit;
}
.video-trigger:focus-visible { outline: 3px solid #c17020; outline-offset: -4px; }
.video-trigger .eyebrow { margin: 0; flex: 0 0 auto; }
.video-play { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; z-index: 2; text-align: center; }
.video-play-circle { width: 128px; height: 128px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 38px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .18s ease; flex: 0 0 auto; }
.video-trigger:hover .video-play-circle { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .video-play-circle { transition: none; }
  .video-trigger:hover .video-play-circle { transform: none; }
}
.video-play-label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; font-variant: small-caps; color: #f4f2ea; }
.video-trigger .video-title { margin: 0; flex: 0 0 auto; position: relative; font-size: clamp(22px, 3.5vw, 28px); line-height: 1.15; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Placeholder state (SALES_VIDEO_YOUTUBE_ID unset): same box, its own
   flex layout with different padding/spacing to .video-trigger above,
   but a plain non-interactive div — no button, no play icon, no click
   handler, nothing that looks clickable. */
.video-placeholder { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: clamp(24px, 5vw, 58px); position: relative; z-index: 1; }
.video-soon { font-size: 14px; color: #c0cfc7; margin: 0; }

.caption { font-size: 13px; color: var(--muted); margin: 18px auto; max-width: 700px; }
.text-link { font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.trust { margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: center; gap: 40px; font-size: 13px; }

.section { padding: 95px 0; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: start; }
.byline { display: flex; align-items: center; gap: 13px; font-size: 13px; margin: 30px 0; }
.monogram { width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.byline strong { display: block; }
.pull { font-family: var(--serif); font-size: 30px; line-height: 1.35; color: var(--green); border-left: 3px solid var(--green); padding-left: 25px; margin: 35px 0; }
.result { background: #eaf0e4; padding: 40px 34px; border-radius: 12px; position: sticky; top: 35px; }
.jump { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 82px; letter-spacing: -.065em; line-height: 1.2; margin: 30px 0; }
.jump .from { color: #89928a; font-size: 55px; }
.jump .arrow { font-size: 45px; color: var(--green); }
.jump .to { color: var(--green); }
.result .time { border-top: 1px solid #cbd4c6; padding-top: 20px; font-weight: 700; }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }
.result p:last-child { margin-bottom: 0; }

.dark { background: #172d29; color: #fff; }
.dark .eyebrow { color: var(--lime); }
.dark h2 em { color: var(--lime); }
.dark .muted { color: #c0cfc7; }
.hour { font-size: clamp(100px, 15vw, 185px); letter-spacing: -.08em; font-weight: 800; line-height: 1; color: var(--lime); }
.hour span { font-family: var(--serif); font-size: 50px; font-weight: 400; letter-spacing: -.05em; }
.steps { margin-top: 45px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.step { border-top: 1px solid #60756b; padding-top: 20px; }
.step b { font-size: 12px; color: var(--lime); display: block; margin-bottom: 18px; }
.step h3 { font-size: 21px; }
.step p { font-size: 16px; color: #c0cfc7; }

.section-head { max-width: 740px; margin-bottom: 45px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.use { border: 1px solid var(--line); border-radius: 12px; padding: 34px; background: #fff; }
.use .num { font-family: var(--serif); font-size: 34px; color: var(--green); display: block; margin-bottom: 24px; }
.use p { font-size: 17px; color: var(--muted); }
.use p:last-child { margin-bottom: 0; }
.wide-note { margin-top: 26px; padding: 25px 30px; background: #ecefe5; border-radius: 9px; font-size: 16px; }

.evidence { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.evidence-item { padding: 10px 0; }
.big-stat { font-weight: 800; font-size: 65px; letter-spacing: -.06em; color: var(--green); line-height: 1.2; margin-bottom: 15px; }
.big-stat small { font-size: 26px; letter-spacing: -.025em; }
.audit-bars { margin: 25px 0; }
.bar { display: flex; align-items: center; gap: 16px; margin: 12px 0; font-size: 12px; }
.bar span { width: 44px; }
.track { height: 13px; background: #e7e9df; border-radius: 3px; flex: 1; overflow: hidden; }
.fill { height: 100%; background: var(--green); }
.bar:first-child .fill { background: #b3bba8; }
.bar b { width: 40px; text-align: right; }

.curriculum { border-top: 1px solid var(--line); }
.lesson { display: grid; grid-template-columns: 55px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.lesson .number { font-family: var(--serif); font-size: 25px; color: var(--green); }
.lesson h3 { font-size: 22px; margin-bottom: 8px; }
.lesson p { color: var(--muted); font-size: 16px; margin: 0; }
.inset { background: #eaf0e4; padding: 35px; border-radius: 12px; }
.inset ul, .offer ul { padding: 0; list-style: none; }
.inset li, .offer li { padding: 12px 0 12px 27px; position: relative; border-bottom: 1px solid #cbd4c6; font-size: 16px; }
.inset li:before, .offer li:before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: bold; }

.bonus { border-top: 3px solid var(--green); padding-top: 28px; }
.bonus .eyebrow { margin-bottom: 18px; }
.bonus p { color: var(--muted); }

.language { background: #eee9dd; }
.language .split { align-items: center; }
.language-list { display: flex; flex-wrap: wrap; gap: 12px; }
.language-list span { background: #fff8; border: 1px solid #d8d1c4; padding: 12px 20px; border-radius: 35px; font-family: var(--serif); font-size: 23px; }

.about { display: grid; grid-template-columns: 230px 1fr; gap: 70px; }
.about-name { font-family: var(--serif); font-size: 44px; line-height: 1.1; letter-spacing: -.045em; }
.about-name span { color: var(--green); }
.credentials { font-size: 13px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }

.faq { max-width: 850px; margin: auto; }
details { border-bottom: 1px solid var(--line); padding: 21px 0; }
summary { font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; padding-right: 35px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary:after { content: '+'; position: absolute; right: 5px; color: var(--green); }
details[open] summary:after { content: '−'; }
details p { font-size: 16px; color: var(--muted); margin: 17px 0 0; }

.offer-section { background: #eaf0e4; }
.offer-section .section-head { text-align: center; margin: 0 auto 40px; }
.offer { background: #fff; border-radius: 18px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 65px; box-shadow: 0 18px 60px #183e2010; }
.offer h3 { font-size: 26px; }
.offer li { border-color: #e5e9df; }
.price-box { border-left: 1px solid var(--line); padding-left: 45px; }
.price { font-size: 78px; font-weight: 800; line-height: 1; letter-spacing: -.07em; margin: 20px 0 12px; }
.price small { font-size: 16px; letter-spacing: 0; font-weight: 400; }
/* Full-price reference above the founders price, and the savings pill under it. */
.full-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0; }
.full-price s { font-size: 39px; font-weight: 800; line-height: 1.1; letter-spacing: -.05em; color: var(--muted); text-decoration-line: line-through; text-decoration-color: #b0473a; text-decoration-thickness: 2px; }
.full-price-label { font-size: 15px; line-height: 1.4; }
.full-price + .price { margin-top: 8px; }
.save-pill { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 25px; background: #e9eee3; color: #124c3a; font-size: 15px; font-weight: 700; line-height: 1.4; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; background: var(--green); color: white; padding: 17px 20px; border-radius: 7px; font-weight: 700; font-size: 16px; border: 1px solid var(--green); }
.btn:hover { background: #124c3a; }
.btn.secondary { background: white; color: var(--green); }
.coupon { margin: 20px 0; padding: 15px; background: #f0f5e6; border: 1px dashed #92aa6f; font-size: 14px; text-align: center; }
.coupon strong { font-size: 18px; letter-spacing: .1em; }
.payment { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 25px; }
.payment p { font-size: 15px; margin-bottom: 16px; }
.offer .fine { margin-top: 18px; }
.close { text-align: center; margin: 35px auto 0; max-width: 630px; font-family: var(--serif); font-size: 26px; line-height: 1.35; }

footer { padding: 35px 0 50px; font-size: 12px; color: var(--muted); }
footer .links { display: flex; gap: 20px; margin-bottom: 20px; }
footer .links a { text-decoration: underline; }
footer p { max-width: 920px; font-size: 12px; }

/* ── In-page modal (Terms/Privacy — same behavior as the live homepage's
   public/js/modal.js, restyled with this page's own tokens instead of
   pulling in public/css/style.css's shared --color-* variables). ─── */
.modal-overlay { position: fixed; inset: 0; background: rgba(24, 39, 37, 0.6); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 1000; }
.modal-overlay[hidden] { display: none; }
.modal-panel { position: relative; background: var(--white); color: var(--ink); border-radius: 14px; width: 100%; max-width: 640px; max-height: 85vh; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4); display: flex; flex-direction: column; font: 18px/1.65 var(--sans); }
.modal-panel[hidden] { display: none; }
.modal-scroll { overflow-y: auto; padding: 44px 40px 40px; }
.modal-scroll h1 { font-size: 24px; margin: 0 0 12px; }
.modal-scroll h2 { font-size: 17px; margin: 28px 0 8px; }
.modal-scroll p, .modal-scroll li { font-size: 15px; color: var(--muted); line-height: 1.6; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.modal-close:hover { color: var(--ink); border-color: var(--muted); }
@media (max-width: 480px) {
  .modal-scroll { padding: 28px 20px; }
  .modal-panel { max-height: 90vh; }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 36px); }
  header .wrap { padding: 20px 0; }
  nav { gap: 16px; }
  .hero { padding-top: 48px; }
  .hero .intro { font-size: 18px; }
  .trust { gap: 15px; flex-wrap: wrap; }
  .section { padding: 60px 0; }
  .split, .two, .evidence-grid, .about, .offer { grid-template-columns: 1fr; gap: 35px; }
  .result { position: static; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { padding-top: 16px; }
  .offer { padding: 26px; }
  .price-box { border-left: 0; border-top: 1px solid var(--line); padding: 30px 0 0; }
  .video { min-height: 270px; }
  .video-title { font-size: 30px; }
  .video:after { width: 350px; height: 350px; }
  .video-play-circle { width: 96px; height: 96px; font-size: 30px; }
  .video-play { gap: 12px; }
  .use { padding: 27px; }
  .hour { font-size: 110px; }
  .about { gap: 20px; }
  .lesson { grid-template-columns: 35px 1fr; gap: 15px; }
}

@media print {
  .section { padding: 35px 0; }
  .result { position: static; }
  .video { box-shadow: none; }
  .offer { box-shadow: none; }
  details p { display: block; }
  body { font-size: 14px; }
}
