/* Kixi website wireframe: the frame.
   Tokens from Design System/Kixi colour system/project/tokens.json (light theme), and the site's frame:
   header, menu, footer, page grid, buttons. This is the "plain Kixi" frame: on-brand, deliberately undecided.
   Trying a frame direction (A calm, B bands, C editorial) means swapping or overriding this file only.
   Wireframe-only marks (notes, statuses, placeholders) live in wireframe.css. */

:root {
  --background: #fdfbff;
  --foreground: #2a2438;
  --foreground-secondary: #5a5470;
  --control-foreground: #4a4658;
  --card: #ffffff;
  --surface-sunken: #f6f5f8;
  --muted: #f1f0f4;
  --muted-foreground: #6b6778;
  --hairline: #efe8fa;
  --border: #e4e2e9;
  --input: #8e879f;
  --primary: #8a2be2;
  --primary-foreground: #ffffff;
  --primary-hover: #6a17b8;
  --secondary: #f5ecff;
  --secondary-foreground: #6a17b8;
  --brand-light: #c084fc;
  --brand-lilac: #e3cdfd;
  --brand-pale: #fcf9ff;
  --brand-dot: #ece4f8;
  --link: #3d6aa1;
  --ring: #8a2be2;
  --example: #14b8a6;
  --example-fill: #ccfbf1;
  --example-pale: #f0fdfa;
  --example-text: #0f766e;
  --destructive: #b03f3f;

  --shadow-card: 0 0 0 1px rgba(36,20,70,.06), 0 1px 2px rgba(36,20,70,.08), 0 24px 48px -24px rgba(36,20,70,.28);
  --shadow-front: 0 0 0 1px rgba(36,20,70,.06), 0 1px 2px rgba(36,20,70,.08), 0 30px 62px -20px rgba(36,20,70,.42);
  --shadow-toast: 0 0 0 1px rgba(36,20,70,.05), 0 12px 32px -8px rgba(36,20,70,.28);

  --font-display: Poppins, ui-sans-serif, system-ui, sans-serif;
  --font-sans: Inter, ui-sans-serif, system-ui, sans-serif;

  --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px; --radius-2xl: 24px; --radius-full: 9999px;

  --page-max: 1200px;   /* the widest content */
  --block-max: 1024px;  /* Home's content blocks, unless a section is marked .full (John, 5 October 2026) */
  --gutter: 32px;       /* page gutter; 16px on phones */
  --section-gap: 64px;  /* space-16, between page sections */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
html, body { margin: 0; }
body {
  background: var(--background);
  color: var(--foreground-secondary);
  font: 400 15px/24px var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

h1, h2, h3, .display { font-family: var(--font-display); color: var(--foreground); margin: 0; }
.display { font-size: 44px; line-height: 48px; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 29px; font-weight: 600; }
/* A section's headline (John, 7 October 2026): a usual section-heading size, a step below Home's hero (.display, 44px).
   36px on a computer, 30px on a tablet, 26px on a phone (the hero there is 34px). */
.wf-copy h2 { font-size: 36px; line-height: 44px; letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-size: 18px; line-height: 24px; font-weight: 600; }
p { margin: 0; }
.lede { font-size: 17px; line-height: 27px; }
.eyebrow {
  font-size: 10.5px; line-height: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-foreground);
}

.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--radius-full);
  font: 600 13px/1 var(--font-sans); text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); box-shadow: inset 0 0 0 1px var(--input); }
.btn-secondary:hover { background: var(--brand-lilac); }
/* The blue secondary button: where a section uses chart-2 blue to break up a purple page (Home, Working with your people).
   chart-2-pale fill, a chart-2 outline, ink text (chart-2 is too light for text), chart-2-light on hover */
