/* ==========================================================================
   Rainline Gutters — shared stylesheet
   Mobile-first. One file for all pages.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --navy-900: #07111f;
  --navy-800: #0b1a2e;
  --navy-700: #12263f;
  --navy-600: #1b3555;
  --steel-500: #8a97a8;
  --steel-300: #c3ccd6;
  --steel-200: #dde3ea;
  --steel-100: #eef1f5;
  --white: #ffffff;
  --rain-400: #4cc3ff;   /* accent on dark */
  --rain-600: #0a6fa8;   /* accent on light (AA on white) */
  --rain-700: #075783;
  --ink: #0f1d2f;
  --ink-soft: #3f4d60;
  --danger: #b3261e;
  --success: #1d6b3f;

  /* Type */
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.9rem, 1.4rem + 2.2vw, 2.85rem);
  --fs-3xl: clamp(2.4rem, 1.6rem + 3.8vw, 4.25rem);

  /* Space & shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;
  --container: 1180px;
  --header-h: 72px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(7, 17, 31, 0.08);
  --shadow: 0 10px 30px -12px rgba(7, 17, 31, 0.28);
  --shadow-lg: 0 24px 60px -20px rgba(7, 17, 31, 0.45);
  --metal: linear-gradient(180deg, #f6f8fa 0%, #d9dfe6 48%, #c3ccd6 52%, #e9edf1 100%);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--rain-600);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  color: var(--navy-800);
  font-weight: 700;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); font-weight: 600; }
h4 { font-size: var(--fs-lg); font-weight: 600; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
a { color: var(--rain-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rain-700); text-decoration-thickness: 2px; }
strong { font-weight: 700; }
hr { border: 0; height: 1px; background: var(--steel-200); margin: var(--space-6) 0; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }
.section-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .page-hero :focus-visible {
  box-shadow: 0 0 0 3px var(--navy-800), 0 0 0 6px var(--rain-400);
}

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

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 1000;
  background: var(--rain-400); color: var(--navy-900); font-weight: 700;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius);
  text-decoration: none; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--space-3); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5); }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(195, 204, 214, 0.14);
}
.site-header::after { /* thin brushed-metal rail, like a gutter edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--metal); opacity: 0.55;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .b1 { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.16em; }
.brand-word .b2 { font-family: var(--font-head); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.42em; color: var(--steel-300); margin-top: 4px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  background: transparent; border: 1px solid rgba(195, 204, 214, 0.35); color: var(--white);
  border-radius: var(--radius); padding: 0.5rem 0.8rem; font: 600 var(--fs-sm) var(--font-body); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s var(--ease), opacity 0.2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-900); border-bottom: 1px solid rgba(195, 204, 214, 0.14);
  padding: var(--space-4) var(--space-5) var(--space-6);
  display: none;
}
.site-nav.is-open { display: block; }
.no-js .site-nav { display: block; position: static; padding: 0 0 var(--space-4); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.site-nav a {
  display: block; color: var(--steel-200); text-decoration: none; font-weight: 600;
  padding: 0.7rem 0.25rem; border-bottom: 1px solid rgba(195, 204, 214, 0.08);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--rain-400); padding-left: 0.75rem; }
.site-nav .nav-cta { margin-top: var(--space-4); }
.header-phone { display: none; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav, .no-js .site-nav { display: flex !important; position: static; background: none; border: 0; padding: 0; align-items: center; gap: var(--space-5); }
  .site-nav ul { flex-direction: row; gap: var(--space-2); }
  .site-nav a { border: 0; padding: 0.5rem 0.75rem; position: relative; }
  .site-nav a[aria-current="page"] { box-shadow: none; padding-left: 0.75rem; }
  .site-nav ul a::after {
    content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 2px; height: 2px;
    background: var(--rain-400); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
  }
  .site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin: 0; }
  .header-phone { display: inline; color: var(--steel-300); font-size: var(--fs-sm); text-decoration: none; font-weight: 600; white-space: nowrap; }
  .header-phone:hover { color: var(--white); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font: 700 var(--fs-base) var(--font-head); letter-spacing: 0.01em;
  padding: 0.85rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform 0.18s var(--ease), background-color 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--rain-400); color: var(--navy-900); box-shadow: 0 8px 20px -10px rgba(76, 195, 255, 0.8); }
.btn-primary:hover { background: #7ad3ff; color: var(--navy-900); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-600); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(195, 204, 214, 0.5); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: var(--white); }
.btn-sm { padding: 0.6rem 1rem; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.arrow:hover::after { transform: translateX(3px); }

/* ---------- Generic sections ---------- */
.section { padding-block: var(--space-8); }
.section-tight { padding-block: var(--space-7); }
.section-alt { background: var(--steel-100); }
.section-dark { background: var(--navy-800); color: var(--steel-200); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark a:not(.btn) { color: var(--rain-400); }
.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.lede { font-size: var(--fs-lg); color: var(--ink-soft); }
.section-dark .lede { color: var(--steel-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font: 700 var(--fs-xs) var(--font-head); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rain-600); margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--rain-400); }

