/* ============================================================
   JUST WEB AGENCY™ — Local Booster
   Brand tokens from logo.justwebagency.com:
   Deep Blue #03035B (anchor) · Bright Red #F63D3F (CTAs only)
   Cyan #00C6F7 (the one accent: rank data, highlights)
   Light Gray #F5F7FA · Medium Gray #E2E8F0 · Body #333333
   Signature piece: the geo-grid rank map in the hero.
   ============================================================ */
:root {
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Varta', sans-serif;

  --ink:       oklch(21.9% 0.143 265.9);   /* #03035B */
  --ink-deep:  oklch(16.5% 0.110 266);
  --ink-mid:   oklch(32% 0.125 267);
  --body:      oklch(32.1% 0 0);           /* #333333 */
  --soft:      oklch(51% 0 0);             /* #666666 */
  --red:       oklch(64.2% 0.221 25.6);    /* #F63D3F */
  --red-hover: oklch(58.9% 0.215 26.4);
  --red-press: oklch(53.2% 0.199 27.1);
  --cyan:      oklch(76.8% 0.144 224);     /* #00C6F7 */
  --cyan-wash: color-mix(in oklch, var(--cyan) 14%, white);

  --paper:     oklch(97.8% 0.004 264.5);   /* #F5F7FA */
  --card:      oklch(100% 0 0);
  --line:      oklch(93.1% 0.013 255.5);   /* #E2E8F0 */

  /* rank scale for the geo-grid: top 3 / 4–10 / 11–20 / not found */
  --rank-top:  var(--cyan);
  --rank-mid:  oklch(45% 0.13 266);
  --rank-low:  oklch(88% 0.02 262);
  --rank-none: oklch(95% 0.008 262);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --shadow-1:
    0 1px 2px color-mix(in oklch, var(--ink) 8%, transparent),
    0 4px 10px -4px color-mix(in oklch, var(--ink) 9%, transparent);
  --shadow-2:
    0 1px 2px color-mix(in oklch, var(--ink) 8%, transparent),
    0 12px 24px -12px color-mix(in oklch, var(--ink) 24%, transparent),
    0 36px 70px -36px color-mix(in oklch, var(--ink) 36%, transparent);
  --shadow-red:
    0 10px 22px -14px color-mix(in oklch, var(--red) 75%, transparent),
    0 24px 48px -30px color-mix(in oklch, var(--red) 55%, transparent);

  --noise: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22180%22 height=%22180%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22180%22 height=%22180%22 filter=%22url(%23n)%22 opacity=%220.5%22/%3E%3C/svg%3E");
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="jwa"] {
  --color-base-100: oklch(100% 0 0);
  --color-base-200: oklch(97.8% 0.004 264.5);
  --color-base-300: oklch(93.1% 0.013 255.5);
  --color-base-content: oklch(21.9% 0.143 265.9);
  --color-primary: oklch(64.2% 0.221 25.6);
  --color-primary-content: oklch(100% 0 0);
  --color-secondary: oklch(21.9% 0.143 265.9);
  --color-secondary-content: oklch(100% 0 0);
  --color-accent: oklch(76.8% 0.144 224);
  --color-accent-content: oklch(21.9% 0.143 265.9);
  --color-neutral: oklch(32% 0.125 267);
  --radius-selector: 999px;
  --radius-field: 12px;
  --radius-box: 24px;
  --border: 1px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
@supports (text-box-trim: trim-both) {
  h1, h2, h3, h4, h5 { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
}
p { margin: 0; }
img { max-width: 100%; height: auto; }
.shell { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}
.on-dark :where(a, button, summary):focus-visible { outline-color: var(--cyan); }

.section-title { font-size: clamp(1.6rem, 6.4vw, 2.5rem); font-weight: 700; max-width: 22ch; }
.section-lede { margin-top: 1.5rem; max-width: 60ch; font-size: 1.06rem; color: var(--soft); }
.kicker { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--ink-mid); }
.kicker i { color: var(--cyan); }

/* ---------------- Buttons (brand spec) ---------------- */
.btn-jwa {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.75rem 1.5rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; color: #fff;
  background: var(--red); border: 2px solid var(--red); border-radius: 999px;
  box-shadow: var(--shadow-red);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.btn-jwa i { font-size: 1.05rem; transition: transform 0.2s var(--ease); }
.btn-jwa:hover { background: var(--red-hover); border-color: var(--red-hover); transform: translateY(-2px); }
.btn-jwa:hover .fa-arrow-right { transform: translateX(3px); }
.btn-jwa:active { background: var(--red-press); border-color: var(--red-press); transform: translateY(0) scale(0.98); box-shadow: inset 0 2px 6px color-mix(in oklch, black 25%, transparent); }
.btn-jwa:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark .btn-jwa:focus-visible { outline-color: #fff; }
.btn-lg { min-height: 56px; padding: 1rem 2rem; font-size: 1.08rem; }

.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.75rem 1.5rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  text-decoration: none; color: var(--ink);
  background: transparent; border: 2px solid var(--ink); border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.btn-line:hover { background: color-mix(in oklch, var(--ink) 6%, transparent); transform: translateY(-2px); }
.btn-line:active { transform: scale(0.98); background: color-mix(in oklch, var(--ink) 12%, transparent); }
.on-dark .btn-line { color: #fff; border-color: color-mix(in oklch, #fff 70%, transparent); }
.on-dark .btn-line:hover { background: color-mix(in oklch, #fff 10%, transparent); }
.on-dark .btn-line:active { background: color-mix(in oklch, #fff 18%, transparent); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid color-mix(in oklch, #fff 10%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 0; }
.brand { display: inline-flex; margin-right: auto; padding: 4px 0; border-radius: 6px; }
.brand img { display: block; width: 200px; height: auto; }
.brand:hover img { opacity: 0.88; }
.brand:active img { opacity: 0.75; }
.main-nav { display: none; gap: 1.75rem; }
.main-nav a {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  color: color-mix(in oklch, #fff 82%, transparent); text-decoration: none;
  padding: 0.3rem 0;
}
.main-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.main-nav a:active { opacity: 0.7; }
.header-cta { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.88rem; box-shadow: none; white-space: nowrap; }

/* ---------------- Hero ---------------- */
.top-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  color: color-mix(in oklch, #fff 84%, transparent);
  background:
    radial-gradient(60% 70% at 88% 18%, color-mix(in oklch, var(--cyan) 30%, transparent) 0%, transparent 62%),
    radial-gradient(50% 60% at 6% 100%, color-mix(in oklch, var(--cyan) 14%, transparent) 0%, transparent 70%),
    radial-gradient(120% 100% at 50% 0%, var(--ink) 0%, var(--ink-deep) 100%);
}
.top-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--noise); opacity: 0.12; mix-blend-mode: overlay; pointer-events: none;
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.top-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero-lede { margin-top: 1.9rem; max-width: 52ch; font-size: 1.12rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-price { margin-top: 1.5rem; font-size: 0.98rem; color: color-mix(in oklch, #fff 70%, transparent); }
.hero-price strong { color: #fff; font-weight: 600; }

.surfaces-row { list-style: none; margin: 2.25rem 0 0; padding: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; border-top: 1px solid color-mix(in oklch, #fff 14%, transparent); }
.surfaces-row li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: #fff;
  border: 1px solid color-mix(in oklch, #fff 22%, transparent); border-radius: 999px;
  background: color-mix(in oklch, #fff 5%, transparent);
}
.surfaces-row i { color: var(--cyan); }

/* Geo-grid: the hero's signature piece */
.geo {
  position: relative;
  background: var(--card);
  color: var(--body);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow:
    0 2px 4px color-mix(in oklch, var(--ink-deep) 30%, transparent),
    0 30px 60px -20px color-mix(in oklch, var(--ink-deep) 70%, transparent),
    0 0 0 1px color-mix(in oklch, var(--cyan) 30%, transparent);
}
.geo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; }
.geo-head h2 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.geo-head p { font-size: 0.85rem; color: var(--soft); margin-top: 0.4rem; }
.geo-query { color: var(--ink); font-weight: 600; }

.geo-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.geo-toggle button {
  min-height: 36px; padding: 0.3rem 0.9rem;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--soft);
  background: transparent; border: 0; border-radius: 999px; cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.geo-toggle button:hover { color: var(--ink); }
.geo-toggle button:active { transform: scale(0.96); }
.geo-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.geo-map {
  position: relative; isolation: isolate;
  margin-top: 1rem;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background:
    linear-gradient(28deg, transparent 47.6%, oklch(100% 0 0) 47.6% 49.4%, transparent 49.4%),
    linear-gradient(-62deg, transparent 31%, oklch(100% 0 0) 31% 32.4%, transparent 32.4%),
    linear-gradient(-62deg, transparent 71%, oklch(100% 0 0) 71% 72%, transparent 72%),
    linear-gradient(8deg, transparent 78%, oklch(100% 0 0) 78% 79%, transparent 79%),
    radial-gradient(30% 22% at 18% 22%, oklch(93% 0.04 160) 0 99%, transparent 100%),
    radial-gradient(22% 16% at 82% 78%, oklch(93% 0.04 160) 0 99%, transparent 100%),
    repeating-linear-gradient(0deg, oklch(96.2% 0.006 262) 0 22px, oklch(94.4% 0.008 262) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, oklch(94.4% 0.008 262) 22px 23px);
  background-color: oklch(96.2% 0.006 262);
}
.geo-cells {
  position: absolute; inset: 4%;
  display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(7, 1fr);
  place-items: center;
}
.geo-cell {
  display: grid; place-items: center;
  width: clamp(26px, 8.6cqi, 40px); aspect-ratio: 1;
  border-radius: 50%;
  font-family: var(--font-display); font-size: clamp(0.66rem, 2.6cqi, 0.86rem); font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px -2px color-mix(in oklch, var(--ink) 35%, transparent);
  transition: transform 0.35s var(--ease);
}
.geo-map { container-type: inline-size; }
.geo-cell[data-band="top"]  { background: var(--rank-top); color: var(--ink); }
.geo-cell[data-band="mid"]  { background: var(--rank-mid); color: #fff; }
.geo-cell[data-band="low"]  { background: var(--rank-low); color: var(--ink); }
.geo-cell[data-band="none"] { background: var(--rank-none); color: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.geo-cell.flip { animation: cell-flip 0.45s var(--ease) both; }
@keyframes cell-flip { 0% { transform: scale(0.6); opacity: 0.2; } 100% { transform: scale(1); opacity: 1; } }

.geo-pin {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 22px; height: 22px; translate: -50% -135%;
  pointer-events: none;
  color: var(--red); font-size: 22px; line-height: 1;
  filter: drop-shadow(0 3px 3px color-mix(in oklch, var(--ink) 40%, transparent));
}

.geo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.geo-stat { padding: 0.75rem 0.9rem; border-radius: var(--r-sm); background: var(--paper); }
.geo-stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: var(--ink); }
.geo-stat span { font-size: 0.82rem; color: var(--soft); line-height: 1.35; display: block; margin-top: 0.15rem; }
.geo-legend { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.8rem; color: var(--soft); }
.geo-legend li { display: inline-flex; align-items: center; gap: 0.4rem; }
.geo-legend i { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; }
.geo-note { margin-top: 0.6rem; font-size: 0.78rem; color: var(--soft); }

/* ---------------- Reviews strip ---------------- */
.reviews { padding: 1.75rem 0; background: var(--card); border-bottom: 1px solid var(--line); }
.reviews-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.reviews p { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.reviews ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 1.5rem; }
.reviews img { display: block; height: 44px; width: auto; }

/* ---------------- Where people look ---------------- */
.where { padding: clamp(4rem, 9vw, 6.5rem) 0; background: var(--paper); content-visibility: auto; contain-intrinsic-size: auto 1200px; }
.where-head { margin-bottom: 2.5rem; }
.where-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.where-item {
  display: grid; gap: 0.9rem;
  padding: 1.4rem 1.25rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
.where-name { display: flex; align-items: center; gap: 0.8rem; }
.where-name .ico {
  flex-shrink: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 12px; background: var(--ink); color: #fff; font-size: 1.1rem;
}
.where-name h3 { font-size: 1.12rem; font-weight: 700; }
.where-name small { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: var(--soft); }
.where-item dl { margin: 0; display: grid; gap: 0.7rem; }
.where-item dt { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--ink-mid); }
.where-item dd { margin: 0.15rem 0 0; font-size: 0.97rem; line-height: 1.55; color: var(--body); }
.where-item dd.us { color: var(--ink); }
.where-item.ai { background: var(--cyan-wash); border-color: color-mix(in oklch, var(--cyan) 35%, white); }
.where-item.ai .ico { background: var(--cyan); color: var(--ink); }

/* ---------------- The work, by ranking factor ---------------- */
.work { padding: clamp(4rem, 9vw, 6.5rem) 0; content-visibility: auto; contain-intrinsic-size: auto 1400px; }
.work-head { margin-bottom: 2.5rem; }
.factors { display: grid; gap: 1.25rem; }
.factor {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card);
}
.factor h3 { font-size: 1.3rem; font-weight: 700; }
.factor .factor-q { margin-top: 0.9rem; font-size: 0.97rem; color: var(--soft); max-width: 44ch; }
.factor ul { list-style: none; margin: 1.25rem 0 0; padding: 1.1rem 0 0; display: grid; gap: 0.65rem; border-top: 1px solid var(--line); }
.factor li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.6rem; font-size: 0.97rem; line-height: 1.5; color: var(--ink); }
.factor li i { margin-top: 0.22rem; color: var(--ink); font-size: 0.9rem; }
.factor.factor-distance { background: var(--paper); border-style: dashed; }
.factor.factor-distance h3 { color: var(--ink-mid); }

.steps-title { margin-top: clamp(3.5rem, 7vw, 5rem); font-size: clamp(1.35rem, 4.6vw, 1.8rem); font-weight: 700; }
.process-steps { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.process-steps li {
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem 4.4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
}
.process-steps li::before {
  content: counter(step);
  position: absolute; left: 1.3rem; top: 1.4rem;
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem;
  border-radius: 50%; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
}
.process-steps h4 { font-size: 1.1rem; font-weight: 700; }
.process-steps .when { display: block; margin-top: 0.55rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-mid); }
.process-steps p { margin-top: 0.4rem; font-size: 0.97rem; color: var(--soft); max-width: 40ch; }

/* ---------------- Comparison ---------------- */
.compare { padding: clamp(4rem, 9vw, 6.5rem) 0; border-top: 1px solid var(--line); content-visibility: auto; contain-intrinsic-size: auto 1000px; }
.compare-head { margin-bottom: 2.5rem; }
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.cmp-table { width: 100%; min-width: 600px; border-collapse: collapse; background: var(--card); }
.cmp-table th, .cmp-table td { padding: 0.75rem 0.6rem; border-top: 1px solid var(--line); text-align: center; font-size: 0.85rem; line-height: 1.35; }
.cmp-table thead th { border-top: 0; padding-top: 1.25rem; padding-bottom: 1.1rem; vertical-align: bottom; }
.cmp-table th[scope="row"] { padding-left: 1rem; text-align: left; font-weight: 500; color: var(--ink); font-family: var(--font-body); }
.cmp-name { display: block; font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.cmp-price { display: block; margin-top: 0.25rem; font-size: 0.78rem; font-weight: 500; color: var(--soft); }
.cmp-table .ours { background: var(--cyan-wash); color: var(--ink); font-weight: 600; }
.cmp-table thead .ours { background: var(--ink); }
.cmp-table thead .ours .cmp-name { color: #fff; }
.cmp-table thead .ours .cmp-price { color: color-mix(in oklch, #fff 78%, transparent); }
.mark-yes { color: var(--ink); }
.mark-no { color: color-mix(in oklch, var(--soft) 60%, white); }
.mark-weak { color: var(--soft); }
.compare-note { margin-top: 1rem; font-size: 0.85rem; color: var(--soft); max-width: 80ch; }

/* ---------------- Pricing / plan builder ---------------- */
.pricing { padding: clamp(4rem, 9vw, 6.5rem) 0; background: var(--paper); }
.pricing-head { margin-bottom: 2.5rem; }
.pricing-head strong { color: var(--ink); font-weight: 600; }

.plans { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.25rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem 1.4rem 1.5rem;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.plan:hover { transform: translateY(-3px); }
.plan:active { transform: translateY(0) scale(0.995); }
.plan:has(input:checked) { border-color: var(--ink); box-shadow: var(--shadow-2); }
.plan:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plan h3 { font-size: 1.35rem; font-weight: 700; }
.plan-check {
  flex-shrink: 0; display: grid; place-items: center; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; border: 2px solid var(--line); color: transparent; font-size: 0.75rem;
}
.plan:has(input:checked) .plan-check { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan-fit { margin-top: 0.75rem; font-size: 0.95rem; color: var(--soft); }
.plan-tag {
  position: absolute; top: -0.85rem; left: 1.4rem;
  padding: 0.25rem 0.8rem;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  color: var(--ink); background: var(--cyan); border-radius: 999px;
}
.plan-price { display: flex; align-items: baseline; gap: 0.4rem; margin-top: 1.25rem; }
.plan-price b { font-family: var(--font-display); font-size: clamp(2.4rem, 10vw, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.plan-price span { font-size: 0.98rem; color: var(--soft); }

.plan-dials { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.25rem; }
.dial { padding: 0.7rem 0.8rem; border-radius: var(--r-sm); background: var(--cyan-wash); }
.dial b { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: var(--ink); }
.dial span { display: block; margin-top: 0.15rem; font-size: 0.82rem; line-height: 1.35; color: var(--ink-mid); }

.plan .features { list-style: none; margin: 1.25rem 0 0; padding: 1.1rem 0 0; display: grid; gap: 0.55rem; border-top: 1px solid var(--line); }
.plan .features li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.6rem; font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.plan .features li i { margin-top: 0.22rem; font-size: 0.85rem; color: var(--ink); }
.plan .features .plus { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--ink-mid); grid-template-columns: 1fr; }

/* add-ons + summary */
.builder {
  margin-top: 2rem; display: grid; gap: 1.5rem;
  padding: 1.5rem 1.25rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
}
.builder h3 { font-size: 1.15rem; font-weight: 700; }
.builder > div > p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--soft); max-width: 46ch; }
.addons { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.addon { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; border-radius: var(--r-sm); background: var(--paper); }
.addon-label b { display: block; font-family: var(--font-display); font-size: 0.97rem; font-weight: 700; color: var(--ink); }
.addon-label span { font-size: 0.85rem; color: var(--soft); }
.stepper { display: inline-flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.stepper button {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--card); color: var(--ink);
  cursor: pointer; transition: transform 0.15s var(--ease);
}
.stepper button:hover { background: color-mix(in oklch, var(--ink) 6%, white); }
.stepper button:active { transform: scale(0.92); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.stepper output { min-width: 2ch; text-align: center; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); }

.summary {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 1.5rem 1.4rem;
  border-radius: var(--r-md);
  background:
    radial-gradient(80% 140% at 100% 0%, color-mix(in oklch, var(--cyan) 26%, transparent) 0%, transparent 60%),
    linear-gradient(130deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: color-mix(in oklch, #fff 84%, transparent);
}
.summary::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: 0.12; mix-blend-mode: overlay; }
.summary h4 { color: #fff; font-size: 1rem; font-weight: 700; }
.summary dl { margin: 1rem 0 0; display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; font-size: 0.95rem; }
.summary dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.summary .total { display: flex; align-items: baseline; gap: 0.4rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid color-mix(in oklch, #fff 18%, transparent); }
.summary .total b { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: #fff; }
.summary .btn-jwa { width: 100%; margin-top: 1.25rem; }
.summary .fine { margin-top: 0.8rem; font-size: 0.85rem; text-align: center; color: color-mix(in oklch, #fff 68%, transparent); }

.guarantees { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; font-size: 0.95rem; color: var(--ink); }
.guarantees li { display: inline-flex; align-items: center; gap: 0.5rem; }
.guarantees i { color: var(--ink-mid); }

/* ---------------- FAQ ---------------- */
.faq { padding: clamp(4rem, 9vw, 6rem) 0; }
.faq-grid { display: grid; gap: 2rem; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink);
  border-radius: var(--r-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: color-mix(in oklch, var(--ink) 3%, transparent); }
.faq-item summary:active { background: color-mix(in oklch, var(--ink) 6%, transparent); }
.faq-item summary i { flex-shrink: 0; color: var(--ink); transition: transform 0.25s var(--ease); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { padding: 0 1.25rem 1.25rem; font-size: 0.97rem; color: var(--soft); max-width: 68ch; }

/* ---------------- Closing CTA + footer ---------------- */
.closing {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(4rem, 9vw, 6rem) 0;
  text-align: center;
  color: color-mix(in oklch, #fff 82%, transparent);
  background:
    radial-gradient(50% 80% at 50% 0%, color-mix(in oklch, var(--cyan) 22%, transparent) 0%, transparent 70%),
    var(--ink);
}
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: 0.12; mix-blend-mode: overlay; }
.closing h2 { color: #fff; font-size: clamp(1.8rem, 6.4vw, 2.75rem); font-weight: 800; max-width: 20ch; margin-inline: auto; }
.closing p { margin: 1.6rem auto 2.25rem; max-width: 52ch; font-size: 1.08rem; }
.closing .hero-ctas { justify-content: center; margin-top: 0; }

.site-footer { padding: 2.5rem 0 calc(1.75rem + env(safe-area-inset-bottom)); background: var(--ink-deep); color: color-mix(in oklch, #fff 70%, transparent); }
.footer-top { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-top img { display: block; width: 200px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-links a { display: inline-block; padding: 0.4rem 0; font-size: 0.92rem; color: color-mix(in oklch, #fff 80%, transparent); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links a:active { opacity: 0.7; }
.footer-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid color-mix(in oklch, #fff 14%, transparent); }
.footer-partners img { display: block; height: 26px; width: auto; opacity: 0.8; filter: brightness(0) invert(1); }
.footer-copy { margin-top: 1.75rem; font-size: 0.85rem; color: color-mix(in oklch, #fff 58%, transparent); }

/* ---------------- Start dialog ---------------- */
.start-dialog {
  width: min(560px, 100% - 2rem); max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--card); color: var(--body);
  box-shadow: var(--shadow-2);
}
.start-dialog::backdrop { background: color-mix(in oklch, var(--ink-deep) 65%, transparent); }
.start-dialog[open] { animation: dlg-in 0.25s var(--ease) both; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.dlg-body { padding: 1.75rem 1.4rem 1.5rem; }
.dlg-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.dlg-top h2 { font-size: 1.4rem; font-weight: 700; }
.dlg-close {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer;
}
.dlg-close:hover { background: var(--line); }
.dlg-close:active { transform: scale(0.94); }
.dlg-plan { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: var(--r-sm); background: var(--cyan-wash); font-size: 0.95rem; color: var(--ink); }
.dlg-plan strong { font-family: var(--font-display); font-weight: 700; }
.dlg-form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.dlg-form label { display: grid; gap: 0.35rem; font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.dlg-form input {
  min-height: 48px; padding: 0.6rem 0.9rem;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px;
}
.dlg-form input:hover { border-color: color-mix(in oklch, var(--ink) 30%, var(--line)); }
.dlg-form input:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.dlg-form .btn-jwa { width: 100%; margin-top: 0.25rem; }
.dlg-fine { font-size: 0.85rem; color: var(--soft); text-align: center; }
.dlg-done { display: none; margin-top: 1.25rem; }
.dlg-done p { font-size: 1rem; color: var(--ink); }
.start-dialog.is-sent .dlg-form { display: none; }
.start-dialog.is-sent .dlg-done { display: block; }

/* ---------------- Larger screens (mobile-first) ---------------- */
@media (min-width: 640px) {
  .shell { width: min(1160px, 100% - 3rem); }
  .geo { padding: 1.5rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .where-item { padding: 1.5rem 1.6rem; }
  .where-item dl { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .dlg-body { padding: 2rem 2rem 1.75rem; }
}

@media (min-width: 768px) {
  .header-cta { padding: 0.55rem 1.25rem; font-size: 0.92rem; box-shadow: var(--shadow-red); }
  .brand img { width: 240px; }
  .reviews-inner { flex-direction: row; justify-content: space-between; }
  .factors { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .builder { grid-template-columns: 1.15fr 0.85fr; padding: 2rem; gap: 2rem; align-items: start; }
  .faq-item summary { padding: 1.2rem 1.5rem; font-size: 1.05rem; }
  .faq-item p { padding: 0 1.5rem 1.4rem; }
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1000px) {
  .main-nav { display: flex; margin-right: 1.5rem; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 4rem; }
  .where-item { grid-template-columns: 15rem 1fr; align-items: center; gap: 2rem; }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .process-steps li { padding: 4.4rem 1.4rem 1.6rem; }
  .process-steps li::before { top: 1.5rem; left: 1.4rem; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
}

/* ============================================================
   Multi-page site components
   ============================================================ */

/* ---------------- Header: current page + mobile menu ---------------- */
.main-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid color-mix(in oklch, #fff 22%, transparent);
  background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.menu-btn:hover { background: color-mix(in oklch, #fff 10%, transparent); }
.menu-btn:active { transform: scale(0.94); }
.mobile-menu {
  inset: 72px 1rem auto auto; margin: 0;
  width: min(320px, 100% - 2rem);
  padding: 0.75rem;
  border: 0; border-radius: var(--r-md);
  background: var(--card); color: var(--ink);
  box-shadow: var(--shadow-2);
}
.mobile-menu:popover-open { animation: dlg-in 0.2s var(--ease) both; }
.mobile-menu a {
  display: flex; align-items: center; gap: 0.75rem;
  min-height: 48px; padding: 0.6rem 0.9rem; border-radius: var(--r-sm);
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.mobile-menu a i { width: 1.2rem; color: var(--ink-mid); }
.mobile-menu a:hover { background: var(--paper); }
.mobile-menu a:active { background: var(--line); }
.mobile-menu a[aria-current="page"] { background: var(--cyan-wash); }
.mobile-menu .btn-jwa { margin-top: 0.5rem; width: 100%; color: #fff; justify-content: center; }
.mobile-menu .btn-jwa i { color: #fff; width: auto; }

/* ---------------- Sub-page header band ---------------- */
.page-top {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3rem, 7vw, 4.75rem);
  color: color-mix(in oklch, #fff 84%, transparent);
  background:
    radial-gradient(55% 90% at 92% 10%, color-mix(in oklch, var(--cyan) 26%, transparent) 0%, transparent 62%),
    radial-gradient(120% 100% at 50% 0%, var(--ink) 0%, var(--ink-deep) 100%);
}
.page-top::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: 0.12; mix-blend-mode: overlay; pointer-events: none; }
.page-top h1 { color: #fff; font-size: clamp(2rem, 7.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; max-width: 20ch; }
.page-top .lede { margin-top: 1.5rem; max-width: 60ch; font-size: 1.12rem; }
.page-top .meta { margin-top: 1.25rem; font-size: 0.92rem; color: color-mix(in oklch, #fff 66%, transparent); }
.crumbs ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.9rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in oklch, #fff 66%, transparent); }
.crumbs li + li::before { content: "/"; color: color-mix(in oklch, #fff 40%, transparent); }
.crumbs a { color: color-mix(in oklch, #fff 86%, transparent); text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; text-decoration-thickness: 2px; }
.crumbs a:active { opacity: 0.7; }

/* ---------------- Generic page section ---------------- */
.band { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.band.alt { background: var(--paper); }
.band-head { margin-bottom: 2.25rem; }

/* ---------------- Long-form layout: table of contents + prose ---------------- */
.doc { display: grid; gap: 2.5rem; padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(3.5rem, 8vw, 5.5rem); }
.toc { align-self: start; padding: 1.25rem 1.25rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.toc h2 { font-size: 0.95rem; font-weight: 700; }
.toc ol { list-style: none; margin: 0.85rem 0 0; padding: 0; display: grid; gap: 0.15rem; }
.toc a { display: block; padding: 0.35rem 0; font-size: 0.95rem; line-height: 1.4; color: var(--ink-mid); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.toc a:active { opacity: 0.7; }

.prose { min-width: 0; max-width: 72ch; color: var(--body); font-size: 1.06rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 3.25rem; font-size: clamp(1.4rem, 4.6vw, 1.85rem); font-weight: 700; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.25rem; font-size: 1.2rem; font-weight: 700; scroll-margin-top: 96px; }
.prose h2 + *, .prose h3 + * { margin-top: 1.1rem; }
.prose a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; text-decoration-color: color-mix(in oklch, var(--cyan) 80%, var(--ink)); text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose a:active { opacity: 0.7; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose dl { margin-top: 1.1rem; }
.prose dt { margin-top: 1.4rem; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--ink); scroll-margin-top: 96px; }
.prose dd { margin: 0.35rem 0 0; }
.prose li + li { margin-top: 0.45rem; }
.prose ul li::marker { color: var(--cyan); }
.prose ol li::marker { font-family: var(--font-display); font-weight: 700; color: var(--ink-mid); }

.in-short {
  padding: 1.35rem 1.4rem; border-radius: var(--r-md);
  background: var(--cyan-wash); border: 1px solid color-mix(in oklch, var(--cyan) 35%, white);
  color: var(--ink);
}
.in-short h2, .prose .in-short h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.in-short ul { margin: 0.75rem 0 0; }
.in-short li::marker { color: var(--ink); }
.callout {
  display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem;
  padding: 1.1rem 1.25rem; border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--paper); border-left: 4px solid var(--ink);
  font-size: 1rem; color: var(--ink);
}
.callout i { margin-top: 0.3rem; color: var(--ink-mid); }
.callout.note { border-left-color: var(--cyan); }

.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--card); }
.data-table th, .data-table td { padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.45; }
.data-table thead th { border-top: 0; background: var(--paper); font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.data-table tbody th { font-weight: 600; color: var(--ink); }

/* ---------------- Included / not included ---------------- */
.scope { display: grid; gap: 1.25rem; }
.scope-col { padding: 1.5rem 1.4rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.scope-col h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.2rem; font-weight: 700; }
.scope-col ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.scope-col li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; font-size: 0.98rem; line-height: 1.5; color: var(--ink); }
.scope-col li i { margin-top: 0.25rem; }
.scope-col li span { display: block; margin-top: 0.15rem; font-size: 0.9rem; color: var(--soft); }
.scope-yes h3 i, .scope-yes li i { color: var(--ink); }
.scope-no { background: var(--paper); border-style: dashed; }
.scope-no h3, .scope-no li { color: var(--body); }
.scope-no h3 i, .scope-no li i { color: var(--soft); }

/* Deliverable catalogue */
.deliverables { display: grid; gap: 1rem; }
.deliverable { display: grid; gap: 0.9rem; padding: 1.4rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); scroll-margin-top: 96px; }
.deliverable h3 { font-size: 1.15rem; font-weight: 700; }
.deliverable > div > p { margin-top: 0.6rem; font-size: 0.98rem; color: var(--soft); max-width: 62ch; }
.deliverable .tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.deliverable .tiers li { padding: 0.55rem 0.7rem; border-radius: var(--r-sm); background: var(--paper); font-size: 0.88rem; line-height: 1.35; color: var(--ink); }
.deliverable .tiers b { display: block; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--ink-mid); }
.deliverable .tiers .off { color: var(--soft); }
.deliverable .more { font-size: 0.92rem; }
.deliverable .more a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.deliverable .more a:hover { text-decoration-thickness: 2px; }
.deliverable .more a:active { opacity: 0.7; }

/* components placed inside .prose keep their own spacing */
.prose .deliverable h3, .prose .scope-col h3 { margin-top: 0; }
.prose .deliverable > div > * + * { margin-top: 0.6rem; }
.prose .tiers, .prose .scope-col ul, .prose .guide-grid { padding-left: 0; }
.prose .tiers li + li, .prose .scope-col li + li, .prose .guide-grid li + li { margin-top: 0; }
.prose .deliverable .more a { text-decoration-color: currentColor; text-decoration-thickness: 1px; }

/* Full plan matrix */
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--card); }
.matrix th, .matrix td { padding: 0.75rem 0.9rem; border-top: 1px solid var(--line); text-align: center; font-size: 0.92rem; line-height: 1.4; }
.matrix thead th { position: sticky; top: 0; border-top: 0; padding: 1.1rem 0.9rem; background: var(--card); vertical-align: bottom; }
.matrix thead th .cmp-name { font-size: 1rem; }
.matrix th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); font-family: var(--font-body); }
.matrix .group th { padding-top: 1.4rem; text-align: left; font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--ink); background: var(--paper); }
.matrix td { color: var(--ink); }

/* ---------------- Guides hub ---------------- */
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.guide-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s var(--ease);
}
.guide-card:hover { transform: translateY(-3px); }
.guide-card:active { transform: translateY(0) scale(0.995); }
.guide-card:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.guide-card .ico { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--ink); color: #fff; font-size: 1.05rem; }
.guide-card h3 { margin-top: 1.1rem; font-size: 1.15rem; font-weight: 700; }
.guide-card h3 a { color: inherit; text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guide-card h3 a:focus-visible { outline: none; }
.guide-card p { margin-top: 0.7rem; font-size: 0.96rem; color: var(--soft); }
.guide-card .read { margin-top: auto; padding-top: 1rem; font-size: 0.85rem; color: var(--ink-mid); }

.related { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.25rem; font-weight: 700; }
.related .guide-grid { margin-top: 1.25rem; }

/* Article-end call to action */
.doc-cta {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 3rem; padding: 1.75rem 1.5rem; border-radius: var(--r-lg);
  background:
    radial-gradient(80% 140% at 100% 0%, color-mix(in oklch, var(--cyan) 26%, transparent) 0%, transparent 60%),
    linear-gradient(130deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: color-mix(in oklch, #fff 84%, transparent);
}
.doc-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: 0.12; mix-blend-mode: overlay; }
.doc-cta h2, .prose .doc-cta h2 { margin: 0; color: #fff; font-size: 1.35rem; font-weight: 700; }
.doc-cta p { margin-top: 0.75rem; max-width: 56ch; }
.doc-cta .hero-ctas { margin-top: 1.25rem; }
.prose .doc-cta a { text-decoration: none; }
.prose .doc-cta .btn-jwa { color: #fff; }
.prose .doc-cta .btn-line { color: #fff; }

/* ---------------- FAQ page ---------------- */
.faq-page { display: grid; gap: 2.5rem; padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(3.5rem, 8vw, 5.5rem); }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { margin-bottom: 1.25rem; font-size: clamp(1.3rem, 4.4vw, 1.6rem); font-weight: 700; scroll-margin-top: 96px; }
.faq-item p + p, .faq-item ul { margin-top: -0.4rem; }
.faq-item ul { padding: 0 1.25rem 1.25rem 2.6rem; font-size: 0.97rem; color: var(--soft); max-width: 68ch; }
.faq-item p a, .faq-item li a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.faq-item p a:hover { text-decoration-thickness: 2px; }

/* ---------------- Footer columns ---------------- */
.footer-cols { display: grid; gap: 2rem; margin-top: 2.25rem; }
.footer-cols h2 { color: #fff; font-size: 0.95rem; font-weight: 700; }
.footer-cols ul { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.1rem; }
.footer-cols a { display: inline-block; padding: 0.3rem 0; font-size: 0.92rem; color: color-mix(in oklch, #fff 78%, transparent); text-decoration: none; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-cols a:active { opacity: 0.7; }
.footer-blurb { max-width: 36ch; font-size: 0.95rem; }

@media (min-width: 640px) {
  .scope { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .deliverable { padding: 1.6rem 1.6rem; }
}
@media (min-width: 900px) {
  .deliverable { grid-template-columns: 1fr 22rem; align-items: start; gap: 2rem; }
  .deliverable .tiers { grid-template-columns: 1fr; }
  .guide-grid.three { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .menu-btn, .mobile-menu { display: none; }
  .doc { grid-template-columns: 16rem 1fr; gap: 4rem; }
  .toc { position: sticky; top: 6.5rem; }
  .faq-page { grid-template-columns: 16rem 1fr; gap: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}
