/* G.S.H Consulting: Terrapin-style redesign (Greg, 2026-10-14; replaces the tomato/Bricolage system).
   Color and layout facts measured from terrapincrypto.us: rewrite-2026-10-14/TERRAPIN-DESIGN-FACTS.md.
   White page, black text, Public Sans + IBM Plex Mono, a 1000px content column ruled left and right,
   full-bleed dark media bands (hero and closing), 10px bordered cards, 6px black buttons, and the cool
   logo gradient (cyan-blue #05acdb, teal #04c5be, mint #02ee97, aqua #2cfff2) for lines and glows only.
   The teal and cyan are never small text on white (2.2:1); text accent is darkened teal #0a6f6b (6.0:1).
   Every text/background pair is AA-checked by qa/qa.py. G.S.H's own site only, never a client template. */
:root {
  --bg: #ffffff;
  --ink: #000000;
  --ink-2: #1b2129;          /* Terrapin video slate */
  --muted: #57616d;          /* Terrapin video steel: 6.3:1 on white */
  --surface: #f3f7f7;        /* cool tint for cards and slots */
  --warm: #e6f7f5;           /* light teal tint (selected chips, success) */
  --line: #e3e3e3;           /* Terrapin card border */
  --divider: #d9d9d9;        /* Terrapin divider */
  --rule: #000000;           /* Terrapin column rules */
  --accent: #04c5be;         /* Terrapin logo teal: lines, glows, focus rings only */
  --accent-text: #0a6f6b;    /* darkened teal for text: 6.0:1 on white */
  --cyan: #05acdb;
  --mint: #02ee97;
  --aqua: #2cfff2;
  --slate: #1b2129;
  --mauve: #9b5d87;
  --grad: linear-gradient(90deg, #05acdb, #04c5be 45%, #02ee97);
  --on-ink: #ffffff;
  --ink-hover: #1b2129;
  --header-bg: rgba(255,255,255,0.94);
  --shadow: 0 10px 30px rgba(27,33,41,.10);
  --danger: #b00020;
  --radius: 6px;             /* Terrapin buttons */
  --radius-card: 10px;       /* Terrapin cards */
  --radius-img: 8px;         /* Terrapin images */
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --col: 1000px;             /* Terrapin content column */
  --pad: clamp(20px, 3vw, 26px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
/* Dark theme: opt-in only through the header toggle; light stays the default (LESSONS rule 1). Cool slate palette. */
:root[data-theme="dark"] {
  --bg: #0f1418;
  --ink: #f2f6f6;
  --ink-2: #d3dcdd;
  --muted: #a3b2b5;
  --surface: #161d23;
  --warm: #12302f;
  --line: #2a343c;
  --divider: #3a464f;
  --rule: #3a464f;
  --accent-text: #2ee6b0;
  --on-ink: #0f1418;
  --ink-hover: #d3dcdd;
  --header-bg: rgba(15,20,24,0.92);
  --shadow: 0 10px 30px rgba(0,0,0,.5);
  --danger: #ff8a9a;
  color-scheme: dark;
}
:root[data-theme="dark"] .brand img { filter: invert(1); }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; transition: background-color .15s ease, color .15s ease; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--sans); letter-spacing: normal; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(40px, 4.6vw, 65px); line-height: 1.12; }
h2 { font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.3; }
h3 { font-weight: 600; font-size: 20px; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* Header: logo left, links, phone, theme toggle and the filled black button right (Terrapin header pattern plus nav) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease, background-color .15s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(27,33,41,.08); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 6px 0; background: var(--grad) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease), color .15s; }
.nav a:hover, .nav a:focus-visible { color: var(--ink); background-size: 100% 2px; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background-size: 100% 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--ink); background: var(--bg); border-radius: var(--radius); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 16px; }
.mobile-menu a { text-decoration: none; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); border-radius: var(--radius); cursor: pointer; padding: 0; transition: background-color .15s, color .15s; }
.theme-btn:hover { background: var(--ink); color: var(--on-ink); }
.theme-btn .i-sun, :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
@media (max-width: 860px) {
  .nav, .phone { display: none; }
  .menu-btn { display: flex; }
  .theme-btn { width: 44px; height: 44px; }
}
@media (max-width: 420px) { .header-actions .btn-sm { display: none; } }

