/* ===== v3 (2026-11-10) final design pass. Loads last (after premium.css and v2.css; measure.css is no longer linked, 11-12), so it is the only place v3 differs
   from v2 in CSS: v2.css, premium.css and measure.css in this folder are unchanged copies of the 11-09 v2 files.
   Review and the reason for every block: _build/v3/fable/2026-11-10_design_review.md (numbers below = items in that file).
   Nothing here changes a colour, a font, the hero, or any decision in the HANDOFF log. ===== */

/* ---------- A. The ask ---------- */
/* A2. Tablets and small laptops (701-1100px): the header keeps its "Free growth plan" button beside "Menu". Before, the button
   left with the nav at 1100px and the sticky bar only existed up to 960px, so 961-1100px had no ask between hero and closing. */
@media (min-width: 701px) and (max-width: 1100px) {
  .hdr .in > .btn { display: inline-flex; margin-left: auto; }
  .hdr .in > .btn + .menu-btn { margin-left: 4px; }
}
/* ...so the sticky bar is phones only (2 asks on screen at once on a tablet was 1 too many) */
@media (min-width: 701px) and (max-width: 960px) {
  .sticky { display: none; }
  html.has-sticky body { padding-bottom: 0; }
  html.has-sticky { scroll-padding-bottom: 0; }
}

/* A3. Inner-page closing band: the 90-Day Growth Plan e-book on the right (laptops), the same object the homepage closing shows.
   Rows: spacer / heading / line / button / spacer, so the words stay 1 tight block centred beside the book; the quiz (when opened)
   takes the full width under both. Phones and tablets: no image, the band stays short. */
.close.sm .gps { display: none; margin: 0; }
@media (min-width: 961px) {
  .close.sm > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto auto 1fr auto;
    grid-template-areas: ". g" "h g" "l g" "c g" ". g" "q q"; column-gap: clamp(48px, 6vw, 112px); }
  .close.sm > .wrap > h2 { grid-area: h; }
  .close.sm > .wrap > .lede { grid-area: l; }
  .close.sm > .wrap > .close-cta { grid-area: c; }
  .close.sm > .wrap > .qz-inline { grid-area: q; }
  .close.sm > .wrap > .gps { grid-area: g; display: block; align-self: center; width: clamp(196px, 17.4vw, 250px);
    margin: -40px clamp(8px, 5vw, 88px) -40px 0; }  /* it reaches into the band padding, so the band grows by about 50px, not 130px */
  .close.sm .gps img { display: block; width: 100%; height: auto; border-radius: 0; }
}

/* ---------- B. Consistency ---------- */
/* B7 + B8. Results: 1 card size. The Results page groups and the 4 homepage cards are 4 across from 961px (were 2 x 2 with 460px
   photos up to 1100px, and 3 across for some groups). */
@media (min-width: 961px) {
  .rgrid.home4, .rgrid.cmp.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
}
@media (min-width: 961px) and (max-width: 1279px) {
  .rgrid.home4, .rgrid.cmp.c4 { column-gap: 18px; }
  .rgrid.home4 .rc figure .lg, .rgrid.cmp .rc figure .lg { top: 14px; left: 14px; width: calc(var(--lw) * 0.72); }
  .rgrid.home4 .rc .l, .rgrid.cmp .rc .l { font-size: 17px; }
  .rgrid.home4 .rc .g .lnk { font-size: 16px; gap: 6px; }
}
/* Result labels that take 2 lines ("Return on search ads in signed jobs"): a little more air between the lines */
.rc .l, .rgrid.home4 .rc .l, .rgrid.cmp .rc .l { line-height: 1.4; }
/* B9. Result numbers: 1 size on laptops (were 52px on the homepage and Results, 47.5px on the group pages) */
@media (min-width: 701px) {
  .rgrid.home4 .rc .n, .rgrid.cmp .rc .n, .rc .n { font-size: clamp(38px, 3.3vw, 48px); }
}

/* B10. Legal page titles: under the normal page title, not over it (the .sm size predates the 11-09 scale: 66px vs 56px) */
.pg-h1.sm { font-size: clamp(30px, 3.1vw, 44px); }

