/* assets/css/fonts.css */
/* ==================================================================
   Kwizzbit fonts — explicit @font-face. theme.json registers these too (front-end), but the
   block-editor iframe doesn't always pick up the theme.json font-library faces, so headlines
   render in a fallback font and tightly-tuned mixed-size layouts look broken WHILE EDITING.
   Loading this file in the editor (and front-end as a harmless backup) guarantees the real
   licensed fonts everywhere. Paths are relative to this file (assets/css/ -> ../fonts/).
   ================================================================== */
@font-face{
	font-family: 'Roobert';
	src: url("https://kwizzbit.com/wp-content/themes/kwizzbit/assets/fonts/Roobert-Medium.woff2") format('woff2');
	font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
	font-family: 'Roobert';
	src: url("https://kwizzbit.com/wp-content/themes/kwizzbit/assets/fonts/Roobert-Bold.woff2") format('woff2');
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face{
	font-family: 'Roobert Semimono';
	src: url("https://kwizzbit.com/wp-content/themes/kwizzbit/assets/fonts/RoobertSemiMono-Regular.woff2") format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
	font-family: 'Roobert Semimono';
	src: url("https://kwizzbit.com/wp-content/themes/kwizzbit/assets/fonts/RoobertSemiMono-SemiBold.woff2") format('woff2');
	font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
	font-family: 'Pixelar';
	src: url("https://kwizzbit.com/wp-content/themes/kwizzbit/assets/fonts/Pixelar-Regular.ttf") format('truetype');
	font-weight: 400; font-style: normal; font-display: swap;
}

/* assets/css/base.css */
/* ==================================================================
   Kwizzbit base — global resets + utility classes used across patterns.
   Tokens come from theme.json; nothing here should declare colour or
   spacing values directly.
   ================================================================== */

/* The page-loader FOUC guard (html.kwb-loading { ... visibility:hidden }) lives in the
   page-loader segment's own CSS, not here — so it is only active on pages that actually
   include the loader, and is dismissed by the loader's own script. */

/* Dark-mode defensive line: the site is a deliberate light-only design. Declaring
   the light colour-scheme stops browsers from auto-darkening UA-styled controls
   (inputs, selects, textareas, scrollbars) in OS dark mode — which would otherwise
   render dark fields on our cream backdrops. Pairs with the <meta name="theme-color">
   in functions.php. Does NOT touch our explicitly-coloured elements. */
html {
	color-scheme: light;
	/* Paint the page CANVAS cream, matching <body>. iOS Safari draws its
	   dynamic-toolbar / overscroll regions (the strip beneath the floating
	   URL bar, pull-to-refresh, rubber-banding) from the canvas, NOT from
	   body — an unset canvas defaults to white and flashed through as a
	   naff white band at the bottom when the mobile-menu scrim faded in.
	   body still paints cream over the whole page, so this only ever shows
	   where body doesn't reach; the top status area stays as-is (driven by
	   theme-color, already cream). */
	background-color: var(--wp--preset--color--cream);
}

/* ==================================================================
   LOADER GATE — keep animations and reveals suppressed while the
   page-loader is showing (html has the .kwb-loading class).

   Two problems solved:
   1. Run-once CSS animations (e.g. content-rise, ~0.72s) would burn
      through their full duration while hidden behind the 3s loader,
      so the user never sees them. Pausing keeps them at frame 0.
   2. IntersectionObservers fire during load and add .is-visible, so
      when the loader lifts the [data-reveal] lift transition is already
      "done" — nothing moves. Forcing opacity/transform to their start
      state ensures the transition fires fresh when kwb-loading is removed.

   #kwb-loader lives directly in <body> (not in .kwb-segment) so
   the .kwb-segment scope never touches the loader's own animations.
   ================================================================== */
html.kwb-loading .kwb-segment,
html.kwb-loading .kwb-segment *{
	animation-play-state: paused !important;
}
/* Hold [data-reveal] elements at their start state even after
   .is-visible is added by the observer — transition fires on dismiss. */
html.kwb-loading [data-reveal]{
	transition: none !important;
}
html.kwb-loading [data-reveal].is-visible{
	opacity: 0 !important;
	transform: translateY(32px) !important;
}
/* Same guard for the JS-primed hero reveals (.has-scroll-reveal). Unlike scroll
   reveals — which are born hidden in CSS and never "prime" — the hero starts
   visible and only gets its hidden state when hero.js adds .has-scroll-reveal.
   With transitions live, that makes the hero animate INTO the hidden state
   (a priming fade/slide-down) before it lifts. If that priming animation hasn't
   finished when the loader lifts, its tail leaks on-screen: the hero flashes and
   restarts its lift from a slightly lower position. Suppressing transitions while
   the loader is up makes priming SNAP instantly, so the only transition the user
   ever sees is the lift itself (fires cleanly once .kwb-loading is removed).
   This is why ONLY the first, load-triggered block was affected. */
html.kwb-loading .has-scroll-reveal,
html.kwb-loading .has-scroll-reveal *{
	transition: none !important;
}
/* On a cross-PAGE view-transition navigation (NOT reloads — those skip the
   transition and keep the loader + lift) the cross-fade is the entrance. The
   pagereveal hook snaps the in-view reveal elements to .is-visible just before
   the snapshot is captured; suppress their transitions while the transition is
   active so that snap is instant, not a second lift fighting the cross-fade. */
html.kwb-vt-active .has-scroll-reveal,
html.kwb-vt-active .has-scroll-reveal *,
html.kwb-vt-active [data-reveal]{
	transition: none !important;
}

/* ==================================================================
   CONTENT-RISE — shared entry lift for load-gated section reveals
   (blog/FAQ header stagger, article + legal "window" lift). Held at
   frame 0 by the html.kwb-loading animation pause above, so it only
   plays once the page-loader clears — exactly like the rest of the
   site's entry choreography. `backwards` fill keeps the start state
   through any stagger delay and leaves NO lingering transform after,
   so it never creates a containing block for fixed/sticky children.
   ================================================================== */
@keyframes kwb-content-rise {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Universal reset — every source segment was authored against
   "* { box-sizing: border-box; margin: 0; padding: 0 }". The per-segment slices rely on it
   (e.g. footer/nav <ul> have list-style:none but no padding:0, so without this they inherit
   the browser's 40px list indent). Specificity 0 — WordPress block styles + theme.json
   spacing override it cleanly. */
*, *::before, *::after{
	box-sizing: border-box;
}
:where(*){
	margin: 0;
	padding: 0;
}

body{
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* clip (not hidden): hidden forces overflow-y to `auto`, making <body> a
	   scroll container — which breaks `position: sticky` on the header relative
	   to the viewport. `clip` leaves overflow-y visible, so the sticky header
	   (and the Get started button within it) stays pinned while still trimming
	   the full-bleed .kwb-segment horizontal overflow. */
	overflow-x: clip;
	touch-action: pan-y;
}

/* Kill any bottom gap WP's layout system adds between the <main> and the
   footer template part. Target every wrapper layer individually to ensure
   no padding, margin or min-height sneaks through. */
.wp-site-blocks,
.wp-site-blocks > *{
	margin-bottom: 0 !important;
}
.wp-block-template-part[class]{
	display: block;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
/* Collapse padding on the main group + post-content wrappers.
   WP's constrained layout and flow-root display can silently add
   bottom space that shows as a cream strip before the footer. */
main.wp-block-group,
.wp-block-post-content,
.entry-content{
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
/* The cookie-modal pattern sits as a bare wp:html block inside the footer
   template part. WP renders it as a div.wp-block-html which has no visual
   content (the <aside> is `hidden`) but still takes up layout space, creating
   a white strip under the footer. Collapse it to zero so it's invisible. */
footer.wp-block-template-part .wp-block-html:has(#cookie-modal){
	display: contents;
}

#kwb-page-wrap{
	position: relative;
	overflow-x: clip; /* clip, not hidden — preserves sticky (see body note above) */
	touch-action: pan-y;
}

.sr-only{
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

:focus-visible{
	outline: 2px solid var(--wp--preset--color--coral);
	outline-offset: 3px;
}

.container{
	max-width: var(--wp--custom--layout--page-max);
	margin-inline: auto;
	padding-inline: var(--wp--custom--layout--gutter);
}

/* ------------------------------------------------------------------
   Segment full-bleed. Every pattern wraps its markup in
   <div class="wp-block-group alignfull kwb-segment kwb-segment--NAME">.
   `alignfull` only LIFTS WordPress's max-width clamp inside a constrained
   content column — it does NOT guarantee full-viewport width (it just fills
   whatever the content container is). This forces true 100vw regardless of
   the container, centred on the viewport (margin:calc(50% - 50vw)).
   body{overflow-x:hidden} clips the 100vw so there's no horizontal scrollbar.
   Each segment's own inner element re-centres its content via its own max-width.
   ------------------------------------------------------------------ */
.kwb-segment{
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	/* WP's is-layout-flow adds margin-block-start to direct children of the
	   post-content wrapper. Force 0 here so kwb-segments always butt flush. */
	margin-block: 0;
}

/* ------------------------------------------------------------------
   Off-screen animation pause (driven by assets/js/perf.js). When a
   segment scrolls well out of view, perf.js adds .kwb-anim-paused;
   freezing animation-play-state stops the compositor doing per-frame
   work for sections nobody is looking at, which keeps long pages
   smooth. Only affects the segment and its descendants; on-screen
   segments are untouched. (No effect in the editor — perf.js is a
   front-end-only script.)
   ------------------------------------------------------------------ */
.kwb-segment.kwb-anim-paused,
.kwb-segment.kwb-anim-paused *,
.kwb-segment.kwb-anim-paused *::before,
.kwb-segment.kwb-anim-paused *::after{
	animation-play-state: paused !important;
}

/* ------------------------------------------------------------------
   Editor-only scroll-reveal override. Scroll-reveal segments hide their
   content (opacity:0) until front-end JS adds .is-visible — but that JS
   doesn't run in the block-editor canvas, so patterns would show blank/faded
   while editing. In the editor the canvas is wrapped in .editor-styles-wrapper
   (absent on the front end), so this reveals reveal-elements ONLY in the editor
   and is completely inert on the published page. Covers [data-reveal] and any
   class containing "reveal" (.js-reveal, .scroll-reveal, …).
   ------------------------------------------------------------------ */
.editor-styles-wrapper [data-reveal],
.editor-styles-wrapper [class*="reveal"],
.editor-styles-wrapper .hiw-step,            /* how-it-works steps */
.editor-styles-wrapper .ready-made__header,  /* ready-made reveal targets */
.editor-styles-wrapper .ready-made__formats,
.editor-styles-wrapper .features__header,    /* features-9 reveal targets */
.editor-styles-wrapper .feature-panel,       /* (these gate on .is-visible, no "reveal" in the class) */
.editor-styles-wrapper .feature-tour__row [class*="feature-tour__"],  /* features-tour: rows reveal their children on .is-visible */
.editor-styles-wrapper .testimonials__header,   /* testimonials reveal targets */
.editor-styles-wrapper .testimonial-card,
.editor-styles-wrapper .impact-2__mic,          /* impact (GSAP-revealed, JS-gated) */
.editor-styles-wrapper .impact-2__headline,
.editor-styles-wrapper .impact-2__this,
.editor-styles-wrapper .impact-2__cta-wrap,
.editor-styles-wrapper .player-experience__copy,  /* player-experience reveal targets */
.editor-styles-wrapper .player-experience__photo,
.editor-styles-wrapper .beliefs__eyebrow,         /* beliefs reveal targets (no "reveal" in class) */
.editor-styles-wrapper .beliefs__statement-wrap,
.editor-styles-wrapper .beliefs__tags,
.editor-styles-wrapper .cc-offer__inner{          /* offer reveal target */
	opacity: 1 !important;
	transform: none !important;
}
.editor-styles-wrapper .impact-2__char{ visibility: visible !important; }  /* impact "This." chars */
/* Exception: layered "echo" headlines have a DESIGNED resting opacity below 1 (they sit behind
   the primary line). They're also .js-reveal, so the broad rule above would force them to full
   opacity in the editor. Restore their intended opacity here. Add new low-opacity reveal
   elements to this list if future segments introduce them. */
.editor-styles-wrapper .mantra__row--echo-1{ opacity: 0.28 !important; }
.editor-styles-wrapper .mantra__row--echo-2{ opacity: 0.12 !important; }

/* ------------------------------------------------------------------
   Flashing coral period — the blinking "." used at the end of titles
   (how-it-works steps, features-9 headline; mirrors the features-tour
   title accent). Shared utility so any title can borrow it.
   ------------------------------------------------------------------ */
.kwb-flash-period{
	color: var(--wp--preset--color--coral);
	animation: kwb-period-blink 1.1s step-end infinite;
	display: inline-block;
}
@keyframes kwb-period-blink{ 0%, 100%{ opacity: 1; } 50%{ opacity: 0; } }
@media (prefers-reduced-motion: reduce){
	.kwb-flash-period{ animation: none; }
}

/* ------------------------------------------------------------------
   iOS 26 Safari bottom-bar tint anchor (2026-09-16).
   Safari 26 colours the strip behind its minimised tab bar from the
   background-color of any fixed OR sticky element that touches the
   bottom 3px of the screen, is >= 80% of the screen wide and >= 3px
   tall. The mobile card decks (Ask/Post/Host, Modes) leave the next
   card waiting off the bottom edge, so its #FFFAF5 fill was painting a
   white strip under the URL bubble. This full-width cream element sits
   8px below the edge (4px inside, under the bar itself, never seen) and
   outranks everything, so Safari always samples the page cream instead.
   iOS-only via the touch-callout support test; other browsers never
   render it. Pseudo-elements are ignored by the sampler, hence a real
   element. It lives FIRST in parts/header.html: at the end of the
   footer it lost to the deck's sticky cards, which suggests Safari
   takes the first qualifying element in DOM order (round 4, still
   unverified). Height 0 does NOT qualify, keep >= 3px.
   ------------------------------------------------------------------ */
.kwb-tint-anchor{ display: none; }
@supports (-webkit-touch-callout: none){
	.kwb-tint-anchor{
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: -8px;
		height: 12px;
		background-color: var(--wp--preset--color--cream);
		z-index: 300;               /* above the cookie sheet (200) and nav (100) */
		pointer-events: none;
	}
}

/* assets/css/components/announce-bar.css */
/* ============================================================
   ANNOUNCE BAR — kwizzbit/announce-bar
   Thin sitewide strip above the nav. Light coral band with
   NEW badge, offer copy and a text CTA link.

   ABOUT PAGE (body.page-id-115): the light strip read oddly
   sitting directly above the blood-orange hero, so it switches
   to a dark ink band with white copy. See the scoped block at
   the end of this file.

   MODES PAGE (body.page-id-97): used to carry the same dark ink
   band, matching the old coral mic-photo hero. The hero backdrop
   is cream now (modes.css/modes.js), so Modes reverted to the
   sitewide light strip — no scoped override left for it here
   (2026-08-12, user's call).
   ============================================================ */
/* ── PINNED AT THE TOP, AT ALL TIMES (Kev's call, 2026-07-15) ──────
   The strip is position:sticky, not fixed: it keeps its place in the
   page flow (so nothing needs artificial padding to compensate, and
   pages without the bar — the no-chrome ones — are untouched), and it
   pins itself to the viewport top the moment scrolling would carry it
   away. body{overflow-x:clip} in base.css was chosen precisely so
   viewport-sticky keeps working — see the comment there.

   Sticky can't travel beyond its PARENT box, and WP wraps the bar +
   site-header together in a ~127px <header class="wp-block-template-
   part"> — inside which the bar could only stick for 88px of scroll.
   So that wrapper is dissolved below (display:contents, the same
   trick base.css already uses on the cookie-modal's wrapper), which
   lifts the bar's sticky range to the full-height .wp-site-blocks.

   z-index 800: above all page content, below the mobile-menu backdrop
   (900), the floating burger (950) and the page loader. The desktop
   Get-started CTA (500) and the burger never overlap it spatially —
   both hold positions BELOW the bar now (see nav.css). */
.announce-bar {
  position: sticky;
  /* 0 for visitors. For LOGGED-IN views WP fixes its grey admin
     toolbar across the viewport top (32px desktop / 46px mobile) and
     publishes its height as this core variable — without the offset
     the pinned strip slides up BEHIND the toolbar and looks like it
     "isn't fixing" (exactly how it first presented on a logged-in
     desktop). Visitors never have the var, so they get top:0. */
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 800;
  background: #FCE9E7;
  border-bottom: 1px solid rgba(255, 54, 35, 0.12);
  padding-block: 0.5rem;
  /* Glass ramp discipline (same lesson as the burger circle): the
     backdrop-filter idles at ZERO strength and rides the same
     transition as the fill, so the saturate() can never arrive ahead
     of the translucency and flash-boost whatever sits behind. */
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease;
}

/* Once content is actually scrolling beneath the pinned strip
   (.kwb-nav-floating = scrolling under way, the same flag that fades
   the burger's circle in), the solid band turns to liquid glass —
   one material language across all the floating chrome. High-alpha
   wash of the strip's own pink + strong blur keeps the offer copy
   and CTA fully legible over anything that passes underneath. At the
   top of the page nothing is beneath it, so it rests solid. */
.kwb-nav-floating .announce-bar {
  /* 0.88 fill: enough see-through for the frosted texture to read,
     opaque enough that content underneath is a whisper, not a voice
     (0.78 first cut felt "a bit too much" on device — user call). */
  background: rgba(252, 233, 231, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

@media (prefers-reduced-motion: reduce) {
  .announce-bar { transition: none; }
}

/* Dissolve the header template-part wrapper (see the note above).
   header. + [class] beats base.css's `.wp-block-template-part[class]
   {display:block}` (0,2,1 vs 0,2,0). Scoped to <header> so the footer
   part keeps its box. The wrapper carried no other styling (verified:
   only the base.css display/margin rule targets it). */
header.wp-block-template-part[class] {
  display: contents;
}

/* With a permanent strip overlaying the top of the viewport, in-page
   anchor jumps (FAQ rail, future #links) must land BELOW it, not
   under it. Scoped with :has so pages without a bar are untouched. */
html:has(.announce-bar) {
  scroll-padding-top: calc(var(--kwb-announce-h, 2.4375rem) + 12px);
}
.announce-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding-inline: var(--wp--custom--layout--gutter);
  flex-wrap: wrap;
}
/* Slides — on desktop they're just inline groups sitting on one line.
   On mobile they become stacked, crossfading panes (see media query). */
.announce-bar__slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}
/* Badge */
.announce-bar__badge {
  display: inline-flex;
  align-items: center;
  background: var(--wp--preset--color--ink);
  color: #fff;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 0;
  flex-shrink: 0;
  line-height: 1;
}
/* Copy */
.announce-bar__copy {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--wp--preset--color--ink);
  margin: 0;
  line-height: 1.2;
}
.announce-bar__copy strong {
  font-weight: 700;
}
/* "Are we mad?" — separate item so it can be dropped on mobile */
.announce-bar__prompt {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--wp--preset--color--ink);
  line-height: 1.2;
}
/* CTA link */
.announce-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wp--preset--color--coral);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.announce-bar__cta:hover {
  text-decoration-color: var(--wp--preset--color--coral);
}
/* Looping "beckon" on the arrow — nudges right, settles, pauses, repeats — to
   draw the eye to the offer. Transform-only (composited, no jitter). */
.announce-bar__cta svg {
  animation: ab-cta-beckon 1.6s ease-in-out infinite;
  will-change: transform;
}
.announce-bar__cta:hover svg { animation-play-state: paused; } /* hold still while being clicked */
@keyframes ab-cta-beckon {
  0%, 65%, 100% { transform: translateX(0); }
  32%           { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-bar__cta svg { animation: none; }
}
/* ============================================================
   MOBILE — crossfade rotator
   The two slides stack in the same spot and fade one after the
   other on a loop:
     Slide A:  [NEW]  3 months of Game-show for £60.
     Slide B:  Are we mad?  Yes, get offer →
   ============================================================ */
@media (max-width: 600px) {
  .announce-bar__inner {
    position: relative;
    display: block;
    /* Reserve one line's height so the absolute slides have a stage */
    min-height: 1.35rem;
  }
  .announce-bar__slide {
    position: absolute;
    inset: 0;
    /* gap a touch tighter on the small stage */
    gap: 0.5rem;
    will-change: opacity;
  }
  .announce-bar__slide--a {
    animation: ab-rotate-a 7s ease-in-out infinite;
  }
  .announce-bar__slide--b {
    animation: ab-rotate-b 7s ease-in-out infinite;
  }

  /* The two lines hand over one AFTER the other (out, a beat of empty
     stage, then in) rather than crossfading, so they never sit on top of
     each other mid-fade (Max, 2026-09-28; was a straight crossfade).
     Slide A: first half, fades out for slide B. */
  @keyframes ab-rotate-a {
    0%   { opacity: 1; pointer-events: auto; }
    42%  { opacity: 1; }
    47%  { opacity: 0; pointer-events: none; }
    95%  { opacity: 0; }
    100% { opacity: 1; pointer-events: auto; }
  }
  /* Slide B: second half. pointer-events gated so the CTA is only
     tappable while visible. */
  @keyframes ab-rotate-b {
    0%   { opacity: 0; pointer-events: none; }
    48%  { opacity: 0; }
    53%  { opacity: 1; pointer-events: auto; }
    89%  { opacity: 1; }
    94%  { opacity: 0; pointer-events: none; }
    100% { opacity: 0; }
  }

  /* Reduced motion — no fade loop. Fall back to a static inline flow
     (both slides shown, wrapping naturally) so nothing is hidden. */
  @media (prefers-reduced-motion: reduce) {
    .announce-bar__inner {
      position: static;
      display: flex;
      flex-wrap: wrap;
      min-height: 0;
    }
    .announce-bar__slide {
      position: static;
      inset: auto;
      animation: none;
      opacity: 1;
      pointer-events: auto;
    }
  }
}

/* ============================================================
   ABOUT PAGE — dark variant (body.page-id-115)
   Deep ink band + white copy so the strip doesn't clash sitting
   above the About hero's blood-orange. Scoped by body id, so the
   sitewide light bar is untouched everywhere else. First pass —
   easy to retune (band colour, badge, CTA) from here.
   ============================================================ */
body.page-id-115 .announce-bar {
  background: var(--wp--preset--color--ink);          /* #1D0B09 */
  border-bottom-color: rgba(255, 255, 255, 0.10);
}
/* Copy + prompt → white */
body.page-id-115 .announce-bar__copy,
body.page-id-115 .announce-bar__copy strong,
body.page-id-115 .announce-bar__prompt {
  color: #fff;
}
/* NEW badge: flip to a coral accent (the ink badge would vanish on the ink band) */
body.page-id-115 .announce-bar__badge {
  background: var(--wp--preset--color--coral);        /* #FF3623 */
  color: #fff;
}
/* CTA → light coral so it pops off the ink band, with a matching hover underline */
body.page-id-115 .announce-bar__cta {
  color: #FF6F5F;
}
body.page-id-115 .announce-bar__cta:hover {
  text-decoration-color: #FF6F5F;
}

/* ── Glass-on-scroll for the DARK variant (About only now) ──────────
   The about solid-ink rule above is (0,2,1) and outranks the sitewide
   glass rule (0,2,0), so without this the dark strip would stay solid
   while scrolled. Same translucency step as the pink band, in the ink;
   the blur comes from the sitewide glass rule (this page rule never
   declares backdrop-filter, so it cascades through untouched). (0,3,1)
   beats the solid variant. Modes dropped out of this selector when it
   reverted to the sitewide light strip — the plain glass rule elsewhere
   in this file already covers it correctly. */
.kwb-nav-floating body.page-id-115 .announce-bar {
  /* Same "thicker glass" step as the pink band (0.80 → 0.90; the ink
     runs a touch more opaque than the pink for text contrast). */
  background: rgba(29, 11, 9, 0.90);
}


/* ============================================================
   PUB-GROUPS PAGE — Enterprise variant (2026-09-28, Max)
   /for-pub-groups/ swaps the promo for "ENTERPRISE  Running
   multiple venues?  Yes, contact sales ->" on a peach band, just a
   shade more orange than the sitewide pink (Max: ever so slightly).
   Keyed off the page's own hero section rather than a page ID,
   because IDs differ between local, staging and live.
   2026-09-30 (Max): /for-pubs-bars-venues/ shows it too, so the
   key is now any hx hero (pub-groups -v1 AND the pubs -pb fork).
   ============================================================ */
.announce-bar .announce-bar__inner--enterprise { display: none; }
body:has(.kwb-segment--hx-hero) .announce-bar__inner:not(.announce-bar__inner--enterprise) { display: none; }
body:has(.kwb-segment--hx-hero) .announce-bar .announce-bar__inner--enterprise { display: flex; }
@media (max-width: 600px) {
  body:has(.kwb-segment--hx-hero) .announce-bar .announce-bar__inner--enterprise { display: block; }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  body:has(.kwb-segment--hx-hero) .announce-bar .announce-bar__inner--enterprise { display: flex; }
}
body:has(.kwb-segment--hx-hero) .announce-bar {
  background: #FDE5D6;                                  /* a touch peachier than the promo pink #FCE9E7 */
}
.kwb-nav-floating body:has(.kwb-segment--hx-hero) .announce-bar {
  background: rgba(253, 229, 214, 0.88);                /* same glass step as the pink band */
}

/* assets/css/components/button.css */
/* ==================================================================
   Button — kwizzbit/button (SHARED component)
   Spec: STYLEGUIDE.md §3. Used by every segment that renders .btn.
   Enqueued globally (front-end + editor iframe) via functions.php glob,
   so any pattern referencing .btn / .btn--primary / .btn--secondary
   inherits the full coral/dark gradient treatment without re-declaring it.
   ================================================================== */

.btn{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	border-radius: 0;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition:
		transform  var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out),
		background var(--wp--custom--motion--dur-fast) var(--wp--custom--motion--ease-out),
		box-shadow var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
}

.btn__arrow{
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	transition: transform var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
}
/* ════════════════════════════════════════════════════════════════════════
   THE brand arrow — one definition, every button, zero drift.
   Every primary/secondary CTA on the site (whatever its class — .btn,
   .learn-more, .features__cta, .features-trio__cta, .ah-hero__cta, .mode-cta,
   .plan-card__cta, .hero__cta …) embeds the SAME polygon: the "See all
   features" arrow on How it Works. We target it by its OWN geometry, not by
   button class, so no CTA — present or future — can opt out or drift. Glyph
   rendering, size, and the anti-jitter compositor layer ALL live right here.
   ════════════════════════════════════════════════════════════════════════ */
polygon[points^="82.391 9.65"]{          /* attribute selector → works in every browser */
	fill: #fff;
	stroke: #fff;
	stroke-width: 1;
	paint-order: stroke fill;            /* crisp silhouette, byte-identical everywhere */
}
svg:has(> polygon[points^="82.391 9.65"]){
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	display: block;
	transform: translateZ(0);            /* own GPU layer → never re-rasterises during a button's hover-lift → no shimmer */
	backface-visibility: hidden;
}
.btn:hover .btn__arrow{ transform: translateZ(0); } /* no 2D nudge; keeps the icon's compositor layer (see ICON STABILITY below) */

/* Primary — coral gradient */
.btn--primary{
	background: var(--wp--preset--gradient--btn-primary);
	color: var(--wp--preset--color--white);
	height: 42px;
	padding: 0 2.5rem;
}
@media (hover: hover){
	.btn--primary:hover{
		background: var(--wp--preset--gradient--btn-primary-hover);
		transform: translateY(-1px);
	}
}
/* Touch press — hover gradient + a tactile push-DOWN (fires on finger-down) */
.btn--primary:active{
	background: var(--wp--preset--gradient--btn-primary-hover);
	transform: translateY(1px);
}

/* Secondary — dark warm gradient */
.btn--secondary{
	background: var(--wp--preset--gradient--btn-secondary);
	color: var(--wp--preset--color--white);
	height: 42px;
	padding: 0 1.0625rem;
}
@media (hover: hover){
	.btn--secondary:hover{
		background: var(--wp--preset--gradient--btn-secondary-hover);
		transform: translateY(-1px);
	}
}
.btn--secondary:active{
	background: var(--wp--preset--gradient--btn-secondary-hover);
	transform: translateY(1px);
}

/* ==================================================================
   CTA CONSISTENCY — enforced across every button variant in every pattern
   (.btn, .mode-cta, .learn-more). Single source of truth; overrides any
   per-segment button styling that loads later.
   1. Arrow is always 10x10 (the modes reference).
   2. The arrow NEVER moves on hover.
   3. A button container NEVER carries a glow/shadow.
   ================================================================== */
.btn__arrow,
.mode-cta__arrow{
	width: 10px;
	height: 10px;
	flex-shrink: 0;
}
/* Some patterns wrap the SVG in a <span class="btn__arrow"> — an inline span ignores
   width/height, so the nested SVG would render at its natural (bigger) size. Size the
   inner SVG directly so every arrow is 10x10 regardless of span-vs-direct markup. */
.btn__arrow svg,
.mode-cta__arrow svg{
	width: 10px;
	height: 10px;
	display: block;
}
/* Some patterns (e.g. flow) put a BARE <svg> straight inside the button with no
   .btn__arrow wrapper and its own larger width/height attrs. Size those directly too
   so every CTA arrow is the 10x10 modes reference regardless of markup shape. */
.btn > svg,
.mode-cta > svg,
.learn-more > svg{
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	display: block;
}
/* Kill any per-pattern 2D arrow-nudge on hover. translateZ(0) (not `none`)
   so the icon's compositor layer survives the hover — see ICON STABILITY. */
.btn:hover .btn__arrow,
.mode-cta:hover .mode-cta__arrow,
.learn-more:hover .btn__arrow{
	transform: translateZ(0) !important;
}
.btn,
.btn--primary,
.btn--secondary,
.mode-cta,
.learn-more{
	box-shadow: none !important;
}

/* ==================================================================
   BUTTON EDGES — Max, 2026-09-16 (the card edge system's sibling).
   Every primary coral button wears a 1px #F42D1A edge, every secondary
   dark-brown button a 1px #120504 edge: one tone deeper than each fill,
   so the button reads as a solid object with a defined rim rather than a
   flat gradient patch. Enforced here, globally, across every variant the
   site renders (the survey of 2026-09-16 found these classes; add any new
   coral / dark CTA to the matching list). !important because segment
   sheets load after this one and several declare border: 0 / none at the
   same specificity. box-sizing is border-box sitewide, so no size change.
   The edge stays put on hover / active; only the fill shifts.
   ================================================================== */
.btn--primary,
.mode-cta--coral,
.plan-card__cta--primary,
.btn--pay,
.kwb-cta .kwb-cta__btn--coral,
.qh-gate__btn,
.mobile-menu__cta{
	border: 1px solid #F42D1A !important;
}
.btn--secondary,
.learn-more,
.features__cta,
.features-trio__cta,
.impact-2__btn,
.mode-cta,
.plan-card__cta--enterprise,
.contact__submit,
.bh-newsletter__btn,
.blog-newsletter__btn,
.anthem-trigger,
.gateway__cta,
.gateway__forgot-cta,
.payment-success__cta,
.kwb-cta .kwb-cta__btn--dark,
.qh-interval__next,
.qh-end__cta{
	border: 1px solid #120504 !important;
}
/* .mode-cta carries both classes when coral; the coral list must win */
.mode-cta.mode-cta--coral{ border-color: #F42D1A !important; }
/* Hover / press: the fill shifts to its hover gradient, so the rim steps
   down with it and stays one tone deeper (same delta as at rest:
   #D82A18 → #CD210F on coral, #0D0504 → #020000 on dark). Dark list first,
   coral second, so a coral .mode-cta resolves to the coral rim. The
   article offer card hovers as a whole card, hence the .kwb-cta:hover
   forms. */
@media (hover: hover){
	.btn--secondary:hover,
	.learn-more:hover,
	.features__cta:hover,
	.features-trio__cta:hover,
	.impact-2__btn:hover,
	.mode-cta:hover,
	.plan-card__cta--enterprise:hover,
	.contact__submit:hover,
	.bh-newsletter__btn:hover,
	.blog-newsletter__btn:hover,
	.anthem-trigger:hover,
	.gateway__cta:hover,
	.gateway__forgot-cta:hover,
	.payment-success__cta:hover,
	.kwb-cta:hover .kwb-cta__btn--dark,
	.qh-interval__next:hover,
	.qh-end__cta:hover{
		border-color: #020000 !important;
	}
	.btn--primary:hover,
	.mode-cta--coral:hover,
	.mode-cta.mode-cta--coral:hover,
	.plan-card__cta--primary:hover,
	.btn--pay:hover,
	.kwb-cta:hover .kwb-cta__btn--coral,
	.qh-gate__btn:hover,
	.mobile-menu__cta:hover{
		border-color: #CD210F !important;
	}
}
.btn--secondary:active,
.learn-more:active,
.features__cta:active,
.features-trio__cta:active,
.impact-2__btn:active,
.mode-cta:active,
.plan-card__cta--enterprise:active,
.contact__submit:active,
.bh-newsletter__btn:active,
.blog-newsletter__btn:active,
.anthem-trigger:active,
.gateway__cta:active,
.gateway__forgot-cta:active,
.payment-success__cta:active,
.kwb-cta:active .kwb-cta__btn--dark,
.qh-interval__next:active,
.qh-end__cta:active{
	border-color: #020000 !important;
}
.btn--primary:active,
.mode-cta--coral:active,
.mode-cta.mode-cta--coral:active,
.plan-card__cta--primary:active,
.btn--pay:active,
.kwb-cta:active .kwb-cta__btn--coral,
.qh-gate__btn:active,
.mobile-menu__cta:active{
	border-color: #CD210F !important;
}

/* ==================================================================
   ICON STABILITY — eliminate the sub-pixel "wiggle" on hover.
   When a button lifts (translateY) and/or cross-fades its gradient,
   the browser re-rasterises the whole button — SVG included — at
   fractional pixel offsets on every frame of the transition, so the
   icon's crisp edges shimmer. Promoting each icon to its own compositor
   layer (translateZ + backface-visibility) means it's painted ONCE and
   merely composited (moved/faded) with the button — never repainted —
   so it sits perfectly still. Pure rendering hint: no layout, colour,
   size or motion of the button itself changes. Covers every lift-button
   family sitewide (this file is enqueued globally).
   ================================================================== */
.btn svg,
.mode-cta svg,
.learn-more svg,
.impact-2__btn svg,
.footer-nav__social-link svg,
.plan-card__cta svg,
.anthem-trigger svg,
.gateway__cta svg,
.gateway__google svg,
.features__cta svg,
.features-trio__cta svg,
.ah-hero__cta svg,
.hero__cta svg,
.modes__cta svg,
.blog-post__quiz-cta svg,
.arrow-btn svg{
	display: block;
	transform: translateZ(0);
	backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce){
	.btn:hover,
	.btn:active,
	.btn:hover .btn__arrow{ transform: none !important; }
}

/* ==================================================================
   TOUCH SIZING — mobile & tablet (≤1023px) only; desktop untouched.
   Unifies every rectangular CTA family to a 48px touch target
   (the comfortable standard, vs the 44px legal minimum) with 15px
   label text so the type holds its proportion in the taller box.
   Before this block the families were uneven: .btn 44, .mode-cta 42,
   .learn-more ~38, .plan-card__cta ~36.
   !important because the per-segment files that set these families'
   heights/font-sizes load AFTER button.css alphabetically — same
   enforcement trick as the CTA CONSISTENCY block above.
   ================================================================== */
@media (max-width: 1023px){
	.btn,
	.mode-cta,
	.learn-more,
	.features__cta,
	.features-trio__cta,
	.mobile-menu__cta,
	.mobile-menu__login, /* sits flex-paired beside .mobile-menu__cta — must grow with it or the pair mismatches */
	.impact-2__btn,
	.plan-card__cta{
		min-height: 48px !important;
		font-size: 0.9375rem !important;
	}
	/* .plan-card__cta is inline-block (text-only label, text-align centring),
	   so min-height alone would leave its label pinned to the top — flex it
	   so the taller box still centres vertically. !important because
	   pricing.css loads after this file and would win the display battle. */
	.plan-card__cta{
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
	}
}

/* ==================================================================
   TOUCH PRESS FEEDBACK — reduced-motion guard for every CTA family.
   The per-family :active push-down is suppressed for users who asked
   for reduced motion; the gradient/colour shift still confirms the tap.
   ================================================================== */
@media (prefers-reduced-motion: reduce){
	.btn--primary:active, .btn--secondary:active, .mode-cta:active, .learn-more:active,
	.impact-2__btn:active, .features__cta:active, .features-trio__cta:active,
	.anthem-trigger:active, .plan-card__cta:active, .btn--pay:active,
	.gateway__google:active, .gateway__cta.is-visible:active, .gateway__forgot-cta.is-active:active,
	.mobile-menu__cta:active, .blog-newsletter__btn:active, .blog-post__share-btn:active,
	.cookie-modal__btn--ghost:active, .cookie-modal__btn--outline:active{
		transform: none !important;
	}
}

/* assets/css/components/comparison.css */
/* ==================================================================
   Comparison — kwizzbit/comparison (whole-file segment)
   Faithful slice of /HTML/comparison.html. Globals (reset/body/font-face/:root)
   dropped; tokens canonical (theme.json). Full-bleed via the .kwb-segment wrapper.
   ================================================================== */

/* Lightened 2026-10-06 to match the Features + Modes tables (Max chose
   mockup "A · Card"): card edge system fill + barely-there ink dividers,
   1px white hairline round the table. Was #F4E6D9 / rgba(182,156,146,.45). */
.comparison {
  --comparison-table-bg: #FFFAF5;
  --comparison-table-border: rgba(29, 11, 9, 0.07);
}
.comparison__table { outline: 1px solid #FFFFFF; }

    .comparison { background: var(--wp--preset--color--cream); padding-block: 5rem 6rem; }
    .comparison__inner { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3rem); overflow: visible; }

    /* HEADER */
    .comparison__header { text-align: left; margin-bottom: 3rem; }
    .comparison__title {
      font-family: var(--wp--preset--font-family--display);
      font-weight: 400;
      color: var(--wp--preset--color--ink);
      margin: 0 0 1.25rem;
      line-height: 0.92;
    }
    .comparison__title-line1 {
      display: block;
      font-family: 'Pixelar', monospace;
      font-size: 1.1875rem;
      font-weight: 400;
      letter-spacing: 0.06em;
      color: var(--wp--preset--color--coral);
      line-height: 1;
      margin-bottom: 0.5rem;
    }
    .comparison__title-line2 {
      display: block;
      font-size: clamp(1.875rem, 10.13vw, 3.4375rem); /* Scales on mobile, locks at 55px (= features-9 headline) */
      letter-spacing: -0.09em;
      line-height: 0.85;
    }

    /* Tablet and above: lock to desktop size, never scale down */
    @media (min-width: 641px) {
      .comparison__title-line2 { font-size: 3.4375rem; }
    }
    .comparison__title-cursor {
      color: var(--wp--preset--color--coral);
      animation: cursor-blink 1.1s step-end infinite;
    }
    @keyframes cursor-blink {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0; }
    }
    /* Trophy float — global spec: translateY + rotate drift, 4s ease-in-out infinite */
    @keyframes trophy-float {
      0%   { transform: translateY(0)     rotate(-2deg); }
      30%  { transform: translateY(-8px)  rotate(1deg);  }
      60%  { transform: translateY(-4px)  rotate(-1deg); }
      100% { transform: translateY(0)     rotate(-2deg); }
    }
    /* Zero-width anchor — global technique (STYLEGUIDE §8) */
    .comparison__trophy-anchor {
      position: relative;
      display: inline-block;
      width: 0;
      overflow: visible;
    }
    .comparison__trophy-float {
      position: absolute;
      left: -3.5rem;
      top: -3.75rem;
      width: 99px; /* 110 * 0.9 = 99 */
      height: auto;
      pointer-events: none;
      animation: trophy-float 4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
      image-rendering: pixelated;
    }
    @media (max-width: 640px) {
      .comparison__trophy-float {
        width: 54px; /* 60 * 0.9 = 54 */
        top: -2.25rem;
        left: -1.5rem;
      }
    }
    .comparison__lead {
      font-size: 1rem;
      font-weight: 500;
      line-height: 1.6;
      color: var(--wp--custom--color--subcopy);
      margin: 0;
      max-width: 360px;
    }

    /* TABLE WRAPPER — the header above is left-aligned; the table itself
       should be centred in the window. We break it out of the left-aligned
       inner by applying its own centring so it always spans the full inner
       width symmetrically. */
    .comparison__table-wrap {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      /* 40px lets the row-1 shadow bleed freely past the inner container padding */
      padding-inline: 40px;
      margin-inline: -40px;
      position: relative;
      /* Re-centre the table independent of the left-aligned header above */
      align-self: center;
    }
    /* Left-edge fade: appears over the table when scrolled, masking
       the truncated label column. Triggered by .is-scrolled class via JS. */


    /* OUTER GRID */
    .comparison__grid {
      display: grid;
      /* Fixed column widths — never flex, never squeeze.
         Label: 280px, each feature col: 120px. Total: 1000px.
         Horizontal scroll handles any viewport narrower than this. */
      /* Label: 280px + 6 feature cols: 140px each = 1120px total.
         Matches the pricing grid (4 × 268px + 3 × 1rem = 1120px) above it. */
      grid-template-columns: 280px repeat(6, 140px);
      min-width: 1120px;
      width: 1120px;
      margin-inline: auto; /* centre within the wrapper */
    }

    /* COLUMN HEADERS */
    .comparison__col-head-cell {
      background: transparent;
      padding: 0 0.5rem 1rem;
      font-family: var(--wp--preset--font-family--body);
      font-size: 0.8125rem;
      font-weight: 600;
      line-height: 1.3;
      color: var(--wp--preset--color--ink);
      text-align: center;
    }
    .comparison__col-head-cell:first-child { text-align: left; padding-left: 0; }

    /* TABLE BOX */
    .comparison__table {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: subgrid;
      background: var(--comparison-table-bg);
      border-radius: 0;
      border: none;
      overflow: visible;
    }

    /* ROW CELLS
       Dividers start at the icon left-edge, not the cell edge.
       padding-left on label is 1.375rem (22px). Icon is 28px wide.
       Gap between icon and copy is 0.875rem (14px).
       We use a background-image gradient instead of border-bottom on
       the label cell so we can offset the line start precisely.
       Feature cells keep a standard border-bottom. */
    .comparison__cell,
    .comparison__row-label {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.25rem 0.5rem;
      background: var(--comparison-table-bg);
    }
    /* Kwizzbit row label always white to match its row */
    .comparison__row--kwizzbit.comparison__row-label {
      background: var(--wp--preset--color--white);
    }
    /* Sticky label column handled via JS — see script at bottom */
    /* Feature cells: standard divider, full width */
    .comparison__cell {
      border-bottom: 0.5px solid var(--comparison-table-border);
    }
    /* Last feature cell in each row: mask final 20px via pseudo to create
       right-side indent matching the left-side icon offset */
    .comparison__cell:last-child {
      position: relative;
    }
    .comparison__cell:last-child::after {
      content: "";
      position: absolute;
      bottom: -0.5px;
      right: 0;
      width: 20px;
      height: 1px;
      background: var(--comparison-table-bg);
      pointer-events: none;
    }
    /* Label cell: divider starts at icon left-edge (1.375rem), runs to 100% */
    .comparison__row-label {
      justify-content: flex-start;
      gap: 0.875rem;
      padding-left: 1.375rem;
      padding-right: 1rem;
      background-image: linear-gradient(
        to right,
        transparent 1.375rem,
        var(--comparison-table-border) 1.375rem
      );
      background-repeat: no-repeat;
      background-size: 100% 0.5px;
      background-position: bottom;
    }
    .comparison__row--last.comparison__cell,
    .comparison__row--last.comparison__row-label {
      background-image: none !important;
      /* Explicit border-bottom on every last-row cell.
         Safari skips the table container's bottom border when overflow: visible
         is set. Drawing it on the cells themselves is always reliable. */
      border-bottom: 0.5px solid var(--comparison-table-border) !important;
    }
    /* Last cell pseudo: suppress on last row */
    .comparison__row--last.comparison__cell:last-child::after {
      display: none;
    }
    /* Alt rows: same backdrop as plain rows (no tint) */
    .comparison__row--alt.comparison__cell,
    .comparison__row--alt.comparison__row-label { background-color: transparent; }
    /* Alt rows: same divider as plain rows */
    .comparison__row--alt.comparison__row-label {
      background-image: linear-gradient(
        to right,
        transparent 1.375rem,
        var(--comparison-table-border) 1.375rem
      );
      background-repeat: no-repeat;
      background-size: 100% 0.5px;
      background-position: bottom;
    }

    /* ============================================================
       KWIZZBIT ROW — animated conic gradient border
       Technique: a full-width wrapper div (grid-column: 1/-1) holds
       the conic gradient as its background. A white ::after pseudo
       masks the interior, leaving a 1px animated border all around.
       The 7 cell divs sit inside this wrapper via CSS subgrid.
       This avoids any overflow/clip issues entirely.
       ============================================================ */
    @keyframes border-spin-ccw {
      to { --border-angle: -360deg; }
    }

    /* The wrapper spans all 7 columns */
    .comparison__row--kwizzbit-wrap {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: subgrid;
      position: relative;
      z-index: 2;
      /* Conic gradient border via background */
      background: conic-gradient(
        from var(--border-angle),
        #FD4631 0% 60%,
        #FFCB2B 75%,
        #FD4631 90% 100%
      );
      animation: border-spin-ccw 5s linear infinite;
      /* Bleed outside the table's 0.5px border on all sides.
         Padding matches: 2px top/bottom, 2.5px left/right to compensate
         for the 0.5px table border the margin pulls us over. */
      margin: -0.5px;
      padding: 2px 2.5px;
      /* Shadow: #FF3623 10%, Y:18 blur:45 — from Sketch spec */
      box-shadow: 0 18px 45px rgba(255, 54, 35, 0.10);
    }

    /* White interior: a pseudo that fills everything inside the 1px padding */
    .comparison__row--kwizzbit-wrap::after {
      content: "";
      position: absolute;
      inset: 2px 2.5px;
      background: var(--wp--preset--color--white);
      z-index: 0;
      pointer-events: none;
    }

    /* Cells inside the wrapper sit above the white pseudo */
    .comparison__row--kwizzbit.comparison__cell,
    .comparison__row--kwizzbit.comparison__row-label {
      background: var(--wp--preset--color--white);
      border-bottom: none;
      background-image: none; /* no divider on kwizzbit row */
      position: relative;
      z-index: 1;
    }

    /* LABEL INTERNALS */
    .comparison__trophy-wrap { position: relative; }
    .comparison__row-icon { flex-shrink: 0; width: 25px; display: flex; align-items: center; justify-content: center; }

    /* Label copy: auto width, constrained by grid column.
       Subcopy width matches the Kahoot row title width via fit-content
       with a shared max-width derived from the longest title. */
    .comparison__row-label-copy {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      /* Let the copy block be as wide as the longest title naturally.
         We use width: fit-content so each instance shrinks to its content.
         All rows share max-width = width of "Edu tools (eg. Kahoot/Wayground)"
         at 0.875rem 700 — measured at ~163px. Set slightly generously. */
      width: fit-content;
      max-width: 168px;
    }
    .comparison__kw-logo { width: 79px; height: auto; display: block; image-rendering: pixelated; }
    .comparison__row-name {
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--wp--preset--color--ink);
      line-height: 1.2;
      white-space: nowrap; /* titles don't wrap — their natural width drives the column */
    }
    .comparison__row-name-suffix { font-size: 0.8125rem; } /* 1px smaller than row-name */
    .comparison__row-desc {
      font-size: 0.75rem;
      font-weight: 500;
      color: var(--wp--custom--color--subcopy);
      line-height: 1.4;
      /* Subcopy wraps within the same max-width as the title above it */
      white-space: normal;
    }

    /* FLAG */
    .comparison__flag { display: flex; align-items: center; justify-content: center; }
    .comparison__flag svg { display: block; flex-shrink: 0; }

    /* TROPHY */
    .comparison__trophy { position: absolute; right: -52px; bottom: -8px; width: 96px; pointer-events: none; }

    /* SCROLL HINT */
    .comparison__scroll-hint { display: none; align-items: center; justify-content: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 600; color: var(--wp--custom--color--subcopy); margin-bottom: 1.5rem; padding: 0.5rem 0.875rem; background: rgba(255, 54, 35, 0.07); border-radius: 0; align-self: center; width: fit-content; margin-inline: auto; }
    @keyframes scroll-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
    .comparison__scroll-hint svg { animation: scroll-nudge 1.6s ease-in-out infinite; }

    /* SCROLL REVEAL */
    .comparison .js-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1); }
    .comparison .js-reveal.is-visible { opacity: 1; transform: none; }

    /* TABLET */
    @media (max-width: 1023px) {
      .comparison { padding-block: 4rem 5rem; }
      .comparison__header { margin-bottom: 1.5rem; }
      .comparison__scroll-hint { display: flex; }
      /* Table, columns, typography — all unchanged from desktop.
         Horizontal scroll handles any overflow. Nothing squeezes. */
    }

    /* MOBILE */
    @media (max-width: 640px) {
      .comparison { padding-block: 3rem 3.5rem; }
      .comparison__header { margin-bottom: 1.5rem; }
      .comparison__lead { font-size: 1rem; max-width: 280px; } /* 16px on mobile — matches hero lead */
      /* Table, columns, icons, typography — all unchanged from desktop.
         Horizontal scroll handles any overflow. Nothing squeezes. */
      .comparison__scroll-hint svg { shape-rendering: crispEdges; image-rendering: pixelated; }
      .comparison__title-line1 { font-size: 18px; } /* Pixelar eyebrow → 16px on mobile */
      /* Left-align the scroll indicator — the header is already left-aligned
         so the hint should sit flush with the header copy, not centred. */
      .comparison__scroll-hint { margin-inline: 0; }
    }

