/* ============================================================
   Square Hole Tech Solutions — Design System & Styles
   Palette: light blue / sky. Clean, airy, professional.
   No external dependencies. Fonts are self-hosted (below).
   ============================================================ */

/* ---------- Self-hosted fonts (variable, latin subset) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  /* Sky / brand blues */
  --sky-50:  #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;

  /* Ink / neutrals */
  --navy:      #0b2545;
  --ink-900:   #0f2440;
  --ink-700:   #334155;
  --ink-500:   #64748b;
  --ink-400:   #94a3b8;
  --line:      #e2e8f0;
  --white:     #ffffff;

  /* Roles */
  --brand:        var(--sky-600);
  --brand-strong: var(--sky-700);
  --brand-soft:   var(--sky-100);
  --bg:           var(--white);
  --bg-tint:      var(--sky-50);
  --text:         var(--ink-900);
  --text-muted:   var(--ink-500);

  /* Effects */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 1px 3px rgba(11, 37, 69, .05);
  --shadow-md: 0 8px 24px rgba(2, 132, 199, .10), 0 2px 6px rgba(11, 37, 69, .06);
  --shadow-lg: 0 24px 60px rgba(2, 132, 199, .16), 0 6px 16px rgba(11, 37, 69, .08);
  --ring: 0 0 0 4px rgba(56, 189, 248, .35);

  /* Type */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p  { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tint { background: var(--bg-tint); }
.section--navy { background: linear-gradient(160deg, var(--navy), #123a67); color: #dbeafe; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.section--navy .eyebrow { color: var(--sky-300); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.section--navy .lead { color: #bfdbfe; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--brand-strong); box-shadow: var(--shadow-lg); }
.btn--ghost { background: rgba(255,255,255,.9); color: var(--brand-strong); border-color: var(--sky-200); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: #fff; border-color: var(--sky-300); }
.btn--light { background: #fff; color: var(--brand-strong); }
.btn--light:hover { background: var(--sky-50); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn__arrow { transition: transform .15s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: 1.12rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name small { font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }

.nav__links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink-700); font-weight: 500; font-size: .97rem; white-space: nowrap;
  padding: .5rem .7rem; border-radius: 8px; transition: background .15s, color .15s;
}
.nav__links a:hover { color: var(--brand-strong); background: var(--sky-50); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; font-weight: 600; color: var(--ink-900); font-family: var(--font-head); }
.nav__phone:hover { color: var(--brand-strong); text-decoration: none; }

.nav__toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 40px; cursor: pointer; color: var(--ink-900);
  align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50) 0%, #fff 78%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(60% 55% at 82% 8%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(50% 50% at 10% 20%, rgba(2,132,199,.10), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-block: clamp(52px, 8vw, 96px);
}
.hero__content { max-width: 40rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--sky-200); color: var(--brand-strong);
  padding: .4rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-500); box-shadow: 0 0 0 4px rgba(56,189,248,.25); }
.hero h1 { margin-bottom: .6rem; }
.hero h1 .accent { color: var(--brand); }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink-700); margin-bottom: 1.8rem; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.1rem; color: var(--text-muted); font-size: .92rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust svg { width: 18px; height: 18px; color: var(--sky-600); flex: none; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.6rem; position: relative; z-index: 1;
}
.hero__card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.hero__card-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(150deg, var(--sky-500), var(--sky-700)); display: grid; place-items: center; color: #fff; flex: none; }
.hero__card-icon svg { width: 24px; height: 24px; }
.hero__card-head h3 { margin: 0; font-size: 1.1rem; }
.hero__card-head p { margin: 0; font-size: .85rem; color: var(--text-muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--ink-700); }
.checklist svg { width: 20px; height: 20px; color: var(--sky-600); flex: none; margin-top: 1px; }
.hero__card-foot { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero__card-foot .price { font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: 1.05rem; }
.hero__card-foot .price small { display: block; font-weight: 500; font-size: .75rem; color: var(--text-muted); }
.hero__blob { position: absolute; inset: -8% -6% auto auto; width: 70%; height: 70%; background: linear-gradient(150deg, var(--sky-200), var(--sky-400)); filter: blur(60px); opacity: .4; border-radius: 50%; z-index: 0; }

/* ---------- Compliance / WISP spotlight band ---------- */
.spotlight {
  background: linear-gradient(150deg, var(--navy), #103860 60%, var(--sky-800));
  color: #e0f2fe; border-radius: var(--radius-lg); overflow: hidden;
  position: relative; box-shadow: var(--shadow-lg);
}
.spotlight::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(56,189,248,.35), transparent 70%); pointer-events: none;
}
.spotlight__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(32px, 5vw, 56px); }
.spotlight h2 { color: #fff; margin-bottom: .6rem; }
.spotlight p { color: #cfe6fb; margin-bottom: 0; }
.spotlight .tag { display: inline-block; background: rgba(56,189,248,.18); color: #bae6fd; border: 1px solid rgba(125,211,252,.4); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.spotlight__actions { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.spotlight__stat { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; display: flex; align-items: center; gap: .5rem; }
.spotlight__stat svg { width: 20px; height: 20px; color: var(--sky-300); }

/* ---------- Cards / services grid ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sky-200); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky-50); color: var(--brand-strong); margin-bottom: 1.1rem; border: 1px solid var(--sky-100);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--text-muted); margin-bottom: .9rem; font-size: .97rem; }
.card ul { color: var(--text-muted); font-size: .92rem; margin-bottom: 0; }
.card ul li { margin-bottom: .3rem; }
.card--feature { border-top: 3px solid var(--brand); }
.card__link { font-family: var(--font-head); font-weight: 600; font-size: .93rem; display: inline-flex; align-items: center; gap: .35rem; }
.card__link svg { width: 16px; height: 16px; transition: transform .15s; }
.card__link:hover svg { transform: translateX(3px); }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: .5rem; }
.step__num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--sky-500), var(--sky-700)); margin-bottom: 1rem; box-shadow: var(--shadow-md);
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ---------- Why-us / feature rows ---------- */
.feature-row { display: flex; gap: 1rem; align-items: flex-start; }
.feature-row__icon { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--sky-50); color: var(--brand-strong); border: 1px solid var(--sky-100); }
.feature-row__icon svg { width: 24px; height: 24px; }
.feature-row h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.feature-row p { color: var(--text-muted); margin: 0; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact__methods { display: grid; gap: 1rem; margin-top: 1.6rem; }
.contact__method { display: flex; gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.contact__method:hover { text-decoration: none; border-color: var(--sky-200); box-shadow: var(--shadow-md); }
.contact__method-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--sky-50); color: var(--brand-strong); display: grid; place-items: center; flex: none; border: 1px solid var(--sky-100); }
.contact__method-icon svg { width: 22px; height: 22px; }
.contact__grid > * { min-width: 0; }
.contact__method { min-width: 0; }
.contact__method > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact__method .label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); font-weight: 600; }
/* overflow-wrap: anywhere (not break-word) so the long email address also
   shrinks the box's min-content width instead of forcing overflow on phones */