/* B11. "Before we start." on How we work: its 2 lists use the full width, like the same pattern on the service pages */
.cols2 { max-width: none; column-gap: clamp(48px, 6vw, 96px); }

/* B12 + B16. Section headings: 1 size, 1 line height, 1 tracking (About and "Keep reading." were 40px; .h2 / .h2i / closing differed) */
.about-rows h2, .keep > h2 { font-size: clamp(31px, 3.1vw, 44px); }
.h2, .h2i, #faq .h2, .close h2, .close.sm h2, .about-rows h2, .keep > h2 { line-height: 1.07; letter-spacing: -0.016em; }

/* B13. Body text: 18px / 1.6 everywhere on laptops too (arrow lists, step lines and result stories were still 20px) */
.arw.rows li, .about-rows .arw.rows li, .tl-d, .rc .d { font-size: 18px; line-height: 1.6; }
.about-rows p { font-size: 18px; }

/* B14. Intro lines: 1 size (were 20.2 to 23px in 5 classes). The lead paragraph of the legal pages keeps its own size: it sits
   in 19px prose and has to stay a step above it. */
.lede, .pg-sub, .sec-head.stack .intro, .sc p.big, .after p.big, .acc p.big, .post-hero .dek, .nf .lede, .sv4 .get {
  font-size: clamp(19px, 1.45vw, 21px); line-height: 1.5; }

/* B15. Titles inside sections: 2 sizes. Rows, steps, worries, approach = 26px. FAQ questions, item titles, list heads = 22px. */
.tl h3, .blocks h3, .post h3, .posts.all h2 { font-size: clamp(22px, 1.8vw, 26px); }  /* + blog card titles (were 29px, 3-4 lines each) */
.post h3, .posts.all h2 { line-height: 1.2; letter-spacing: -0.008em; }
@media (min-width: 701px) {
  .faq summary h3, .items h3, .cols2 h3 { font-size: clamp(20px, 1.53vw, 22px); }
}
/* FAQ answers and item lines: the same reading line on every page (the service pages had 58ch, the rest 68ch) */
.items p, .faq details p, .duo .sc .items p, .duo .sc .faq details p { max-width: 58ch; text-wrap: pretty; }  /* .duo .sc p (68ch) is more specific than .faq details p */

/* ---------- C. Layout and polish ---------- */
/* C17. Homepage service cards: the "More on ..." links share 1 baseline per row, whatever wraps above them */
@media (min-width: 701px) {
  .sv4-i { display: flex; flex-direction: column; }
  .sv4-i > .sv4-tx { flex: 1 1 auto; display: flex; flex-direction: column; }
  .sv4-i > .sv4-tx > .svc-more { margin-top: auto; padding-top: 18px; }
}
/* C18. Homepage result cards: the group links share 1 baseline per row (a 2-line label used to push 1 link down) */
.rgrid.home4 { align-items: stretch; }
.rgrid.fixed.home4 .rc:nth-child(n) { display: flex; flex-direction: column; }  /* beats .rgrid.fixed .rc:nth-child(n) { display: block } */
.rgrid.home4 .rc .g { margin-top: auto; padding-top: 10px; }

/* C19. Contact page (laptops): the 2 "what happens" rows follow the intro. The tall quiz panel used to stretch both grid rows and
   leave a 165px hole between them. */
@media (min-width: 1101px) { .ct-grid { grid-template-rows: auto 1fr; } }
/* C20. Contact title on phones: "Get your free / 90-Day Growth Plan." in 2 lines, as on the homepage band (was 3, "Get your" alone) */
@media (max-width: 600px) { .ct-head h1 { font-size: clamp(28px, 8.4vw, 33px); } }

/* C21. Blog article: photo and text share 1 left edge (the text column was centred inside the photo's width, 18px in on each side) */
.art .prose { max-width: none; margin-left: 0; margin-right: 0; }

/* ---------- D. After the 11-10 copy pass (neoc's pairs): layout for the blocks whose shape changed ---------- */
/* D1. A part left with 1 list column under its heading (How we work "Before we start." lost its second list): heading left,
   list right, the same layout as "Who it's for." on the service pages. Was: 1 half-width list under a full-width heading. */