/* assets/css/components/cookie-modal.css */
/* ==================================================================
   .cookie-modal — bottom-right toast (desktop/tablet),
                   edge-to-edge bottom sheet (mobile).
   Pattern: kwizzbit/cookie-modal
   Spec:    /HTML/cookies-modal.html

   Token sources:
     Colour   — theme.json settings.color.palette + settings.custom.color
     Spacing  — theme.json settings.spacing.spacingSizes
     Shadow   — theme.json settings.custom.shadow.dropdown
     Motion   — theme.json settings.custom.motion.{ease-out,ease-in-out,dur-base,dur-slow}
     Font     — theme.json settings.typography.fontFamilies.body
     Sizes    — theme.json settings.typography.fontSizes.sm

   The preview file's :root token redeclaration block has been stripped — global
   tokens flow from theme.json, which carries the canonical values
   (cream #FCF0E6 — the preview's #FBEBDD override was incorrect).
   ================================================================== */

.cookie-modal{
	position: fixed;
	right: var(--wp--preset--spacing--60);
	bottom: var(--wp--preset--spacing--60);
	z-index: 200;                       /* above sticky nav (100) */
	width: min(360px, calc(100vw - var(--wp--preset--spacing--60) * 2));
	/* iOS 26 Safari tints the area behind its minimised tab bar from the
	   background-color of whatever fixed element sits at the bottom of the
	   viewport, and the white glass panel was painting a white strip under
	   the bubble (2026-09-16). The fixed box is now a zero-height anchor
	   carrying the page cream (nothing visible, but that is the colour
	   Safari samples) and the panel hangs off it absolutely. */
	height: 0;
	background-color: var(--wp--preset--color--cream);
}
.cookie-modal__panel{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

/* Liquid-glass fill — Figma Glass values:
   Blur 100, Distortion/Depth 50, ChromAberr 0, Saturation 0%,
   Brightness 100%, Specular Highlight ON.
   CSS approximates distortion + depth via specular highlight
   (inset top/left bright edge + inset bottom/right shadow). */
.cookie-modal__panel{
	/* Raised alpha (0.82) keeps the panel legible over vivid imagery.
	   Boosted saturate (180%) + brightness (115%) let the blurred backdrop
	   stay vivid instead of going grey — the classic Apple glass formula. */
	background: rgba(255,255,255,0.82);
	backdrop-filter: blur(40px) saturate(180%) brightness(115%);
	-webkit-backdrop-filter: blur(40px) saturate(180%) brightness(115%);
	box-shadow:
		var(--wp--custom--shadow--dropdown),
		inset 1px 1px 0 rgba(255,255,255,0.55),     /* specular top-left */
		inset -1px -1px 0 rgba(0,0,0,0.04);          /* depth bottom-right */
	border-radius: 0;
	padding: var(--wp--preset--spacing--50);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
}

/* Entrance */
.cookie-modal[data-state="open"] .cookie-modal__panel{
	animation: cookie-modal-in var(--wp--custom--motion--dur-slow)
	           var(--wp--custom--motion--ease-out) both;
}
@keyframes cookie-modal-in{
	from{ opacity: 0; transform: translateY(12px); }
	to  { opacity: 1; transform: translateY(0);    }
}

/* Exit — driven by JS inline styles; transition declared here */
.cookie-modal__panel{
	transition:
		opacity  360ms var(--wp--custom--motion--ease-in-out),
		transform 360ms var(--wp--custom--motion--ease-in-out);
}

/* Body copy */
.cookie-modal__text{
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;                   /* Roobert Medium */
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.5;
	color: var(--wp--preset--color--ink-soft);
}
.cookie-modal__text strong{
	font-weight: 700;                   /* Roobert Bold */
	color: var(--wp--preset--color--ink);
}

/* Action row */
.cookie-modal__actions{
	display: flex;
	align-items: stretch;
	gap: var(--wp--preset--spacing--40);
}

/* Shared base for the two scoped variants — kept local to .cookie-modal
   so site-wide .btn--primary / .btn--secondary stay untouched. */
.cookie-modal__btn{
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1;
	min-height: 44px;                   /* a11y tap target */
	padding: 0 var(--wp--preset--spacing--50);
	border-radius: 0;
	cursor: pointer;
	transition:
		background-color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out),
		color            var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out),
		border-color     var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
	-webkit-tap-highlight-color: transparent;
}
.cookie-modal__btn:focus-visible{
	outline: 2px solid var(--wp--preset--color--coral);
	outline-offset: 3px;
}

