/* Site v3 (28 Oct 2026): canon TD styleguide plus only what this page needs. Rules below are carried over from
   site v2 (css/site.css) with their styleguide-pending numbers. Breakpoints: 560, 800, 1024. */

/* pending 1: marketing body, flush under the fixed header. */
body { padding: var(--site-header-height) 0 0 0; overflow-x: clip; }
/* Phone status bar (Seth, 14 Nov 2026): the pages declare viewport-fit=cover, so the browser reports how much of the top
   edge its own bars cover; the fixed header grows by that much and pads its content clear of it. The inset is 0
   wherever nothing overlaps, so nothing moves there. Everything keyed on the header height (body offset, nav drawer,
   scroll margins) follows the token. Sides too, for a notch in landscape. */
@supports (padding: env(safe-area-inset-top)) {
  :root { --site-header-height: calc(56px + env(safe-area-inset-top)); }
  .site-header { padding-top: env(safe-area-inset-top); padding-left: max(var(--s-5), env(safe-area-inset-left)); padding-right: max(var(--s-5), env(safe-area-inset-right)); }
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}
/* Text rendering as on site v2 (from the scroll engine's base reset, which v3 does not load), scoped to main so the
   header keeps the browser defaults. */
main { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-synthesis-weight: none; letter-spacing: -0.005em; }