.cols2:has(> div:only-child) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 961px) {
  .part:has(> .cols2 > div:only-child) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .part:has(> .cols2 > div:only-child) > .sec-head { grid-column: 1 / span 5; margin-bottom: 0; }
  .part:has(> .cols2 > div:only-child) > .cols2 { grid-column: 6 / -1; margin-top: 6px; }
}
/* D2. A page sub line of 2 sentences: 1 sentence per line on laptops (build_v3 sub_html) */
@media (min-width: 961px) { .pg-sub .sn { display: block; } }
/* D3. The note under every inner closing button ("Takes under a minute. We reply within 24 hours.") needs no new rule: it uses
   the homepage hero note's markup, and premium.css / v2.css already style .close .note (18px, 2 sentences stacked on phones). */

/* ---------- E. 11-12 go-live review (_build/v3/fable/2026-11-12_golive_review.md) ---------- */
/* E1. Fonts from our own files, no Google Fonts request. Same look as before in Chrome: text in Atkinson Hyperlegible Next, digits
   0-9 in Public Sans (Kevin 10-30: Atkinson draws 0 with a slash). The 3 weights are declared one by one, as Google declared them,
   so a 600 still draws at 700. The digits get their own family name, so no browser has to choose between 2 "Public Sans" faces
   (that choice is what made the site switch font when Google Fonts did not load). Atkinson file: webfonts/ (SIL OFL 1.1, licence
   beside it), latin range, the only range the site uses. Arrows keep coming from Arial, as before. */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("webfonts/atkinson-hyperlegible-next-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("webfonts/atkinson-hyperlegible-next-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("webfonts/atkinson-hyperlegible-next-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Text Digits"; src: url("fonts/public-sans-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+30-39; }
@font-face { font-family: "Text Digits"; src: url("fonts/public-sans-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+30-39; }
@font-face { font-family: "Text Digits"; src: url("fonts/public-sans-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+30-39; }
:root { --text: "Text Digits", "Atkinson Hyperlegible Next", "Helvetica Neue", Arial, sans-serif; }

/* E2 11-12 growth plan (Kevin: what they receive, no price; "more consolidated"; "make it pop ... its own white box").
   Homepage closing: the whole offer sits in 1 white panel on the green band (18px corners like the site's panels, no shadow):
   heading, "Inside your plan" as a 2-column hairline grid (7th part full width), dark green button + note; e-book beside.
   Phones: 1 column, tighter rows, smaller e-book last. */
.close .gpbox { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: clamp(28px, 4.6vw, 72px); }
.close .gpbox h2 { color: var(--ink); }
.close .gpl { margin-top: clamp(24px, 2.6vw, 36px); }
.close .gpl > p { margin-bottom: 4px; font: 700 19px/1.35 var(--text); color: var(--green); }
.close .gpl ul { list-style: none; margin: 0; padding: 0; }
.close .gpl li { display: grid; align-content: start; row-gap: 2px; padding: 14px 0 15px; border-top: 1px solid var(--rule-paper); }
.close .gpl li strong { font: 700 20px/1.35 var(--text); color: var(--ink); }
.close .gpl li span { font-size: 17px; line-height: 1.5; color: #4A4A4A; }  /* lighter than the part names, so the eye scans the names */
.close .gpbox .close-cta { margin-top: clamp(28px, 3vw, 40px); }
.close .gpbox .btn { background: var(--green); color: #fff; }
.close .gpbox .btn:hover, .close .gpbox .btn:focus-visible { background: var(--ink); color: #fff; }
.close .gpbox .note { color: #4A4A4A; }
.close .gpbox .gp { margin: 0; }
.close .gpbox .gp img { display: block; width: 100%; height: auto; }
.close.sm .lede span { display: block; }
.close .note .gpn { display: block; }
.close .note .gpn::before { content: none !important; }
@media (max-width: 960px) {  /* 11-12 (Kevin: "looks very shit on mobile"): small e-book beside the heading, compact rows, full-width button */
  .close .gpbox { display: grid; grid-template-columns: minmax(0, 1fr) 84px; column-gap: 16px; grid-template-areas: "h gp" "cv cv" "ct ct"; align-items: center; padding: 26px 22px 28px; }
  .close .gpbox > h2 { grid-area: h; }
  .close .gpbox > .gpl { grid-area: cv; margin-top: 22px; }
  .close .gpbox > .close-cta { grid-area: ct; margin-top: 24px; }
  .close .gpbox > .gp { grid-area: gp; width: 84px; max-width: none; margin: 0; justify-self: end; }
  .close .gpbox > .qz-inline { grid-column: 1 / -1; }
  .close .gpl > p { font-size: 17px; }
  .close .gpl li { padding: 12px 0 13px; row-gap: 2px; }
  .close .gpl li strong { font-size: 18px; }
  .close .gpl li span { font-size: 16px; line-height: 1.45; }
  .close .gpbox .btn { width: 100%; justify-content: center; }
  .close .gpbox .note { font-size: 16px; }
}
@media (min-width: 600px) and (max-width: 960px) { .close .gpbox { grid-template-columns: minmax(0, 1fr) 140px; padding: 40px; } .close .gpbox > .gp { width: 140px; } .close .gpl ul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; } .close .gpl li:last-child { grid-column: 1 / -1; } }
@media (min-width: 961px) {
  .close .gpbox { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(40px, 4.4vw, 80px);
    grid-template-areas: "h h" "cv gp" "cv ct"; grid-template-rows: auto auto 1fr; align-items: start; }  /* 11-12 consolidated: heading on top, parts left, e-book + button right */
  .close .gpbox > h2 { grid-area: h; }
  .close .gpbox > .gpl { grid-area: cv; }
  .close .gpbox > .close-cta { grid-area: ct; }
  .close .gpbox > .gp { grid-area: gp; align-self: end; justify-self: center; width: 100%; max-width: 230px; margin-top: clamp(24px, 2.6vw, 36px); }
  .close .gpbox > .close-cta { margin-top: 20px; justify-items: center; text-align: center; }
  .close .gpbox > .close-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .close .gpl ul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 2.6vw, 44px); border-bottom: 1px solid var(--rule-paper); }
  .close .gpl li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1101px) { .ct-quiz { position: sticky; top: 32px; align-self: start; } }

/* E3 11-12 (Kevin): Massachusetts visitors never see Golden Group in the first line of results; Albania visitors see US and
   Canada results first. GEO_JS (build_v3.py) moves or swaps the cards; until the region answers (max 800ms, first page of a
   visit) the result grids stay hidden so nothing jumps. */
html.geo-wait .rgrid { visibility: hidden; }
.rgrid .rc[hidden] { display: none !important; }  /* the grid CSS sets display on cards, so [hidden] needs this */

/* E4 11-13 (Kevin: "remove the how we think"): About has 1 story block now, so on laptops the photo is shorter (4:5, not 2:3)
   and the story sits centred beside it instead of a short block over a tall empty column. */
@media (min-width: 961px) {
  .about-grid { align-items: center; }
  .about-img { position: static; }
  .about-img img { aspect-ratio: 1 / 1; }
  .about-rows p { font-size: clamp(20px, 1.6vw, 23px); }
  .about-rows article { padding-bottom: 0; }
}

/* E5 11-13 About: "Brands we've run ads for." logo wall on black (white logos, open grid, no boxes, equal weight) */
.brandwall { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 56px 32px; align-items: center; justify-items: center; }
.brandwall li { display: flex; align-items: center; justify-content: center; width: 100%; height: 64px; }
.brandwall img { width: auto; height: auto; max-width: 132px; max-height: 52px; object-fit: contain; }
@media (max-width: 1100px) { .brandwall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; } }
@media (max-width: 700px) { .brandwall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 18px; } .brandwall li { height: 48px; } .brandwall img { max-width: 92px; max-height: 40px; } }
@media (max-width: 960px) { .about-img img { aspect-ratio: 3 / 2; max-height: none; } .about-img { margin-bottom: 0; margin-top: 36px; } }  /* 11-13: shorter photo on phones */

/* 11-13 svc20k: text-only result cards inside the right column of a service page (Paid search) */
.svcp .duo .rgrid.tonly.svc2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
@media (max-width: 700px) { .svcp .duo .rgrid.tonly.svc2 { grid-template-columns: 1fr; } }
