/* ==========================================================================
   WebVideoCaster.org — "CastFlow Light" design system
   Original stylesheet. No frameworks, no external requests.
   ========================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/jakarta-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "InterVar";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFFCF7;
  --surface: #FFFFFF;
  --surface-2: #FFF9F1;
  --tint: #FFF3D9;
  --tint-2: #FFE3AD;
  --text: #10213A;
  --text-2: #2A3A54;
  --muted: #56667E;
  --primary: #0874C8;
  --primary-dark: #075EA8;
  --primary-ink: #084A83;
  --accent: #F4912E;
  --accent-ink: #A94B05;
  --gold: #FFC300;
  --border: #F0E6D9;
  --border-2: #E2D4C1;
  --ink: #0B1A30;

  --ok: #047857;   --ok-bg: #E8F8F1;
  --warn: #A15C07; --warn-bg: #FFF6E6;
  --bad: #B42318;  --bad-bg: #FDEDEC;

  --font-display: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "InterVar", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --sh-1: 0 1px 2px rgba(16, 33, 58, .05), 0 1px 1px rgba(16, 33, 58, .03);
  --sh-2: 0 14px 34px -16px rgba(16, 33, 58, .22), 0 2px 6px rgba(16, 33, 58, .05);
  --sh-3: 0 30px 70px -30px rgba(16, 33, 58, .35), 0 6px 16px -6px rgba(16, 33, 58, .08);
  --sh-blue: 0 12px 26px -12px rgba(16, 138, 237, .48);

  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
svg.icon { display: inline-block; }
a { color: var(--primary-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-ink); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.35rem + 2.9vw, 3.5rem); font-weight: 760; letter-spacing: -.032em; line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 740; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
strong { font-weight: 650; color: var(--text); }
small { font-size: .85em; }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: .08em .38em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
::selection { background: #FFE3AD; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-2); box-shadow: var(--sh-1); }
.btn-secondary:hover { border-color: #E6CBA4; color: var(--text); box-shadow: var(--sh-2); }
.btn-ghost { background: transparent; color: var(--primary-dark); padding-inline: .4rem; min-height: 44px; }
.btn-ghost:hover { color: var(--primary-ink); }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }

.store-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-store {
  display: inline-flex; align-items: center; gap: .7rem;
  min-height: 56px; padding: .55rem 1.25rem .55rem 1rem; border-radius: 14px;
  background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(11, 26, 48, .7);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn-store:hover { color: #fff; background: #13284A; transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(11, 26, 48, .8); text-decoration: none; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-store small { font-size: .74rem; opacity: .82; letter-spacing: .01em; }
.btn-store strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: inherit; letter-spacing: -.01em; }
.store-ico { width: 26px; height: 26px; color: #FFD44E; }
.btn-store--light { background: #fff; color: var(--ink); }
.btn-store--light .store-ico { color: var(--primary); }
.btn-store--light:hover { background: #FFF6E7; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 247, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(226, 212, 193, .7);
}
.site-header__bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); margin-right: auto; border-radius: 12px; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand-mark { flex: none; filter: drop-shadow(0 6px 10px rgba(244, 145, 46, .25)); }
.brand__text { font-family: var(--font-display); font-weight: 760; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__tld { color: var(--primary); }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .75rem; border-radius: 10px;
  color: var(--text-2); font-weight: 560; font-size: .97rem; text-decoration: none; white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(16, 138, 237, .06); text-decoration: none; }
.nav-link[aria-current] { color: var(--primary-dark); }
.nav-link[aria-current]::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 2px; height: 2px; border-radius: 2px; background: var(--primary);
}
.has-sub .nav-link { padding-right: .2rem; }
.has-sub .nav-link[aria-current]::after { right: 2.2rem; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 32px; height: 44px; margin-left: -.1rem; padding: 0;
  border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer;
}
.sub-toggle:hover { color: var(--text); background: rgba(16, 138, 237, .06); }
.sub-toggle .icon { transition: transform .2s var(--ease); }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }

.sub-panel {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 330px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--sh-3);
  padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.sub-panel--wide { min-width: 560px; }
.has-sub.is-open > .sub-panel {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
@media (hover: hover) and (min-width: 1021px) {
  .has-sub:hover > .sub-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.has-sub:focus-within > .sub-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 1021px) {
  .has-sub.is-dismissed > .sub-panel, .has-sub.is-dismissed:hover > .sub-panel { opacity: 0; visibility: hidden; transform: translateY(6px); }
}
.sub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.sub-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.sub-link {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .65rem; border-radius: 14px;
  color: var(--text); text-decoration: none; line-height: 1.25;
}
.sub-link:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.sub-link[aria-current="page"] { background: var(--tint); }
.sub-link strong { display: block; font-size: .95rem; font-weight: 640; }
.sub-link small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.sub-all {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: .4rem; padding: .7rem .8rem; border-top: 1px solid var(--border);
  font-weight: 620; font-size: .92rem; text-decoration: none; border-radius: 0 0 14px 14px;
}

.chip-ico {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--tint); color: var(--primary-dark);
}
.chip-ico .icon { width: 22px; height: 22px; }
.tone-green    { --tone: #047857; --tone-bg: #E6F7EF; --tone-line: #A7E3C9; }
.tone-slate    { --tone: #3E4C63; --tone-bg: #EDF1F7; --tone-line: #CBD5E3; }
.tone-violet   { --tone: #6D28D9; --tone-bg: #F2ECFE; --tone-line: #D5C4FB; }
.tone-blue     { --tone: #075EA8; --tone-bg: #E7F3FF; --tone-line: #BBDFFF; }
.tone-amber    { --tone: #A4510A; --tone-bg: #FEF2E1; --tone-line: #F8D29E; }
.tone-navy     { --tone: #084A83; --tone-bg: #E5F3FF; --tone-line: #C3E0F7; }
.tone-rose     { --tone: #B0145A; --tone-bg: #FDEAF2; --tone-line: #F6BCD5; }
.tone-graphite { --tone: #27303F; --tone-bg: #ECEEF2; --tone-line: #CDD2DB; }
.tone-cyan     { --tone: #A94B05; --tone-bg: #FFF3D9; --tone-line: #FAD39D; }
.chip-ico[class*="tone-"] { background: var(--tone-bg); color: var(--tone); }

.nav-toggle {
  display: none; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .8rem;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-2); border-radius: 12px;
  font: 600 .95rem/1 var(--font-display); cursor: pointer;
}
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-block; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--sh-3);
    padding: .75rem var(--gutter) 1.5rem;
    display: none;
  }
  .site-header.is-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .nav-link { flex: 1; min-height: 52px; font-size: 1.05rem; padding-inline: .25rem; }
  .nav-link[aria-current]::after { display: none; }
  .nav-link[aria-current] { font-weight: 700; }
  .sub-toggle { width: 52px; height: 52px; }
  .sub-panel, .sub-panel--wide {
    position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; padding: 0 0 .75rem;
    opacity: 1; visibility: visible; transform: none; display: none; transition: none; border-radius: 0;
  }
  .has-sub.is-open > .sub-panel { display: block; }
  .has-sub:focus-within > .sub-panel { opacity: 1; }
  .sub-grid { grid-template-columns: 1fr 1fr; }
  .nav-cta { width: 100%; }
}
@media (max-width: 520px) {
  .sub-grid { grid-template-columns: 1fr; }
  .brand__text { font-size: 1.02rem; }
}
@media (max-width: 400px) {
  .nav-toggle__label { display: none; }
  .nav-toggle { padding-inline: .7rem; }
  .brand__text { font-size: .98rem; }
}

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(56px, 7.5vw, 104px); }
.section--tint { background: linear-gradient(180deg, #FFF3E0 0%, #FFFCF7 100%); border-block: 1px solid var(--border); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head .eyebrow, .split .eyebrow { color: var(--primary-dark); font-size: .78rem; }
.center-row { text-align: center; margin: 2.5rem 0 0; }
@media (min-width: 901px) { .split > .sticky-col { position: sticky; top: calc(var(--header-h) + 32px); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .9rem;
  font: 700 .78rem/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--primary-dark);
}
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--text-2); max-width: 62ch; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.6rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.1rem; color: var(--muted); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-meta .icon { color: var(--ok); }

/* ---------- Home hero ---------- */
.hero-home {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(16, 138, 237, .10), transparent 65%),
    radial-gradient(700px 420px at 10% 0%, rgba(255, 195, 0, .13), transparent 60%),
    linear-gradient(180deg, #FFF9EF 0%, var(--bg) 100%);
}
.hero-home::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(16, 138, 237, .11) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(600px 400px at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(600px 400px at 70% 40%, #000, transparent 75%);
}
.hero-home__grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.hero-home h1 { font-size: clamp(2.3rem, 1.4rem + 3.5vw, 4rem); }
.hero-home h1 .grad {
  background: linear-gradient(92deg, var(--primary-dark) 10%, #B95A0C 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-note { margin-top: 1.25rem; color: var(--muted); font-size: .92rem; max-width: 52ch; }

/* animated details in the hero illustration */
.sig { opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .sig { animation: sig 2.6s var(--ease) infinite; }
  .sig-2 { animation-delay: .35s; }
  .sig-3 { animation-delay: .7s; }
  .bar-fill { animation: fill 9s linear infinite; transform-origin: left center; transform-box: fill-box; }
  .float { animation: float 6s ease-in-out infinite; }
  .float-2 { animation-delay: -3s; }
}
@keyframes sig { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
@keyframes fill { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Feature strip ---------- */
.strip { padding-block: 0 8px; margin-top: -28px; position: relative; z-index: 2; }
.strip__list {
  list-style: none; margin: 0; padding: 1.1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.strip__list li { display: flex; gap: .8rem; align-items: flex-start; padding: .6rem .7rem; }
.strip__list li + li { border-left: 1px solid var(--border); }
.strip__list strong { display: block; font-family: var(--font-display); font-size: .98rem; line-height: 1.3; }
.strip__list span.t { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: 2px; }

/* ---------- Device grid ---------- */
.device-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.device-tile {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 1.3rem 1.25rem 1.15rem; border-radius: 20px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  overflow: hidden;
}
.device-tile::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tone); opacity: .0; transition: opacity .25s;
}
.device-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--tone-line); color: var(--text); text-decoration: none; }
.device-tile:hover::before { opacity: .9; }
.device-tile__ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 1rem;
  background: var(--tone-bg); color: var(--tone);
}
.device-tile__ico .icon { width: 28px; height: 28px; }
.device-tile__kind { font: 700 .72rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--tone); margin-bottom: .45rem; }
.device-tile__name { font-family: var(--font-display); font-size: 1.14rem; font-weight: 720; letter-spacing: -.015em; line-height: 1.25; }
.device-tile__blurb { color: var(--muted); font-size: .92rem; line-height: 1.5; margin-top: .35rem; flex: 1; }
.device-tile__go { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 620; font-size: .9rem; color: var(--primary-dark); }
.device-tile:hover .device-tile__go .icon { transform: translateX(3px); }
.device-tile__go .icon { transition: transform .2s var(--ease); }