/* pending 2: brand with an image mark. */
.site-header .brand img { width: 32px; height: 32px; align-self: center; margin-right: var(--s-2); border-radius: var(--r-sm); }
/* pending 24: header items on one centre line (plus Seth's 28 Oct wordmark offset, set to 0). */
.site-header .site-header-inner .brand { align-items: center; transform: none; }
.site-header .site-header-inner .site-nav-links { transform: none; }
.site-header .site-header-inner .site-nav-links li { display: flex; align-items: center; }
.site-header .site-header-inner .brand-text { display: inline-flex; align-items: baseline; position: relative; top: 0px; }
/* pending 8: the phone nav sheet hidden while parked; 44px hamburger. Canon switches at 800. */
@media (max-width: 800px) {
  .site-header .site-header-inner .header-tools { margin-left: auto; }
  .site-header .site-header-inner .nav-hamburger { margin-left: 0; width: 44px; height: 44px; }
  .site-header .site-header-inner .site-nav-links { visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
  .site-header .site-header-inner .site-nav-links.nav-open { visibility: visible; transition: transform 0.25s ease, visibility 0s; }
}

/* pending 4 and 5: teal ground re-inks canon type; the primary button inverts on it. */
.ground-primary { background: var(--c-primary); color: white; }
.ground-primary h1, .ground-primary .mega, .ground-primary p { color: white; }
.ground-primary .mega-alt { color: var(--c-tertiary); }
.ground-primary .help-text { color: var(--c-tertiary); }
.ground-primary a:not(.btn) { color: white; text-decoration: underline; text-underline-offset: 4px; }
.ground-primary a:not(.btn):hover { color: var(--c-tertiary); }
.ground-primary :focus-visible { outline-color: white; }
.ground-primary .btn-primary { background: white; color: var(--c-primary); border-color: white; }
.ground-primary .btn-primary:hover { background: var(--c-tertiary); border-color: var(--c-tertiary); color: var(--c-primary); }

/* Hero text (carousel removed for now: one column of text). */
.hero { padding: var(--s-8) 0; }
.v3-hero-text { max-width: none; }
/* From 1024px the text column is the width of site v2's hero text column: 7 of 12 parts of the 1200px content after the 48px gap. */
/* The hero is a grid from 801px: text in 7 parts, the carousel in 5, 48px apart (site v2's proportions). */
.hero-head { margin-bottom: var(--s-5); }
.hero-head .line { display: block; }
.hero-lede { font-size: 20px; line-height: 30px; max-width: 54ch; margin-bottom: var(--s-5); }

/* The URL form: canon .field-row, unwired. */
.url-form { margin-bottom: var(--s-2); max-width: 560px; }
.url-form .field-row { margin-bottom: var(--s-2); }
.url-form .btn, .url-form .input { height: 48px; }
.url-form .input { font-size: 16px; }
.url-form .help-text { margin: 0; }

/* pending 25: the inline OptimAI wordmark; knock-out on teal. */
.brand { white-space: nowrap; text-transform: none; letter-spacing: normal; }
.ground-primary .brand, .brand.knockout { color: white; }
.ground-primary .brand .brand-alt, .brand.knockout .brand-alt { color: var(--c-tertiary); }

/* pending 27 (SG-4): input text clipping. The placeholder overflows its line box, and form controls take an alias of
   the canon M PLUS files without the metric overrides, so neither placeholder nor typed text clips. */
.input::placeholder, .textarea::placeholder { overflow: visible; }
@font-face {
  font-family: 'M PLUS Field';
  src: url('../vendor/td_styleguide/fonts/mplus-400-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
.input, .textarea { font-family: 'M PLUS Field', var(--ff-body); }

/* H1 sizes and the break after "Google" (from 560px up). A non-breaking space keeps "of you" and "the answer" together. */
.hero-head { font-size: 36px; line-height: 44px; }
.hero-lede { font-size: 16px; line-height: 24px; }
.hero { padding: var(--s-7) 0; }
@media (min-width: 560px) {
  .hero-head .h1-a::after { content: "\A"; white-space: pre; }
}
/* Side by side from 801px (the styleguide's nav switches at 800): lede at 20px, H1 at 40px, stepping up to 48px
   from 1024px (Seth, 28 Oct). */
@media (min-width: 801px) {
  .hero-head { font-size: 40px; line-height: 48px; }
  .hero-lede { font-size: 20px; line-height: 30px; }
}
@media (min-width: 1024px) {
  .hero-head { font-size: 48px; line-height: 56px; }
}
@media (min-width: 1024px) {
  .hero { padding: var(--s-8) 0; }
}

/* Nav hover and active (Seth, 28 Oct): colour only, no weight change. The canon 300 to 500 swap read as the label
   shrinking at 16px. Candidate for the styleguide. */
.site-nav-links a:hover,
.site-nav-links a.active { font-weight: 300; color: var(--c-black); }

/* Content lines up with the header (Seth, 28 Oct). The canon header pads its bar by --s-5 (24px) and caps its inner
   row at --w-content (1200px); the canon .container instead holds 1200px including a 16px pad, which left the hero
   text 16px right of the logo on desktop and 8px left of it on a phone. Same rule as the header here: a 24px pad
   outside a 1200px content row. */
.container { max-width: calc(var(--w-content) + 2 * var(--s-5)); padding-left: var(--s-5); padding-right: var(--s-5); }

/* Hero grid: stacked at 800px and below (text first), side by side from 801px (Seth, 28 Oct). The visual is a placeholder for the
   carousel (Seth, 28 Oct): light grey, a fixed height so the layout can be judged. */
.v3-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
/* The carousel frame (Seth, 28 Oct): white, with the styleguide's "cut-out" inner shadow (the tray treatment in
   components.css: a 1px hairline plus a soft inner shadow), so it reads as a window cut into the page. */
.hero-frame { background: var(--c-bg); border-radius: var(--r-md); min-height: 360px;
  box-shadow: inset 0 0 0 1px var(--c-invert-1), inset 0 2px 12px rgba(0, 0, 0, 0.08); }
@media (min-width: 801px) {
  .v3-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
}

/* No forced H1 break in the narrow side-by-side range (801 to 1023px): the text column is too narrow for "See who
   ChatGPT and Google" on one line, so the forced break left "Google" alone on a line. */
@media (min-width: 801px) and (max-width: 1023px) {
  .hero-head .h1-a::after { content: none; }
}

/* At 800px and below (hamburger nav): Sign In then the hamburger, both at the far right, the hamburger outermost
   (Seth, 28 Oct). The nav list is the fixed drop-down sheet at this width, so it takes no place in the row. */
@media (max-width: 800px) {
  .site-header .site-header-inner .header-tools { order: 2; margin-left: auto; }
  .site-header .site-header-inner .nav-hamburger { order: 3; margin-left: 0; }
}

/* Side by side: the carousel shares the text column's top line (Seth, 28 Oct). */
@media (min-width: 801px) {
  .v3-hero-grid { align-items: start; }
}

/* Five-column rhythm (Seth, 28 Oct): side by side, the hero is a 5-column grid; the text spans 3 columns and the
   carousel 2. Later sections reuse the same 5 columns. */
@media (min-width: 801px) {
  .v3-hero-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .v3-hero-text { grid-column: span 3; }
  .hero-frame { grid-column: span 2; }
}

/* Hero accents (Seth, 28 Oct). */
.hero-head .h1-accent { color: var(--c-tertiary); }
.hero-lede .lede-accent { color: var(--c-tertiary); font-weight: 500; }
/* A full body line between the two subhead sentences. */
.hero-lede-first { margin-bottom: 1lh; }
.hero-lede-first + .hero-lede { margin-top: 0; }
/* Hero help lines (under the input and the agencies line): --c-invert-2, one size step up from canon 12/18 to
   14/20 (Seth, 28 Oct). */
.ground-primary .help-text { color: var(--c-invert-2); font-size: 14px; line-height: 20px; }

/* Hero text colours (Seth, 28 Oct): all hero text in --c-invert-2; the accent spans in white; the wordmark's "AI"
   back to tertiary teal. */
.ground-primary h1, .ground-primary .mega, .ground-primary p, .ground-primary .brand { color: var(--c-invert-2); }
.hero-head .h1-accent, .hero-lede .lede-accent { color: white; }
.ground-primary .brand .brand-alt { color: var(--c-tertiary); }
/* The cut-out on the teal ground: the canon tray values (an 8% shadow) are tuned for a light page and barely read
   against teal, so the inner shadow is deepened here. */
.hero-frame { box-shadow: inset 0 0 0 1px var(--c-invert-1), inset 0 4px 16px rgba(0, 0, 0, 0.28); }
/* H1 in --c-invert-1 so the white "become the answer" pops harder (Seth, 28 Oct). */
.ground-primary h1.hero-head { color: var(--c-invert-1); }
/* Seth, 28 Oct: subhead in --c-invert-1; the wordmark's "Optim" in white ("AI" stays tertiary); the help lines in
   --c-bg; the frame takes the styleguide tray's inner shadow exactly (replacing the deepened version above). */
.ground-primary .hero-lede { color: var(--c-invert-1); }
.hero-lede .lede-accent { color: white; }
.ground-primary .brand { color: white; }
.ground-primary .help-text { color: var(--c-bg); }
.hero-frame { box-shadow: inset 0 0 0 1px var(--c-invert-1), inset 0 2px 12px rgba(0, 0, 0, 0.08); }
/* The engines and Google named in the subhead, in tertiary teal (Seth, 28 Oct). */
.hero-lede .lede-engine { color: var(--c-tertiary); }
/* Hero H1 in tertiary teal; "become the answer" stays white (Seth, 28 Oct). */
.ground-primary h1.hero-head { color: var(--c-tertiary); }
/* Hero background: the design probe's radial gradient (Seth, 28 Oct): a mid-teal glow top right, through the primary
   teal, to a deeper teal at the far edge. Mid and primary are TD tokens; the deep end (#03504C) has no token yet
   (styleguide candidate). */
.v3-hero, .hero.ground-primary { background: radial-gradient(120% 90% at 85% 10%, var(--c-secondary) 0%, var(--c-primary) 42%, #03504C 100%); }
/* TRIAL (Seth, 28 Oct): the gradient inverted, the glow in the opposite corner (bottom left). */
.v3-hero, .hero.ground-primary { background: radial-gradient(120% 90% at 15% 90%, var(--c-secondary) 0%, var(--c-primary) 42%, #03504C 100%); }
/* Hero subhead: 60px right padding (Seth, 28 Oct); no 60px token, so 48 + 12. */
.hero-lede { padding-right: calc(var(--s-7) + var(--s-3)); }
/* No short words left hanging at a line end in the subhead: "and" is bound to the next word in the HTML, and the
   browser balances the last lines (Seth, 28 Oct). */
.hero-lede { text-wrap: pretty; }
.ground-primary .help-text { text-wrap: pretty; }
/* Hero form button (Seth, 28 Oct): Fredoka like the header nav, uppercase, a touch of letter spacing (the nav's 1px);
   on hover primary teal with white text, its border kept white so the button edge stays visible on the teal ground. */
.url-form .btn { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 1px; }
.ground-primary .url-form .btn-primary:hover { background: var(--c-primary); color: white; border-color: white; }
/* Hero form (Seth, 28 Oct): input 40px wider, button 12px more padding each side and a touch more letter spacing.
   The form cap grows by the 40px plus the button's extra 24px, so the input gains a clean 40px. */
.url-form { max-width: calc(560px + 40px + 2 * var(--s-3) + 7px); } /* +7px: the wider letter spacing adds about 6.5px to the button */
.url-form .btn { padding-left: calc(var(--s-4) + var(--s-3)); padding-right: calc(var(--s-4) + var(--s-3)); letter-spacing: 1.5px; }
/* The input's help line capped at the input's earlier width, 376px, so it wraps after "your page," (Seth, 28 Oct). */
.url-form .help-text { max-width: 376px; }
/* A clear line (20px, the help line's height) between the input help and the agency line; in side-by-side mode the
   hero's bottom padding gives back the same 12px, so the hero keeps its height and the agency line moves down
   (Seth, 28 Oct). Stacked, the frame is the last item, so the padding is left alone there. */
.url-form + .help-text { margin-top: calc(var(--s-3) + var(--s-2)); }
@media (min-width: 801px) { .hero { padding-bottom: calc(var(--s-7) - var(--s-3)); } }
@media (min-width: 1024px) { .hero { padding-bottom: calc(var(--s-8) - var(--s-3)); } }
/* Hero links (Seth, 28 Oct): no underline at rest, bold white marks the link; the underline appears on hover and focus. */
.ground-primary a:not(.btn) { text-decoration: none; }
.ground-primary a:not(.btn):hover, .ground-primary a:not(.btn):focus-visible { text-decoration: underline; text-underline-offset: 4px; color: white; }

/* Frame bottom on the baseline of the subhead's last line (Seth, 28 Oct). Side by side, the text wrappers step aside
   (display: contents) so the H1, both subhead paragraphs, the form and the agency line are rows of the 5-column
   grid, with no row gap so the text keeps its own margins. The frame spans the first three rows (H1 and both
   paragraphs) and stretches to their end. That end is the last paragraph's bottom plus its 24px margin; the
   baseline sits 9px above the paragraph's bottom at 20/30, so the frame stops 33px short. Measured at 1440, 1004
   and 820. */
@media (min-width: 801px) {
  .v3-hero-grid { row-gap: 0; }
  .v3-hero-grid .v3-hero-text, .v3-hero-grid .hero-copy { display: contents; }
  .v3-hero-grid .hero-head, .v3-hero-grid .hero-lede, .v3-hero-grid .url-form, .v3-hero-grid .url-form + .help-text { grid-column: 1 / span 3; }
  .v3-hero-grid .hero-frame { grid-column: 4 / span 2; grid-row: 1 / span 3; align-self: stretch; min-height: 0; margin-bottom: calc(var(--s-5) + 9px); }
}
/* Grid items do not collapse margins: the form's 8px bottom margin now adds to the agency line's 20px top margin, so
   in grid mode the agency line takes 12px to keep the one-line gap. */
@media (min-width: 801px) { .v3-hero-grid .url-form + .help-text { margin-top: var(--s-3); } }
/* Frame hairline in the styleguide's default chip border colour, --c-invert-2 (Seth, 28 Oct). */
.hero-frame { border: 1px solid var(--c-invert-2); }
/* One edge only: the tray shadow's own 1px invert-1 inset hairline sat just inside the new border and read as a
   second, inset line, so the frame keeps the border and only the soft inner shadow (Seth, 28 Oct). */
.hero-frame { box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.08); }
/* Hero form corners: input and button up from --r-sm (4px) to --r-md (8px) (Seth, 28 Oct). */
.url-form .input, .url-form .btn { border-radius: var(--r-md); }
/* Header Sign In: Fredoka, uppercase, 1.5px letter spacing, as the hero's Find Keywords button (Seth, 28 Oct). */
.site-header .header-tools .btn { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 1.5px; }
/* Frame border in primary teal; the hero input and button get a 1px primary teal border (Seth, 28 Oct). The button's
   hover keeps its white border so its edge stays visible once its fill turns primary teal. */
.hero-frame { border-color: var(--c-primary); }
.url-form .input { border: 1px solid var(--c-primary); }
.ground-primary .url-form .btn-primary { border: 1px solid var(--c-primary); }
.ground-primary .url-form .btn-primary:hover { border-color: white; }
/* Input: no grey "filled" state (Seth, 28 Oct; logged for removal from the styleguide), and a focus halo that shows on
   the teal ground: the canon ring is 12% primary teal, invisible on teal, so here it is white at 35% with a white
   border. */
.url-form .input:not(:placeholder-shown) { background: white; }
.ground-primary .url-form .input:focus { border-color: white; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }

/* See a Real Report (Seth, 28 Oct): outline button under the frame, frame width, Fredoka uppercase with the Find
   Keywords spacing, 48px tall with 8px corners, on the form's row so it sits level with the Find Keywords button. */
.ground-primary .btn-outline { background: transparent; color: white; border: 1px solid white; }
.ground-primary .btn-outline:hover { background: white; color: var(--c-primary); border-color: white; }
.hero-report { height: 48px; border-radius: var(--r-md); font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 1.5px; width: 100%; }
@media (min-width: 801px) {
  .v3-hero-grid .hero-report { grid-column: 4 / span 2; grid-row: 4; align-self: start; }
}
/* No forced H1 break anywhere (Seth, 28 Oct): the H1 wraps naturally at every width. */
.hero-head .h1-a::after { content: none !important; }

/* Stacked (800px and below), Seth 28 Oct: the subhead, the form and its help line run full width, and the input
   shrinks so Find Keywords stays inline beside it (the canon field-row wraps below 800; overridden here). */
@media (max-width: 800px) {
  .hero-lede { max-width: 100%; padding-right: 0; }
  .url-form { max-width: 100%; }
  .url-form .help-text { max-width: 100%; }
  .url-form .field-row { flex-wrap: nowrap; }
  .url-form .field-row > .field { flex: 1 1 0; min-width: 0; }
}
/* Phones (below 560px, Seth 28 Oct): the input runs full width and Find Keywords sits centred beneath it. */
@media (max-width: 559px) {
  .url-form .field-row { flex-wrap: wrap; justify-content: center; }
  .url-form .field-row > .field { flex: 1 1 100%; }
  /* the scan bar clone (30 Oct) wraps its input in .scanbar2-row, not .field, so it stacks too (Seth, 8 Nov 2026) */
  .url-form .field-row > .scanbar2-row { flex: 1 1 100%; }
  /* the hero form's keyword line and the agency line under it sit centred, as the button above them (Seth, 14 Nov 2026) */
  #top .url-form .help-text, #top .url-form + .help-text { text-align: center; }
}

/* ---------------------------------------------------------------- hero carousel (Seth, 28 Oct) */
/* Inside the frame: transparent, centred, no controls. Slides stack in one cell and crossfade. */
.hero-frame { display: flex; align-items: center; justify-content: center; padding: var(--s-5); }
.hc { display: grid; width: 100%; }
.hc-slide { grid-area: 1 / 1; opacity: 0; transition: opacity 0.6s ease; display: flex; align-items: center; justify-content: center; }
.hc-slide.is-on { opacity: 1; }
/* The odometer: each digit is a 1em window over a 0 to 9 strip.
   ALWAYS CHECK (Seth, 8 Nov 2026): every new place a figure rolls needs its own scoped 1lh window rule (see .rt-panel,
   .v3-proof, .v3-stat-n, .win-fig): `.X .hc-digit { display: inline-block; vertical-align: top; height: 1lh; overflow:
   hidden }` and `.X .hc-strip > span { display: block; height: 1lh; line-height: inherit }`. Without it the 1em window
   differs from the line box and the figure jumps when it settles back to plain text. */
.hc-digit { display: inline-block; height: 1em; overflow: hidden; }
.hc-strip { display: flex; flex-direction: column; }
.hc-strip > span { height: 1em; line-height: 1em; }
@media (prefers-reduced-motion: reduce) { .hc-slide { transition: none; } }
/* Frame inner shadow: even on all four edges, the header bar's 8px blur with no offset at 8% (an inset shadow shows
   only half its blur, so double the header's 4%) (Seth, 30 Oct; was 2px 4px at 32% from 28 Oct). */
.hero-frame { box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.16); }

/* ---- Hero carousel slide 1: the report summary tiles (Seth, 28 Oct 2026). Copied from the app (app.css .report-root and
   .root-tile*, origin/dev) with the app's own token values, scoped under .rt-panel so nothing leaks into the site.
   One tile per slide at a fixed 220px wide (fits the 320px phone frame) and a fixed height, so the tile never changes shape as the frame resizes. ---- */
.rt-panel { display: flex; justify-content: center; --rt-h: 180px; }  /* 180px = the tallest tile (Visibility) at 220px wide */
.rt-panel .root-tile { box-sizing: border-box; width: 220px; height: var(--rt-h, auto); flex: none; display: flex; flex-direction: column; gap: 4px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px 18px; }
.rt-panel .root-tile-label { font-family: 'Fredoka', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #7D8284; line-height: normal; }
.rt-panel .root-tile-stat { font-family: 'Fredoka', sans-serif; font-size: 22px; font-weight: 500; line-height: 1.2; color: #02605C; }
.rt-panel .root-tile-stat2 { font-family: 'Fredoka', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.2; color: #02605C; }
.rt-panel .root-tile-sub { font-size: 13px; line-height: 1.4; color: #7D8284; }
/* The odometer inside running text: each digit is a one-line window the height of its line. */
.rt-panel .hc-digit { display: inline-block; vertical-align: top; height: 1lh; overflow: hidden; }
.rt-panel .hc-strip > span { display: block; height: 1lh; line-height: inherit; }

/* ---- Tile slides: a benefit heading above the tile and a qualifier below (Seth, 28 Oct 2026). ---- */
.hc-slide { flex-direction: column; gap: var(--s-4); text-align: center; }
.rt-panel { text-align: left; }  /* the tile keeps the app's left alignment inside the centred slide */
/* Heading and footer: one style for both, Fredoka 20px in the body colour (#303030, the canon --c-body; literal because
   the hero's dark ground remaps the tokens), so the lines read apart from the teal tiles (Seth, 28 Oct). */
.hero-frame .hc-head, .hero-frame .hc-foot { margin: 0; font-family: var(--ff-display); font-weight: 500; font-size: 20px; line-height: 26px; color: #303030; text-wrap: balance; }

/* ---- Hero carousel slide 5: the Health hero's gauges (Seth, 28 Oct 2026). App styles copied from app.css (.score-keyword,
   .score-rating, .dot, .hero-region, .mini-gauge, .mini-gauge-label) with the app's literal colours, scoped under .hg-panel.
   Fixed 220px wide like the tiles: total on top with keyword, rating and region, then a row of two and a row of three. ---- */
.hg-panel { width: 220px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hg-panel .score-keyword { font-size: 20px; line-height: 26px; font-weight: 700; color: #303030; margin-bottom: 8px; overflow-wrap: break-word; }
.hg-panel .score-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 19px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; transition: background-color 0.2s, color 0.2s; }
.hg-panel .score-rating[data-rating="green"] { background: #F0FDF4; color: #16A34A; }
.hg-panel .score-rating[data-rating="amber"] { background: #FFFBEB; color: #D97706; }
.hg-panel .score-rating[data-rating="red"] { background: #FEF2F2; color: #DC2626; }
.hg-panel .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.hg-panel .dot-green { background: #16A34A; } .hg-panel .dot-amber { background: #D97706; } .hg-panel .dot-red { background: #DC2626; }
.hg-panel .hero-region { margin-top: 8px; text-align: center; font-weight: 700; font-size: 13px; line-height: 17px; letter-spacing: 0.03em; color: #303030; }
.hg-panel .hg-row { display: flex; justify-content: center; gap: 16px; width: 100%; margin-top: 16px; }
.hg-panel .hg-row-3 { justify-content: space-between; gap: 0; }
.hg-panel .mini-gauge { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.hg-panel .mini-gauge-label { font-size: 14px; line-height: 18px; font-weight: 500; color: #2A8A81; text-align: center; white-space: nowrap; }
.hg-panel svg { display: block; }
/* The canon makes any class ending in -label uppercase and black; the app's gauge and badge labels are not, so undo it here. */
.hg-panel .mini-gauge-label { text-transform: none; letter-spacing: normal; }
.hg-panel .score-rating-label { color: inherit; text-transform: inherit; letter-spacing: inherit; }
/* Gauge numbers in the site's M PLUS (the SVG names 'M PLUS Rounded 1c', which the site loads under its own alias),
   and the row of three on three equal columns so the rings sit evenly spaced. */
.hg-panel svg text { font-family: "M PLUS", system-ui, sans-serif; }
.hg-panel .hg-row-3 { display: flex; justify-content: center; gap: 10px; }  /* centred with a 10px gap: equal columns made Technical and Performance touch */
/* Gauge slide, take two (Seth, 28 Oct): keep the frame at its original size. The quoted keyword and the rating sit on one
   line; the total ring is 84px (30% under the app's 120); the rows sit on equal 84px columns, wider than the panel so
   the rings spread out evenly with each label centred under its ring. */
.hg-panel .hg-top { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; white-space: nowrap; }
.hg-panel .hg-top .score-keyword { margin-bottom: 0; }
.hg-panel .hg-top .score-rating { margin-bottom: 0; }
.hg-panel .hg-row, .hg-panel .hg-row-3 { display: grid; grid-auto-flow: column; grid-auto-columns: 84px; justify-content: center; justify-items: center; gap: 0; width: auto; }
/* ...and 32px of spacing back so the frame returns to its original 362px at desktop: rows 16 to 8px apart, ring to label
   8 to 4px, region 8 to 4px under the ring, keyword line 12 to 6px above the ring. */
.hg-panel .hg-row { margin-top: 8px; }
.hg-panel .mini-gauge { gap: 4px; }
.hg-panel .hero-region { margin-top: 4px; }
.hg-panel .hg-top { margin-bottom: 6px; }

/* ---- Hero carousel slides 6 to 9: the stats (Seth, 28 Oct 2026). Same heading and line style as the tile slides; the
   figure in Fredoka teal rolls on entry; a pair sits side by side with its caption beneath in the same teal; the credit
   is small grey, a link to the source. Fixed 220px wide like every slide. ---- */
.hs-panel { width: 220px; display: flex; flex-direction: column; align-items: center; gap: var(--s-4); text-align: center; }
.hs-fig { font-family: var(--ff-display); font-weight: 500; font-size: 64px; line-height: 72px; color: #02605C; white-space: nowrap; }
.hs-fig-word { font-size: 28px; margin-left: 8px; letter-spacing: 1px; }
.hs-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); width: 100%; }
.hs-col { display: flex; flex-direction: column; align-items: center; gap: var(--s-1); }
.hs-fig-pair { font-size: 40px; line-height: 48px; }
.hs-cap { font-family: var(--ff-display); font-weight: 500; font-size: 16px; line-height: 20px; color: #02605C; }
.hero-frame .hs-credit { margin: 0; font-size: 13px; line-height: 18px; color: #7D8284; }
.hero-frame .hs-credit a { color: inherit; text-decoration: none; }
.hero-frame .hs-credit a:hover { text-decoration: underline; }
.hero-frame .hs-credit .brand { color: #02605C; }
.hero-frame .hs-credit .brand .brand-alt { color: #2A8A81; }
/* The odometer inside the big figures: one line tall, the strips step by percent (see v3.js). */
.hs-panel .hc-digit { display: inline-block; vertical-align: top; height: 1lh; overflow: hidden; }
.hs-panel .hc-strip > span { display: block; height: 1lh; line-height: inherit; }
/* The canon sets link weight; credits stay at body weight. Pair figures 40 to 36px so 15.9% and 1.76% keep a gap. */
.hero-frame .hs-credit a { font-weight: inherit; }
.hs-fig-pair { font-size: 36px; line-height: 44px; }
/* Stat slides, take two (Seth, 28 Oct): the figure fills a stage the size of an app tile (220 by 180), so the heading and
   the line below sit roughly where they sit on the tile slides. */
.hs-stage { width: 220px; height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hs-stage .hs-pair { gap: 8px; }
.hs-fig-pair { font-size: 46px; line-height: 54px; }
.hs-fig-pew { font-size: 76px; line-height: 84px; }
.hs-fig-xl { font-size: 120px; line-height: 120px; }
.hs-stage .hs-fig-word { display: block; margin: 0; font-family: var(--ff-display); font-weight: 500; font-size: 36px; line-height: 40px; letter-spacing: 2px; color: #02605C; }
.hs-stage .hs-cap { font-size: 18px; line-height: 22px; }
.hs-fig-pair { font-size: 44px; line-height: 52px; }   /* 46 put 15.9% and 1.76% 4px over the 220px stage */
.hs-fig-xl { font-size: 114px; line-height: 116px; }   /* 120 put 58% 4px over */
/* Rolling digits: each column is set to its final digit's width by v3.js; the strip's digits centre in it, so a wider
   digit passing through is clipped at the sides rather than pushing its neighbours. */
.hc-digit { text-align: center; }
.hc-strip > span { display: block; text-align: center; }
/* Seer's pair kept a gap: 44 to 40px. */
.hs-fig-pair { font-size: 40px; line-height: 48px; }
.hs-stage .hs-pair { gap: 16px; }
.hs-fig-g { font-size: 72px; line-height: 80px; }   /* 2.5bn+ at 76px ran 5px over the 220px stage */
/* Stat headings and lines may run wider than the 220px figure stage (up to 320px, never wider than the phone frame's
   inside), so the Ahrefs slide's two lines stay on one line each at desktop and the frame keeps its original height. */
.hs-panel .hc-head, .hs-panel .hc-foot { width: 320px; max-width: calc(100vw - 98px); }

/* ---- Stat slides, take three (Seth, 28 Oct). Every stat slide has the same skeleton as a tile slide: a heading line,
   a 180px-tall middle, a bottom line, 16px apart, so the heading and bottom line land exactly where they do on the tile
   slides. The middle spans the frame's full width and the figure is sized from that width (container units), so it
   fills the frame at every viewport instead of sitting in a 220px box. Credits: on the slides with a bottom line the
   credit hangs below it out of flow; on the two pair slides the credit is the bottom line. ---- */
.hs-panel { width: 100%; position: relative; gap: var(--s-4); }
.hs-panel .hc-head, .hs-panel .hc-foot { width: auto; max-width: none; }
.hs-stage { width: 100%; height: 180px; container-type: inline-size; }
.hs-fig { line-height: 1; }
.hs-fig-pew { font-size: min(150px, calc(92cqi / 2.8)); }
.hs-fig-g { font-size: min(150px, calc(92cqi / 2.98)); }
.hs-fig-xl { font-size: min(150px, calc(92cqi / 3.0)); }
.hs-fig-xl .hs-fig-word { display: inline; margin-left: 0.12em; font-size: 0.42em; letter-spacing: 0.04em; }
.hs-stage .hs-pair { gap: 4cqi; }
.hs-fig-pair { font-size: min(110px, calc(44cqi / 2.45)); line-height: 1; }
.hs-stage .hs-cap { font-size: min(24px, calc(44cqi / 7)); line-height: 1.25; margin-top: 4px; }
.hero-frame .hs-credit { position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; }
.hero-frame .hs-credit.hs-credit-foot { position: static; margin: 0; line-height: 26px; }
.hs-fig-xl .hs-fig-word { margin-left: 0.3em; }   /* LESS was touching the % */
/* Only the showing slide takes clicks. The slides share one grid cell, so a faded slide above it in the stack was catching
   every click and the credit links never reached their sources (Seth, 28 Oct). */
.hc-slide { pointer-events: none; }
.hc-slide.is-on { pointer-events: auto; }
.hc-slide { transition: opacity 0.72s ease; }   /* crossfade 0.6s to 0.72s, 20% slower (Seth, 28 Oct) */

/* ---------------------------------------------------------------- act 2, the proof (Seth, 28 Oct) */
.v3-proof { background: #FFFFFF; padding: var(--s-7) 0; }
.v3-proof-eyebrow { margin: 0 0 var(--s-4); text-align: right; font-family: var(--ff-display); font-weight: 300; font-size: 14px; line-height: 20px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-mid); }
.v3-proof-grid { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; column-gap: var(--s-6); row-gap: var(--s-5); }
.v3-proof-fig { font-family: var(--ff-display); font-weight: 500; font-size: 144px; line-height: 1; color: var(--c-primary); white-space: nowrap; }
.v3-proof-title { margin: 0; font-family: var(--ff-display); font-weight: 500; font-size: 48px; line-height: 52px; color: var(--c-primary); }
.v3-proof-sub { margin: var(--s-2) 0 0; font-family: var(--ff-display); font-weight: 300; font-size: 22px; line-height: 30px; color: var(--c-body); }
.v3-proof-sub .brand { font-weight: 500; }
.v3-proof-story { margin: 0; font-size: 16px; line-height: 24px; color: var(--c-body); text-wrap: pretty; }
.v3-proof .hc-digit { display: inline-block; vertical-align: top; height: 1lh; overflow: hidden; text-align: center; }
.v3-proof .hc-strip { display: flex; flex-direction: column; }
.v3-proof .hc-strip > span { display: block; height: 1lh; line-height: inherit; text-align: center; }
@media (max-width: 1023px) {
  .v3-proof-grid { grid-template-columns: auto minmax(0, 1fr); }
  .v3-proof-story { grid-column: 1 / -1; }
  .v3-proof-fig { font-size: 112px; }
  .v3-proof-title { font-size: 40px; line-height: 44px; }
}
@media (max-width: 559px) {
  .v3-proof-grid { grid-template-columns: minmax(0, 1fr); }
  .v3-proof-fig { font-size: 96px; }
  .v3-proof-title { font-size: 32px; line-height: 38px; }
  .v3-proof-sub { font-size: 18px; line-height: 26px; }
}
/* Proof act tweaks (Seth, 28 Oct): eyebrow in the secondary teal, a step larger (14 to 16px), bottom margin cut by a third
   (16 to 11px); a grey disclaimer line under the figure. */
.v3-proof-eyebrow { color: var(--c-secondary); font-size: 16px; line-height: 22px; margin-bottom: 11px; }
.v3-proof-note { margin: var(--s-2) 0 0; font-size: 14px; line-height: 20px; color: var(--c-mid); }
.v3-proof-eyebrow { margin-bottom: 4px; }   /* 11 to 4px, tighter still (Seth, 28 Oct) */
@media (max-width: 559px) { .v3-proof-eyebrow { text-align: center; } }   /* phone tier: eyebrow centred (Seth, 28 Oct) */
@media (max-width: 559px) { .v3-proof-figcell, .v3-proof-head { text-align: center; } }   /* phone tier: figure and headline cells centred (Seth, 28 Oct) */
@media (max-width: 800px) { .v3-proof-eyebrow { text-align: center; } }   /* centred from the hamburger switch down (Seth, 28 Oct) */
@media (max-width: 800px) { .v3-br-wide { display: none; } }   /* the forced break after "for" goes below 800px; the line flows (Seth, 28 Oct) */

/* ---------------------------------------------------------------- act 3, Paste. Score. Fix. (Seth, 28 Oct)
   v2's rules for this act, copied from v2 site.css as they stand. The form takes v3's url-form rules. */
.scene { padding: var(--s-8) 0; }
.scene.ground-bg { background: var(--c-bg); }
.scene > .container > .act-head > h2 { margin-bottom: var(--s-3); }
.act-head { margin-bottom: var(--s-6); }
.steps .card { padding: var(--s-5); }
.steps .bubble { margin-bottom: var(--s-3); }
.steps h3 { text-transform: none; letter-spacing: 0; margin-bottom: var(--s-2); }
.steps p { margin: 0; }
.after-steps { margin-top: var(--s-6); max-width: 560px; }
.url-form-prompt { font-weight: 500; margin-bottom: var(--s-2); }
@media (max-width: 860px) { .scene { padding: var(--s-7) 0; } }
.url-form.after-steps { max-width: calc(560px + 40px + 2 * var(--s-3) + 7px); }   /* same width as the hero form, so the placeholder is not clipped */
/* Act 3 form (Seth, 28 Oct): the whole assembly centred; the help line takes the form's full width. */
.url-form.after-steps { margin-left: auto; margin-right: auto; text-align: center; }
.url-form.after-steps .field-row { justify-content: center; }
.url-form.after-steps .field { text-align: left; }
.url-form.after-steps .help-text { max-width: none; }
@media (max-width: 800px) { .url-form.after-steps { max-width: 100%; } }   /* follows the hero form below 800px too */
/* Act 3 cards (Seth, 28 Oct): the verb sits top left beside its step bubble, in Fredoka capitals, same weight and colour. */
.steps .step-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.steps .step-head .bubble { margin-bottom: 0; flex: none; }
.steps .step-head h3 { margin: 0; font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 1.5px; }
.steps .step-head { justify-content: space-between; }   /* bubble top left, verb top right (Seth, 28 Oct) */
/* Act 3 (Seth, 28 Oct): heading centred; card verbs in the secondary teal at the eyebrow's light weight. */
#how .act-head { text-align: center; }
.steps .step-head h3 { color: var(--c-secondary); font-weight: 300; }
.v3-proof-eyebrow { margin-bottom: -13px; }   /* visible gap to the cells halved, about 33 to 16px; the figure line box carries its own air above the glyphs (Seth, 28 Oct) */
.v3-proof-eyebrow { font-size: 18px; line-height: 24px; }   /* one more step, 16 to 18px (Seth, 28 Oct) */
.v3-proof-eyebrow { margin-bottom: 11px; }   /* -13 to 11px, one 24px line clear of the story when it wraps (Seth, 28 Oct) */
.steps .bubble { font-weight: 700; }   /* step numbers 500 to 700, the next weight M PLUS ships (Seth, 28 Oct) */
.steps .bubble { font-family: var(--ff-display); font-weight: 500; }   /* Fredoka for the step digits; 500 is the heaviest Fredoka weight loaded (Seth, 28 Oct) */
.steps .bubble { font-size: 24px; line-height: 1; }   /* digits match the card verbs at 24px (Seth, 28 Oct) */
.ground-primary .hero-frame .hs-credit a:not(.btn):hover, .ground-primary .hero-frame .hs-credit a:not(.btn):focus-visible { color: var(--c-secondary); }   /* carousel credits hover secondary teal, not the dark-ground white (Seth, 28 Oct) */

/* ---- First scroll effect (Seth, 28 Oct): ScrollCraft's once-on-entry reveal on the How it works cards. The row itself
   stays put; its cards slide in from the right of the screen, one after another, from 800px up, and slide up where the
   cards stack (below 800px). The section clips sideways so the incoming cards never add a horizontal scroll. ---- */
#how { overflow-x: clip; }
#how .steps[data-sc-in] { opacity: 1; transform: none; }
.sc-ready #how .steps[data-sc-stagger] > * { transform: translate3d(60vw, 0, 0); transition-duration: 900ms; }
.sc-ready #how .steps[data-sc-stagger] > .sc-in { transform: none; }
@media (max-width: 799px) {
  .sc-ready #how .steps[data-sc-stagger] > * { transform: translate3d(0, 48px, 0); transition-duration: 700ms; }
  .sc-ready #how .steps[data-sc-stagger] > .sc-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-ready #how .steps[data-sc-stagger] > * { transform: none; transition-duration: 220ms; }
}
/* ScrollCraft's flow-reveal rules, copied from vendor/scrollcraft/scrollcraft.css (not loaded on v3: its page-wide base
   styles would override the styleguide). Scoped under .sc-ready, which the engine sets on <html> when it mounts, so the
   content stays visible if the script never runs. */
.sc-ready [data-sc-in], .sc-ready [data-sc-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 620ms cubic-bezier(0.23, 1, 0.32, 1), transform 620ms cubic-bezier(0.23, 1, 0.32, 1);
}
.sc-ready [data-sc-in].sc-in, .sc-ready [data-sc-stagger] > .sc-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sc-ready [data-sc-in], .sc-ready [data-sc-stagger] > * { transform: none; transition-duration: 220ms; }
}
.ground-primary .hero-frame .hs-credit a:not(.btn):hover, .ground-primary .hero-frame .hs-credit a:not(.btn):focus-visible { text-decoration: none; }   /* house hover = colour change only, no underline; the hero agency link keeps its underline because it does not change colour (Seth, 28 Oct) */
/* How it works cards about 30% slower (Seth, 28 Oct): 900 to 1170ms on desktop, 700 to 910ms stacked; stagger 160 to 210ms. */
.sc-ready #how .steps[data-sc-stagger] > * { transition-duration: 1170ms; }
@media (max-width: 799px) { .sc-ready #how .steps[data-sc-stagger] > * { transition-duration: 910ms; } }
@media (prefers-reduced-motion: reduce) { .sc-ready #how .steps[data-sc-stagger] > * { transition-duration: 220ms; } }
.steps p + p { margin-top: var(--s-3); }   /* paragraph breaks inside the step cards (Seth, 28 Oct) */
.steps p { text-wrap: pretty; }   /* no one-word last lines in the step cards (Seth, 28 Oct) */
.steps p { text-wrap: wrap; }   /* balancing removed: natural reflow, Seth judges any wrap fixes live (28 Oct) */
.v3-proof-story, .hero-frame .hc-head, .hero-frame .hc-foot { text-wrap: wrap; }   /* natural wrapping: these were balanced unasked (Seth rule, 28 Oct) */

/* ---- The 42% stat card in How it works (Seth, 28 Oct): from the cloud design probe. Canon .card.stroke.primary with the
   probe's heavier 6px stroke; the figure beside its line; the source right-aligned, link in the house style (colour,
   no underline); the card centred in the act at its own width. ---- */
.v3-stat-wrap { display: flex; justify-content: center; margin-top: var(--s-6); }
.v3-stat-card { width: fit-content; max-width: 760px; margin: 0; padding: var(--s-5); border-left-width: 6px; }
/* Act 4's +120% card takes the canon .callout-feature tint (components.css), border and stroke unchanged (Seth, 8 Nov 2026). */
#win .v3-stat-card { background: linear-gradient(180deg, color-mix(in srgb, var(--c-secondary) 4%, transparent), color-mix(in srgb, var(--c-secondary) 8%, transparent)); }
.v3-stat-row { display: flex; align-items: center; gap: var(--s-5); }
.v3-stat-n { margin: 0; flex: none; font-family: var(--ff-display); font-weight: 500; font-size: 64px; line-height: 1; color: var(--c-primary); }
.v3-stat-l { margin: 0; font-size: 18px; line-height: 27px; color: var(--c-body); max-width: 52ch; }
.v3-stat-src { margin: var(--s-3) 0 0; text-align: right; font-size: 14px; line-height: 20px; color: var(--c-mid); }
.v3-stat-src a { color: var(--c-primary); font-weight: 500; text-decoration: none; }
.v3-stat-src a:hover, .v3-stat-src a:focus-visible { color: var(--c-secondary); text-decoration: none; }
@media (max-width: 559px) {
  .v3-stat-row { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
}
.v3-stat-n .hc-digit { display: inline-block; vertical-align: top; height: 1lh; overflow: hidden; } .v3-stat-n .hc-strip > span { display: block; height: 1lh; }   /* the 42% rolls on view like the proof figure (Seth, 28 Oct) */
.url-form.after-steps { margin-top: calc(var(--s-6) + var(--s-5)); } .v3-stat-wrap { margin-top: calc(var(--s-6) + var(--s-5)); }   /* 24px more air above and below the How it works form, 32 to 56px (Seth, 28 Oct) */

/* ---------------------------------------------------------------- act 4, what each page can win (Seth, 28 Oct)
   Top block: v2's rules (lead 20/30 at 70ch), heading and lead centred at their limited width. Lists and screenshot:
   the cloud design probe's rules (design-probe/css/site.css), scoped to #win, with the probe's literal colours. */
#win .act-head { text-align: center; max-width: 70ch; margin-left: auto; margin-right: auto; }
#win .act-head .lead { font-size: 20px; line-height: 30px; max-width: 70ch; margin: 0 auto; }
.v3-pro-chip { display: inline-block; vertical-align: 0.1em; margin-left: 4px; padding: 1px 9px; border-radius: 999px; background: #02605C; color: #FFFFFF; font-family: var(--ff-body); font-style: normal; font-weight: 700; font-size: 12px; line-height: 1.6; letter-spacing: 0.02em; text-transform: none; }
.win-cols { display: grid; gap: 28px; }
.win-cols > * { min-width: 0; }
#win .win-cols h3 { font-family: var(--ff-display); font-weight: 500; font-size: 21px; line-height: 1.25; letter-spacing: -0.005em; color: #17302E; margin: 0 0 12px; text-transform: none; }
.win-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.win-ticks li { position: relative; padding-left: 30px; font-size: 16px; color: #2E4442; }
.win-ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: #E4EFEE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%2302605C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.win-shot { margin: 32px 0 0; }
.win-shot img { display: block; width: 100%; height: auto; border: 1px solid #D6E2E1; border-radius: 10px; background: #FFFFFF; box-shadow: 0 6px 24px rgba(2, 60, 57, 0.08); }
.win-shot figcaption { margin-top: 10px; font-size: 14px; color: #5F706F; max-width: 70ch; }
@media (min-width: 800px) { .win-cols { grid-template-columns: 1fr 1fr; gap: 36px; } .win-shot { margin-top: 40px; } }
@media (min-width: 1024px) { .win-ticks li { font-size: 16.5px; } }
.v3-pro-chip { position: relative; top: -4px; }   /* lifted 4px against the baseline (Seth, 28 Oct) */
#win .act-head { max-width: 940px; } #win .act-head .lead { max-width: 900px; }   /* heading 868 to 940px so it sits on one line, lead 868 to 900px so "gain." is not alone (Seth, 28 Oct) */

/* Act 4 pinned stage (Seth, 8 Nov 2026; rule-5 prototype, styleguide-pending 28: a scroll-stepped sticky frame).
   Captions left, a sticky frame right that cross-fades real screenshots with a highlight box on the part the caption
   names. The caption nearest mid-viewport is the active step (v3.js). Phone: no frame, each caption carries its own
   shot. Literal colours as the rest of #win (the design probe's palette). */
.win-stage { margin: 40px 0 0; }
.win-steps { list-style: none; margin: 0; padding: 0; }
.win-step { padding: 0 0 40px; }
.win-step-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.win-step-num { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #E6F0EF; color: #02605C; font-family: var(--ff-display); font-weight: 500; font-size: 16px; line-height: 1; }
#win .win-step h3 { font-family: var(--ff-display); font-weight: 500; font-size: 24px; line-height: 32px; color: #17302E; margin: 0; text-transform: uppercase; letter-spacing: 1.5px; }   /* Fredoka uppercase (Seth, 8 Nov 2026) */
#win .win-step h3 .v3-pro-chip { top: -2px; margin-left: 4px; text-transform: none; letter-spacing: normal; }
.win-step p { margin: 0 0 8px; font-size: 16.5px; line-height: 26px; color: #2E4442; max-width: 44ch; }
#win .win-step .win-fig { margin: 0; font-family: var(--ff-display); font-weight: 500; font-size: 48px; line-height: 56px; color: #02605C; white-space: nowrap; }
.win-fig-pre { font-size: 24px; font-weight: 400; margin-right: 4px; }
/* The odometer inside the step figure: a one-line window the height of its line, so the settle (strips swapped back to
   plain text) does not jump (the same fix as .rt-panel, .v3-proof and .v3-stat-n). */
.win-fig .hc-digit { display: inline-block; vertical-align: top; height: 1lh; overflow: hidden; text-align: center; }
.win-fig .hc-strip { display: flex; flex-direction: column; }
.win-fig .hc-strip > span { display: block; height: 1lh; line-height: inherit; text-align: center; }
#win .win-step .win-fig-cap { margin: 0 0 16px; font-family: var(--ff-display); font-weight: 500; font-size: 16px; line-height: 24px; color: #02605C; }
#win .win-step .win-step-note { margin: 0; font-size: 14px; line-height: 20px; color: #5F706F; }
.win-step-shot { margin: 16px 0 0; }
.win-step-shot img, .win-slide img { display: block; width: 100%; height: auto; border: 1px solid #D6E2E1; border-radius: 10px; background: #FFFFFF; box-shadow: 0 6px 24px rgba(2, 60, 57, 0.08); }
.win-frame { display: none; }
.win-stage + .win-cols { margin-top: 48px; }
@media (min-width: 800px) {
  .win-stage { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: start; margin-top: 48px; }
  .win-step { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; padding: 0; }
  .win-stage.is-live .win-step { opacity: 0.32; transition: opacity 400ms ease; }
  .win-stage.is-live .win-step.is-active { opacity: 1; }
  .win-step-shot { display: none; }
  .win-frame { display: block; position: sticky; top: calc(50vh - 220px); }
  .win-frame-inner { position: relative; aspect-ratio: 1380 / 962; }
  .win-slide { position: absolute; top: 0; left: 0; width: 100%; margin: 0; opacity: 0; transition: opacity 500ms ease; }
  .win-stage:not(.is-live) .win-slide:first-child, .win-slide.is-on { opacity: 1; }
  .win-hl { position: absolute; border: 3px solid #D97706; border-radius: 8px; box-shadow: 0 0 0 6px rgba(217, 119, 6, 0.16); opacity: 0; transition: opacity 400ms ease 350ms; pointer-events: none; }
  .win-slide.is-on .win-hl { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .win-stage.is-live .win-step, .win-slide, .win-hl { transition: none; }
}
/* Act 5, the plan of action (Seth, 8 Nov 2026; rule-5 prototype, styleguide-pending 29: alternating image and text rows).
   Centred head as #win; rows of text (2fr) and shot (3fr), the shot side swapping each row from 800px; the step heading
   face of the act 4 stage (Fredoka uppercase); shots in the lightbox. */
#plan .act-head { text-align: center; max-width: none; }   /* the How act's full container width, so "context" does not hang (Seth, 8 Nov 2026) */
#plan .act-head .lead { font-size: 20px; line-height: 30px; max-width: 900px; margin: 0 auto; }
.plan-rows { display: grid; gap: 56px; margin-top: 48px; }
.plan-row { display: grid; gap: 24px; align-items: center; }
.plan-row-text > :last-child { margin-bottom: 0; }
#plan .plan-row h3 { font-family: var(--ff-display); font-weight: 500; font-size: 24px; line-height: 32px; color: #17302E; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 1.5px; }
#plan .plan-row p { margin: 0 0 12px; font-size: 16.5px; line-height: 26px; color: #2E4442; }
.plan-row-shot { margin: 0; }
.plan-row-shot img { display: block; width: 100%; height: auto; border: 1px solid #D6E2E1; border-radius: 10px; background: #FFFFFF; box-shadow: 0 6px 24px rgba(2, 60, 57, 0.08); }
@media (min-width: 800px) {
  .plan-rows { gap: 80px; margin-top: 56px; }
  .plan-row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; }
  .plan-row:nth-child(even) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .plan-row:nth-child(even) .plan-row-text { order: 2; }
}
/* Act 4 close: one large primary CTA, centred, with the How it works form block's air above and below (56px). The face
   is the site's uppercase Fredoka button style (as .url-form .btn). */
.win-cta { margin: calc(var(--s-6) + var(--s-5)) 0; text-align: center; }
.win-cta .btn { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 1.5px; padding-left: calc(var(--s-5) + var(--s-3)); padding-right: calc(var(--s-5) + var(--s-3)); }
/* Only the showing slide takes clicks (the hidden ones sit on top of it in the stack). */
.win-slide { pointer-events: none; }
.win-stage:not(.is-live) .win-slide:first-child, .win-slide.is-on { pointer-events: auto; }

/* The lightbox (Seth, 8 Nov 2026), copied from the agency page's site.css (styleguide-pending 23: scaffolding on the canon
   .modal). Sizes the one shared image card to the viewport with its aspect kept; the image shows at its full 1380px. */
.lightbox-card { max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.lightbox-card img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - var(--s-8) - var(--s-8)); object-fit: contain; background: white; }
.lightbox-card .card-body { padding: var(--s-3) var(--s-4); }
.lightbox-card .card-body p { margin: 0; }
.lightbox-card .notice-close { background: white; border-radius: var(--r-pill); z-index: 1; }
figure[data-modal-open] { cursor: zoom-in; }
figure[data-modal-open]:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* T9 consent banner (30 Oct 2026): the site's own banner (/assets/js/consent.js injects the markup and its own
   base styles) restyled with the site's tokens. Pinned to the bottom of the viewport so it never sits over the fixed
   header; card as the stroked cards above; buttons as the site's Fredoka capitals. Selectors carry the banner id so
   they win over the injected class rules whatever the load order. */
body #optimai-consent-banner { top: auto; bottom: calc(var(--site-footer-height) + var(--s-4)); left: var(--s-4); right: var(--s-4); font-family: var(--ff-body); }
#optimai-consent-banner .optimai-consent-card { background: var(--c-amber-fade); color: var(--c-body); border: 2px solid var(--c-amber);
  border-radius: var(--r-md); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); padding: var(--s-4) var(--s-5); gap: var(--s-3); }
#optimai-consent-banner .optimai-consent-text { font-size: 14px; line-height: 20px; color: var(--c-body); }
#optimai-consent-banner .optimai-consent-text a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 4px; }
#optimai-consent-banner .optimai-consent-text a:hover { color: var(--c-secondary); }
#optimai-consent-banner .optimai-consent-actions { gap: var(--s-2); }
#optimai-consent-banner .optimai-consent-btn { font-family: var(--ff-display); font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 14px; line-height: 20px; padding: var(--s-2) var(--s-4); border-radius: var(--r-md); }
#optimai-consent-banner .optimai-consent-accept { background: var(--c-primary); color: white; border-color: var(--c-primary); }
#optimai-consent-banner .optimai-consent-accept:hover { background: var(--c-secondary); border-color: var(--c-secondary); }
#optimai-consent-banner .optimai-consent-reject { background: transparent; color: var(--c-mid); border-color: var(--c-invert-1); }
#optimai-consent-banner .optimai-consent-reject:hover { background: var(--c-invert-2); color: var(--c-body); }
/* Act 5 plan row images (Seth, 8 Nov 2026): a beat later and a touch slower than the base reveal (620ms, no delay): 1200ms after a 350ms wait. */
.sc-ready #plan .plan-row-shot[data-sc-in] { transition-duration: 1200ms; transition-delay: 350ms; }
@media (prefers-reduced-motion: reduce) { .sc-ready #plan .plan-row-shot[data-sc-in] { transition-duration: 220ms; transition-delay: 0ms; } }
/* Act 5 CTA reassurance line (Seth, 9 Nov 2026): the canon small (16px) on its own line under the button, mid ink. */
.win-cta small { display: block; margin-top: var(--s-3); color: var(--c-mid); }
/* Act 6, what to write next (Seth, 9 Nov 2026; styleguide-pending 30, logged in TD STYLEGUIDE/BUGS.md): the two comparison
   panels side by side from 800px, then What to Write shown large. Shots reuse the act 5 plan-row-shot frame and reveal. */
#write .act-head { text-align: center; max-width: none; }
#write h3 { font-family: var(--ff-display); font-weight: 500; font-size: 24px; line-height: 32px; color: #17302E; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 1.5px; }
.write-gap { display: grid; gap: 48px; margin-top: 48px; }
.write-brief { margin: 64px auto 0; max-width: 1000px; }
@media (min-width: 800px) {
  .write-gap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 56px; }
  .write-brief { margin-top: 80px; }
}
.sc-ready #write .plan-row-shot[data-sc-in] { transition-duration: 1200ms; transition-delay: 350ms; }
@media (prefers-reduced-motion: reduce) { .sc-ready #write .plan-row-shot[data-sc-in] { transition-duration: 220ms; transition-delay: 0ms; } }
/* Act 6 copy and the matched pair (Seth, 9 Nov 2026): the two shots crop to one height (the Roto-Rooter panel's 1380/610), the
   taller cited panel cut at the bottom; the frame (border, radius, shadow) moves from the img to the figure so the cut edge
   still reads as the panel's bottom border. The lightbox opens the full image. */
#write .act-head .lead { font-size: 20px; line-height: 30px; max-width: 900px; margin: 0 auto; }
#write .write-gap .plan-row-shot { aspect-ratio: 1380 / 610; overflow: hidden; border: 1px solid #D6E2E1; border-radius: 10px; background: #FFFFFF; box-shadow: 0 6px 24px rgba(2, 60, 57, 0.08); }
#write .write-gap .plan-row-shot img { height: 100%; object-fit: cover; object-position: top; border: 0; border-radius: 0; box-shadow: none; }
.write-gap-copy { max-width: 720px; margin: 32px auto 0; text-align: center; font-size: 16.5px; line-height: 26px; color: #2E4442; }
#write .write-brief p { margin: 0 0 12px; font-size: 16.5px; line-height: 26px; color: #2E4442; }
#write .write-brief p:last-of-type { margin-bottom: 24px; }
/* Act 7, the problem act (Seth, 9 Nov 2026): the stat card, two prose paragraphs, then the turn set apart and larger. */
#problem .act-head { text-align: center; max-width: none; }
#problem .v3-stat-wrap { margin-top: 40px; }
.problem-copy { max-width: 720px; margin: 40px auto 0; }
.problem-copy p { margin: 0 0 16px; font-size: 16.5px; line-height: 26px; color: #2E4442; }
.problem-turn { max-width: 820px; margin: 40px auto 0; text-align: center; font-family: var(--ff-display); font-weight: 500; font-size: 24px; line-height: 34px; color: #17302E; }
/* Act 8, rank and AI side by side (Seth, 9 Nov 2026): the act 6 pair (styleguide-pending 30) with a tick list under each
   shot, then the tip as a stroked card with the callout tint. */
#both .act-head { text-align: center; max-width: none; }
#both .act-head .lead { font-size: 20px; line-height: 30px; max-width: 900px; margin: 0 auto; }
#both h3 { font-family: var(--ff-display); font-weight: 500; font-size: 24px; line-height: 32px; color: #17302E; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 1.5px; }
#both .win-ticks { margin-top: 24px; }
.sc-ready #both .plan-row-shot[data-sc-in] { transition-duration: 1200ms; transition-delay: 350ms; }
@media (prefers-reduced-motion: reduce) { .sc-ready #both .plan-row-shot[data-sc-in] { transition-duration: 220ms; transition-delay: 0ms; } }
.both-tip { margin: 64px 0 0; padding: var(--s-5); }   /* canon .card.flat.light, full container width (Seth, 9 Nov 2026) */
.both-tip p { margin: 0 0 12px; font-size: 16.5px; line-height: 26px; color: #2E4442; }
.both-tip p:last-child { margin-bottom: 0; }
.both-tip .both-tip-line { font-size: 20px; line-height: 30px; color: #17302E; }
#both .both-snapshot { margin-top: 24px; }   /* the snapshot under the landscape (Seth, 9 Nov 2026) */
.both-tip .both-tip-line { font-family: var(--ff-display); font-weight: 300; text-transform: uppercase; letter-spacing: 1.5px; } .both-tip .both-tip-line strong { font-weight: inherit; }   /* the tip headline in Fredoka 300, all caps (Seth, 9 Nov 2026) */
.both-tip .both-tip-line { color: var(--c-secondary); }   /* secondary teal (Seth, 9 Nov 2026) */
/* Act 9, the Health act (Seth, 9 Nov 2026): the summary and score map full width, then a matched pair (the act 6 crop: both
   shots at the drill-down's 1380/668, the tall AI Search Readiness shot cut at the bottom, full image in the lightbox), ticks. */
#health .act-head { text-align: center; max-width: none; }
#health .act-head .lead { font-size: 20px; line-height: 30px; max-width: 900px; margin: 0 auto; }
.health-hero { margin-top: 48px; }
#health .health-pair { margin-top: 40px; }
#health .health-pair .plan-row-shot { aspect-ratio: 1380 / 995; overflow: hidden; border: 1px solid #D6E2E1; border-radius: 10px; background: #FFFFFF; box-shadow: 0 6px 24px rgba(2, 60, 57, 0.08); }
#health .health-pair .plan-row-shot img { height: 100%; object-fit: cover; object-position: top; border: 0; border-radius: 0; box-shadow: none; }
.health-ticks { max-width: 900px; margin: 40px auto 0; }
.sc-ready #health .plan-row-shot[data-sc-in] { transition-duration: 1200ms; transition-delay: 350ms; }
@media (prefers-reduced-motion: reduce) { .sc-ready #health .plan-row-shot[data-sc-in] { transition-duration: 220ms; transition-delay: 0ms; } }
#both .both-stat { margin-top: 48px; } #both .both-pair { margin-top: 56px; }   /* the conversion stat between the lead and the pair (Seth, 9 Nov 2026) */
#health .health-cta { margin: 48px 0; } #health .health-cta + .health-pair { margin-top: 0; }   /* the pattern-break CTA between the Health image and the pair (Seth, 9 Nov 2026) */
/* The panel gallery (Seth, 9 Nov 2026; styleguide-pending 31): the canon .modal and .card, a large view that scrolls inside
   its stage, previous / next and a count, and from 900px a scrollable thumbnail rail on the right. Below 900px no rail: a
   plain slideshow. */
.gallery-card { width: min(1600px, 100%); height: calc(100vh - 2 * var(--s-4)); padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); }
.gallery-main { display: flex; flex-direction: column; min-height: 0; padding: var(--s-4); gap: 12px; }
.gallery-head { padding-right: 48px; }
.gallery-tab { margin: 0; font-family: var(--ff-display); font-weight: 300; font-size: 14px; line-height: 20px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-secondary); }
.gallery-head h3 { margin: 2px 0 0; font-family: var(--ff-display); font-weight: 500; font-size: 22px; line-height: 30px; text-transform: uppercase; letter-spacing: 1.5px; color: #17302E; }
.gallery-stage { flex: 1 1 auto; min-height: 0; overflow-y: auto; border: 1px solid #D6E2E1; border-radius: 10px; background: #FFFFFF; }
.gallery-stage img { display: block; width: 100%; height: auto; }
.gallery-foot { display: flex; align-items: center; gap: 12px; }
.gallery-foot #gallery-caption { flex: 1 1 auto; margin: 0; }
.gallery-count { margin: 0; font-size: 14px; color: var(--c-mid); white-space: nowrap; }
.gallery-nav { display: flex; gap: 8px; }
.gallery-nav .btn .material-symbols-rounded { font-size: 20px; }
.gallery-rail { display: none; }
@media (min-width: 900px) {
  .gallery-card { grid-template-columns: minmax(0, 1fr) 240px; }
  .gallery-rail { display: block; list-style: none; margin: 0; padding: var(--s-4) var(--s-3); overflow-y: auto; border-left: 1px solid #D6E2E1; background: var(--c-bg); }
  .gallery-rail li { margin: 0 0 12px; }
  .gallery-thumb { display: block; width: 100%; padding: 6px; border: 2px solid transparent; border-radius: 8px; background: #FFFFFF; text-align: left; cursor: pointer; }
  .gallery-thumb img { display: block; width: 100%; height: 96px; object-fit: cover; object-position: top; border-radius: 4px; }
  .gallery-thumb span { display: block; margin-top: 6px; font-size: 13px; line-height: 18px; color: #2E4442; }
  .gallery-thumb:hover, .gallery-thumb:focus-visible { border-color: var(--c-invert-1); }
  .gallery-thumb.is-on { border-color: var(--c-secondary); }
}
@media (max-width: 899px) { .gallery-nav .btn-label { display: none; } }
/* Act 10, everything in every scan (Seth, 9 Nov 2026): the four tabs as a 2 x 2 grid of blocks, each with its panel lines and
   a gallery button (styleguide-pending 31). */
#everything .act-head { text-align: center; max-width: none; }
#everything .act-head .lead { font-size: 20px; line-height: 30px; max-width: 900px; margin: 0 auto; }
.tabs-grid { display: grid; gap: 48px; margin-top: 48px; }
@media (min-width: 900px) { .tabs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 48px; } }
#everything h3 { font-family: var(--ff-display); font-weight: 500; font-size: 24px; line-height: 32px; color: #17302E; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 1.5px; }
.tabs-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.tabs-list li { font-size: 16px; line-height: 24px; color: #2E4442; }
.tabs-list li strong { color: #17302E; }
/* Gallery fixes from the 9 Nov browser check: the rail starts below the close button; under 900px the caption takes its own
   row and the panel keeps a readable 760px width, scrolling sideways inside its frame. */
@media (min-width: 900px) { .gallery-rail { padding-top: calc(var(--s-4) + 48px); } }
@media (max-width: 899px) {
  .gallery-foot { flex-wrap: wrap; }
  .gallery-foot #gallery-caption { flex-basis: 100%; }
  .gallery-foot .gallery-nav { margin-left: auto; }
  .gallery-stage { overflow: auto; }
  .gallery-stage img { width: 760px; max-width: none; }
}
/* Pricing (Seth, 9 Nov 2026): the three-tier cost table in a raised card, the packs as pills with Popular on 250 (ported from
   the v1 landing page's .pack-pill, in tokens; styleguide-pending 32), ticks, CTA. .table-scroll as on the agencies page. */
#pricing .act-head { text-align: center; max-width: none; }
#pricing .act-head .lead { font-size: 20px; line-height: 30px; max-width: 900px; margin: 0 auto; }
#pricing h3 { font-family: var(--ff-display); font-weight: 500; font-size: 24px; line-height: 32px; color: #17302E; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 1.5px; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.table-scroll > .table { margin-bottom: 0; }
.price-card { margin-top: 48px; padding: var(--s-5); }
.price-table td:first-child { text-align: left; }
.price-table th:not(:first-child), .price-table td:not(:first-child) { width: 22%; }
.price-card .help-text { margin: 16px 0 0; }
.price-packs { margin-top: 56px; text-align: center; }
.price-packs p { margin: 0 0 24px; color: #2E4442; }
.price-packs .help-text { margin: 20px 0 0; }
.packs-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.pack-pill { position: relative; padding: 12px 20px; border: 1px solid #D6E2E1; border-radius: 8px; background: #FFFFFF; font-size: 16px; line-height: 24px; color: #2E4442; white-space: nowrap; }
.pack-pill strong { margin-left: 6px; font-family: var(--ff-display); font-size: 20px; color: var(--c-primary); }
.pack-pill .pack-usd { margin-left: 4px; font-size: 14px; color: var(--c-mid); }
.pack-pill.is-popular { border-color: var(--c-primary); box-shadow: 0 0 0 1px var(--c-primary); }
.pack-pill.is-popular::before { content: 'Popular'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 4px; background: var(--c-primary); color: #FFFFFF; font-size: 11px; line-height: 18px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.price-ticks { max-width: 900px; margin: 48px auto 0; }
.gallery-card .notice-close { background: white; border-radius: var(--r-pill); z-index: 1; }   /* white circle behind the close, as the lightbox (Seth, 9 Nov 2026) */
#everything h3 { color: var(--c-secondary); font-weight: 300; }   /* tab headings in secondary teal, light weight (Seth, 9 Nov 2026) */
#everything .tabs-block { margin-bottom: 0; padding: var(--s-5); display: flex; flex-direction: column; } #everything .tabs-block .tabs-gallery { margin-top: auto; align-self: flex-start; }   /* each tab list in a plain canon card (Seth, 9 Nov 2026); the gallery button sits at the card foot */
.tabs-panel-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--c-primary); cursor: pointer; text-align: left; } .tabs-panel-link:hover, .tabs-panel-link:focus-visible { color: var(--c-secondary); }   /* act 10 panel names in primary teal, each opening the gallery on its panel (Seth, 9 Nov 2026); hover is a colour change */
#everything .tabs-block .tabs-gallery { align-self: flex-end; }   /* the See All button right-aligned (Seth, 9 Nov 2026) */
.price-ticks { width: fit-content; max-width: 900px; margin-left: auto; margin-right: auto; }   /* the tick list shrinks to its longest line and sits centred under the packs (Seth, 9 Nov 2026) */
.sc-ready #everything .tabs-list li[data-sc-in] { transition-duration: 900ms; }   /* each panel line reveals on its own as it scrolls in (Seth, 9 Nov 2026) */
.gallery-nav .btn { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 1.5px; }   /* the site's standard Fredoka uppercase button style, as .url-form .btn and .win-cta .btn (Seth, 9 Nov 2026) */
.gallery-card .gallery-nav .btn-primary, .gallery-card .gallery-nav .btn-primary span { color: #FFFFFF; }   /* white label and icons on the primary fill, as every primary button; something in the card cascade was turning them black (Seth, 9 Nov 2026) */
#pricing .price-table tbody tr:hover, #pricing .price-table tbody tr:hover td { background: var(--c-bg); }   /* row hover in the standard background colour (Seth, 9 Nov 2026) */
.pack-pill { transition: box-shadow 0.15s, transform 0.15s; } .pack-pill:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transform: translateY(-2px); } .pack-pill.is-popular:hover { box-shadow: 0 0 0 1px var(--c-primary), 0 4px 12px rgba(0, 0, 0, 0.08); }   /* the canon .card.lift hover on the pack pills; the Popular pill keeps its ring, as .card-featured does (Seth, 9 Nov 2026) */
/* Act 10 rework (Seth, 9 Nov 2026): value lines on the page (the gallery caption keeps the description), the first four
   panels per tab with the rest in the canon .disclose, and the gallery button in the site's standard primary style. */
#everything .tabs-more { margin: 0 0 24px; }
#everything .tabs-more summary { font-size: 16px; line-height: 24px; }
#everything .tabs-more[open] summary { margin-bottom: 10px; }
#everything .tabs-list:has(+ .tabs-more) { margin-bottom: 12px; }
#everything .tabs-gallery { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 1.5px; }

/* Agencies act and final CTA (Seth, 10 Nov 2026) */
#agencies .act-head, #start .act-head { text-align: center; max-width: 70ch; margin-left: auto; margin-right: auto; }
#agencies .act-head .lead, #start .act-head .lead { font-size: 20px; line-height: 30px; max-width: 70ch; margin: 0 auto; }
.agency-ticks { width: fit-content; max-width: 900px; margin: 0 auto; }
.agency-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.agency-cta .btn-outline { color: var(--c-primary); border: 1px solid var(--c-primary); background: transparent; }
.agency-cta .btn-outline:hover { background: var(--c-invert-2); }
.ground-primary h2 { color: var(--c-invert-1); }
#start .url-form.after-steps { margin-top: var(--s-6); }
#start .url-form .help-text { margin-top: var(--s-3); }

/* The site footer is sticky (Seth, 10 Nov 2026): the canon fixed .site-footer bar, with the page padded by its height so
   the last act is never covered. */
body { padding-bottom: var(--site-footer-height); }
.site-footer .footer-tools-left, .site-footer .footer-tools-right { gap: var(--s-4); font-size: 12px; line-height: 18px; }
@media (max-width: 600px) {
  /* Phone (Seth, 10 Nov 2026): Terms and Privacy left and the copyright right on one line, Contact Support centred beneath. */
  :root { --site-footer-height: 84px; }
  .site-footer { padding: 0 var(--s-4); }
  .site-footer .site-footer-inner { grid-template-columns: auto 1fr; grid-template-areas: "legal copy" "help help"; align-content: center; row-gap: var(--s-2); column-gap: var(--s-3); }
  .site-footer .footer-tools-left { grid-area: legal; justify-self: start; gap: var(--s-3); }
  .site-footer .footer-center { grid-area: copy; justify-self: end; font-size: 12px; }
  .site-footer .footer-tools-right { grid-area: help; justify-self: center; }
}
.agency-cta .btn { white-space: nowrap; }
@media (max-width: 600px) { .agency-cta { flex-direction: column; align-items: center; } .agency-cta .btn { width: 100%; max-width: 320px; } }
#start { padding-bottom: calc(var(--s-8) + var(--s-6)); }   /* room for the open keyword list inside the band */
#start h2 { color: #FFFFFF; }   /* the final band heading in pure white (Seth, 10 Nov 2026); size from the canon .scale-up5 (40 / 60), two steps up from h2 */
/* Contact Support modal and footer pill (Seth, 10 Nov 2026) */
.support-card { position: relative; width: min(560px, calc(100vw - 32px)); padding: var(--s-5); }
.support-card h3 { margin-bottom: var(--s-2); }
.support-card > .help-text { margin-bottom: var(--s-4); }
.support-card .textarea { min-height: 120px; resize: vertical; }
.support-card .btn[type=submit] { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 1.5px; }
.support-status { margin: var(--s-3) 0 0; min-height: 20px; }
.support-status.is-ok { color: var(--c-primary); }
.support-status.is-error { color: var(--c-red, #B91C1C); }
.site-footer .footer-tools-right .btn { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 1px; }
/* FAQ (Seth, 10 Nov 2026): the agency page's accordion (site.css, styleguide-pending 7), centred under a centred heading */
#faq .act-head { text-align: center; }
.faq { max-width: 860px; margin: 0 auto; }
.faq .max-min summary h3 { font-family: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; color: inherit; text-transform: none; letter-spacing: 0; margin: 0; }
.faq .max-min > p { padding: 0 0 var(--s-4); margin: 0; max-width: 70ch; }

/* ---------------------------------------------------------------- the agency page (10 Nov 2026)
   /agencies/ rebuilt on this stylesheet in the home page's act patterns. Only what the agency page's own act ids need:
   the hero's CTA where the home hero has its scan form, the act heads and plan rows under the agency ids (the home rules
   are scoped to #win, #plan, #write, #both and #health), the two small account shots at their natural size. */
#agency-hero .hero-cta { margin: 0 0 var(--s-2); text-align: left; }
#agency-hero .hero-cta .btn { height: 48px; border-radius: var(--r-md); }
#agency-hero .hero-copy > .help-text { max-width: 54ch; }
@media (min-width: 801px) {
  #agency-hero .v3-hero-grid .hero-cta, #agency-hero .v3-hero-grid .hero-cta + .help-text { grid-column: 1 / span 3; }
  #agency-hero .v3-hero-grid .hero-cta + .help-text { margin-top: var(--s-3); }
}
/* Phones: the hero button and the price line under it sit centred, as the home hero (Seth, 14 Nov 2026). */
@media (max-width: 559px) {
  #agency-hero .hero-cta, #agency-hero .hero-cta + .help-text { text-align: center; }
}
#site .act-head, #intel .act-head, #bulk .act-head, #exec .act-head, #brand .act-head, #standard .act-head { text-align: center; max-width: none; }
#site .act-head .lead, #intel .act-head .lead, #bulk .act-head .lead, #exec .act-head .lead, #brand .act-head .lead, #standard .act-head .lead { font-size: 20px; line-height: 30px; max-width: 900px; margin: 0 auto; }
#bulk .act-head .lead { max-width: 920px; }   /* 900 to 920px so "way." is not alone on the last line (Seth, 12 Nov 2026) */
#site .plan-row h3, #intel .plan-row h3, #bulk .plan-row h3, #exec .plan-row h3, #brand h3 { font-family: var(--ff-display); font-weight: 500; font-size: 24px; line-height: 32px; color: #17302E; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 1.5px; }
#site .plan-row p, #intel .plan-row p, #bulk .plan-row p, #exec .plan-row p { margin: 0 0 12px; font-size: 16.5px; line-height: 26px; color: #2E4442; }
.sc-ready #site .plan-row-shot[data-sc-in], .sc-ready #intel .plan-row-shot[data-sc-in], .sc-ready #bulk .plan-row-shot[data-sc-in], .sc-ready #exec .plan-row-shot[data-sc-in], .sc-ready #brand .plan-row-shot[data-sc-in] { transition-duration: 1200ms; transition-delay: 350ms; }
@media (prefers-reduced-motion: reduce) { .sc-ready #site .plan-row-shot[data-sc-in], .sc-ready #intel .plan-row-shot[data-sc-in], .sc-ready #bulk .plan-row-shot[data-sc-in], .sc-ready #exec .plan-row-shot[data-sc-in], .sc-ready #brand .plan-row-shot[data-sc-in] { transition-duration: 220ms; transition-delay: 0ms; } }
.act-ticks { max-width: 900px; margin: 48px auto 0; }   /* the tick list under an act's plan rows, as .health-ticks */
#brand h3 { margin-bottom: 16px; }
#brand .write-gap-item .plan-row-shot { text-align: center; }
#brand .write-gap-item .plan-row-shot img { display: inline-block; width: auto; max-width: 100%; }   /* the account modals at their captured size, not stretched */
#brand .write-gap-item .win-ticks { margin-top: 24px; }
#standard .agency-ticks a { color: var(--c-primary); font-weight: 700; text-decoration: none; }
#standard .agency-ticks a:hover, #standard .agency-ticks a:focus-visible { color: var(--c-secondary); }
#brand img[src*="account-brand-settings"] { max-width: min(100%, 380px); }   /* the 2x Brand Settings modal shown at about half size (Seth, 10 Nov 2026) */
.plan-row-shots { display: grid; gap: var(--s-4); }   /* two stacked shots in one plan row (agency Work Confirmed, Seth 10 Nov 2026) */
