/* Homepage refresh (phase 3, approved by Braydon 26 Oct 2026). Built from docs/blueprints/mocks-a2/site-refresh.html.
   Sections: hero (#hero), results (#results), pricing (#pricing), the app teaser (#app). Shared tokens come from zbs.css. */
.rf-line { border-top: 1px solid var(--line); }
.rf-sec { position: relative; padding: clamp(56px, 8vw, 104px) 0; overflow: hidden; }
.rf-chip-win { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--green); color: var(--c-00210f); font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.rf-chip-win svg { width: 12px; height: 12px; }

/* ---------- HERO ---------- */
.rf-sec.rf-hero { padding-top: calc(var(--nav-h) + 8px); }
.rf-h-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 56px; }
.rf-h-copy h1 { font-size: clamp(54px, 7vw, 104px); line-height: 0.9; margin: 22px 0 26px; }
.rf-h-copy h1 .the { display: block; font-size: 0.38em; letter-spacing: 0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--muted); margin-bottom: 0.18em; }
.rf-h-copy h1 .hl { display: inline-block; white-space: nowrap; color: var(--white); background: var(--red); padding: 0.04em 0.16em 0.06em; border-radius: 6px; transform: skew(-6deg) rotate(-1.4deg); margin-top: 0.06em; }
.rf-h-copy .lead { color: var(--c-c9c6c0); margin-bottom: 30px; }
.rf-h-copy .lead strong { color: var(--white); }
.rf-h-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.rf-h-micro { margin-top: 16px; font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--dim); line-height: 1.5; }
.rf-h-micro b { display: block; }
.rf-h-micro b { color: var(--muted); }
.rf-h-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.rf-h-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 38%; filter: grayscale(0.55) contrast(1.08) brightness(0.7); }
.rf-h-proof { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: var(--ink); border: 1px solid var(--line-2); }
.rf-h-proof .n { grid-row: span 2; font-family: var(--display); font-size: 46px; line-height: 0.9; color: var(--white); }
.rf-h-proof .n small { font-size: 18px; color: var(--muted); margin-left: 2px; }
.rf-h-proof .who { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--bone); }
.rf-h-proof .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.rf-h-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rf-h-strip > div { padding: 18px 16px; border-left: 1px solid var(--line); }
.rf-h-strip > div:first-child { border-left: 0; padding-left: 0; }
.rf-h-strip .n { font-family: var(--display); font-size: 28px; color: var(--white); line-height: 1; }
.rf-h-strip .n em { font-style: normal; color: var(--red-hot); }
.rf-h-strip .l { margin-top: 6px; font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); line-height: 1.4; }