.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center; }
  .split-rev > :first-child { order: 2; }
}
.split > * + * { margin-top: var(--space-6); }
@media (min-width: 960px) { .split > * + * { margin-top: 0; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--steel-200);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(76, 195, 255, 0.16), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(138, 151, 168, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  padding-block: var(--space-8) var(--space-9);
}
.hero::before { /* falling rain texture */
  content: ""; position: absolute; inset: -40% 0 0 0; pointer-events: none; opacity: 0.35;
  background-image: repeating-linear-gradient(100deg, transparent 0 22px, rgba(195, 204, 214, 0.18) 22px 23px, transparent 23px 61px);
  animation: rain-fall 1.6s linear infinite;
}
@keyframes rain-fall { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-12px, 80px, 0); } }
.hero-inner { position: relative; display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--rain-400); }
.hero .lede { color: var(--steel-300); max-width: 52ch; }
.hero-tag {
  display: inline-block; margin-top: var(--space-6); padding-top: var(--space-4);
  border-top: 1px solid rgba(195, 204, 214, 0.2); font-size: var(--fs-sm); color: var(--steel-300);
}
.hero-tag strong { color: var(--white); }
.hero-art { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.hero-art svg { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.hero-art .drop { animation: drip 2.4s var(--ease) infinite; }
.hero-art .drop.d2 { animation-delay: 0.8s; }
.hero-art .drop.d3 { animation-delay: 1.6s; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(70px); opacity: 0; } }
.hero-art .stream { stroke-dasharray: 6 10; animation: flow 0.9s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }

.hero-points { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-2); }
.hero-points li { display: flex; gap: var(--space-3); align-items: baseline; color: var(--steel-200); }
.hero-points li::before { content: ""; width: 10px; height: 10px; flex: none; border: 2px solid var(--rain-400); transform: rotate(45deg) translateY(-1px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--steel-300);
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  padding-block: var(--space-8) var(--space-7);
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -40px; width: 360px; height: 360px; pointer-events: none;
  background: repeating-linear-gradient(100deg, transparent 0 18px, rgba(76, 195, 255, 0.12) 18px 19px);
  border-radius: 50%; opacity: 0.8;
}
.page-hero h1 { color: var(--white); font-size: var(--fs-2xl); max-width: 22ch; position: relative; }
.page-hero .lede { color: var(--steel-300); max-width: 60ch; position: relative; }
.breadcrumb { font-size: var(--fs-sm); margin-bottom: var(--space-4); position: relative; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--steel-500); }
.breadcrumb a { color: var(--steel-300); }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--steel-300); }
.card h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--space-4);
  background: var(--navy-800); color: var(--rain-400);
}
.card-icon svg { width: 28px; height: 28px; }
.card-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; margin-top: var(--space-3); }
.card-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.card-link:hover::after { transform: translateX(3px); }
.card-metal { background: var(--metal); border-color: var(--steel-300); }
.section-dark .card { background: var(--navy-700); border-color: rgba(195, 204, 214, 0.14); color: var(--steel-300); }
.section-dark .card h3 { color: var(--white); }
.section-dark .card-icon { background: rgba(76, 195, 255, 0.12); }