/* Ghost — "Maybe later" */
.cookie-modal__btn--ghost{
	background: transparent;
	border: 0;
	color: var(--wp--preset--color--ink);
	padding-left: 0;
	padding-right: var(--wp--preset--spacing--40);
}
@media (hover: hover){
	.cookie-modal__btn--ghost:hover{
		color: var(--wp--preset--color--coral);
	}
}
.cookie-modal__btn--ghost:active{
	color: var(--wp--preset--color--coral);
	transform: translateY(1px);
}

/* Outline — "Accept Cookies" */
.cookie-modal__btn--outline{
	background: transparent;
	border: 1px solid var(--wp--custom--color--mobile-login-border);
	color: var(--wp--preset--color--ink);
	flex: 1;
	white-space: nowrap;
}
@media (hover: hover){
	.cookie-modal__btn--outline:hover{
		background: var(--wp--preset--color--ink);
		border-color: var(--wp--preset--color--ink);
		color: var(--wp--preset--color--white);
	}
}
.cookie-modal__btn--outline:active{
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	transform: translateY(1px);
}

/* ==================================================================
   Mobile (≤640px) — edge-to-edge bottom sheet
   ================================================================== */
@media (max-width: 640px){
	.cookie-modal{
		right: var(--wp--preset--spacing--30);
		left:  var(--wp--preset--spacing--30);
		bottom: var(--wp--preset--spacing--30);
		width: auto;
	}
	.cookie-modal__panel{
		padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50)
		         var(--wp--preset--spacing--40);
		gap: var(--wp--preset--spacing--40);
		/* iOS 26 Safari paints the strip behind its minimised tab bar in the
		   colour of this panel (the cream anchor on .cookie-modal was not
		   enough on its own, checked on Max's phone 2026-09-16). White glass
		   gave a white strip, so on phones the sheet is a plain page-cream
		   card: same colour as the strip, so it disappears. Shadow and the
		   specular hairline still give it its lift. */
		background: var(--wp--preset--color--cream);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
	.cookie-modal__btn{
		padding: 0 var(--wp--preset--spacing--40);
	}
	.cookie-modal__btn--ghost{
		padding-left: 0;
	}
}