/* ---------- RESULTS ---------- */
.rf-r-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.rf-r-head h2 { margin: 0; }
.rf-r-head .lead { max-width: 34ch; margin: 0; }
.rf-r-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.rf-r-feature { grid-row: span 4; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-red); display: flex; flex-direction: column; }
.rf-r-feature .big { font-family: var(--display); font-size: clamp(96px, 11vw, 150px); line-height: 0.85; color: var(--white); margin: 18px 0 8px; }
.rf-r-feature .big small { font-size: 0.3em; color: var(--muted); margin-left: 4px; }
.rf-r-feature blockquote { margin: auto 0 0; padding-top: 28px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--bone); font-weight: 600; }
.rf-r-feature cite, .rf-r-row cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.rf-r-desc { margin: 20px 0 14px; font-size: 17px; line-height: 1.55; color: var(--c-c9c6c0); max-width: 40ch; }
.rf-who2 { font-family: var(--body); font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--white); line-height: 1.3; }
.rf-who2 span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); font-weight: 400; }
.rf-metric2 { font-size: 14px; color: var(--muted); margin-top: 6px; }
.rf-r-row { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.rf-r-row .n { font-family: var(--display); font-size: 40px; line-height: 0.95; color: var(--white); white-space: nowrap; }
.rf-r-row .n small { font-size: 15px; color: var(--muted); margin-left: 2px; }
.rf-r-row blockquote { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--bone); }
.rf-r-row .rf-metric2 { margin-top: 2px; font-size: 13px; }
.rf-r-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.rf-r-foot .g { display: flex; flex-wrap: wrap; font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.rf-r-foot .g > span { padding: 0 16px; border-left: 1px solid var(--line-2); line-height: 1.4; }
.rf-r-foot .g > span:first-child { padding-left: 0; border-left: 0; }
.rf-r-foot .g b { color: var(--white); font-size: 16px; }

/* ---------- PRICING ---------- */
.rf-p-head { text-align: left; margin-bottom: 36px; }
.rf-p-head h2 { margin-bottom: 16px; }
.rf-p-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .rf-p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } .rf-p-card.feat { margin-top: -12px; margin-bottom: -12px; padding-top: 42px; } }
@media (min-width: 1024px) { .rf-p-grid { grid-template-columns: minmax(0, 560px); } .rf-p-card.feat { margin-top: 0; margin-bottom: 0; } }
.rf-p-card { position: relative; padding: 30px 28px 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.rf-p-card.feat { border-color: var(--red); }
.rf-p-card .tag { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted); }
.rf-p-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 36px; line-height: 0.95; margin: 10px 0 18px; color: var(--white); }
.rf-p-price { display: flex; align-items: baseline; gap: 6px; }
.rf-p-price .cur { font-family: var(--display); font-size: 28px; color: var(--muted); }
.rf-p-price .num { font-family: var(--display); font-size: 76px; line-height: 0.9; color: var(--white); }
.rf-p-price .per { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rf-p-card .fee { margin: 8px 0 0; font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); line-height: 1.5; }
.rf-p-card .note { margin: 16px 0 0; font-size: 15px; color: var(--bone); line-height: 1.5; }
.rf-p-card ul { list-style: none; padding: 0; margin: 20px 0 24px; border-top: 1px solid var(--line); }
.rf-p-card li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--c-c9c6c0); }
.rf-p-card li::before { content: '+'; color: var(--red-hot); font-weight: 800; font-size: 18px; line-height: 1.2; }
.rf-p-card .terms { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.rf-p-card .foot { display: flex; align-items: center; gap: 8px; margin-top: auto; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone); }
.rf-p-card .foot i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.rf-p-both { margin-top: 16px; padding: 24px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.rf-p-both h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 0 0 8px; color: var(--white); }
.rf-p-both .mono { font-size: 13px; color: var(--muted); }
.rf-p-both ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.rf-p-both li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--c-c9c6c0); }
.rf-p-both li svg { width: 22px; height: 22px; color: var(--red-hot); }
.rf-p-fine { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- APP ---------- */
.rf-a-sec { border-top: 1px solid var(--line); }
/* 28 Oct refresh: shared iPhone frame v2, two-phone stack (dark in front, light behind). See assets/css/phone-frame.css */

/* ---------- phone widths ---------- */
@media (max-width: 860px) {
  .rf-h-grid { grid-template-columns: 1fr; gap: 32px; }
  .rf-h-grid { padding-top: 40px; }
  .rf-h-photo { aspect-ratio: 5 / 4; }
  .rf-h-cta .btn { width: 100%; }
  .rf-h-strip { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .rf-h-strip > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .rf-h-strip > div:nth-child(-n+2) { border-top: 0; }
  .rf-h-strip > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .rf-r-head { display: block; } .rf-r-head h2 { margin-bottom: 14px; }
  .rf-r-grid, .rf-p-grid { grid-template-columns: 1fr; }
  .rf-r-feature { grid-row: auto; padding: 22px; }
  .rf-r-row { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .rf-r-foot { flex-direction: column; align-items: stretch; } .rf-r-foot .btn { width: 100%; }
  .rf-p-card { padding: 28px 20px 22px; }
  .rf-p-card .btn { width: 100%; }
  .rf-p-both { grid-template-columns: 1fr; padding: 22px 20px; gap: 16px; }
  .rf-p-both ul { grid-template-columns: 1fr; }
}


/* ---------- MOCK 26 Oct: coaching first, app story ---------- */
.rf-h-alt { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--bone); text-decoration: underline; text-underline-offset: 4px; }
.rf-h-notfor { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.rf-h-photo { position: relative; }
.mock-slot { position: absolute; top: 14px; left: 14px; z-index: 3; padding: 6px 10px; border: 2px dashed var(--red-hot); border-radius: 6px; background: var(--c-rgba-0-0-0-0p75); color: var(--white); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 860px) {
}

/* Join photos (28 Oct): one FULL phone per picture, current screens, never tilted, overlapped or cut off. */
.jp-ph { width: min(260px, 70vw); margin: 0 auto; }
.jp-ph .iph { position: relative; width: 100%; aspect-ratio: .474; }
.jp-ph .iph .scr img { object-position: top; }
.jp-ph .iph .scr { background: var(--c-101010); }
.app-shots .jp-ph { margin: 0 auto 12px; }
@media (max-width: 860px) {
}

/* Four pillars (28 Oct): tile strip, then one centred section each, one phone size. */
.jp-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jp-tiles li { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--c-rgba-255-255-255-0p04); padding: 20px 18px; }
.jp-tiles svg { width: 30px; height: 30px; fill: none; stroke: var(--red-hot); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.jp-tiles span { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--white); }
@media (max-width: 860px) { .jp-tiles { grid-template-columns: 1fr 1fr; gap: 12px; } .jp-tiles li { padding: 16px 14px; } .jp-tiles span { font-size: 15px; } }

/* Brief app band on the main site (28 Oct): coaching stays the main thing; the app gets one compact band. */
.ab-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.ab-copy h2 { margin: 16px 0 14px; }
.ab-copy .lead { margin-bottom: 22px; }
.ab-copy .jp-tiles { margin-bottom: 26px; }
.ab-card { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); padding: 22px 24px; display: grid; gap: 10px; max-width: 520px; }
.ab-k { font: 700 14px var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.ab-price { display: flex; align-items: baseline; gap: 8px; }
.ab-price .cur { font-family: var(--display); font-size: 26px; color: var(--muted); }
.ab-price .num { font-family: var(--display); font-size: 64px; line-height: .9; color: var(--white); }
.ab-price .per { font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ab-fine { margin: 0; font-size: 14px; color: var(--muted); }
.ab-code { margin: 14px 0 0; font-size: 13px; }
.ab-code a { color: var(--dim); text-decoration: underline; }
.ab-phone { display: flex; justify-content: center; }
.ab-phone .jp-ph { width: 280px; }
@media (max-width: 860px) { .ab-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .ab-card { max-width: none; } .ab-phone .jp-ph { width: min(260px, 70vw); } }

/* "I've trained since 2016" story restored (coaching content), right after the brief app band. */
.rf-a-story { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.rf-a-why { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; color: var(--white); max-width: 34ch; }
@media (max-width: 860px) { .rf-a-story { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; } .rf-a-why { max-width: none; } }

/* Results cards, more striking (28 Oct): red top bar and glow, bigger number with a red minus and unit, faint quote mark, stars, hover lift. Words and numbers unchanged. */
.rf-r-feature, .rf-r-row { position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.rf-r-feature::before, .rf-r-row::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); }
.rf-r-row::before { height: 2px; }
.rf-r-feature { border-color: var(--line-red); box-shadow: 0 24px 70px -28px var(--c-rgba-217-0-0-0p55); padding: 34px 32px 32px; }
.rf-r-feature .big { font-size: clamp(110px, 13vw, 190px); margin: 22px 0 10px; }
.rf-r-feature .big .mn, .rf-r-row .n .mn { color: var(--red-hot); }
.rf-r-feature .big small, .rf-r-row .n small { color: var(--red-hot); }
.rf-r-row .n { font-size: 48px; }
.rf-r-row { padding: 20px 22px; }
.rf-r-feature blockquote, .rf-r-row blockquote { position: relative; }
.rf-r-feature blockquote::before, .rf-r-row blockquote::before { content: '“'; position: absolute; font-family: var(--display); color: var(--red); opacity: .16; line-height: .8; pointer-events: none; z-index: 0; }
.rf-r-feature blockquote::before { left: -6px; top: 8px; font-size: 190px; }
.rf-r-row blockquote::before { right: 0; top: -2px; font-size: 76px; }
.rf-r-feature blockquote { margin: auto 0 0; padding: 30px 0 0; border-top: 1px solid var(--line); font-size: clamp(22px, 2.3vw, 30px); }
.rf-r-feature blockquote > *, .rf-r-row blockquote > * { position: relative; z-index: 1; }
.rf-r-feature cite, .rf-r-row cite { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 13px; }
.rf-r-feature .rf-r-desc { margin: 22px 0 18px; }
@media (hover: hover) { .rf-r-feature:hover, .rf-r-row:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 24px 60px -26px var(--c-rgba-217-0-0-0p5); } }
@media (max-width: 860px) { .rf-r-feature { padding: 28px 22px 24px; } .rf-r-feature .big { font-size: clamp(96px, 30vw, 140px); } .rf-r-feature blockquote::before { font-size: 130px; } }
/* App band: the story sits under the heading */
.ab-copy .rf-a-story { display: block; margin: 0 0 18px; padding: 0; border: 0; }
.ab-copy .rf-a-why { font-size: clamp(22px, 2.2vw, 30px); max-width: 40ch; }
.rf-r-feature blockquote::before, .rf-r-row blockquote::before { font-family: var(--display); font-weight: 400; }
.rf-r-feature .rf-r-desc { margin-top: auto; }
.rf-r-feature blockquote { margin-top: auto; }
.rf-r-row { grid-template-columns: 132px 1fr; }
.rf-r-row .n { font-size: 44px; }
@media (max-width: 860px) { .rf-r-row { grid-template-columns: 1fr; } .rf-r-feature .rf-r-desc, .rf-r-feature blockquote { margin-top: 22px; } }
.rf-r-row blockquote::before { top: -44px; right: 4px; font-size: 90px; opacity: .12; }
.ab-copy .rf-a-story { margin: 22px 0 20px; }
/* Ross card: content stacked tightly and centred vertically (no spread) */
.rf-r-feature { justify-content: center; }
.rf-r-feature .rf-r-desc { margin: 22px 0 18px; }
.rf-r-feature blockquote { margin-top: 30px; }
@media (max-width: 860px) { .rf-r-feature .rf-r-desc { margin-top: 22px; } .rf-r-feature blockquote { margin-top: 26px; } }