/* Buttons (Terrapin: 6px radius, 8px 16px padding, filled black or 1px outline; hover fills black) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 8px 20px; border-radius: var(--radius); font-family: var(--sans); font-weight: 500; font-size: 16px; text-decoration: none; border: 1px solid var(--ink); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn span[aria-hidden] { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover span[aria-hidden], .btn:focus-visible span[aria-hidden] { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--on-ink); }
.btn-dark:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn-light { background: transparent; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--on-ink); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 24px; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--grad) 0 calc(100% - 8px) / 100% 2px no-repeat; }
.text-link span[aria-hidden] { transition: transform .3s var(--ease); }
.text-link:hover span[aria-hidden] { transform: translateX(3px); }
.links { display: flex; flex-wrap: wrap; gap: 4px 28px; }

/* Full-bleed dark media bands (Terrapin's hero video and footer strip). The gradient is drawn from the
   video's sampled colors; a real job-site video can replace it later. background-color is the lightest
   point of the gradient so contrast checks measure the worst case. */
main { display: block; }
.section { padding: clamp(56px, 8vw, 100px) var(--pad); }
.band { position: relative; overflow: hidden; color: #ffffff; background-color: #1d5a63;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(44,255,242,.22), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(155,93,135,.45), transparent 46%),
    linear-gradient(135deg, #1b2129 0%, #16404a 48%, #3b2a44 100%); }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.band-inner { position: relative; max-width: 950px; margin: 0 auto; text-align: center; }
.band h1 { margin-bottom: 22px; }
.band .lead { font-family: var(--mono); font-size: clamp(17px, 1.3vw, 18px); line-height: 1.55; color: #e9f1f1; max-width: 46em; margin: 0 auto; }
.band .after, .band .talk { color: #e9f1f1; }
.band a:not(.btn) { color: #ffffff; }
.btn-on-band { background: #ffffff; color: #000000; border-color: #ffffff; }
.btn-on-band:hover { background: transparent; color: #ffffff; }
.hero { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px); }
.hero.band.tall { min-height: min(80vh, 760px); display: flex; flex-direction: column; justify-content: center; }
.where { font-family: var(--mono); font-size: 14px; color: #e9f1f1; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 32px; }
.quiet-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.band .quiet-link { color: #ffffff; text-decoration-color: rgba(255,255,255,.6); }
.after { margin-top: 16px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-family: var(--mono); font-size: 14px; color: #e9f1f1; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); flex: none; }
.slot-note { position: absolute; right: var(--pad); bottom: 14px; font-family: var(--mono); font-size: 12px; color: #e9f1f1; opacity: .9; }
.band .btn-row { justify-content: center; margin-top: 28px; }
.cta-band h2 { font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.15; margin-bottom: 18px; }
.cta-band .or { margin-top: 18px; font-family: var(--mono); font-size: 15px; color: #e9f1f1; }
.cta-band .or a { font-weight: 600; }

/* The ruled content column (Terrapin's 1000px main wrapper with 1px rules left and right) */
.col { max-width: var(--col); margin: 0 auto; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); padding: clamp(56px, 8vw, 100px) var(--pad); display: grid; gap: clamp(72px, 9vw, 110px); }
@media (max-width: 1040px) { .col { border-left: 0; border-right: 0; } }
.block { min-width: 0; }
.divider { display: block; width: 80px; height: 2px; background: var(--grad); margin: 14px 0 18px; }
.label { font-family: var(--mono); font-size: 15px; color: var(--accent-text); margin-bottom: 14px; }
.body { font-family: var(--mono); font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 46em; }
.body + .body { margin-top: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.split:has(> :only-child) { grid-template-columns: 1fr; }
.card { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; background: var(--bg); }

/* Photos and empty photo slots (filled later with real photos only, never stock or AI people) */
/* Greg intro: text beside a normal portrait (2026-10-14: the wide 2:1 crop looked stretched) */
.greg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(28px, 4vw, 48px); align-items: start; }
.portrait img { width: 100%; height: auto; aspect-ratio: 864 / 1130; object-fit: cover; border-radius: var(--radius-img); border: 1px solid var(--line); }
.portrait figcaption { margin-top: 12px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.portrait figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) { .greg-grid { grid-template-columns: 1fr; } .portrait { max-width: 300px; } }
.wide-photo { margin-top: 36px; }
.wide-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius-img); }
.wide-photo figcaption { margin-top: 12px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.wide-photo figcaption b { color: var(--ink); font-weight: 600; }
.slot { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius-img); border: 1px dashed #9aa8ab; color: var(--muted);
  background: linear-gradient(135deg, rgba(5,172,219,.08), rgba(4,197,190,.10) 50%, rgba(2,238,151,.08)), var(--surface); }
.slot span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.slot-tall { aspect-ratio: auto; min-height: 320px; height: 100%; }
.pair { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; margin-top: 40px; }

/* Home: brand points as photo cards (Terrapin service tiles) */
.points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.points li { display: grid; gap: 10px; align-content: start; }
.points .slot { margin-bottom: 6px; }
.points p { font-family: var(--mono); font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* Home: how it works as bordered cards (Terrapin offer-card pattern) */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.steps > li { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; display: grid; gap: 8px; align-content: start; background: var(--bg); }
.steps .n { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--accent-text); }
.steps > li > p { font-family: var(--mono); font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.paths { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.paths li { border-radius: 8px; background: var(--surface); padding: 14px 16px; font-size: 16px; color: var(--ink-2); border-top: 2px solid var(--accent); }
.paths b { display: block; color: var(--ink); margin-bottom: 4px; }
.steps .step-link { margin-top: 4px; font-size: 16px; }

/* Home: what the monthly fee covers */
.structure { background: var(--warm); border-radius: var(--radius-card); padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; }
.structure .big { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.35; color: var(--ink); }
.structure .big b { font-weight: 700; }
.structure .small { font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.structure .small:first-of-type { border-top: 1px solid rgba(10,111,107,.25); padding-top: 14px; }

/* Home: ideas list */
.ideas { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.ideas li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.ideas li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* What I can set up: problem groups as cards in a two-column grid */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.group h2 { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.group li { position: relative; padding-left: 20px; font-family: var(--mono); font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.group li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pick-cta { display: grid; gap: 4px; justify-items: start; }

/* Brand-board sample (a fictional client's brand direction). Stays light in both themes: it shows a client's material. */
.board-fig { min-width: 0; }
.board-tag { display: inline-block; font-family: var(--mono); font-size: 13px; border: 1px solid var(--ink); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; background: var(--bg); color: var(--ink); }
.board { background: #fff; color: #15120f; border: 1px solid #e3e3e3; border-radius: var(--radius-card); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.board > * { padding: 18px 20px; min-width: 0; }
.b-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; background: #22313f; color: #efe9df; }
.b-mark { flex: none; border-radius: 8px; box-shadow: 0 0 0 1.5px #efe9df; }
.b-name { font-weight: 800; font-size: 20px; line-height: 1.1; }
.b-sub { font-size: 13px; color: #d9d2c6; }
.b-cell { border-top: 1px solid #e7e2da; }
.b-cell + .b-cell:nth-child(odd) { border-left: 1px solid #e7e2da; }
.b-promise, .b-voice, .b-truck { grid-column: 1 / -1; }
.b-promise + .b-cell { border-left: 0; }
.b-k { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #5f584f; margin-bottom: 10px; }
.b-quote { font-weight: 700; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; color: #22313f; }
.b-colors { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.b-colors li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.b-colors i { width: 26px; height: 26px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.b-colors code { font-size: 12px; color: #57534e; font-family: var(--mono); }
.b-type { display: flex; align-items: baseline; gap: 12px; line-height: 1.1; }
.b-type + .b-type { margin-top: 10px; }
.b-type-h { font-family: var(--sans); font-weight: 800; font-size: 32px; color: #22313f; }
.b-type-b { font-family: var(--mono); font-weight: 400; font-size: 28px; color: #22313f; }
.b-type span { font-family: var(--sans); font-weight: 500; font-size: 13px; color: #57534e; }
.b-msg { font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 14px 14px 14px 4px; }
.b-msg + .b-msg { margin-top: 8px; }
.b-msg span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.b-old { background: #f2f0ec; color: #5f584f; }
.b-old span { color: #5f584f; }
.b-new { background: #22313f; color: #efe9df; }
.b-new span { color: #e9a374; }
.b-truck svg { width: 100%; height: auto; display: block; }
.board-fig figcaption { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Intro call: what happens next, the other path and the form */
.next h2 { font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.next ol { margin: 0; padding-left: 22px; display: grid; gap: 12px; font-family: var(--mono); font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.next li { font-family: var(--mono); font-size: 17px; }
.next li::marker { color: var(--accent-text); font-weight: 700; }
.next b { color: var(--ink); font-family: var(--sans); }
.alt-path { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; }
.alt-path p { font-family: var(--mono); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.alt-path b { font-family: var(--sans); color: var(--ink); }
.form-sec { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 60px); }
.noscript { max-width: 720px; margin: 0 0 24px; padding: 18px 20px; border: 1px solid var(--ink); border-radius: var(--radius-card); display: grid; gap: 8px; }
html:not(.js) .lead-form { display: none; }

/* Phones: a "Call Greg" pill once the visitor scrolls past the first section (always shown without JS) */
.call-pill { display: none; position: fixed; left: 16px; bottom: 16px; z-index: 40; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); font-weight: 500; text-decoration: none; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
@media (max-width: 860px) {
  .call-pill { display: inline-flex; }
  body.past-hero .call-pill, html:not(.js) .call-pill { opacity: 1; transform: none; pointer-events: auto; }
  .site-footer { padding-bottom: 88px; }
}

/* Intro-call form */
.opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; min-height: 52px; background: var(--bg); transition: border-color .15s, background-color .15s, transform .15s var(--ease); }
.opt:hover { border-color: var(--muted); transform: translateY(-1px); }
.opt input { width: 18px; height: 18px; accent-color: var(--accent-text); flex: none; margin: 0; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--warm); }
.lead-form { max-width: 720px; display: grid; gap: 20px; }
.form-title { font-size: clamp(30px, 3.6vw, 44px); }
.lead-form .hint { font-size: 14px; color: var(--muted); margin-top: -8px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .lead-form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--muted); border-radius: var(--radius); background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.4; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: 14px; font-weight: 500; }
.when { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.when legend { font-weight: 600; font-size: 15px; margin-bottom: 4px; padding: 0; }
.when .hint { margin-top: 0; }
.when .sub { font-size: 14px; font-weight: 600; margin-top: 4px; }
.when .sub .muted { font-weight: 400; color: var(--muted); }
.when-grid { display: grid; gap: 8px; }
.when-grid.days { grid-template-columns: repeat(6, 1fr); }
.when-grid.times { grid-template-columns: repeat(4, 1fr); }
.when-grid .opt { padding: 10px 12px; min-height: 48px; gap: 10px; font-size: 15px; }
.when-grid .opt small { display: block; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .when-grid.days { grid-template-columns: repeat(3, 1fr); } .when-grid.times { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent-text); flex: none; margin: 1px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { justify-self: start; min-width: 220px; }
.lead-form .btn:disabled { opacity: .65; cursor: progress; }
.status { padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 16px; }
.status.ok { border-color: var(--ink); background: var(--warm); font-weight: 600; }
.status.bad { border-color: var(--danger); color: #7a0016; background: #fff6f7; }
:root[data-theme="dark"] .status.bad { color: #ffb3bd; background: #2a0d12; }
.status:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.talk { margin-top: 24px; font-size: 16px; }
.talk a { font-weight: 600; }


/* Legal and 404 (plain white sections) */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(34px, 4.4vw, 52px); margin: 8px 0 8px; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; font-weight: 600; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { text-underline-offset: 3px; }
.section.hero:not(.band) { max-width: var(--col); margin: 0 auto; }
.section.hero:not(.band) h1 { margin-bottom: 18px; }
.section.hero:not(.band) .lead { font-family: var(--mono); color: var(--ink-2); margin-bottom: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.footer-grid p { margin-bottom: 8px; }
.footer-grid .label { margin-bottom: 10px; }
.footer-fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.footer-fine a { color: var(--muted); }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .split, .pair, .groups { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
  .ideas { grid-template-columns: 1fr; }
  .slot-tall { min-height: 220px; }
}
@media (max-width: 560px) {
  .btn-row .btn, .hero-cta .btn { width: 100%; }
  .board { grid-template-columns: 1fr; }
  .b-cell + .b-cell:nth-child(odd) { border-left: 0; }
  .band h1 { font-size: 40px; }
  .slot-note { position: static; margin-top: 28px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