/* ==================================================================
   Reduced motion
   ================================================================== */
@media (prefers-reduced-motion: reduce){
	.cookie-modal[data-state="open"] .cookie-modal__panel{
		animation: none;
	}
	.cookie-modal__panel,
	.cookie-modal__btn{ transition: none; }
}

/* assets/css/components/faq.css */
/* ==================================================================
   FAQ — kwizzbit/faq (whole-file segment)
   Faithful slice of /HTML/faq.html. Globals (reset/body/font-face/:root)
   dropped; tokens canonical (theme.json). Full-bleed via the .kwb-segment wrapper.
   ================================================================== */

  .faq {
    /* Match the comparison section's backdrop */
    background: var(--wp--preset--color--cream);
    position: relative;
  }

  .faq__inner {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 3rem);
    padding-block: 8.5rem 9.5rem;
    display: grid;
    grid-template-columns: 380px 600px;
    justify-content: center;
    gap: 80px;
    align-items: start;
  }

  .faq__sidebar {
    position: sticky;
    top: calc(88px + 2rem);
    align-self: start;
    /* Cap height to the visible window minus the sticky offset so the sidebar
       never scrolls out of view even with a long FAQ list. */
    max-height: calc(100vh - 88px - 4rem);
    overflow-y: auto;
  }

  .faq__title {
    font-family: var(--wp--preset--font-family--display);
    font-size: 3.4375rem; /* 55px — matches comparison + features-9 headline */
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.10769em;
    color: var(--wp--preset--color--ink);
    margin-bottom: 1rem;
  }

  .faq__title-accent {
    color: var(--wp--preset--color--coral);
    animation: cursor-blink 1.1s step-end infinite;
  }

  .faq__lead {
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--nav);
    font-weight: 500;
    line-height: 1.5;
    color: var(--wp--preset--color--ink);
    margin-bottom: 1.75rem;
    max-width: 28ch;
  }

  .faq__lead a {
    color: var(--wp--preset--color--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
  }

  .faq__lead a:hover { color: var(--wp--custom--color--nav-ink); }

  /* Scoped to .faq: faq.css loads only on pages carrying this segment, and a
     bare `.btn` here used to leak into the header's fixed Get-started CTA
     (24px padding vs the sitewide 17px, so the button grew on Pricing). */
  .faq .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.5rem;
    border: none;
    border-radius: 0;
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out),
                transform var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
  }

  .faq .btn--secondary {
    background: linear-gradient(to right, #1D0B09, #3E1916);
    color: var(--wp--preset--color--white);
  }

  @media (hover: hover) {
    .faq .btn--secondary:hover {
      background: linear-gradient(to right, #0D0504, #2A100E);
      transform: translateY(-1px);
    }
  }

  .faq__list { position: relative; }


  .faq-item { border-top: 0.5px solid var(--wp--custom--color--faq-divider); }
  .faq-item:first-child { border-top: none; }


  .faq-item__trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1.375rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    cursor: pointer;
    text-align: left;
  }

  .faq-item__question {
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--nav);
    font-weight: 600;
    line-height: 1.3;
    color: var(--wp--preset--color--ink);
    transition: color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
  }

  .faq-item__trigger:hover .faq-item__question { color: var(--wp--custom--color--nav-ink); }

  .faq-item__chevron {
    flex-shrink: 0;
    width: 12px;
    height: 8px;
    color: var(--wp--preset--color--ink);
    transition: transform var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
  }

  .faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }

  .faq-item__body {
    overflow: hidden;
    height: 0;
    transition: height var(--wp--custom--motion--dur-slow) var(--wp--custom--motion--ease-out);
  }

  .faq-item__answer {
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--nav);
    font-weight: 500;
    line-height: 1.6;
    color: var(--wp--custom--color--faq-answer);
    padding-bottom: 1.375rem;
    padding-right: 2rem;
    max-width: 100%;
  }

  /* Answers are backend-editable (kwb_faq) and may hold several paragraphs. */
  .faq-item__answer p { margin: 0 0 0.875rem; }
  .faq-item__answer p:last-child { margin-bottom: 0; }

  .scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.65s var(--wp--custom--motion--ease-out),
                transform 0.65s var(--wp--custom--motion--ease-out);
  }
  .scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
  .scroll-reveal--delay { transition-delay: 0.1s; }

  @media (prefers-reduced-motion: reduce) {
    .scroll-reveal { opacity: 1; transform: none; transition: none; }
    .faq-item__body { transition: none; }
    .faq-item__chevron { transition: none; }
    .faq__title-accent { animation: none; }
  }

  @keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
  }

  @media (max-width: 1023px) {
    .faq__inner {
      grid-template-columns: 1fr;
      gap: 3rem;
      padding-block: 7rem 7.5rem;
    }
    .faq__sidebar { position: static; }
    .faq__title { font-size: 3.4375rem; line-height: 0.95; }
    .faq__lead { max-width: 44ch; }
  }

  @media (max-width: 640px) {
    .faq__inner { padding-block: 7.875rem 6.5rem; gap: 2rem; }
    .faq__title {
      font-size: clamp(1.875rem, 10.13vw, 2.375rem);
      line-height: 0.8421;
      letter-spacing: -0.10763em;
    }
    /* Centre sidebar — title, lead text, and View all FAQs button */
    .faq__sidebar { text-align: center; }
    /* Lead — constrained width on mobile + centred */
    .faq__lead { font-size: 1rem; max-width: min(28ch, 90%); margin-inline: auto; }
    /* Button is display:inline-flex — centred by text-align:center on parent */
    .faq-item__question { font-size: var(--wp--preset--font-size--sm); }
    .faq-item__answer { font-size: var(--wp--preset--font-size--sm); }
    .faq-item__trigger { padding: 1rem 0; }
  }

/* assets/css/components/footer.css */
/* ==================================================================
   Footer — kwizzbit/footer (shared chrome)
   Faithful slice of /HTML/footer.html. Local color / font / layout tokens
   remapped to canonical wp tokens (theme.json). Reset/body/font-face dropped (global).
   ================================================================== */

/* ── FOOTER ── */
.site-footer {
  background: var(--wp--preset--color--blood-orange);
  position: relative;
  /* clip BOTH axes — vertical too, so the K can never spill past the backdrop
     edge (that hairline was the "white strip"). The K is fully contained inside
     the 412px min-height below, so clipping never crops the visible K. */
  overflow: clip;
  /* The decorative K is 412px tall and vertically centred. Match the backdrop
     EXACTLY to its height so the full K shows with no extra blood-orange above
     or below it. space-between keeps the original composition — brand/nav at the
     top, copyright at the bottom. The flex children set width:100% so they still
     fill to the 90rem page-max (auto margins alone would shrink them to content
     width in a flex parent — that was the "squeezed inward" look). Grows on mobile. */
  min-height: 412px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Large K background decoration */
.site-footer__bg-k {
  position: absolute;
  /* Anchor to inner container left edge so K tracks with logo at all viewport widths */
  left: max(var(--wp--custom--layout--gutter), calc(50% - (var(--wp--custom--layout--page-max) / 2) + var(--wp--custom--layout--gutter) - 40px));
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  width: 370px;
  height: 412px;
  opacity: 0.12; /* subtle ghost — no blend mode, Safari-safe */
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;  /* fill to max-width in the flex parent (auto margins would otherwise shrink to content) */
  max-width: var(--wp--custom--layout--page-max);
  margin-inline: auto;
  padding-inline: var(--wp--custom--layout--gutter);
  padding-block: 5rem 4rem;
  display: grid;
  grid-template-columns: minmax(min-content, 220px) 1fr;
  gap: 0 4rem;
  align-items: start;
}

/* ── Brand column ── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand__logo {
  display: block;
  width: 105px;
  max-width: 105px;
  height: auto;
  flex-shrink: 0;
  position: relative; /* anchor for the version tag */
  /* transform-origin: center causes a sub-pixel repaint shift every time
     surrounding flex layout recalculates. Anchoring to left prevents that. */
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: left center;
  /* Pin the logo to its own compositor layer so the blinking tagline cursor's
     1.1s repaints can't re-rasterise it onto a different sub-pixel row (the ~1px
     "wiggle"). translateZ(0) is the resting transform; the hover tilt composes
     with it so the layer stays promoted throughout. */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.footer-brand__logo:hover,
.footer-brand__logo:active {
  transform: rotate(-1deg) translateZ(0);
}

/* ── Hover easter egg: white "3.0" version tag (footer twin of the nav one).
   Footer logo is already white on the dark footer, so the tag is plain white —
   no filter needed. Slides out from behind the wordmark's right edge. ── */
.footer-brand__ver {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 4px;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-7px);
  transition: opacity 0.18s ease,
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-brand__logo:hover .footer-brand__ver,
.footer-brand__logo:focus-visible .footer-brand__ver {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .footer-brand__ver { transform: none; transition: opacity 0.18s ease; }
  .footer-brand__logo:hover .footer-brand__ver,
  .footer-brand__logo:focus-visible .footer-brand__ver { transform: none; }
}

.footer-brand__tagline {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 400;
  font-size: 1.75rem; /* 28px — small enough to sit on 2 lines within brand column */
  line-height: 1.75rem;
  letter-spacing: -0.08333em;
  color: var(--wp--preset--color--white);
  max-width: 260px;
}

/* ── Nav columns ── */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 1rem;
  padding-left: 12rem;
}

.footer-nav__col {}

.footer-nav__heading {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600; /* Bold per spec */
  font-size: 0.9375rem; /* 15px */
  line-height: 1;
  color: var(--wp--preset--color--white);
  margin-bottom: 1.25rem;
  display: block;
}

.footer-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* Both link types locked to identical row height for column alignment parity */
.footer-nav__list li,
.footer-nav__social-list li {
  display: flex;
  align-items: center;
  height: 1.25rem; /* 20px — explicit row height, same across all 4 columns */
  line-height: 1;
}

.footer-nav__list li svg,
.footer-nav__social-list li svg {
  display: block;
  flex-shrink: 0;
}

.footer-nav__link {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 500;
  font-size: 0.9375rem; /* 15px */
  line-height: 1;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 160ms ease-out;
  display: inline-flex;
  align-items: center;
}

.footer-nav__link:hover,
.footer-nav__link:focus-visible {
  color: var(--wp--preset--color--white);
  outline: none;
}

/* ── Social links (Connect column) ── */
.footer-nav__social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-nav__list li,
.footer-nav__social-list li {
  display: flex;
  align-items: center;
  min-height: calc(0.9375rem * 1); /* 15px — matches font-size at line-height:1 */
}

.footer-nav__social-list li {
  line-height: 1;
}

.footer-nav__social-list li svg {
  display: block;
  flex-shrink: 0;
}

.footer-nav__social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1; /* match .footer-nav__link */
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 160ms ease-out;
}

.footer-nav__social-link:hover,
.footer-nav__social-link:focus-visible {
  color: var(--wp--preset--color--white);
  outline: none;
}

.footer-nav__social-link svg {
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 160ms ease-out;
}

.footer-nav__social-link:hover svg,
.footer-nav__social-link:focus-visible svg {
  opacity: 1;
}

/* Channels that don't exist yet: the icon still sets the expectation, but
   nothing is clickable and the label says why. Rendered as a <span>, so
   there is no link to follow and no hover promise to break. */
.footer-nav__social-link--soon {
  color: rgba(255,255,255,0.45);
  cursor: default;
}
.footer-nav__social-link--soon svg { opacity: 0.45; }
.footer-nav__social-soon {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 0.6875rem; /* 11px */
  line-height: 1;
  color: var(--wp--preset--color--white);
  background: #EC6F5F; /* solid light coral, a step up from the footer's blood-orange */
  padding: 0.1875rem 0.375rem; /* keeps the row inside the 1.25rem list height */
  margin-left: 0.375rem;
  white-space: nowrap;
}