.contact__method .value { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink-900); font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: clamp(1.4rem, 3vw, 2rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink-900); margin-bottom: .4rem; }
.field label .req { color: #dc2626; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink-900);
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--sky-400); box-shadow: var(--ring); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--text-muted); margin: .2rem 0 1.2rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- FAQ (WISP page) ---------- */
.faq { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq details[open] { border-color: var(--sky-200); box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 600; color: var(--ink-900); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 1.3rem 1.2rem; color: var(--text-muted); }
.faq .faq__body p { margin: 0; }

/* ---------- Pill list (WISP includes) ---------- */
.pill-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.pill-list li { display: flex; gap: .65rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.05rem; box-shadow: var(--shadow-sm); }
.pill-list svg { width: 22px; height: 22px; color: var(--sky-600); flex: none; margin-top: 1px; }
.pill-list strong { display: block; color: var(--ink-900); font-size: .98rem; }
.pill-list span { font-size: .9rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 1.4rem; }

/* ---------- Page hero (secondary pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--sky-50), #fff); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% -10%, rgba(56,189,248,.22), transparent 60%); }
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 84px); max-width: 46rem; }
.breadcrumb { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--brand-strong); }

/* ---------- Info banner / disclaimer ---------- */
.notice { background: var(--sky-50); border: 1px solid var(--sky-200); border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-size: .9rem; color: var(--ink-700); display: flex; gap: .7rem; align-items: flex-start; }
.notice svg { width: 20px; height: 20px; color: var(--sky-600); flex: none; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9d4ee; padding-block: clamp(40px, 6vw, 64px) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 1.8rem; }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #9fc0e0; font-size: .93rem; max-width: 30ch; margin-top: 1rem; }
.footer h4 { font-family: var(--font-head); color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a { color: #b9d4ee; font-size: .95rem; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .85rem; color: #8fb3d6; }
.footer__disclaimer { font-size: .8rem; color: #7ba3cc; margin-top: 1rem; max-width: 70ch; }

/* ---------- Reveal animation (progressive; hidden only when JS active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
/* Nav collapses to the hamburger before the horizontal links can crowd/wrap.
   With the Resources link the full inline nav needs ~1050px, so it only shows above 1200px. */
@media (max-width: 1200px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .site-header.is-open .nav__links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; border-bottom: 1px solid var(--line); padding: .8rem var(--gutter) 1.2rem;
    box-shadow: var(--shadow-md);
  }
  .site-header.is-open .nav__links a { padding: .8rem .6rem; }
}

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .spotlight__inner { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .pill-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* Buttons may carry long labels (e.g. thank-you page); let them wrap
     rather than force horizontal scroll on narrow phones. The compact
     header CTA stays on one line — it fits and looks better. */
  .btn { white-space: normal; text-align: center; }
  .nav__cta .btn { white-space: nowrap; }
}

/* Compact header on small phones: the brand + CTA + hamburger must fit 360px */
@media (max-width: 480px) {
  .nav { gap: .5rem; }
  .nav__cta { gap: .45rem; }
  .nav__cta .btn--primary { padding: .55rem .85rem; font-size: .85rem; }
  .brand { gap: .5rem; font-size: 1rem; }
  .brand__mark { width: 32px; height: 32px; }
}

/* Long unbroken strings (email address) must not widen mobile layouts */
.footer a, .footer__brand p { overflow-wrap: anywhere; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Lead-magnet mini form (inside the navy spotlight) ---------- */
.magnet-form { display: flex; gap: .6rem; width: 100%; flex-wrap: wrap; }
.magnet-form input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: inherit; font-size: .98rem;
  padding: .8rem 1rem; border-radius: 999px; border: 1px solid rgba(125,211,252,.5);
  background: rgba(255,255,255,.95); color: var(--ink-900);
}
.magnet-form input[type="email"]:focus { outline: none; box-shadow: var(--ring); border-color: var(--sky-300); }
.magnet-form .btn { flex: none; }

/* ---------- Founders / About ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.4rem; }
.founder { display: flex; gap: 1.1rem; align-items: flex-start; }
.founder__avatar {
  width: 64px; height: 64px; border-radius: 18px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--sky-500), var(--sky-700)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em;
  box-shadow: var(--shadow-md);
}
.founder h3 { margin-bottom: .2rem; }
.founder .founder__role { font-size: .85rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: .5rem; }
.founder p { color: var(--text-muted); font-size: .96rem; margin: 0; }
@media (max-width: 720px) { .founders { grid-template-columns: 1fr; } }

/* ---------- Article pages (resources) ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 2.2rem; }
.article h3 { margin-top: 1.6rem; }
.article ul, .article ol { margin-bottom: 1.2rem; }
.article li { margin-bottom: .4rem; }
.article__meta { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.6rem; }
.article .notice { margin: 1.6rem 0; }
.article-cta {
  background: var(--sky-50); border: 1px solid var(--sky-200); border-radius: var(--radius);
  padding: 1.6rem; margin-top: 2.4rem;
}
.article-cta h3 { margin-top: 0; }
.article-cta p { color: var(--ink-700); }

/* ---------- Checklist page (printable) ---------- */
.check-sheet { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .55rem; }
.check-sheet li { display: flex; gap: .65rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.check-sheet .box { width: 20px; height: 20px; flex: none; border: 2px solid var(--sky-500); border-radius: 5px; margin-top: 2px; }
.check-sheet strong { color: var(--ink-900); }
.check-sheet span.hint { display: block; font-size: .88rem; color: var(--text-muted); }
@media print {
  .site-header, .site-footer, .no-print, .article-cta { display: none !important; }
  body { font-size: 12px; }
  .check-sheet li { break-inside: avoid; border: 1px solid #bbb; }
  a { color: inherit; text-decoration: none; }
}