/* Feature list (why section) */
.feature { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.feature-num {
  font: 800 1.1rem var(--font-head); color: var(--rain-400);
  width: 44px; height: 44px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center;
}
.feature h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.stack > * + * { margin-top: var(--space-6); }

/* Check list */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: var(--space-3); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--rain-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.section-dark .checklist li::before { background-color: var(--rain-400); }

/* ---------- Rainier band ---------- */
.rainier-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--metal); border: 1px solid var(--steel-300); padding: var(--space-7) var(--space-6);
}
.rainier-band::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--navy-800);
}
.rainier-band .pair {
  font: 800 var(--fs-2xl) var(--font-head); color: var(--navy-800); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: var(--space-4);
}
.rainier-band .pair span { color: var(--rain-600); }
.rainier-band p { color: var(--ink-soft); max-width: 62ch; }
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font: 700 var(--fs-xs) var(--font-head); letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--navy-800); color: var(--white); padding: 0.4rem 0.75rem; border-radius: 999px;
}

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); counter-reset: step; }
@media (min-width: 720px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li {
  counter-increment: step; position: relative; padding: var(--space-6) var(--space-5) var(--space-5);
  border-top: 3px solid var(--rain-400); background: var(--navy-700); border-radius: 0 0 var(--radius) var(--radius);
}
.process li::before {
  content: "0" counter(step); display: block; font: 800 2.4rem var(--font-head); color: transparent;
  -webkit-text-stroke: 1px var(--steel-500); margin-bottom: var(--space-3); line-height: 1;
}
.process h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); color: var(--white); }
.process p { margin: 0; color: var(--steel-300); font-size: var(--fs-sm); }
.section:not(.section-dark) .process li { background: var(--white); border: 1px solid var(--steel-200); border-top: 3px solid var(--rain-600); }
.section:not(.section-dark) .process h3 { color: var(--navy-800); }
.section:not(.section-dark) .process p { color: var(--ink-soft); }

/* ---------- Areas ---------- */
.area-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.area-chips li {
  font-size: var(--fs-sm); font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--steel-300); color: var(--navy-800);
}
.section-dark .area-chips li { background: transparent; border-color: rgba(195, 204, 214, 0.3); color: var(--steel-200); }
.county { border-radius: var(--radius-lg); padding: var(--space-6); background: var(--white); border: 1px solid var(--steel-200); }
.county h3 { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); border-bottom: 2px solid var(--navy-800); padding-bottom: var(--space-3); margin-bottom: var(--space-4); }
.county h3 small { font: 600 var(--fs-xs) var(--font-body); color: var(--steel-500); letter-spacing: 0.1em; text-transform: uppercase; }
.county ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: var(--space-5); }
.county li { break-inside: avoid; padding: 0.35rem 0; border-bottom: 1px dashed var(--steel-200); font-weight: 600; }

/* Stylized service-area "map" (no embeds) */
.area-map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background:
    linear-gradient(rgba(195, 204, 214, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(195, 204, 214, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--navy-800);
  border: 1px solid rgba(195, 204, 214, 0.2);
}
.area-map svg { width: 100%; height: 100%; }
.area-map figcaption { position: absolute; left: var(--space-4); bottom: var(--space-3); font-size: var(--fs-xs); color: var(--steel-300); }

/* ---------- Services detail ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: 0; }
.service-index a {
  display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
  border: 1px solid rgba(195, 204, 214, 0.35); color: var(--steel-200);
}
.service-index a:hover { border-color: var(--rain-400); color: var(--white); }
.service-detail { padding-block: var(--space-7); border-bottom: 1px solid var(--steel-200); }
.service-detail:last-of-type { border-bottom: 0; }
.service-detail .tag { font: 700 var(--fs-xs) var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); }
.callout {
  border-left: 4px solid var(--rain-600); background: var(--steel-100); padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius) var(--radius) 0; margin: var(--space-5) 0;
}
.callout p:last-child { margin-bottom: 0; }

.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--steel-200); margin: var(--space-5) 0; }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; font-size: var(--fs-sm); }
.compare caption { text-align: left; padding: var(--space-3) var(--space-4); font-weight: 700; color: var(--navy-800); background: var(--steel-100); }
.compare th, .compare td { text-align: left; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--steel-200); vertical-align: top; }
.compare thead th { background: var(--navy-800); color: var(--white); font-family: var(--font-head); }
.compare tbody th { color: var(--navy-800); }

/* ---------- Prose / values ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); counter-reset: v; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
.values li { counter-increment: v; padding: var(--space-5); border-radius: var(--radius); background: var(--navy-700); border: 1px solid rgba(195, 204, 214, 0.14); }
.values li::before { content: counter(v, decimal-leading-zero); font: 800 var(--fs-sm) var(--font-head); color: var(--rain-400); display: block; margin-bottom: var(--space-2); letter-spacing: 0.1em; }
.values strong { display: block; color: var(--white); font-family: var(--font-head); font-size: var(--fs-lg); margin-bottom: var(--space-1); }

/* ---------- FAQ accordion (details/summary) ---------- */
.faq { display: grid; gap: var(--space-3); }
.faq details {
  border: 1px solid var(--steel-200); border-radius: var(--radius); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: var(--rain-600); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-4) var(--space-5); padding-right: 3.25rem; position: relative;
  font: 600 var(--fs-lg) var(--font-head); color: var(--navy-800); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: var(--space-5); top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--rain-600); border-bottom: 2px solid var(--rain-600); transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { border-radius: var(--radius); }