/* ── Bottom bar ── */
.footer-bottom {
  position: relative;
  z-index: 1;
  width: 100%;  /* fill to max-width in the flex parent (see .site-footer__inner note) */
  max-width: var(--wp--custom--layout--page-max);
  margin-inline: auto;
  padding-inline: var(--wp--custom--layout--gutter);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom__copy {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 500;
  font-size: 0.8125rem; /* 13px */
  color: rgba(255,255,255,0.55);
}

/* ── Back-to-top courtesy link ── */
.footer-totop {
  width: 100%;
  max-width: var(--wp--custom--layout--page-max);
  margin-inline: auto;
  padding-inline: var(--wp--custom--layout--gutter);
  padding-top: 0.75rem; /* breathing room from the nav above */
  display: flex;
  justify-content: flex-start; /* left edge matches the copyright line below */
}
.footer-totop__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 0.8125rem; /* 13px — sibling to the copyright line */
  letter-spacing: 0.01em;
  color: var(--wp--preset--color--bright-yellow);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-totop__link:hover,
.footer-totop__link:focus-visible {
  color: #fff;
}
.footer-totop__arrow {
  transition: transform 0.2s ease;
}
.footer-totop__link:hover .footer-totop__arrow,
.footer-totop__link:focus-visible .footer-totop__arrow {
  transform: translateY(-2px); /* tiny lift reinforces "up" */
}
@media (prefers-reduced-motion: reduce) {
  .footer-totop__arrow { transition: none; }
}

/* ── SCROLL REVEAL — matches site-wide spec ── */
.footer-brand,
.footer-nav__col {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-brand.is-visible,
.footer-nav__col.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .footer-brand,
  .footer-nav__col {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── TABLET (≤1023px) ── */
@media (max-width: 1023px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 3rem 0;
    padding-block: 3.5rem 3rem;
  }

  .site-footer__bg-k {
    /* Fill full footer height, pin top to top, clip any horizontal overflow */
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    transform: none;
    overflow: hidden;
  }

  .site-footer__bg-k svg {
    width: auto;
    height: 100%;
    display: block;
  }

  .footer-brand__tagline {
    font-size: 1.75rem;
    line-height: 1.75rem;
    max-width: 260px;
  }

  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
    padding-left: 0;
  }
}

/* ── MOBILE (≤640px) ── */
@media (max-width: 640px) {
  .site-footer__inner {
    padding-block: 3rem 2.5rem;
    gap: 2.5rem 0;
  }

  .site-footer__bg-k {
    top: 0;
    bottom: auto;
    left: auto;
    right: 0;
    height: auto;
    width: 55vw;
    transform: none;
    overflow: visible;
  }

  .site-footer__bg-k svg {
    width: 100%;
    height: auto;
    display: block;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1rem;
    padding-left: 0;
  }

  /* Grid layout: Product(1,1) Company(1,2) Legal(2,1) Connect(2,2) */
  .footer-nav__col--connect {
    grid-column: auto; /* sits naturally in col 2, row 2 — next to Legal */
  }

  .footer-brand__tagline {
    font-size: 1.75rem;           /* 28px on mobile */
    line-height: 1.75rem;         /* tight = 1:1 ratio, matches desktop 36px/36px */
    letter-spacing: -0.08333em;   /* locked — same as desktop (-3 tracking at any size) */
  }

  .footer-nav__social-list {
    flex-direction: column; /* stay as a stack, same as other columns */
    flex-wrap: nowrap;
    gap: 0.875rem;          /* match other columns exactly */
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-block: 1.25rem;
  }
}

/* ── TAGLINE TYPING ANIMATION ── */
.footer-tagline__type-wrap {
  display: inline;
  white-space: nowrap;
}

/* Cursor — matches site-wide cursor-blink spec: step-end, 1.1s */
.footer-tagline__cursor {
  display: inline;
  opacity: 0; /* hidden until typing is done */
}

.footer-tagline__cursor.is-blinking {
  animation: cursor-blink 1.1s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Typed characters fade in sharply — no fade, snap in like a real keypress */
.footer-tagline__char {
  display: inline;
  opacity: 0;
}

.footer-tagline__char.is-typed {
  opacity: 1;
}

/* assets/css/components/nav.css */
/* ==================================================================
   Nav — kwizzbit/site-header + kwizzbit/mobile-menu (shared chrome)
   Faithful slice of /HTML/nav.html. Tokens are canonical wp tokens; reset, body,
   sr-only, container, font-face stripped (global). Dropdowns, hamburger, mobile overlay.
   ================================================================== */

    /* ==========================================================
       SITE HEADER (kwizzbit/site-header) — minimal version
       Full spec already documented in COMPONENTS.md §1.
       Dropdown JS omitted here — chevrons shown but inert.

       LAYOUT: At desktop the inner uses a 3-col grid (1fr auto 1fr)
       so the nav is always geometrically centred regardless of how
       wide the logo or actions columns are. padding-inline is fixed
       at 36px at desktop so logo and CTA sit exactly 36px from
       their respective page edges, as requested.
       ========================================================== */
    /* Standard top nav, links centred via the 1fr / auto / 1fr grid below.
       The Get started button floats fixed top-right at all times (relume-style)
       — a great always-visible conversion CTA. Its footprint is reserved in the
       actions group so Login keeps its place. NOTE: this only stays centred
       because no component leaks a `display` onto .site-header (the contact
       pattern used to — fixed at source). */
    .site-header {
      background: var(--wp--preset--color--cream);
      min-height: 5.5rem;
      position: relative;
    }

    @media (min-width: 1024px) {
      .site-header__actions .btn--secondary {
        position: fixed;      /* floats over content + stays visible on scroll */
        /* Clear the announce bar (its measured height, published by nav.js)
           then centre in the 5.5rem header below it.
           The bar is PINNED to the viewport top at all times now
           (announce-bar.css), so this is the button's permanent home —
           the old .kwb-scrolled rise to 1.5rem is gone: it would park
           the button on top of the strip.
           FALLBACK MUST EQUAL THE STRIP'S REAL HEIGHT. nav.js is deferred,
           so the first paint uses the fallback and the measured value lands
           a frame or two later; with the `top` transition below, any gap
           between the two plays as a visible slide on EVERY page arrival.
           The old 2rem fallback sat 6px short of the 38px strip, so the
           button eased 6px down after each navigation. 2.375rem = 38px,
           verified identical on every page at 1024/1200/1440/1920. If the
           strip's copy or padding ever changes its height, update this. */
        top: calc(var(--kwb-announce-h, 2.375rem) + 1.5rem);
        right: 36px;          /* matches the nav's 36px desktop gutter */
        z-index: 500;         /* floats over content; below cookie modal + loader */
        transition: top 0.35s var(--wp--custom--motion--ease-out),
                    background 0.2s ease,
                    transform 0.2s ease;
        /* FOOTPRINT LOCK — the button is pinned by its right edge, so any
           change to its padding/gap grows it leftwards and it visibly
           differs page to page. Segment stylesheets load conditionally
           (inc/assets.php) and several once redeclared a bare `.btn`
           (faq.css: 24px padding, offer.css: 8px gap), so Pricing's button
           came out 14px wider than the homepage's. Those are now scoped to
           their segments, and this restates button.css's own spec at
           higher specificity so nothing loaded after it can shift the
           header CTA again. Sizes here MUST match .btn / .btn--secondary
           in button.css. */
        padding: 0 1.0625rem;
        gap: 7px;
        font-size: var(--wp--preset--font-size--sm);
        min-height: 44px;
        height: 42px;
      }
      @media (prefers-reduced-motion: reduce) {
        .site-header__actions .btn--secondary { transition: none; }
      }
      /* Belt and braces for the fallback above: nav.js publishes the strip
         height inside applyInstant() (html.kwb-nav-instant is set for that
         one synchronous tick), so if the measured value ever differs from
         the fallback the correction is applied in place rather than eased.
         Live changes (a resize that rewraps the strip) still transition. */
      html.kwb-nav-instant .site-header__actions .btn--secondary { transition: none; }
      /* Reserve the button's footprint (~140px) + a tight 6px gap.
         padding-right is the only lever here — gap: has no effect since
         the fixed button is out of the flex flow. */
      .site-header__actions {
        padding-right: 148px;
      }
    }

    .site-header__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 5.5rem;
      /* Mobile: fluid gutter, no max-width — full viewport width always */
      padding-inline: var(--wp--custom--layout--gutter);
    }

    @media (min-width: 1024px) {
      .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        /* Hard 36px against the viewport at ALL screen sizes, no cap */
        padding-inline: 36px;
      }
    }

    .site-logo {
      color: var(--wp--preset--color--coral);
      display: inline-flex;
      justify-self: start;
      /* anchor for the absolutely-positioned version tag */
      position: relative;
      transform-origin: left center;
      transition: transform var(--wp--custom--motion--dur-base)
                  var(--wp--custom--motion--ease-out);
    }
    .site-logo:hover { transform: rotate(-1deg); }

    /* ── Hover easter egg: "3.0" version tag ───────────────────────────
       Sits just past the wordmark's right edge as a small superscript tag.
       Tucked behind the edge (translateX) + invisible at rest; on hover it
       glides out and fades in — a quiet wink, no layout shift (absolute).
       Coral by default; auto-whitened on the About page because it lives
       inside .site-logo, which gets brightness(0) invert(1) there. */
    .site-logo__ver {
      position: absolute;
      left: 100%;
      top: -1px;                 /* lift it superscript-style toward the cap line */
      margin-left: 3px;
      font-family: var(--wp--preset--font-family--body);
      font-weight: 700;
      font-size: 11px;
      line-height: 1;
      letter-spacing: 0.01em;
      color: var(--wp--preset--color--coral);
      white-space: nowrap;
      pointer-events: none;      /* never intercepts the logo's click target */
      opacity: 0;
      transform: translateX(-7px);   /* tucked back under the right edge */
      transition: opacity 0.18s ease,
                  transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .site-logo:hover .site-logo__ver,
    .site-logo:focus-visible .site-logo__ver {
      opacity: 1;
      transform: translateX(0);
    }

    @media (prefers-reduced-motion: reduce) {
      .site-logo__ver { transform: none; transition: opacity 0.18s ease; }
      .site-logo:hover .site-logo__ver,
      .site-logo:focus-visible .site-logo__ver { transform: none; }
    }

    .primary-nav {
      display: none;
    }
    @media (min-width: 1024px) {
      .primary-nav { display: block; }
    }

    .primary-nav__list {
      display: flex;
      /* 40px between each nav item */
      gap: 30px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .primary-nav__link {
      color: var(--wp--custom--color--nav-ink);
      font-family: var(--wp--preset--font-family--body);
      font-weight: 500;
      font-size: 15px;
      /* 42px height for the hover highlight, matching button height */
      height: 42px;
      padding: 0 0.625rem;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border-radius: 0;
      transition:
        background-color var(--wp--custom--motion--dur-fast)
          var(--wp--custom--motion--ease-out);
    }
    .primary-nav__link:hover {
      /* Text colour unchanged on hover */
      color: var(--wp--custom--color--nav-ink);
      background-color: #EEDED0;
    }
    .primary-nav__link--active { font-weight: 700; }
    /* Bold + persistently highlight the top-level link (e.g. "Product") when
       the current page lives under it — class set by nav.js active-state logic. */
    .primary-nav__item--active > .primary-nav__link {
      font-weight: 700;
      background-color: #EEDED0;
    }
    .primary-nav__chevron {
      width: 8px;
      height: 5px;
      flex-shrink: 0;
      /* Nudge down slightly to optically align with text baseline */
      vertical-align: middle;
      position: relative;
      top: 1px;
      /* Animate the flip (see .primary-nav__item--open below) rather than snap */
      transition: transform 0.25s ease;
    }

    @media (prefers-reduced-motion: reduce) {
      .primary-nav__chevron { transition: none; }
    }

    .site-header__actions {
      display: flex;
      align-items: center;
      /* Tight gap — Login sits close to Get started */
      gap: 6px;
      justify-self: end;
    }

    .site-header__login {
      color: var(--wp--custom--color--nav-ink);
      font-weight: 500;
      font-size: 0.9375rem;
      display: none; /* shown at desktop */
      text-decoration: none;
      /* Match the nav link highlight: 42px height, same horizontal padding */
      height: 42px;
      padding: 0 0.625rem;
      align-items: center;
      transition: background-color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
    }
    .site-header__login:hover {
      background-color: #EEDED0;
    }
    @media (min-width: 1024px) {
      .site-header__login { display: inline-flex; }
    }

    /* Mobile hamburger — visible < 1024px.
       Drawer overlay is a separate section (not yet built). */
    .hamburger {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      width: 44px; height: 44px;
      background: transparent;
      border: none;
      color: var(--wp--custom--color--nav-ink);
      cursor: pointer;
    }
    @media (min-width: 1024px) {
      .hamburger { display: none; }
    }
    /* Two-bar icon that morphs to an X.
       CSS reads aria-expanded on the <button> — no class toggling needed in JS. */
    .hamburger__bar {
      display: block;
      width: 17px;
      height: 3px;
      background: currentColor;
      border-radius: 0;
      transform-origin: center center;
      transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        opacity   0.18s ease;
    }
    /* While the menu is OPEN, the burger must sit above the menu's
       full-screen backdrop (z 900) even when docked in the header —
       otherwise, at the top of the page, taps on the visible X land
       on the backdrop instead of the button. The backdrop's own
       close-on-tap makes that mostly indistinguishable, but it
       bypasses the button's guarded toggle path, and rapid tap
       sequences get messier for it. The floating state already pins
       at z 950; this covers the docked state. (On modes/about the
       header's scoped z-index:30 caps this within its stacking
       context — there the backdrop fallback still handles the tap,
       unchanged.) */
    .hamburger[aria-expanded="true"] {
      position: relative;
      z-index: 950;
    }

    /* gap: 5px + bar height 3px → center-to-center = 8px → translateY(4px) */
    .hamburger[aria-expanded="true"] .hamburger__bar:first-child {
      transform: translateY(4px) rotate(45deg);
    }
    .hamburger[aria-expanded="true"] .hamburger__bar:last-child {
      transform: translateY(-4px) rotate(-45deg);
    }
    @media (prefers-reduced-motion: reduce) {
      .hamburger__bar { transition: none; }
    }

    /* ==========================================================
       NAV DROPDOWNS
       White panel, 0px radius, glass effect with warm orange glow.
       Positioned below the nav, left-aligned to the trigger.
       ========================================================== */
    .primary-nav__item {
      position: relative;
    }

    .primary-nav__dropdown {
      display: none;
      position: absolute;
      /* 8px gap from trigger — bridged by ::before pseudo so cursor
         doesn't escape the <li> when moving from trigger to panel */
      top: calc(100% + 8px);
      left: 0;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(100px);
      -webkit-backdrop-filter: blur(100px);
      box-shadow:
        2px 2px 0px rgba(253, 106, 97, 0.20),
        0px 20px 50px rgba(255, 54, 35, 0.20);
      border-radius: 0;
      z-index: 100;
      white-space: nowrap;
    }

    /* Product + Learn: 168px wide, padding to hit 159px tall across 4 items */
    .primary-nav__dropdown--sm {
      width: 168px;
      padding: 10px 0;
    }

    /* Hosts dropdown is wider — two columns */
    .primary-nav__dropdown--wide {
      /* Fixed width — prevents Safari from crushing the columns.
         width:max-content lets the grid determine the panel size,
         capped so it doesn't run off screen. */
      width: max-content;
      max-width: 420px;
      display: none;
      padding: 10px 0;
    }

    .primary-nav__item--open .primary-nav__dropdown {
      display: block;
    }

    /* Invisible bridge fills the 8px gap so the cursor stays within
       the <li> as it moves from the nav link down to the panel */
    .primary-nav__dropdown::before {
      content: '';
      position: absolute;
      top: -8px;
      left: 0;
      right: 0;
      height: 8px;
    }

    .primary-nav__dropdown-grid {
      display: grid;
      /* Fixed column widths — no fluid fractions that can collapse in Safari */
      grid-template-columns: 190px 190px;
      /* row-gap draws the 1px line between rows; column-gap stays 0. Using the
         grid gap (rather than per-li margin-top) keeps both columns on the same
         row baseline so their highlights align perfectly. */
      gap: 1px 0;
      padding-right: 10px;
    }

    .primary-nav__dropdown-link {
      display: flex;
      align-items: center;
      gap: 12px;
      /* 42px height for hover highlight */
      height: 42px;
      padding: 0 18px;
      color: var(--wp--custom--color--nav-ink);
      font-family: 'Roobert', system-ui, -apple-system, sans-serif;
      font-weight: 500;
      font-size: 14px;
      line-height: 1;
      text-decoration: none;
      transition:
        color var(--wp--custom--motion--dur-fast) var(--wp--custom--motion--ease-out),
        background-color var(--wp--custom--motion--dur-fast) var(--wp--custom--motion--ease-out);
    }

    .primary-nav__dropdown-link:hover {
      color: var(--wp--custom--color--nav-ink);
      background-color: #F2E8DF;
    }

    /* Current sub-page — persistent highlight in the open dropdown.
       Class set by nav.js when the page matches this link. */
    .primary-nav__dropdown-link--active {
      background-color: #F2E8DF;
    }

    /* In the wide (Hosts) dropdown, bleed the highlight through the grid's
       padding-right so it stretches flush to the modal edge.
       SCOPED to the right-hand column only (nth-child(even) in row-major
       flow): if the left column also bled by -10px it would widen into the
       right column's track, making the right column's highlight look like it
       borrows space from the left. Left-column items stay inside their track.
       Apply to both hover AND active so the width is always identical. */
    .primary-nav__dropdown--wide .primary-nav__dropdown-grid li:nth-child(even) .primary-nav__dropdown-link:hover,
    .primary-nav__dropdown--wide .primary-nav__dropdown-grid li:nth-child(even) .primary-nav__dropdown-link--active {
      margin-right: -10px;
      padding-right: 28px;
    }

    /* 17px vertical space between items via margin-top on li siblings */
    .primary-nav__dropdown ul,
    .primary-nav__dropdown {
      list-style: none;
      padding-left: 0;
      margin: 0;
    }
    .primary-nav__dropdown li + li {
      margin-top: 1px;
    }
    /* …but in the wide 2-column grid, row spacing comes from the grid's row-gap.
       Zero the margin so the first right-column item isn't pushed 1px below the
       first left-column item (which would misalign the two columns' highlights). */
    .primary-nav__dropdown--wide .primary-nav__dropdown-grid li {
      margin-top: 0;
    }

    /* Plain marks, no tile (a boxed version was tried and reverted the
       same day, 2026-09-14). 20px on desktop; 24px in the mobile menu. */
    .primary-nav__dropdown-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }

    /* Chevron rotates when dropdown is open */
    .primary-nav__item--open .primary-nav__chevron {
      transform: rotate(180deg) translateY(-1px);
    }

    /* ==========================================================
       TABLET/MOBILE (<1024px) — nav-related rules only
       ========================================================== */
    @media (max-width: 1023px) {
      /* Hide Get started button in nav at tablet/mobile — hamburger takes over */
      .site-header__actions .btn--secondary {
        display: none;
      }
    }

    /* ==========================================================
       MOBILE (<=640px) — nav-related rules only
       ========================================================== */
    @media (max-width: 640px) {
      .site-header {
        min-height: 3.5rem;
      }
      .site-header__inner {
        padding-inline: 4vw;
      }
    }


    /* ==========================================================
       MOBILE / TABLET MENU OVERLAY — full-screen bleed
       Only active < 1024px. Since 2026-09-14 the menu IS the screen
       (Max's call, Relume's mobile nav as the reference): an
       edge-to-edge white panel with its own logo + close row, the
       accordion sections below, Get started + Login pinned to the
       bottom. It covers the announce strip, the header and the page.

       What this replaced, so nobody resurrects it by accident: a card
       that hung 10px in from the edges below the header, with the page
       visible + scrollable behind it, a tap-outside-to-close backdrop,
       a "focus dim" cast as the card's own shadow (a workaround for an
       iOS Safari seam under full-screen scrims), and positioning that
       followed the floating burger through its three scroll beats.
       All of that is gone: the page is scroll-locked (html.kwb-menu-open,
       set by nav.js), the burger hides while the menu is open and the
       overlay's own X does the closing, and the panel's position is a
       constant inset:0.
       ========================================================== */
    @media (max-width: 1023px) {

      /* The overlay itself carries the backdrop: a glass top half that
         settles into plain white (Max 2026-09-14). The page behind shows
         through the blur near the top, is gone by the middle. Fades in
         as a whole (opacity here); the panel adds its own short rise. */
      .mobile-menu {
        display: none;
        position: fixed;
        inset: 0;
        /* Above the cookie modal (200) and the page; the pinned promo
           strip (800) is lifted ABOVE this while the menu is open, see
           the html.kwb-menu-open block further down. */
        z-index: 900;
        /* Second pass (Max: "can't really notice it"): far less white
           at the top and a lighter blur, so the page's shapes and colour
           actually read through the top third before the white takes
           over past halfway. */
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.38) 0%,
          rgba(255, 255, 255, 0.62) 28%,
          rgba(255, 255, 255, 0.90) 48%,
          #FFFFFF 62%
        );
        backdrop-filter: blur(14px) saturate(170%);
        -webkit-backdrop-filter: blur(14px) saturate(170%);
        opacity: 0;
        transition: opacity 240ms ease;
        /* Rows and the logo row share ONE gutter, the site header's own,
           so the overlay's logo lands exactly where the header's logo was
           and the list text lines up beneath it. Mirrors .site-header__inner:
           layout gutter, 4vw at <=640px. */
        --mm-gutter: var(--wp--custom--layout--gutter);
        /* The cream highlight (current page / tap / hover on the rows) as
           a translucent tint rather than the solid #F2E8DF: 16% of this
           warm brown over white resolves to that exact cream; taken down
           to 12% at Max's request so it sits lighter over the glass and
           on the white alike. Same idea as the grain-page header
           highlight further down. */
        --mm-highlight: rgba(174, 111, 55, 0.12);
      }
      @media (max-width: 640px) {
        .mobile-menu { --mm-gutter: 4vw; }
      }
      .mobile-menu.is-open {
        display: block;
      }
      .mobile-menu.is-visible {
        opacity: 1;
      }

      /* Scroll lock. The page under the overlay must not move when a
         finger drags on the menu. overflow:hidden goes on the ROOT ONLY:
         the root's overflow propagates to the viewport, so the document
         stops scrolling with its position preserved (the page is exactly
         where it was on close) and the viewport is still the scroll
         container the pinned promo strip sticks to. It must NOT also go
         on body: that makes body its own scroll container, and the strip
         then sticks to body's (unscrolled) box, i.e. it vanishes off the
         top the moment the menu opens (seen 2026-09-14). iOS touch
         scrolling is stopped by touch-action:none on body instead; the
         panel re-enables vertical panning for itself (it is a scroll
         container, so the touch-action chain stops there) and is its own
         scroll container with overscroll-behavior:contain, so a long
         expanded section scrolls INSIDE the menu and never chains out. */
      html.kwb-menu-open {
        overflow: hidden;
      }
      html.kwb-menu-open body {
        touch-action: none;
      }
      /* iOS Safari paints the strip behind the status bar from the
         document's own background, not from what's rendered under it,
         so with the overlay open that strip stayed cream (Max, on
         phone). The root goes white for the menu's lifetime; nav.js
         swaps the theme-color meta to white at the same time, the
         other input Safari reads for that surface. */
      html.kwb-menu-open,
      html.kwb-menu-open body {
        background: #FFFFFF;
      }

      /* The list panel: everything BELOW the logo row, down to the
         bottom edge. It is the scroll container, and it starts under the
         logo row rather than behind it, so nothing can ever scroll up
         past the wordmark and the burger (it did, when the panel ran
         full-height under a white row: on the glass there is no solid
         row to hide behind). The top edge is feathered with a mask so
         rows leaving the panel dissolve instead of being cut. */
      .mobile-menu__panel {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(var(--mm-row-top, var(--kwb-announce-h, 0px)) + 5.5rem);
        bottom: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        background: transparent;
        display: flex;
        flex-direction: column;
        -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24px);
        mask-image: linear-gradient(to bottom, transparent, #000 24px);
        /* A short rise in; reverse out. */
        transform: translateY(10px);
        transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
      }
      .mobile-menu.is-visible .mobile-menu__panel {
        transform: translateY(0);
      }
      @media (prefers-reduced-motion: reduce) {
        .mobile-menu__panel { transform: none; transition: none; }
      }

      /* Logo row: absolute inside the fixed .mobile-menu (which has no
         transform, unlike the panel), so it is viewport-anchored and does
         NOT scroll with the list. --mm-row-top is set by nav.js at open
         time from the burger's live position (row centred on the burger,
         5.5rem tall like the header's own row): at the top of a page that
         is exactly the header row, so the wordmark lands on the header's
         wordmark to the pixel; scrolled, it lines up with the floating
         burger. Transparent: the glass shows through it. */
      .mobile-menu__top {
        position: absolute;
        left: 0;
        right: 0;
        top: var(--mm-row-top, var(--kwb-announce-h, 0px));
        height: 5.5rem;
        display: flex;
        align-items: center;
        padding-inline: var(--mm-gutter);
      }
      .mobile-menu__logo {
        display: inline-flex;
        color: var(--wp--preset--color--coral);
        line-height: 0;
      }
      .mobile-menu__logo svg { display: block; }

      /* flex:1 so the actions block is pushed to the bottom of the
         screen when the list is short; sticky (below) keeps it there
         when an expanded section makes the list longer than the screen. */
      .mobile-menu__nav {
        flex: 1;
        padding-top: 12px;     /* first row's text starts past the 24px feather above */
        padding-bottom: 16px;
      }

      /* No dividers between sections */
      .mobile-menu__section {
        /* no border */
      }

      /* Top-level nav items — one 48px tap row each (2026-09-14, Max).
         Was 15px text in a 35px row, the smallest thing on the panel and
         under the 44px touch minimum. 18px / 48px puts every top-level
         item at a confident menu size (Relume's mobile nav was the
         reference: ~20px in 44px rows) while staying a step below the
         h-scale so the chevron sections still read as navigation, not
         headings. line-height 1 + 15px top/bottom = 48px exactly. */
      .mobile-menu__trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        padding: 14px var(--mm-gutter);   /* 20 + 28 = the 48px row */
        background: none;
        border: none;
        font-family: var(--wp--preset--font-family--body);
        font-weight: 500;      /* Medium (was SemiBold; at 18px the extra weight read heavy, Max 2026-09-14) */
        /* One notch up from Medium without a SemiBold licence: a hairline stroke in the
           text colour fattens every stem by ~0.3px. Sits between Medium and Bold (Max 2026-09-16). */
        -webkit-text-stroke: 0.3px currentColor;
        font-size: 1.25rem;    /* 20px (18 -> 20 after Max's first phone check) */
        color: var(--wp--preset--color--ink);
        cursor: pointer;
        text-align: left;
        text-decoration: none;
        line-height: 1;
        transition: background-color 140ms ease;
      }
      /* Brief tap-feedback on the section title — clears instantly, not persistent */
      .mobile-menu__trigger:active {
        background-color: var(--mm-highlight);
        color: var(--wp--preset--color--coral);
      }
      /* Pricing / About are plain page links, not accordion toggles — they get coral
         text on tap (same as sublinks) but no background strip, since there's no
         sub-row beneath them to visually "open". Only sublinks inside accordion
         sections should show the full highlight treatment. */
      .mobile-menu__trigger--plain:active {
        background-color: transparent;
      }

      /* Sections sit on a uniform 48px rhythm now — the old extra
         section-to-section top padding (20px, 16px on the first) is gone;
         the 15px row padding already gives 30px between neighbouring
         titles, more than the ~20px it used to add. */

      .mobile-menu__chevron {
        flex-shrink: 0;
        /* Centred under the X: the burger is a 44px box flush to the
           gutter with its 17px bars centred, so its centre sits 22px in
           from the gutter; this 12px chevron's centre lands there with
           16px of margin (16 + 6 = 22). */
        margin-right: 16px;
        transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      .mobile-menu__section--open > .mobile-menu__trigger .mobile-menu__chevron {
        transform: rotate(180deg);
      }

      .mobile-menu__submenu {
        list-style: none;
        padding: 0;
        margin: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 320ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      /* max-height driven entirely by JS */

      /* Sub-links: 16px Medium in a 44px row (was 14px / ~41px). One step
         below the 18px section titles so the hierarchy holds, but never
         smaller than page body copy. 1.5 line-height (24px) + 10px
         top/bottom = 44px, the touch minimum. */
      .mobile-menu__sublink {
        display: flex;
        align-items: center;
        gap: 14px;
        min-height: 44px;
        padding: 10px var(--mm-gutter);   /* 24px line + 20 = the 44px row */
        font-family: var(--wp--preset--font-family--body);
        font-weight: 500;     /* Medium */
        font-size: 1rem;      /* 16px */
        line-height: 1.5;
        color: var(--wp--custom--color--nav-ink);
        text-decoration: none;
        transition: background-color 160ms ease;
      }

      /* Tap highlight suppressed on touch devices — hover-only on desktop */
      .mobile-menu__sublink,
      .mobile-menu__trigger {
        -webkit-tap-highlight-color: transparent;
      }
      /* Tap-press feedback on sub-links (the real action buttons inside the accordion) */
      .mobile-menu__sublink:active {
        background-color: var(--mm-highlight);
        color: var(--wp--preset--color--coral);
      }
      /* Coral tap-flash for page navigation links. CSS :active is unreliable on
         iOS Safari for <a> tags (page loads before the paint). JS adds .is-tapping
         on touchstart — fires on finger contact, before navigation — so the colour
         renders in the brief window between touch and page unload. */
      .mobile-menu__sublink.is-tapping,
      .mobile-menu__trigger--plain.is-tapping {
        color: var(--wp--preset--color--coral);
      }
      @media (hover: hover) {
        .mobile-menu__sublink:hover {
          background-color: var(--mm-highlight);
        }
      }

      /* Active state (parity with desktop): bold the section title and
         highlight the current sub-page. Classes set by nav.js. */
      /* Resting titles are Medium + a 0.3px stroke (faux semibold), so real Bold is
         now a single step up. 600 is NOT loaded and would snap to 700 anyway; say 700
         and drop the stroke so Bold doesn't get fattened further. */
      .mobile-menu__section--active > .mobile-menu__trigger { font-weight: 700; -webkit-text-stroke: 0; }
      .mobile-menu__sublink--active { background-color: var(--mm-highlight); }

      /* +20% on the marks in the menu (Max 2026-09-14) */
      .mobile-menu__sublink .primary-nav__dropdown-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
      }

      /* Actions: stacked full-width buttons, Get started on top, Login
         under it (Max 2026-09-14; was a side-by-side pair). The markup
         order is Login then Get started, so `order` flips them visually. */
      .mobile-menu__actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        /* Bottom padding clears the iPhone home indicator on notched
           phones (env() is 0 everywhere else). */
        padding: 16px var(--mm-gutter) calc(20px + env(safe-area-inset-bottom, 0px));
        /* Sticky so it stays pinned to the bottom of the screen while a
           long expanded section scrolls underneath it */
        position: sticky;
        bottom: 0;
        background: #FFFFFF;
        /* Hairline above the buttons, edge to edge (Relume reference,
           Max 2026-09-14): a lighter cousin of the Login outline's
           #D1C6C2 so it reads as a rule, not a border. */
        border-top: 1px solid rgba(226, 215, 210, 0.5);
      }

      /* The pointer over Get started. Anchored to the actions block
         (position:sticky is a containing block for absolutes). Sits to
         the right of the centred label with its fingertip on the button's
         top edge, pointing back at the words. Scale-pops in 350ms after
         the menu is visible (the menu's own fade is 240ms), then floats
         on the article CTA's 4.2s rhythm. Closing the menu drops
         .is-visible, which resets the pop, so it plays again next time. */
      @keyframes mm-hand-pop {
        from { transform: scale(0); }
        to   { transform: scale(1); }
      }
      @keyframes mm-hand-float {
        0%, 100% { transform: rotate(180deg) translate(0, 0); }
        50%      { transform: rotate(180deg) translate(0, -6px); }
      }
      /* Turned 180 so it points DOWN at the button from above (Max
         2026-09-14), 68px wide (up 25% from 54). The image's fingertip
         is top-right, so rotated it is bottom-left: the box is placed
         with that corner resting on the button's top edge, right of the
         centred label, the fist rising above it. */
      .mobile-menu__hand {
        position: absolute;
        left: calc(50% + 44px);
        top: -20px;               /* box is ~75px tall, the finger its bottom ~30px: box bottom at 55px puts the whole finger inside the button (16px to 64px), fist rising above */
        z-index: 2;
        width: 68px;
        pointer-events: none;
        transform: scale(0);
        transform-origin: 20% 85%;   /* grows out from the fingertip */
      }
      .mobile-menu__hand img {
        display: block;
        width: 100%;
        height: auto;
        image-rendering: pixelated;
        image-rendering: crisp-edges;
        transform: rotate(180deg);
      }
      .mobile-menu.is-visible .mobile-menu__hand {
        animation: mm-hand-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
      }
      .mobile-menu.is-visible .mobile-menu__hand img {
        animation: mm-hand-float 4.2s ease-in-out 0.85s infinite;
      }
      @media (prefers-reduced-motion: reduce) {
        .mobile-menu__hand { transform: none; }
        .mobile-menu.is-visible .mobile-menu__hand,
        .mobile-menu.is-visible .mobile-menu__hand img { animation: none; }
      }

      /* Login: full width under the CTA, outlined style */
      .mobile-menu__login {
        order: 2;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Rendered size is 48px / 15px: button.css's touch block
           (<=1024px, !important) sizes every button family, this pair
           included, so it matches the 48px row rhythm above by design. */
        min-height: 48px;
        border: 1px solid #D1C6C2;
        font-family: var(--wp--preset--font-family--body);
        font-weight: 500;
        font-size: 0.9375rem;
        color: var(--wp--preset--color--ink);
        text-decoration: none;
      }

      /* Get started: full width, in the coral primary gradient (its own
         .btn--primary styling; the old dark-secondary override is gone). */
      .mobile-menu__cta {
        order: 1;
        width: 100%;
        justify-content: center;   /* .btn is inline-flex, start-aligned by default */
        min-height: 48px;      /* see .mobile-menu__login: button.css's touch block owns this */
        box-shadow: none !important;
        padding-inline: 1rem !important;
      }

      /* Page scrolls freely underneath the modal */
      /* Prevent horizontal scroll at mobile/tablet.
         MUST be `clip`, never `hidden` (fixed 2026-07-15): `hidden`
         forces overflow-y to `auto`, turning html/body into scroll
         containers — which silently kills position:sticky against the
         viewport for EVERYTHING below 1024px (it broke the pinned
         announce bar; base.css's body{overflow-x:clip} comment
         documents this exact trap, and this leaked source rule was
         overriding it). `clip` trims sideways overflow identically
         without creating a scroll container. */
      html,
      body {
        overflow-x: clip;
        max-width: 100%;
      }
      /* Page remains scrollable behind the modal */
    }

    @media (min-width: 1024px) {
      .mobile-menu { display: none !important; }
    }