/* ---------- How casting works (home) ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: flow; position: relative; }
.flow::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--tint-2) 0 10px, transparent 10px 18px);
}
.flow li { position: relative; text-align: center; padding: 0 .5rem; counter-increment: flow; }
.flow__num {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-2); color: var(--primary);
}
.flow__num .icon { width: 30px; height: 30px; }
.flow__num::after {
  content: counter(flow); position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: #fff; font: 700 .8rem/26px var(--font-display); text-align: center; box-shadow: 0 0 0 4px var(--bg);
}
.section--tint .flow__num::after { box-shadow: 0 0 0 4px #FFF9F1; }
.flow h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.flow p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bento__item {
  grid-column: span 2; padding: 1.5rem; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--sh-1);
}
.bento__item--wide { grid-column: span 3; }
.bento__item--feature {
  grid-column: span 3; grid-row: span 2;
  background: radial-gradient(420px 260px at 100% 0%, rgba(244, 145, 46, .14), transparent 70%), linear-gradient(160deg, #FFFFFF 0%, #FFF2DA 100%);
  display: flex; flex-direction: column;
}
.bento__item h3 { margin-top: .9rem; }
.bento__item p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.bento__item .src { display: block; margin-top: .75rem; font-size: .82rem; color: var(--muted); }
.bento__art { margin-top: auto; padding-top: 1.25rem; }

/* ---------- Two-column split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

.limit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.limit-list li {
  display: grid; grid-template-columns: 34px 1fr; gap: .85rem; align-items: start;
  padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
}
.limit-list .mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.limit-list .mark.no { background: var(--bad-bg); color: var(--bad); }
.limit-list .mark.yes { background: var(--ok-bg); color: var(--ok); }
.limit-list .mark.warn { background: var(--warn-bg); color: var(--warn); }
.limit-list strong { display: block; font-family: var(--font-display); line-height: 1.3; }
.limit-list span.t { display: block; color: var(--muted); font-size: .93rem; margin-top: .15rem; }

/* ---------- Cards / resources ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--sh-1); }
.card--tint { background: linear-gradient(180deg, #FFFFFF, #FFF8EB); }
.card h3 { margin-bottom: .4rem; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.resource {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.35rem; border-radius: 20px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.resource:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--border-2); color: var(--text); text-decoration: none; }
.resource strong { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.3; }
.resource span.t { color: var(--muted); font-size: .93rem; }
.resource .more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .35rem; color: var(--primary-dark); font-weight: 620; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .65rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--border-2); box-shadow: var(--sh-2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1.05rem 1.2rem; min-height: 56px; font-family: var(--font-display); font-weight: 650; font-size: 1.04rem; line-height: 1.35; border-radius: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-dark); }
.faq-chev { color: var(--muted); transition: transform .25s var(--ease); }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--primary); }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--text-2); }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }
.faq-tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.25rem; }
.faq-search { position: relative; flex: 1 1 320px; }
.faq-search input {
  width: 100%; min-height: 50px; padding: .7rem 1rem .7rem 2.8rem; border-radius: 14px; border: 1px solid var(--border-2);
  background: var(--surface); font: inherit; color: var(--text); box-shadow: var(--sh-1);
}
.faq-search input:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.faq-search .icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-count { color: var(--muted); font-size: .92rem; margin: 0; }
.faq-group + .faq-group { margin-top: 2.25rem; }
.faq-group h2 { font-size: 1.35rem; }
.faq-empty { padding: 1rem 1.2rem; border: 1px dashed var(--border-2); border-radius: 14px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(40px, 6vw, 80px); }
.cta-band__inner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem 2.5rem; align-items: center;
  padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 56px); border-radius: 30px; color: #EAF6FF;
  background:
    radial-gradient(500px 300px at 95% 0%, rgba(255, 195, 0, .28), transparent 65%),
    radial-gradient(500px 300px at 0% 100%, rgba(244, 145, 46, .45), transparent 65%),
    linear-gradient(135deg, #075EA8 0%, #084A83 100%);
  box-shadow: 0 30px 60px -30px rgba(8, 74, 131, .6);
  max-width: var(--maxw); margin-inline: auto;
}
.cta-band { padding-inline: var(--gutter); }
.cta-band__inner.wrap { padding-inline: clamp(24px, 5vw, 56px); }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #E1F3FF; max-width: 52ch; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; justify-self: end; }
.link-light { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 620; }
.link-light:hover { color: #fff; }
.cta-band :focus-visible { outline-color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 64px);
  background: linear-gradient(180deg, #FFF6E7 0%, var(--bg) 100%);
  background:
    radial-gradient(700px 360px at 92% -10%, color-mix(in srgb, var(--tone, #0874C8) 12%, transparent), transparent 70%),
    linear-gradient(180deg, #FFF6E7 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero__grid.is-single { grid-template-columns: 1fr; }
.page-hero__grid.is-single .page-hero__text { max-width: 820px; }
.page-hero h1 { margin-bottom: .45em; }
.page-hero .eyebrow { color: var(--tone, var(--primary-dark)); }
.page-hero .lead { margin-bottom: 0; }

.crumbs { margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .4rem; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #9AA8BD; border-top: 1.5px solid #9AA8BD; transform: rotate(45deg); margin-right: .2rem; }
.crumbs a { color: var(--muted); text-decoration: none; padding: .2rem 0; display: inline-block; }
.crumbs a:hover { color: var(--primary-dark); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text-2); font-weight: 560; }

.info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 1.4rem 1.4rem 1.25rem; box-shadow: var(--sh-2);
}
.info-card__title { display: flex; align-items: center; gap: .6rem; font: 700 1rem/1.3 var(--font-display); margin: 0 0 .9rem; }
.info-card dl { margin: 0; display: grid; gap: .65rem; }
.info-card dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-card dd { margin: .1rem 0 0; font-size: .95rem; color: var(--text); line-height: 1.45; }
.info-card .btn { width: 100%; margin-top: 1rem; }

/* ---------- Article layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(36px, 5vw, 64px); }
.layout--full { grid-template-columns: minmax(0, 1fr); }
.layout__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; }
.prose { max-width: 780px; min-width: 0; }
.prose > h2 { margin-top: 2.6rem; padding-top: .25rem; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose > p, .prose > ul, .prose > ol { color: var(--text-2); }
.prose ul:not([class]) li, .prose ol:not([class]) li { margin-bottom: .4rem; }
.prose ul:not([class]) li::marker { color: var(--primary); }
.prose .intro { font-size: 1.12rem; color: var(--text); }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.1rem 1.1rem .9rem; box-shadow: var(--sh-1); }
.toc__title { font: 700 .76rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .55rem; padding: .4rem .5rem; border-radius: 9px; text-decoration: none; color: var(--text-2); font-size: .92rem; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: #9AA8BD; font-variant-numeric: tabular-nums; font-size: .8rem; padding-top: .1rem; }
.toc a:hover, .toc a.is-active { background: var(--tint); color: var(--primary-ink); }

.aside-card { background: linear-gradient(180deg, #FFFFFF, #FFF9F1); border: 1px solid var(--border); border-radius: 18px; padding: 1.15rem; }
.aside-card p { font-size: .92rem; color: var(--muted); margin-bottom: .8rem; }
.aside-card .h-small { margin-bottom: .4rem; }
.aside-card .store-buttons { flex-direction: column; }
.aside-card .btn-store { width: 100%; }

.h-small { display: flex; align-items: center; gap: .5rem; font: 700 1rem/1.3 var(--font-display); margin: 0 0 .75rem; letter-spacing: -.01em; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; counter-reset: step; display: grid; gap: .25rem; }
.steps > li { position: relative; counter-increment: step; padding: 0 0 1.25rem 3.6rem; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.4rem; height: 2.4rem; border-radius: 12px;
  display: grid; place-items: center; background: var(--surface); color: var(--primary-dark); border: 1px solid var(--tint-2);
  font: 750 1rem/1 var(--font-display); box-shadow: var(--sh-1);
}
.steps > li::after { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: .2rem; width: 2px; background: linear-gradient(var(--tint-2), transparent); }
.steps > li:last-child::after { display: none; }
.steps__title { font-size: 1.08rem; margin: .2rem 0 .35rem; }
.steps__body { color: var(--text-2); }
.steps__body p:last-child, .steps__body ul:last-child { margin-bottom: 0; }

/* ---------- Callouts ---------- */
.callout {
  display: grid; grid-template-columns: 26px 1fr; gap: .9rem; align-items: start;
  margin: 1.5rem 0; padding: 1.05rem 1.2rem; border-radius: 16px; border: 1px solid; font-size: .98rem;
}
.callout__icon { margin-top: .1rem; }
.callout__title { font: 700 1rem/1.35 var(--font-display); margin: 0 0 .25rem; color: var(--text); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-info { background: #EAF6FF; border-color: #B9DEFB; } .callout-info .callout__icon { color: var(--primary); }
.callout-warn { background: var(--warn-bg); border-color: #F6DDAE; } .callout-warn .callout__icon { color: var(--warn); }
.callout-tip  { background: var(--ok-bg); border-color: #BFE8D5; } .callout-tip .callout__icon { color: var(--ok); }
.callout-note { background: var(--surface-2); border-color: var(--border-2); } .callout-note .callout__icon { color: var(--muted); }
.callout-legal { background: #F5F3FF; border-color: #DDD6FE; } .callout-legal .callout__icon { color: #6D28D9; }

/* ---------- Tables ---------- */
.table-wrap { position: relative; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: 18px; overflow-x: auto; background: var(--surface); box-shadow: var(--sh-1); }
.table-wrap:focus-visible { outline-offset: 2px; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.data caption { text-align: left; padding: 1rem 1.1rem .25rem; font: 700 1rem/1.3 var(--font-display); color: var(--text); }
table.data th, table.data td { padding: .8rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
table.data thead th { font: 700 .78rem/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data tbody th { font-weight: 650; color: var(--text); }
table.data td { color: var(--text-2); }
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.tag-ok { background: var(--ok-bg); color: var(--ok); }
.tag-warn { background: var(--warn-bg); color: var(--warn); }
.tag-no { background: var(--bad-bg); color: var(--bad); }
.tag-info { background: var(--tint); color: var(--primary-ink); }

/* ---------- Route cards ---------- */
.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.route-card { position: relative; padding: 1.25rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-1); }
.route-card h3 { font-size: 1.06rem; margin: .7rem 0 .35rem; }
.route-card p { font-size: .93rem; color: var(--muted); margin-bottom: .6rem; }
.route-card p:last-child { margin-bottom: 0; }
.route-card__label { position: absolute; top: 1.25rem; right: 1.1rem; margin: 0; font: 700 .7rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--tone, var(--muted)); }

/* ---------- Check lists ---------- */
.check-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--text-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 7px; background: var(--ok-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.x-list li::before {
  background-color: var(--bad-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
.check-list.boxed { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.15rem 1.25rem; }

/* ---------- Figures / diagrams ---------- */
.figure { margin: 1.75rem 0; padding: clamp(1rem, 2.5vw, 1.5rem); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--sh-1); }
.figure svg { width: 100%; height: auto; }
.figure figcaption { margin-top: .9rem; font-size: .9rem; color: var(--muted); }

/* SVG text (inline diagrams inherit the page fonts) */
.svg-title { font: 700 15px var(--font-display); fill: var(--text); }
.svg-label { font: 650 13.5px var(--font-display); fill: var(--text); }
.svg-small { font: 500 12.5px var(--font-body); fill: var(--muted); }
.svg-chip  { font: 650 14px var(--font-display); fill: var(--text); }
.svg-num   { font: 750 13px var(--font-display); fill: #fff; }
.svg-ok { fill: var(--ok); } .svg-bad { fill: var(--bad); } .svg-blue { fill: var(--primary-dark); } .svg-cyan { fill: var(--accent-ink); }

/* ---------- Decision path (troubleshooting) ---------- */
.decision { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .75rem; counter-reset: dq; }
.decision > li { counter-increment: dq; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--sh-1); }
.decision > li::before { content: "Q" counter(dq); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--primary-ink); font: 750 .95rem/1 var(--font-display); }
.decision h3 { font-size: 1.05rem; margin: .45rem 0 .5rem; }
.decision .branches { display: flex; flex-wrap: wrap; gap: .5rem; }
.decision .branch { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--border-2); text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--text-2); background: var(--surface-2); }
.decision .branch b { font-weight: 750; color: var(--text); }
a.branch:hover { border-color: var(--primary); color: var(--primary-dark); text-decoration: none; }

/* ---------- Symptom matrix (troubleshooting hub) ---------- */
.symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; }
.symptom { padding: 1.3rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.symptom h3 { display: flex; gap: .7rem; align-items: center; font-size: 1.08rem; margin: 0 0 .6rem; }
.symptom ul { margin: 0 0 .9rem; padding-left: 1.1rem; color: var(--text-2); font-size: .95rem; }
.symptom .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Related & sources ---------- */
.related { margin-top: 3rem; }
.related h2 { font-size: 1.35rem; }
.related--bare { margin-top: 1.25rem; }
.prose--wide { max-width: none; }
.prose--wide > h2, .hub-group > h2 { margin-top: 0; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: .85rem; }
.related-card {
  display: flex; align-items: center; gap: .85rem; padding: 1rem; border-radius: 16px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.related-card:hover { border-color: var(--border-2); box-shadow: var(--sh-2); transform: translateY(-2px); color: var(--text); text-decoration: none; }
.related-card__text { flex: 1; min-width: 0; }
.related-card__text strong { display: block; font-family: var(--font-display); font-size: .98rem; line-height: 1.3; }
.related-card__text span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.related-card__arrow { color: var(--primary); }

.sources { margin-top: 2.5rem; padding: 1.25rem 1.35rem; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); }
.sources ul { margin: 0 0 .75rem; padding-left: 1.1rem; font-size: .94rem; }
.sources li { margin-bottom: .3rem; }
.sources__date { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- Guides hub ---------- */
.hub-group + .hub-group { margin-top: 3rem; }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; max-width: 640px; margin-inline: auto; padding-block: clamp(56px, 9vw, 120px); }
.notfound__code { font: 800 clamp(4rem, 3rem + 6vw, 7rem)/1 var(--font-display); letter-spacing: -.05em; background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 .5rem; }
.notfound .actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(24px, 4vw, 48px); background: var(--surface); border-top: 1px solid var(--border); }
.site-footer__top { display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 6vw, 72px) 2rem; }
.site-footer__brand p { color: var(--muted); font-size: .95rem; max-width: 36ch; margin-top: 1rem; }
.site-footer__checked { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem !important; }
.site-footer__checked .icon { color: var(--ok); }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer-h { font: 700 .78rem/1.2 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.footer-h--spaced { margin-top: 1.5rem; }
.site-footer__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.site-footer__cols a { display: inline-block; padding: .3rem 0; color: var(--text-2); text-decoration: none; font-size: .94rem; }
.site-footer__cols a:hover { color: var(--primary-dark); text-decoration: underline; }
.site-footer__base { background: linear-gradient(var(--border), var(--border)) no-repeat top center / calc(100% - 2 * var(--gutter)) 1px; padding-block: 1.5rem 2rem; display: grid; gap: .5rem; }
.disclosure { margin: 0; font-size: .92rem; color: var(--text-2); max-width: 900px; }
.copyright { margin: 0; font-size: .84rem; color: var(--muted); }

/* ---------- Reveal (only applied by JS to below-the-fold elements) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal-ready.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .layout__aside .toc { display: none; }
}
@media (max-width: 1020px) {
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .strip__list { grid-template-columns: repeat(2, 1fr); }
  .strip__list li:nth-child(3) { border-left: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item, .bento__item--wide, .bento__item--feature { grid-column: span 1; grid-row: auto; }
  .bento__item--feature { grid-column: span 2; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-home__grid, .page-hero__grid, .split, .split--wide-left, .cta-band__inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin-inline: auto; width: 100%; }
  .cta-band__actions { justify-self: start; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .flow::before { display: none; }
  .page-hero__aside { max-width: 560px; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .device-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .device-tile { padding: 1rem .95rem; }
  .device-tile__blurb { display: none; }
  .device-tile__ico { width: 44px; height: 44px; margin-bottom: .75rem; }
  .strip { margin-top: -18px; }
  .strip__list { grid-template-columns: 1fr; padding: .6rem; }
  .strip__list li + li { border-left: 0; border-top: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr; }
  .bento__item--feature { grid-column: span 1; }
  .resource-grid, .symptom-grid, .hub-list { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .steps > li { padding-left: 3.1rem; }
  .flow { grid-template-columns: 1fr; text-align: left; }
  .flow li { display: grid; grid-template-columns: 68px 1fr; gap: 0 1rem; text-align: left; padding: 0; }
  .flow__num { margin: 0; grid-row: span 2; }
  .store-buttons { width: 100%; }
  .btn-store { flex: 1 1 200px; justify-content: center; }
  .actions .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .device-grid { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer__cols, .cta-band, .related, .toc, .nav-toggle { display: none !important; }
  body { background: #fff; }
  a { color: inherit; }
}