.btn-secondary.btn-blue { background: var(--you-pale, #eff6ff); color: var(--foreground); box-shadow: inset 0 0 0 1.5px var(--you, #60a5fa); }
.btn-secondary.btn-blue:hover { background: var(--you-l, #bfdbfd); }   /* --you…: set on the section by a colour toggle (Home · 4) */

/* The arrow button (John, 7 October 2026): a content block's call to action, the "tell me more" kind: the secondary
   button with an arrow after the words. The plain primary and secondary buttons are kept for the conversion actions:
   Book a demo in the header, and the pair in heroes and closing bands. Long words may wrap on a phone. */
.btn-arrow::after { content: "\2192"; font-size: 15px; line-height: 1; transition: transform .2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn.btn-arrow { white-space: normal; height: auto; min-height: 40px; padding: 10px 18px; line-height: 18px; text-align: center; }

/* Header and menu */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline); transition: transform .3s ease, border-color .2s;
}
/* Hides on the way down, back on the way up (site.js, John, 8 October 2026, after taskly.co.nz) */
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.site-logo { display: flex; align-items: center; flex: none; }
.site-logo img { height: 30px; width: auto; display: block; }
.site-logo .logo-rev { display: none; }
/* Once the page is under it, the menu's background is see-through (John, 9 October 2026: "make it more transparent 20%
   when things are under it, just the background", then "significantly more transparent"): 50% white in every frame
   (frames.css), the blur a little stronger (14px) so the words stay clear; the words and logo are unchanged. The Top menu setting (White, Black, Black see-through,
   White black on the way back) came off the same day. */
.site-header { transition: transform .3s ease, border-color .2s, background-color .25s; }
.site-header.is-scrolled { background: rgba(255,255,255,.5); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > a, .site-nav .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: var(--radius-full);
  font: 500 14px/1 var(--font-sans); color: var(--control-foreground); text-decoration: none; background: none; border: 0;
  cursor: pointer;
}
.site-nav > a:hover, .site-nav .nav-drop > button:hover { background: var(--muted); color: var(--foreground); }
.site-nav a[aria-current="page"], .site-nav .nav-drop.is-current > button { color: var(--secondary-foreground); background: var(--secondary); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 10px; height: 10px; transition: transform .2s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 560px;
  background: var(--card); border-radius: var(--radius-xl); box-shadow: var(--shadow-toast); padding: 16px;
  display: none; grid-template-columns: 1fr 1fr; gap: 2px 12px;
}
.nav-drop.open .nav-panel { display: grid; }
.nav-panel a { display: block; padding: 8px 10px; border-radius: var(--radius-md); text-decoration: none; color: var(--foreground); font: 500 14px/20px var(--font-sans); }
.nav-panel a:hover { background: var(--brand-pale); }
.nav-panel a[aria-current="page"] { background: var(--secondary); color: var(--secondary-foreground); }
.nav-panel.slim { width: 300px; grid-template-columns: 1fr; }
.nav-panel .nav-home { grid-column: 1 / -1; font-weight: 600; border-bottom: 1px solid var(--hairline); border-radius: var(--radius-md) var(--radius-md) 0 0; margin-bottom: 8px; padding-bottom: 12px; }
.nav-panel .nav-home span { display: block; font: 400 13px/18px var(--font-sans); color: var(--muted-foreground); margin-top: 2px; }
.nav-panel .nav-group { grid-column: 1 / -1; padding: 2px 10px 4px; font: 600 10.5px/14px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); }
.nav-panel .nav-sep { grid-column: 1 / -1; border-top: 1px solid var(--hairline); margin: 8px 0 6px; }
.nav-panel .nav-big { grid-column: 1 / -1; }
.nav-panel .nav-big { font-weight: 600; }
.nav-panel .nav-big span { display: block; font: 400 13px/18px var(--font-sans); color: var(--muted-foreground); margin-top: 2px; }
.nav-cta { flex: none; margin-left: 8px; }
/* Site search (John, 10 October 2026): a light grey magnifier to the right of About us, and the search over the page
   (site.js, search()) */
.nav-search { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: -12px;
  border: 0; border-radius: var(--radius-full); background: none; color: #aaa6b5; cursor: pointer; transition: color .15s, background-color .15s; }
.nav-search svg { width: 19px; height: 19px; }
.nav-search:hover { color: var(--control-foreground); background: var(--muted); }
.nav-search:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
html.kx-search-on { overflow: hidden; }
.kx-search { position: fixed; inset: 0; z-index: 300; background: rgba(42,36,56,.32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.kx-search[hidden] { display: none; }
.kx-search-card { width: 100%; max-width: 640px; max-height: 72vh; display: flex; flex-direction: column; background: var(--card);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-front); overflow: hidden; }
.kx-search-field { display: flex; align-items: center; gap: 12px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--border); }
.kx-search-field svg { flex: none; width: 20px; height: 20px; color: #aaa6b5; }
.kx-search-field input { flex: 1; min-width: 0; height: 60px; border: 0; outline: 0; background: none; font: 400 17px/1 var(--font-sans); color: var(--foreground); }
.kx-search-field input::placeholder { color: #aaa6b5; }
.kx-search-field input::-webkit-search-cancel-button { display: none; }
.kx-search-x { flex: none; border: 1px solid var(--border); background: var(--card); color: var(--muted-foreground); border-radius: 6px;
  font: 500 11px/1 var(--font-sans); padding: 5px 7px; cursor: pointer; }
.kx-search-body { overflow: auto; padding: 8px 10px 12px; }
.kx-search-h { padding: 12px 10px 6px; font: 600 10.5px/14px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
.kx-search-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 10px 6px; }
.kx-chip { border: 1px solid var(--border); background: var(--card); color: var(--control-foreground); border-radius: var(--radius-full);
  font: 500 13px/1 var(--font-sans); padding: 9px 13px; cursor: pointer; }
.kx-chip:hover { border-color: var(--brand-lilac); background: var(--brand-pale); color: var(--foreground); }
.kx-sr { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: var(--radius-md);
  color: var(--foreground); text-decoration: none; cursor: pointer; font: 500 14.5px/20px var(--font-sans); }
.kx-sr.is-on { background: var(--secondary); }
.kx-sr-w { flex: none; font: 400 12.5px/18px var(--font-sans); color: var(--muted-foreground); }
.kx-sr-answer { display: grid; gap: 6px; }
.kx-sr-answer b { font-weight: 600; }
.kx-sr-answer span { font-weight: 400; font-size: 14px; line-height: 22px; color: var(--foreground-secondary); }
.kx-sr-answer em { font-style: normal; font-size: 13px; color: var(--primary); }
a.kx-sr:has(.kx-sr-answer) { border: 1px solid var(--hairline); background: var(--brand-pale); }
a.kx-sr.is-on:has(.kx-sr-answer) { background: var(--secondary); border-color: var(--brand-lilac); }
.kx-search-none { padding: 18px 12px; font-size: 14px; line-height: 22px; color: var(--foreground-secondary); }
.kx-search-none b { color: var(--foreground); font-weight: 600; }
.kx-search-none .kx-sr { display: inline; padding: 0; color: var(--link); text-decoration: underline; }
.kx-search-foot { display: flex; gap: 18px; padding: 10px 20px; border-top: 1px solid var(--border); background: var(--surface-sunken);
  font-size: 12px; color: var(--muted-foreground); }
.kx-search-foot kbd { font: 500 11px/1 var(--font-sans); border: 1px solid var(--border); background: var(--card); border-radius: 4px; padding: 2px 5px; margin-right: 3px; }
@media (max-width: 640px) {
  .kx-search { padding: 8px; }
  .kx-search-card { max-height: calc(100vh - 16px); }
  .kx-search-foot { display: none; }
  .kx-sr { flex-direction: column; gap: 2px; }
}
.nav-toggle { display: none; margin-left: auto; height: 40px; width: 40px; border-radius: var(--radius-md); border: 0; background: none; cursor: pointer; color: var(--foreground); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Breadcrumbs */
.crumbs { font-size: 12px; line-height: 16px; color: var(--muted-foreground); padding-top: 24px; }
.crumbs a { color: var(--muted-foreground); text-decoration: none; }
.crumbs a:hover { color: var(--foreground); text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* Footer */
.site-footer { margin-top: var(--section-gap); background: var(--card); border-top: 1px solid var(--hairline); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand img { height: 52px; width: auto; display: block; }
.foot-brand img.on-dark { display: none; }   /* the -dark logo, for a dark footer (frames.css) */
.foot-brand p { margin-top: 16px; font-size: 13.5px; line-height: 21px; max-width: 30ch; }
.foot-col h3 { font: 600 10.5px/14px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 12px; }
.foot-col a { display: block; color: var(--foreground-secondary); text-decoration: none; font-size: 14px; line-height: 30px; }
.foot-col a:hover { color: var(--foreground); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--muted-foreground); }
.foot-base a { color: var(--muted-foreground); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
/* Long text pages: Privacy policy, Terms of use (8 October 2026) */
.legal h2 { font-size: 21px; line-height: 28px; margin: 32px 0 8px; letter-spacing: 0; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15px; line-height: 25px; }
.legal p + p, .legal ul + p { margin-top: 10px; }
.legal ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal b { color: var(--foreground); font-weight: 600; }
.legal .small { margin-top: 28px; font-size: 13px; color: var(--muted-foreground); }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; background: var(--card); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 28px; }
.form .full { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; align-content: start; }
.fld > label, .fld > .lbl { font: 600 13px/18px var(--font-sans); color: var(--foreground); }
.fld .opt { font-weight: 400; color: var(--muted-foreground); }
fieldset.fld { border: 0; padding: 0; margin: 0; min-width: 0; }
.fld legend { padding: 0; margin-bottom: 8px; font: 600 13px/18px var(--font-sans); color: var(--foreground); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.check .opt { color: var(--muted-foreground); }
.fld input[type="text"], .fld input[type="email"], .fld textarea, .fld select {
  width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: var(--radius-md); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--input); font: 400 14px/20px var(--font-sans); color: var(--foreground);
}
.fld textarea { height: 112px; padding: 10px 12px; resize: vertical; }
.fld input:focus-visible, .fld textarea:focus-visible, .fld select:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.fld input:user-invalid, .fld textarea:user-invalid { box-shadow: inset 0 0 0 2px var(--destructive); }
.fld .err { display: none; font-size: 12px; line-height: 16px; color: var(--destructive); }
.fld:has(:user-invalid) .err { display: block; }
.fld .hint { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1px var(--input); font: 500 13px/1 var(--font-sans); color: var(--control-foreground); background: var(--card); }
.chips input:checked + span { background: var(--secondary); color: var(--secondary-foreground); box-shadow: inset 0 0 0 1.5px var(--primary); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 20px; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot .small { font-size: 12px; line-height: 17px; color: var(--muted-foreground); }
.form-done { background: var(--card); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 32px; text-align: center; }
.form-done .tick { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--secondary); color: var(--primary); font-size: 24px; margin-bottom: 12px; }
.form-done h2 { margin-bottom: 8px; }
.form-done[hidden], .form[hidden] { display: none; }

/* Session picker: radio cards */
.sessions { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.session { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--input); background: var(--card); cursor: pointer; }
.session input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); flex: none; }
.session b { display: block; font: 600 14px/20px var(--font-sans); color: var(--foreground); }
.session small { display: block; font-size: 12.5px; line-height: 18px; color: var(--muted-foreground); }
.session:has(input:checked) { background: var(--secondary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.session:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }

/* Small parts */
.pill-example { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--radius-full); background: var(--example-fill); color: var(--example-text); font: 600 11px/1 var(--font-sans); letter-spacing: .02em; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.facts span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--radius-full); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); font: 500 13px/1 var(--font-sans); color: var(--control-foreground); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: st; }
.steps li { position: relative; padding-left: 44px; counter-increment: st; font-size: 14px; line-height: 21px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary); color: var(--secondary-foreground); font: 600 13px/1 var(--font-sans); }
.steps b { display: block; color: var(--foreground); font-weight: 600; }
.panel { background: var(--card); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel h3 { margin-bottom: 12px; }
.panel.quiet { background: var(--brand-pale); box-shadow: inset 0 0 0 1px var(--hairline); }
.faq { max-width: 760px; margin: 24px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 600 15px/22px var(--font-display); color: var(--foreground); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 20px; line-height: 22px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 16px; font-size: 14px; line-height: 22px; }
.faq-a > p + p, .faq-a > ul + p { margin-top: -4px; }
.faq-a ul { margin: -4px 0 16px; padding-left: 20px; font-size: 14px; line-height: 22px; }
.faq-a li + li { margin-top: 6px; }
.faq-a a { color: var(--link); }
.faq .faq-group { font-size: 20px; line-height: 28px; margin: 28px 0 4px; }
.faq .faq-group:first-child { margin-top: 0; }

/* A report opened on its own, over the whole page */
.wf-own { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; background: var(--background); }
.wf-own.open { display: flex; }
.wf-own-bar { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: var(--card); box-shadow: 0 1px 0 var(--hairline); }
.wf-own-bar h2 { flex: 1; font-size: 16px; line-height: 22px; }
.wf-own-x { border: 0; cursor: pointer; background: var(--secondary); color: var(--secondary-foreground); font: 600 13px/1 var(--font-sans); padding: 10px 14px; border-radius: var(--radius-full); }
.wf-own iframe { flex: 1; width: 100%; border: 0; background: var(--background); }

/* Phones and small tablets */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; margin-left: 4px; }
  .site-header .wrap { gap: 12px; }   /* room for the magnifier beside Book a demo and the menu button */
  .nav-toggle { flex: none; }
  .nav-search { order: 2; margin-left: auto; }
  .nav-cta { order: 2; margin-left: 4px; height: 36px; padding: 0 14px; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); box-shadow: var(--shadow-toast); padding: 8px 16px 16px; max-height: calc(100vh - 68px); overflow: auto;
  }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav > a, .site-nav .nav-drop > button { height: 44px; width: 100%; justify-content: space-between; border-radius: var(--radius-md); }
  .nav-panel { position: static; transform: none; width: auto; box-shadow: none; padding: 0 0 8px 12px; grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .wf-copy h2 { font-size: 30px; line-height: 38px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-gap: 48px; }
  .display { font-size: 34px; line-height: 40px; }
  h1 { font-size: 26px; line-height: 32px; }
  h2 { font-size: 21px; line-height: 27px; }
  .wf-copy h2 { font-size: 26px; line-height: 32px; }
  /* A section left off phones (John, 8 October 2026): still in the HTML, so search engines and AI tools read it */
  .hide-phone { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