/* ── MODES PAGE — transparent nav over the hero backdrop ─────────────
   WordPress adds body.page-id-97 automatically on the Modes page.
   The header stays transparent and keeps its place in flow, while the modes
   segment is pulled up by exactly the header's height — so the cream
   pixel-grain canvas (modes.js) runs up behind the nav and shows through it.
   .modes-hero adds the same 5.5rem back as top padding, which preserves the
   designed nav-to-badge gap. The announce bar above is untouched and keeps
   its own background.
   Nav elements are the sitewide ink/coral defaults here (NOT inverted like
   About below) — the backdrop behind them is cream now, not dark artwork, so
   white text would vanish. This block exists only to keep z-index/transparency
   scoped to this page; the colour values below just restate the defaults.
   Entirely scoped — zero effect on any other page.
   ──────────────────────────────────────────────────────────────────── */
body.page-id-97 .site-header {
  background: transparent;
  z-index: 30;            /* .site-header is position:relative, so this paints it above the canvas pulled up beneath */
}
/* -5.5rem = the header's RENDERED height (88px), which holds at every width.
   Do not switch this to 3.5rem below 640px to match the min-height there: that
   is only a floor and never binds — the logo/hamburger row measures 88px on
   mobile too, so a 3.5rem pull-up leaves a 32px strip at the top of the header
   with no canvas behind it. */