.faq .answer { padding: 0 var(--space-5) var(--space-5); color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: var(--steel-300); text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, rgba(76, 195, 255, 0.2), transparent 70%), var(--navy-900);
  padding-block: var(--space-8);
}
.cta-band h2 { color: var(--white); max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--space-5); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: var(--space-1); }
.field label, .fieldset legend { font-weight: 700; color: var(--navy-800); font-size: var(--fs-sm); }
.field .req { color: var(--danger); }
.field .hint { font-size: var(--fs-xs); color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 0.75rem 0.9rem; border: 1.5px solid var(--steel-300); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rain-600); box-shadow: 0 0 0 3px rgba(10, 111, 168, 0.25); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-2); }
.radio-row label { font-weight: 500; display: inline-flex; gap: var(--space-2); align-items: center; color: var(--ink); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note {
  font-size: var(--fs-sm); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  background: #fff7e0; border: 1px solid #e6c766; color: #5b4300; margin-bottom: var(--space-5);
}
.form-error { color: var(--danger); font-size: var(--fs-sm); font-weight: 600; min-height: 1.2em; }
.form-success {
  border-radius: var(--radius-lg); padding: var(--space-6); background: #e8f5ee; border: 1px solid #9bcfb1; color: var(--success);
}
.form-success h2, .form-success h3 { color: var(--success); }
.form-success[hidden] { display: none; }
:target.form-success { display: block; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-3); align-items: start; }
.contact-list .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-800); color: var(--rain-400); display: grid; place-items: center; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--navy-800); }
.placeholder { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: rgba(138, 151, 168, 0.18); padding: 0.05em 0.35em; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--steel-300); padding-top: var(--space-8); font-size: var(--fs-sm); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--metal); opacity: 0.6; }
.footer-grid { display: grid; gap: var(--space-6); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1.2fr 1fr; } }
.site-footer h2 { font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer a { color: var(--steel-200); text-decoration: none; }
.site-footer a:hover { color: var(--rain-400); text-decoration: underline; }
.site-footer .brand { margin-bottom: var(--space-4); }
.footer-areas { columns: 2; column-gap: var(--space-4); }
.footer-tie { color: var(--steel-200); font-family: var(--font-head); font-weight: 600; }
.footer-bottom {
  margin-top: var(--space-7); padding-block: var(--space-5); border-top: 1px solid rgba(195, 204, 214, 0.14);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; align-items: center; font-size: var(--fs-xs);
}
.draft-note {
  display: inline-flex; align-items: center; gap: var(--space-2); color: var(--steel-300);
  border: 1px dashed rgba(195, 204, 214, 0.35); border-radius: 999px; padding: 0.3rem 0.8rem;
}
.draft-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f2b84b; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-sm); }

/* Reveal-on-scroll (progressive; content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .cta-band, .skip-link { display: none !important; }
  .hero, .page-hero, .section-dark, .site-footer { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