body.page-id-97 .kwb-segment--modes { margin-top: -5.5rem; }

body.page-id-97 .primary-nav__link,
body.page-id-97 .site-header__login { color: var(--wp--custom--color--nav-ink); }
body.page-id-97 .primary-nav__link:hover,
body.page-id-97 .site-header__login:hover { color: var(--wp--custom--color--nav-ink); }
body.page-id-97 .primary-nav__link--active { font-weight: 700; }
body.page-id-97 .primary-nav__item--active > .primary-nav__link { font-weight: 700; }
body.page-id-97 .primary-nav__chevron polygon { fill: var(--wp--custom--color--nav-ink); stroke: var(--wp--custom--color--nav-ink); }
body.page-id-97 .hamburger { color: var(--wp--custom--color--nav-ink); }

/* ── GRAIN-BACKED HEADERS — translucent hover highlight ───────────────
   Modes (body.page-id-97) and the blog hub / posts page (body.kwb-blog-hub,
   body.blog — blog-hub.css does the same transparent-header pull-up) both
   run an animated pixel-grain canvas up behind the nav. The sitewide solid
   #EEDED0 hover stamps an opaque cream block over those moving cells, which
   reads as a flat cut-out. Here the highlight is a warm tint at 16% alpha
   instead: rgba(160,110,80,.16) over the cream token (#FCF0E6) resolves to
   ≈#EDDBCE, i.e. the same tone as the sitewide highlight on a flat page, so
   nothing looks different at rest — but 84% of the grain shows through and
   keeps animating underneath the hover. Applies to the hover, the persistent
   active-parent highlight and the Log in link, so all three match.
   Entirely scoped — every other page keeps the solid #EEDED0.
   ──────────────────────────────────────────────────────────────────── */
body.page-id-97 .primary-nav__link:hover,
body.page-id-97 .site-header__login:hover,
body.page-id-97 .primary-nav__item--active > .primary-nav__link,
body.kwb-blog-hub .primary-nav__link:hover,
body.kwb-blog-hub .site-header__login:hover,
body.kwb-blog-hub .primary-nav__item--active > .primary-nav__link,
body.blog .primary-nav__link:hover,
body.blog .site-header__login:hover,
body.blog .primary-nav__item--active > .primary-nav__link {
  background-color: rgba(160, 110, 80, 0.16);
}

/* ── ABOUT PAGE — inverted nav (blood-orange bg, white elements) ──────
   WordPress adds body.page-id-115 automatically on the About page.
   Entirely scoped — zero effect on any other page.
   ──────────────────────────────────────────────────────────────────── */
body.page-id-115 .site-header {
  background: var(--wp--preset--color--blood-orange);
}

/* Logo: brightness(0) collapses everything to black, invert(1) flips to white.
   Most reliable cross-browser approach — no SVG internals targeting needed.
   The shadow layer disappears too, leaving a clean flat white wordmark. */
body.page-id-115 .site-logo { filter: brightness(0) invert(1); }

/* Nav links + login */
body.page-id-115 .primary-nav__link,
body.page-id-115 .site-header__login { color: rgba(255,255,255,0.92); }
body.page-id-115 .primary-nav__link:hover,
body.page-id-115 .site-header__login:hover {
  color: white;
  background-color: rgba(255,255,255,0.12);
}
body.page-id-115 .primary-nav__link--active { font-weight: 700; color: white; }
/* Active section title on the inverted header — translucent white, not cream */
body.page-id-115 .primary-nav__item--active > .primary-nav__link {
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
}

/* Chevrons */
body.page-id-115 .primary-nav__chevron polygon {
  fill: white;
  stroke: white;
}

/* Hamburger (mobile) */
body.page-id-115 .hamburger { color: white; }

/* Touch: the .mobile-menu__cta hover lives inside a max-width media block
   (CSS can't nest @media), so kill its lingering "stuck" hover gradient on
   touch devices here at top level. The :active push-down (in that block)
   provides the real press feedback. */
@media (hover: none) {
  .mobile-menu__cta:hover {
    background: var(--wp--preset--gradient--btn-primary);
  }
}

/* ══════════════════════════════════════════════════════════════════
   FLOATING BURGER (< 1024px) — the mobile/tablet counterpart to the
   desktop fixed Get-started button, sharing its exact choreography.

   Three independent beats, each on its own <html> flag:

   1. .kwb-burger-ready (nav.js, once it has measured the burger's
      docked position and published --kwb-burger-top/--kwb-burger-right)
      — the burger becomes permanently position:fixed AT ITS OWN
      DOCKED COORDINATES. Pixel-identical swap, invisible. Being
      always-fixed is what lets `top` transition smoothly in BOTH
      directions later: there is no pin/unpin handoff left to snap.
      No JS → no flag → plain docked burger, gracefully.

   2. .kwb-nav-floating (any scroll, > 2px) — the translucent glass
      circle fades in behind the icon. Fades back out at the top.

   3. .kwb-scrolled (existing flag: real scrolling under way) — the
      burger GLIDES UP to sit tight under the PINNED offer strip
      (announce-bar.css keeps the strip at the viewport top at all
      times), and glides back down to settle into the header on
      return. Same 0.35s ease as the desktop CTA's motion family.

   It is the SAME button, not a second copy — every open/close, aria
   and panel behaviour in nav.js carries over untouched.

   The circle's translucent fill is load-bearing, not decoration: the
   bare ink bars would vanish over the blood-orange bands and the
   photo grids, and on Modes/About the burger is overridden to white,
   which would disappear the moment it floated onto a cream section.

   Everything animates via TRANSITIONS on the base state, never a
   keyframe: they run both directions, and if anything ever stops the
   animation clock the burger simply shows its resting style — it can
   never be stranded invisible or mid-flight.

   Selectors are (0,3,0) so they beat body.page-id-97/115 .hamburger
   (0,2,1) on specificity rather than source order.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {

  /* Resting state: the circle is already there, just fully transparent,
     so every fade/glide runs in both directions through this one
     transition. `top` matches the desktop CTA's rise timing exactly.

     The backdrop-filter MUST start at zero-strength and ride the same
     transition as the fill: applied instantly at full strength, the
     saturate() briefly showed the raw page behind the circle boosted
     to 160% before any white had built up — over coral content that
     read as a bright coral flash on fade-in (user saw it live).
     Ramping blur+saturate in step with the fill removes the window
     where the filter runs ahead of the white. Browsers that can't
     interpolate filter lists fall back to the old instant swap —
     never worse than before. */
  .site-header__actions .hamburger {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px) saturate(100%);
    -webkit-backdrop-filter: blur(0px) saturate(100%);
    transition:
      top 0.35s var(--wp--custom--motion--ease-out),
      background-color 0.3s ease,
      backdrop-filter 0.3s ease,
      -webkit-backdrop-filter 0.3s ease,
      box-shadow 0.3s ease,
      color 0.3s ease;
  }
  /* QA finding, 2026-08 (Max): pressing OS back to a scrolled position visibly
     animated the burger UP into its risen state, instead of just being there.
     Root cause: Beats 2/3 (.kwb-nav-floating / .kwb-scrolled, below) are
     computed from window.scrollY in nav.js — correct on a genuine live scroll,
     but on arriving at a page already scrolled (any back/forward navigation,
     bfcache-restored or freshly reloaded) that computation can land a beat
     after first paint, so the burger briefly paints DOCKED, then the correct
     risen state applies and the transition above eases it up — visibly, and
     wrongly, since nothing the visitor did should have animated it.
     nav.js applies `.kwb-nav-instant` for one synchronous tick around EVERY
     "the page just became visible" moment (initial load AND `pageshow`,
     bfcache-restored or not) — suspending transitions here means whichever
     state Beats 1-3 land on is simply THERE, no animate-in, then this class is
     removed so normal scroll-driven motion is completely unaffected. (0,2,1)
     — the `html` type selector — beats the base rule above's (0,2,0) cleanly,
     no !important needed. */
  html.kwb-nav-instant .site-header__actions .hamburger {
    transition: none;
  }

  /* Beat 1 — pinned at its own measured docked position (invisible). */
  .kwb-burger-ready .site-header__actions .hamburger {
    position: fixed;
    top: var(--kwb-burger-top, 1rem);
    right: var(--kwb-burger-right, 10px);
    width: 44px;
    height: 44px;
    /* Above the .mobile-menu backdrop (900) so a tap while the menu is
       open lands on the real button and closes it, rather than being
       caught by the backdrop. Below the cookie modal + page loader. */
    z-index: 950;
  }

  /* Beat 2 — the glass circle fades in the moment scrolling begins.
     Same family as the cookie modal's liquid-glass panel, scaled
     down; the blur keeps the two ink bars legible over busy imagery
     without going to an opaque fill. */
  .kwb-nav-floating .site-header__actions .hamburger {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 10px 30px rgba(255, 54, 35, 0.16);
    color: var(--wp--custom--color--nav-ink);
  }

  /* Beat 3 — once real scrolling is under way (.kwb-scrolled), rise to
     sit tight UNDER the pinned offer strip. The strip never leaves the
     viewport now (announce-bar.css), so the rise target is the bar's
     measured height + 8px, not the raw viewport top — the old 12px
     would park the circle on top of the offer. Must come after Beat 1
     in the file — equal (0,3,0) specificity, source order decides. */
  .kwb-scrolled .site-header__actions .hamburger {
    top: calc(var(--kwb-announce-h, 2.4375rem) + 8px);
  }

  /* MENU OPEN: the burger stays exactly where it was and morphs into
     the X itself (aria-expanded drives the bar animation above) — it
     IS the close control; the overlay has no X of its own.

     The overlay is z 900. On plain pages the burger's fixed z 950 sits
     above it on its own, but Modes and the blog hub give .site-header
     z-index:30 (a stacking context), which would trap the burger UNDER
     the overlay. So while the menu is open the whole header is lifted
     above the overlay on every page (one rule, no per-page list to
     forget), made transparent and click-through so it can't paint a
     cream bar over the panel or steal taps from the overlay's wordmark,
     with only the burger left tappable, and the header's own wordmark
     hidden so it can't double up on (or, on About, whiten out) the
     overlay's. All keyed on html.kwb-menu-open, so nothing here exists
     for a single frame while the menu is shut. */
  html.kwb-menu-open .site-header {
    z-index: 951;
    background: transparent;
    pointer-events: none;
  }
  html.kwb-menu-open .site-header .site-logo {
    visibility: hidden;
  }
  /* The pinned promo strip stays visible over the open menu (Max
     2026-09-14): lifted above the overlay (900) and the lifted header
     (951). It is sticky to the viewport, which is why the scroll lock
     above is root-only. Its offer link stays tappable. */
  html.kwb-menu-open .announce-bar {
    z-index: 952;
  }
  /* (0,3,1): beats the floating/scrolled beat rules (0,3,0) and the
     About/Modes colour overrides (0,2,1). The glass circle fades out
     through its own 0.3s transition, leaving the bare X on the white. */
  html.kwb-menu-open .site-header__actions .hamburger {
    pointer-events: auto;
    color: var(--wp--custom--color--nav-ink);
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px) saturate(100%);
    -webkit-backdrop-filter: blur(0px) saturate(100%);
    box-shadow: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .site-header__actions .hamburger { transition: none; }
  }
}

/* "Soon" badge on in-progress nav links (Tutorial, Academy). Mirrors the
   article category-label style (coral, 10% coral wash, uppercase). Pushed to
   the row's trailing edge in both the desktop dropdown and the mobile menu,
   which are flex rows. Temporary — remove when those pages go live. */
.nav-soon {
  /* Sit snug after the label. The dropdown/sublink rows are flex with a gap
     between items; pull the badge back so it hugs the text instead. Desktop
     dropdown gap is 12px → -6px leaves ~6px. */
  margin-left: -0.375rem;
  flex: 0 0 auto;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 0.5625rem; /* 9px */
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wp--preset--color--coral);
  background: rgba(255, 54, 35, 0.10);
  padding: 0.1875rem 0.375rem;
  border-radius: 0;
}
/* Mobile/tablet hamburger menu rows use a wider 14px gap → pull back a touch
   more so the badge hugs the label as closely as it does on desktop. */
.mobile-menu__sublink .nav-soon {
  margin-left: -0.5rem;
}


/* assets/css/components/pricing.css */
/* ==================================================================
   Pricing — kwizzbit/pricing (whole-file segment)
   Faithful slice of /HTML/pricing.html. Globals (reset/body/font-face/:root)
   dropped; tokens canonical (theme.json). Full-bleed via the .kwb-segment wrapper.
   ================================================================== */

.pricing {
  background: #FCF0E6;
  padding-block: 8.5rem 9.5rem;
  overflow-x: clip;
}

.pricing__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

/* --- Header --- */

.pricing__header {
  margin-bottom: 1.5rem;
  width: calc(4 * 268px + 3 * 1rem);
  margin-inline: auto;
}

.pricing__title {
  font-family: 'Roobert Semimono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-weight: 400;
  font-size: 4.5rem;
  line-height: 0.889;
  letter-spacing: -0.10764em;
  color: #1D0B09;
  margin-bottom: 0.875rem;
}
.pricing__title-accent { color: #FF3623; }
.pricing__title-price { font-variant-numeric: tabular-nums; white-space: nowrap; }   /* offer mode: £240 -> £60 tick (pricing.js), steady width while it counts */
.pricing__title-emoji {
  display: inline-block;
  font-size: 3.5rem;
  line-height: 1;
  vertical-align: middle;
  margin-left: 0.1em;
}

.pricing__subtitle {
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  color: #1D0B09;
  opacity: 0.45;
  margin-top: 0.875rem;
}

/* --- Social proof --- */

.pricing__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  margin-top: 2rem;
}
.pricing__social-label {
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #1D0B09;
}
.pricing__logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 614px;
}
.pricing__logos svg {
  flex-shrink: 0;
  display: block;
}

.pricing__meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: calc(4 * 268px + 3 * 1rem);
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* --- Billing toggle --- */

.pricing__controls {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.pricing__billing-label {
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #1D0B09;
}
.pricing__billing-label strong { font-weight: 700; }

.pricing__toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}
.pricing__toggle input {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.pricing__toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(71,56,51,0.18);
  border-radius: 0;
  transition: background 180ms ease;
}
.pricing__toggle input:checked ~ .pricing__toggle-track {
  background: linear-gradient(to right, #FF6F5F, #FF3623);
}
.pricing__toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 0;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.pricing__toggle input:checked ~ .pricing__toggle-thumb { transform: translateX(20px); }

/* Annual toggle swap */
/* annual removed */

/* ============================================================
   CARD GRID — subgrid for perfect horizontal alignment
   
   The outer grid stretches all 4 cards to equal height.
   Each card is itself a grid with 6 named rows:
     [name] [tagline] [price] [cta] [features] [footer]
   
   subgrid propagates the row tracks from the outer grid
   across all cards, so every zone snaps to a shared baseline.

   Fallback (non-subgrid browsers): cards stretch to equal
   height via align-items:stretch; flex column + margin-top:auto
   on footer still anchors it to the bottom.
   ============================================================ */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 268px);
  gap: 0 1rem;
  align-items: stretch;
  width: calc(4 * 268px + 3 * 1rem);
  margin-inline: auto;
}

/* Card edge system (2026-09-16): #FFFAF5 fill + 1px pure-white hairline on every
   card, whichever cream it sits on. See ready-made.css .quiz-panel for the why. */
.plan-card {
  display: flex;
  flex-direction: column;
  background: #FFFAF5; /* was #ffffff with a 0.5px #D7BAAF line */
  border: 1px solid #FFFFFF;
  border-radius: 0;
  padding: 1.75rem 1.5rem 1.75rem;
  position: relative;
  min-height: 680px;
  box-shadow: 0 20px 50px rgba(255,54,35,0.10);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background-color 360ms ease;
}

@media (hover: hover) {
  .plan-card:hover {
    transform: translateY(-6px);
  }
}

/* Card colour variants */
.plan-card--free {
  background: #F5E8DC;
  min-height: auto !important;
  box-shadow: none;
  border: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' stroke='%23B69C92' stroke-width='1' stroke-dasharray='5%2C5' stroke-dashoffset='0'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}
.plan-card--featured   {
  border: none;
  isolation: isolate;
}
/* Gameshow + Enterprise inherit the hairline. Pro (featured) and the offer-mode
   Gameshow keep border:none because their ::before/::after pair draws the
   animated gradient ring instead; only their inner fill joins the family. */
.plan-card--enterprise { background: #FFFAF5; }

/* --- Animated gradient border — Pro card --- */

@property --border-angle {
  syntax: '<angle>';
  inherits: true;
  initial-value: 0deg;
}

@keyframes border-spin-ccw {
  to { --border-angle: -360deg; }
}

.plan-card--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 0;
  background: conic-gradient(
    from var(--border-angle),
    #FD4631 0%,
    #FD4631 60%,
    #FFCB2B 75%,
    #FD4631 90%,
    #FD4631 100%
  );
  animation: border-spin-ccw 5s linear infinite;
}

.plan-card--featured::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: #FFFAF5; /* card edge system: fill matches the other plan cards */
  transition: background-color 360ms ease;
}

/*
  Each direct child of .plan-card maps to one of the 6 row tracks.
  We don't need to declare grid-row on children — they auto-place
  into each track in source order. But we DO want the features list
  to fill its 1fr track, so we let it stretch naturally.
*/

/* --- Plan name --- */

.plan-card__name-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding-bottom: 0.5rem;
  align-self: start;
  flex-wrap: nowrap;
}
.plan-card__name-row .plan-card__name {
  padding-bottom: 0;
}
.plan-card__name {
  font-family: 'Roobert Semimono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.091em;
  color: #1D0B09;
  padding-bottom: 0.5rem;
  align-self: start;
  -webkit-text-stroke: 0.3px currentColor;
}
.plan-card--featured .plan-card__name,
.plan-card--gameshow .plan-card__name,
.plan-card--enterprise .plan-card__name {
  background: linear-gradient(to right, #FF3623 0%, #FF3623 50%, #FFA174 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  padding-right: 0.15em;
}

/* Popular badge */
.plan-card__badge--trial {
  border-color: #C7C3C2;
  color: #C7C3C2;
  -webkit-text-fill-color: #C7C3C2;
}
.pricing--annual .plan-card__badge--trial {
  display: none;
}
.plan-card__badge {
  -webkit-text-fill-color: #FF3623;
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border: 1px solid #C7C3C2;
  border-radius: 0;
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: #FF3623;
  letter-spacing: 0;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1;
}

/* --- Tagline --- */

.plan-card__tagline {
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.412;
  color: #473531;
  padding-bottom: 1.25rem;
  min-height: calc(3 * 0.875rem * 1.412 + 1.25rem);
  max-width: 196px;
}


/* --- Price block --- */

.plan-card__price-block {
  padding-bottom: 1.125rem;
  align-self: start;
}
.plan-card__price {
  font-family: 'Roobert Semimono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 2.375rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #1D0B09;
  display: flex;
  align-items: flex-start;
}
.plan-card__price-symbol {
  font-family: 'Roobert Semimono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.04em;
  align-self: flex-end;
  margin-bottom: 0.1em;
}
.plan-card__price-dash {
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 400;
  font-size: 2.375rem;
  line-height: 1;
  letter-spacing: -0.06em;
}
.plan-card__price-unit {
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: #1D0B09;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 3px;
  margin-top: 4px;
  align-self: flex-start;
}
.plan-card__price-period {
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  color: #1D0B09;
  margin-top: 0.2rem;
}
/* Pence sit smaller and on the baseline, matching the currency symbol's
   treatment on the other side of the figure. Written by pricing.js, and only
   present when the localised price actually has pence. */
.plan-card__price-pence {
  font-family: 'Roobert Semimono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.04em;
  align-self: flex-end;
  margin-bottom: 0.1em;
  margin-left: -0.04em;
}

/* Trial small print lives in a pinpointer rather than a permanent line, so the
   card keeps its shape. Same component as the feature tips further down the
   card. The copy sits in its own span because pricing.js rewrites that for
   currency, and must not touch the pinpointer beside it. */
/* Compound selector on purpose: the base .plan-card__feature-tip rule carries
   margin-left:-0.1rem and is declared further down this file, so a single-class
   override would lose on source order at equal specificity. */
.plan-card__feature-tip.plan-card__trial-tip {
  margin-left: 0.375rem;
  vertical-align: -0.15em;
}

/* The trial line runs the full inner width of the card with nothing to spare,
   so the gap above is borrowed from the card's own right padding rather than
   taken from the line. The card does not get any wider, the line simply reaches
   a little further into the padding it already has. */
.plan-card__price-period--trial {
  margin-right: -0.75rem;
}

/* The tooltip is meant to sit over the card to its right. Both cards are
   position:relative with no z-index, so paint order falls back to DOM order
   and the later card can win. Lifting the whole card while its tip is showing
   puts the tooltip above its neighbour without touching the tooltip itself. */
.plan-card:has(.plan-card__feature-tip[data-tip].is-open) { z-index: 400; }
@media (hover: hover) {
  .plan-card:has(.plan-card__feature-tip[data-tip]:hover) { z-index: 400; }
}

.plan-card--enterprise .plan-card__price         { color: #1D0B09; }
.plan-card--enterprise .plan-card__price-unit    { color: #1D0B09; }
.plan-card--enterprise .plan-card__price-period  { color: #1D0B09; }

/* --- CTA --- */

.plan-card__cta {
  display: inline-block;
  width: 196px;
  padding: 0.6875rem 1rem;
  text-align: center;
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 0;
  transition: transform 160ms ease, opacity 160ms ease;
  margin-bottom: 0;
  letter-spacing: 0.005em;
  align-self: start;
}
@media (hover: hover) { .plan-card__cta:hover { transform: translateY(-1px); } }
.plan-card__cta:active { transform: translateY(1px); }

.plan-card__cta--free {
  background: #FFFFFF;
  border: 1px solid #D1C6C2;
  color: #1D0B09;
}
@media (hover: hover) { .plan-card__cta--free:hover { border-color: #B0A6A1; } }
.plan-card__cta--free:active { border-color: #B0A6A1; }

.plan-card__cta--primary {
  background: linear-gradient(to right, #FF3623, #FF6F5F);
  box-shadow: 0 4px 14px rgba(255,74,43,0.28);
}
@media (hover: hover) { .plan-card__cta--primary:hover { background: linear-gradient(to right, #D82A18, #E85040); } }
.plan-card__cta--primary:active { background: linear-gradient(to right, #D82A18, #E85040); }

.plan-card__cta--enterprise {
  background: linear-gradient(to right, #1D0B09, #3E1916);
  color: #fff;
}
@media (hover: hover) { .plan-card__cta--enterprise:hover {
  background: linear-gradient(to right, #0D0504, #2A100E);
} }
.plan-card__cta--enterprise:active {
  background: linear-gradient(to right, #0D0504, #2A100E);
}

/* --- Feature list — fills the 1fr track --- */

.plan-card__cta-wrap {
  align-self: start;
  padding-bottom: 1.125rem;
}
.plan-card__divider {
  width: 196px;
  height: 0;
  border: none;
  border-top: 0.5px solid rgba(71,56,51,0.12);
  margin: 0 0 17px 0;
}
.plan-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  align-content: start;
  padding-bottom: 2.1875rem;
}
.plan-card__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1;
  color: #1D0B09;
}
.plan-card--enterprise .plan-card__feature { color: #1D0B09; }

.plan-card__tick {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.plan-card__feature-tip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: -0.1rem;
  line-height: 0;
  cursor: help;
  opacity: 0.7;
}
.plan-card__feature-tip svg {
  display: block;
}
.plan-card--enterprise .plan-card__feature-tip {
  border-color: rgba(71,56,51,0.22);
  color: rgba(71,56,51,0.42);
}
.plan-card__feature em { font-style: normal; color: #FF3623; }

/* --- Footer blurb --- */

.plan-card__footer {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding-top: 0;
  margin-top: auto;
}

.plan-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
}
.plan-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plan-card__footer-text {
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 16px;
  color: #1D0B09;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.plan-card__footer-text strong { font-weight: 700; color: #1D0B09; }

/* ============================================================
   SUBGRID FALLBACK — browsers without subgrid support
   (Safari < 16, Chrome < 117)
   Cards become flex columns; footer is pushed to bottom.
   Rows won't perfectly align but cards will be equal height.
   ============================================================ */

/* subgrid fallback removed — flex column used throughout */

/* ============================================================
   TABLET — 2×2 grid (≤1023px)
   Two separate grids of 2, each row shares subgrid tracks.
   ============================================================ */

@media (max-width: 1023px) {
  .pricing { padding-block: 7rem 7.5rem; }

  .pricing__title { font-size: 3.25rem; line-height: 3rem; }

  .pricing__grid {
    grid-template-columns: repeat(2, minmax(0, 268px));
    row-gap: 1rem;
    width: auto;
    max-width: calc(2 * 268px + 1rem);
    margin-inline: auto;
  }





  .pricing__meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: auto;
    max-width: calc(2 * 268px + 1rem);
    margin-inline: auto;
  }
  .pricing__header {
    max-width: calc(2 * 268px + 1rem);
    width: auto;
    margin-inline: auto;
  }
  /* logos ticker handles mobile layout */
}

/* ============================================================
   MOBILE — single column (≤640px)
   Each card is standalone — no cross-card alignment needed.
   ============================================================ */

@media (max-width: 640px) {
  .pricing { padding-block: 4.25rem 6.5rem; }
  .pricing__meta-row { gap: 1.25rem; }

  .pricing__title {
    font-size: clamp(1.875rem, 10.13vw, 2.375rem);
    line-height: 0.8421;
    letter-spacing: -0.10763em;
    width: min(8.5em, 88vw);
    overflow: visible;
  }
  .pricing__title--desktop-br { display: none; }
  .pricing__title-emoji { font-size: 2rem; }

  .pricing__grid {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .plan-card {
    padding: 1.5rem 1.25rem 1rem;
    min-height: auto !important;
  }
  .plan-card--free { order: 4; }
  .plan-card__footer { padding-top: 0; }
  /* 'Best for … hosts' smallprint — narrow the text block so it reads as
     a compact blurb rather than spanning the full remaining card width */
  .plan-card__footer-text { max-width: 180px; }
  .plan-card--free { min-height: auto !important; }
  .plan-card__features { padding-bottom: 25px; }
  .plan-card__tagline { font-size: 0.9375rem; }
}

/* ============================================================
   SCROLL REVEAL — matches site-wide spec
   ============================================================ */

.pricing__header,
.pricing__meta-row,
.pricing__grid {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.pricing__meta-row { transition-delay: 0.08s; }
.pricing__grid     { transition-delay: 0.16s; }

.pricing .is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .pricing__header,
  .pricing__meta-row,
  .pricing__grid { opacity: 1; transform: none; transition: none; }
}

/* --- Handshake float overlay --- */

.pricing__title {
  position: relative;
}
.pricing__title--desktop-br { display: inline; }

.pricing__title-anchor {
  position: relative;
  display: inline-block;
  width: 0;
  overflow: visible;
}

.pricing__title-handshake {
  display: block;
  position: absolute;
  bottom: calc(-0.1em - 50px);
  left: calc(0.1em - 50px);
  width: 130px;
  height: 130px;
  animation: hs-float 4s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
}

.pricing__title-handshake img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes hs-float {
  0%   { transform: translateY(0px) rotate(-2deg); }
  30%  { transform: translateY(-8px) rotate(1deg); }
  60%  { transform: translateY(-4px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(-2deg); }
}

@media (max-width: 640px) {
  /* Handshake repositioned for mobile single-column title */
  .pricing__title-handshake {
    width: 71px;
    height: 71px;
    bottom: calc(-0.1em - 25px);
    left: calc(0.1em - 50px + 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing__title-handshake {
    animation: none;
  }
}

/* ── Mobile logo ticker ── */

/* Desktop + tablet: static flex row, hide duplicate track */
.pricing__logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 614px;
}
.pricing__logos-ticker {
  display: contents;
}
.pricing__logos-track:last-child {
  display: none;
}
.pricing__logos-track {
  display: contents;
}

/* Mobile only: animated ticker */
@media (max-width: 640px) {
  .pricing__logos {
    overflow: hidden;
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(-1 * clamp(1rem, 4vw, 3rem));
    gap: 0;
    position: relative;
  }
  .pricing__logos::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    background: linear-gradient(to right, #FCF0E6, transparent);
    z-index: 1;
    pointer-events: none;
  }
  .pricing__logos-ticker {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: logo-ticker 40s linear infinite;
  }
  .pricing__logos-track {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-right: 1.25rem;
    flex-shrink: 0;
  }
  .pricing__logos-track:last-child {
    display: flex;
  }
  @keyframes logo-ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .pricing__logos-ticker { animation: none; }
}

/* ── Feature tip tooltips — nav dropdown style ── */
.plan-card__feature-tip[data-tip] {
  position: relative;
  cursor: pointer;
  opacity: 1;
}
.plan-card__tip-modal {
  display: none;
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  max-width: 240px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  box-shadow: 2px 2px 0px rgba(253,106,97,0.20), 0px 20px 50px rgba(255,54,35,0.20);
  padding: 0.625rem 0.75rem;
  z-index: 300;
  pointer-events: none;
  font-family: 'Roobert', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #1D0B09;
  text-align: left;
  white-space: normal;
  border-radius: 0;
}

@media (hover: hover) {
  .plan-card__feature-tip[data-tip]:hover .plan-card__tip-modal {
    display: block;
  }
}
.plan-card__feature-tip[data-tip].is-open .plan-card__tip-modal {
  display: block;
}
.plan-card {
  overflow: visible !important;
}

/* ============================================================
   OFFER MODE — .pricing--offer  (/pricing/?offer=game-show)
   Landing state for the 75%-off CTAs. The three non-trial plans
   recede but stay readable (they provide the price comparison);
   the Game-show card takes over the animated conic border that
   the Popular card wears in the standard view. The class is
   applied by pricing.js; without it this whole block is inert.
   ============================================================ */

.pricing--offer .plan-card {
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
}

.pricing--offer .plan-card--free,
.pricing--offer .plan-card--featured,
.pricing--offer .plan-card--enterprise {
  opacity: 0.5;
  box-shadow: none;
}
@media (hover: hover) {
  .pricing--offer .plan-card--free:hover,
  .pricing--offer .plan-card--featured:hover,
  .pricing--offer .plan-card--enterprise:hover {
    transform: none;
    opacity: 0.85;
  }
}

/* Pro's spinning border stands down while the card is receded */
.pricing--offer .plan-card--featured::before {
  animation: none;
  background: #E3D5CA;
}

/* Game-show takes the spotlight */
.pricing--offer .plan-card--gameshow {
  isolation: isolate;
}
.pricing--offer .plan-card--gameshow::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 0;
  background: conic-gradient(
    from var(--border-angle),
    #FD4631 0%,
    #FD4631 60%,
    #FFCB2B 75%,
    #FD4631 90%,
    #FD4631 100%
  );
  animation: border-spin-ccw 5s linear infinite;
}
.pricing--offer .plan-card--gameshow::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: #FFFAF5; /* card edge system: fill matches the other plan cards */
  transition: background-color 360ms ease;
}

/* On a phone the highlighted card leads the stack */
@media (max-width: 640px) {
  .pricing--offer .plan-card--gameshow { order: -1; }
}

/* ── White lift (2026-09-16, Max: "roll the transition into white across all
   cells") ── every card lifts from #FFFAF5 to pure white: on hover for pointer
   devices, and while it is mostly on screen on touch devices (.is-focus from
   the global card-focus.js driver, 50% threshold). */
/* Free keeps its dashed sand look. Pro and the offer-mode Gameshow lift via
   the ::after fill that sits inside their gradient ring. */
@media (hover: hover) {
  .plan-card:not(.plan-card--free):hover { background: #FFFFFF; }
  .plan-card--featured:hover::after,
  .pricing--offer .plan-card--gameshow:hover::after { background: #FFFFFF; }
}
.plan-card.is-focus:not(.plan-card--free) { background: #FFFFFF; }
.plan-card--featured.is-focus::after,
.pricing--offer .plan-card--gameshow.is-focus::after { background: #FFFFFF; }

/* assets/css/components/view-transitions.css */
/* ==================================================================
   View Transitions — persistent nav + offer strip (shared chrome)

   Opts the whole site into the browser's cross-document View Transitions
   API. On an internal navigation the browser snapshots the current page,
   loads the next one, and animates between them instead of hard-reloading
   — giving that "web-app" feel where the nav appears to stay put while the
   content below cross-fades.

   The offer strip + header are each given their own transition-name so the
   browser treats them as a single persistent element across the navigation:
   identical markup in the same position ⇒ they hold perfectly steady
   (pinned) while only the content beneath transitions.

   Graceful everywhere:
     • Browsers without the API ignore @view-transition entirely → normal
       navigation, page-loader as before. Nothing breaks.
     • Pages with no nav (gateway/contact, no-chrome template) simply
       cross-fade; the absent nav just isn't pinned.
     • Reduced-motion users navigate instantly (animations disabled below).

   The page-loader is suppressed during these transitions by an inline
   pagereveal hook in functions.php (wp_head) so it never flashes mid-morph.
   ================================================================== */

@view-transition {
  navigation: auto;
}

/* Pin the shared chrome so it stays put while content changes beneath it.

   IMPORTANT: the names are applied ONLY during an active transition (via the
   .kwb-vt-active class that JS toggles on pageswap/pagereveal and removes when
   the transition finishes). A persistent view-transition-name turns the header
   into a stacking context, which traps the absolutely-positioned dropdown menus
   beneath the page content. Scoping the names to the transition window keeps
   normal browsing — and the dropdowns — completely unaffected. */
html.kwb-vt-active .announce-bar {
  view-transition-name: kwb-offer;
}
html.kwb-vt-active .site-header {
  view-transition-name: kwb-nav;
}

/* Quick cross-fade for the page SWAP only (everything not pinned). The incoming
   hero + in-view reveals deliberately do NOT enter here — they stay primed and
   then play their real, per-element STAGGERED lift on the settled page once the
   cross-fade finishes (held until then by the pagereveal hook + page-loader.js).
   That keeps the charm of the original lift on navigation, not a whole-page slab. */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.25s;
  animation-timing-function: var(--wp--custom--motion--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

/* Respect reduced-motion: navigate instantly, no transition animation */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* style.css */
/*
Theme Name: Kwizzbit 3.0
Theme URI: https://kwizzbit.com
Author: Kwizzbit
Author URI: https://kwizzbit.com
Description: Block theme for Kwizzbit. Design tokens live in theme.json (single source of truth). Component CSS lives in assets/css/components/ and is enqueued per pattern. Reference docs: STYLEGUIDE.md and COMPONENTS.md in the source /HTML/ folder.
Version: 2.15.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: All rights reserved
License URI: https://kwizzbit.com
Text Domain: kwizzbit
Tags: block-theme, full-site-editing, one-column
*/

/* Theme metadata only — global styles live in assets/css/base.css.
   Per-pattern styles live in assets/css/components/{pattern}.css. */

