/* ============================================================
   Rapids Digital — styles.css
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
@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;
  }
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* overflow-x: clip removed; managed per-section instead */
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0A1628;
  --ink-deep: #0F1F4A;     /* deep navy from user pick #1E3A8A family, slightly darker for surfaces */
  --ink-2: #1F2937;
  --mute: #5B6B7F;
  --mute-2: #8896A6;
  --line: #E5E9EF;
  --line-soft: #EFF2F6;
  --bg: #FAFBFC;
  --bg-card: #FFFFFF;
  --river: #008FFC;
  --river-deep: #0066D6;
  --river-tint: #E6F4FF;
  --accent: #F59E0B;
  --accent-tint: #FEF3C7;
  --green: #10B981;

  --max: 1200px;
  --prose: 680px;
  --pad-x: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 128px);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow: 0 1px 3px rgba(10, 22, 40, 0.04), 0 8px 24px rgba(10, 22, 40, 0.05);
  --shadow-lg: 0 4px 8px rgba(10, 22, 40, 0.04), 0 20px 48px rgba(10, 22, 40, 0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Type ---------- */
.heading, h1, h2, h3, h4 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 7.2vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.015em; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--river);
  border-radius: 50%;
}
.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
}
.muted { color: var(--mute); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.prose { max-width: var(--prose); }
section { padding-block: var(--section-y); position: relative; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p.lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--river);
  color: white;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 6px 16px rgba(0, 143, 252, 0.28);
}
.btn-primary:hover { background: var(--river-deep); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 24px rgba(0, 143, 252, 0.36); }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow {
  transition: transform 0.2s var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(250, 251, 252, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand .brand-logo { height: 34px; width: auto; display: block; }
.brand-name { color: var(--ink); }
.brand-name span { color: var(--river); font-weight: 500; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--mute);
  font-weight: 500;
  transition: color 0.15s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 10px 18px; font-size: 14px; }
.brand-name { white-space: nowrap; }
.nav-cta .nav-cta-long { display: inline; }
.nav-cta .nav-cta-short { display: none; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; padding-block: 14px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand .brand-logo { height: 28px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .nav-cta .nav-cta-long { display: none; }
  .nav-cta .nav-cta-short { display: inline; }
}
@media (max-width: 380px) {
  .brand-name span { display: none; }
  .nav-cta { padding: 8px 12px; font-size: 12.5px; }
}

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(64px, 9vw, 120px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.hero h1.revealed .word { opacity: 1; transform: translateY(0); }
.hero h1 .accent { color: var(--river); }
.hero-sub {
  margin-top: 28px;
  font-size: clamp(18px, 1.55vw, 22px);
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 28ch;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
@media (max-width: 480px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn {
    white-space: normal;
    text-align: center;
    width: 100%;
    justify-content: center;
  }
}
.hero-meta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 28px;
  font-size: 13.5px;
  color: var(--mute);
}
.hero-meta .dot { display: inline-block; width: 4px; height: 4px; background: var(--mute-2); border-radius: 50%; margin-right: 12px; vertical-align: middle; }

/* Hero — branded stylized mock (not a fake business, brand-art forward) */
.hero-mock {
  position: relative;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.hero-mock-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 12%, rgba(0,143,252,0.16), transparent 55%),
    radial-gradient(circle at 10% 95%, rgba(10,29,58,0.06), transparent 55%);
}
.hero-mock-bg::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -50px;
  width: 280px; height: 220px;
  background-image: url('assets/logo-mark.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.05;
  transform: rotate(-6deg);
}
.hero-mock .browser-bar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-mock .url { font-size: 12px; }
.hero-mock .url-mute { color: var(--mute); }
.hero-mock .url-strong { color: var(--ink); font-weight: 500; }
.hero-mock-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500;
  color: var(--river-deep);
  padding-right: 4px;
}
.hero-mock-live::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green, #10b981);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.55);
  animation: pulse 2.4s var(--ease) infinite;
}
.hero-mock-body {
  position: relative;
  z-index: 1;
  padding: 28px 30px 30px;
  display: grid;
  gap: 18px;
}
.hero-mock-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--river);
  font-weight: 600;
}
.hero-mock-h {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.hero-mock-meta {
  display: grid;
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.hmm-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
}
.hmm-row .hmm-k { color: var(--mute); }
.hmm-row .hmm-v { color: var(--ink); font-weight: 500; }
.hmm-row .hmm-v.ok { color: var(--river-deep); }
.hmm-row .hmm-v.num {
  font-family: 'Space Grotesk', sans-serif;
  font-variant-numeric: tabular-nums;
}
.hero-mock-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 14px 16px;
  background: var(--ink);
  border-radius: 12px;
  color: white;
}
.hero-mock-cta .hmc-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
}
.hero-mock-cta .hmc-link {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--river);
  font-weight: 500;
  font-size: 18px;
  transition: transform 0.3s var(--ease);
}
.hero-mock:hover .hero-mock-cta .hmc-link { transform: translateX(4px); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}
.browser-bar .dot-row { display: flex; gap: 6px; }
.browser-bar .dot-row span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.browser-bar .url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--mute);
  background: var(--line-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 12px;
  font-family: 'Inter', sans-serif;
}
.browser-bar .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
}
.browser-bar .live-pill::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.mock-body {
  position: relative;
  z-index: 1;
  padding: 22px 26px 26px;
  display: grid;
  gap: 14px;
}
.mock-body .mock-eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--river);
  font-weight: 600;
}
.mock-body .mock-h {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.mock-body .mock-p {
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.5;
  max-width: 32ch;
}
.mock-body .mock-row {
  display: flex; gap: 8px; margin-top: 4px;
}
.mock-body .mock-btn {
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--river);
  color: white;
  font-weight: 500;
}
.mock-body .mock-btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.mock-img {
  margin-top: 6px;
  height: 90px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(0,143,252,0.08), rgba(0,143,252,0.02)),
    repeating-linear-gradient(135deg, var(--line-soft) 0 8px, transparent 8px 16px);
  border: 1px solid var(--line-soft);
}
.mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.mock-stat {
  background: var(--line-soft);
  padding: 10px 12px;
  border-radius: 10px;
}
.mock-stat .n {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.mock-stat .l {
  font-size: 10px;
  color: var(--mute);
}

/* ---------- HOW IT WORKS ---------- */
.how {
  background: var(--bg-card);
  border-block: 1px solid var(--line);
}
.how-pin {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 112px);
}
.how-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 960px) {
  .how-step {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 72px;
  }
  .how-step[data-step="2"] .how-step-text { order: 2; }
  .how-step[data-step="2"] .how-step-vis  { order: 1; }
}
.how-step .step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--river);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.how-step .step-num::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--river);
}
.how-step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 18px;
}
.how-step p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 50ch;
  text-wrap: pretty;
  margin: 0;
}
.how-step .step-tag {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--river-deep);
}
.how-step .step-tag svg { width: 14px; height: 14px; color: var(--river); }

/* ---------- How-it-works branded visuals (no fake browsers) ---------- */
.how-vis-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.hv-label {
  position: absolute;
  top: 18px; left: 20px;
  z-index: 3;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--river);
  font-weight: 600;
}
.hv-label-light { color: rgba(255,255,255,0.85); }

/* Step 1 — building checklist with brand waves */
.how-vis-1 {
  background: var(--bg-card);
}
.how-vis-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(0,143,252,0.14), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hv-build {
  position: absolute;
  top: 56px; left: 28px; right: 28px;
  z-index: 2;
  display: grid;
  gap: 0;
}
.hv-line {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  opacity: 0;
  transform: translateY(6px);
  animation: hvLineIn 0.5s var(--ease) forwards;
}
.how-vis-1 .hv-line:nth-child(1) { animation-delay: 0.05s; }
.how-vis-1 .hv-line:nth-child(2) { animation-delay: 0.55s; }
.how-vis-1 .hv-line:nth-child(3) { animation-delay: 1.05s; }
.how-vis-1 .hv-line:nth-child(4) { animation-delay: 1.55s; }
.how-vis-1 .hv-line:nth-child(5) { animation-delay: 2.05s; }
@keyframes hvLineIn {
  to { opacity: 1; transform: none; }
}
.hv-line:last-child { border-bottom: none; }
.hv-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  position: relative;
}
.hv-dot.is-done {
  background: var(--river);
  border-color: var(--river);
  box-shadow: 0 0 0 3px rgba(0,143,252,0.12);
}
.hv-dot.is-done::after {
  content: "";
  position: absolute;
  inset: 3px 3px;
  background: white;
  border-radius: 50%;
  width: 4px; height: 4px;
  margin: auto;
}
.hv-dot.is-pending {
  border-color: var(--river);
  animation: hvPending 1.4s ease-in-out infinite;
}
@keyframes hvPending {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,143,252,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0,143,252,0); }
}
.hv-line .hv-k { color: var(--mute); }
.hv-line .hv-v { color: var(--ink); font-weight: 500; }
.hv-line.is-pending .hv-v { color: var(--river-deep); }
.hv-waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 35%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}
.hv-waves .hv-w {
  fill: none;
  stroke: var(--river);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: hvDraw 3.5s var(--ease) forwards;
}
.hv-waves .hv-w2 { stroke: var(--river); opacity: 0.55; animation-delay: 0.4s; }
.hv-waves .hv-w3 { stroke: var(--river-deep); opacity: 0.35; animation-delay: 0.8s; }
@keyframes hvDraw { to { stroke-dashoffset: 0; } }

/* Step 2 — link card on dark with radiating pings */
.how-vis-2 {
  background: var(--ink);
  color: white;
}
.how-vis-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 55%, rgba(0,143,252,0.28), transparent 55%),
    radial-gradient(circle at 50% 55%, rgba(0,143,252,0.14), transparent 75%);
  z-index: 0;
}
.how-vis-2::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/logo-mark-white.svg');
  background-repeat: no-repeat;
  background-position: 110% 130%;
  background-size: 320px;
  opacity: 0.06;
  z-index: 0;
}
.hv-link {
  position: absolute;
  inset: auto 32px 32px 32px;
  top: 50%;
  transform: translateY(-40%);
  z-index: 3;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px 20px 16px;
  box-shadow: 0 20px 50px -20px rgba(0,143,252,0.4);
}
.hv-link-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-bottom: 8px;
}
.hv-link-url {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  letter-spacing: -0.005em;
  word-break: break-all;
  line-height: 1.25;
}
.hv-link-mute { color: rgba(255,255,255,0.55); }
.hv-link-strong { color: white; font-weight: 600; }
.hv-link-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.hv-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,143,252,0.18);
  color: #7CC7FF;
  border: 1px solid rgba(0,143,252,0.3);
}
.hv-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #7CC7FF;
  animation: pulse 2s var(--ease) infinite;
}
.hv-link-stat {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: 'Space Grotesk', sans-serif;
  font-variant-numeric: tabular-nums;
}
.hv-pings {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hv-pings span {
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: 50%;
  border: 1px solid rgba(0,143,252,0.5);
  opacity: 0;
  animation: hvPing 3.5s ease-out infinite;
}
.hv-pings span:nth-child(2) { animation-delay: 1.2s; }
.hv-pings span:nth-child(3) { animation-delay: 2.4s; }
@keyframes hvPing {
  0% { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(4.2); opacity: 0; }
}

/* Step 3 — decision: two cards */
.how-vis-3 {
  background: var(--bg-card);
}
.how-vis-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(0,143,252,0.12), transparent 55%);
  z-index: 0;
}
.hv-decide {
  position: absolute;
  inset: 56px 28px 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}
.hv-card {
  border-radius: 14px;
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
}
.hv-card .hv-card-h {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.hv-card .hv-card-p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.hv-card .hv-card-foot {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  padding-top: 10px;
  border-top: 1px solid currentColor;
  opacity: 0.7;
}
.hv-card.hv-yes {
  background: linear-gradient(160deg, var(--river) 0%, var(--river-deep) 100%);
  color: white;
  box-shadow: 0 18px 40px -18px rgba(0,143,252,0.6);
  position: relative;
}
.hv-card.hv-yes::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/logo-mark-white.svg');
  background-repeat: no-repeat;
  background-position: 115% 110%;
  background-size: 180px;
  opacity: 0.12;
  pointer-events: none;
  border-radius: inherit;
}
.hv-card.hv-yes .hv-card-foot { border-top-color: rgba(255,255,255,0.25); opacity: 0.85; }
.hv-card.hv-no {
  background: white;
  color: var(--mute);
  border: 1px solid var(--line);
}
.hv-card.hv-no .hv-card-h { color: var(--ink-2); }
.hv-card.hv-no .hv-card-foot { border-top-color: var(--line); }

@media (max-width: 720px) {
  .how-vis-frame { aspect-ratio: 4 / 3.4; }
  .hv-build { top: 52px; left: 20px; right: 20px; }
  .hv-link { inset: auto 18px 24px; padding: 16px 16px 14px; }
  .hv-decide { inset: 52px 18px 18px; }
}

.how-step .step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--river);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.how-step .step-num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--river);
}
.how-step h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 18px;
}
.how-step p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  max-width: 44ch;
  line-height: 1.55;
}
.how-step .step-tag {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.how-step .step-tag svg { width: 14px; height: 14px; color: var(--river); }

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
  }
  .pricing-grid .price-card.retainer {
    grid-column: 1 / -1;
  }
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.price-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.price-card .pop-tag {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent-tint);
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.price-card .price-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.price-card .price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 4.6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-card .price-amount .per {
  font-size: 16px;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0;
}
.price-card .price-blurb {
  font-size: 15px;
  color: var(--mute);
  line-height: 1.55;
}
.price-card .price-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 4px;
  font-size: 14.5px;
}
.price-card .price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
}
.price-card .price-list li::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'><path d='M4 9.5L7.5 13L14 6' stroke='%23008FFC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
}
.price-card.retainer {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.price-card.retainer .price-name,
.price-card.retainer .price-amount { color: white; }
.price-card.retainer .price-amount .per { color: rgba(255,255,255,0.6); }
.price-card.retainer .price-blurb { color: rgba(255,255,255,0.7); }
.price-card.retainer .price-list li { color: rgba(255,255,255,0.85); }
.price-card.retainer .price-list li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'><path d='M4 9.5L7.5 13L14 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.price-card.retainer .retainer-flex {
  display: grid;
  gap: 24px;
}
@media (min-width: 760px) {
  .price-card.retainer .retainer-flex {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
  }
}
.price-note {
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--mute);
  max-width: 60ch;
}

/* ---------- LIVE WORK ---------- */
.work {
  background: var(--ink);
  color: white;
  overflow: hidden;
  padding-bottom: 0;
}
.work .eyebrow { color: rgba(255,255,255,0.6); }
.work .eyebrow::before { background: var(--river); }
.work h2 { color: white; }
.work .lead { color: rgba(255,255,255,0.7); }

.work-pin-wrap { position: relative; }
.work-pin {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.work-pin::-webkit-scrollbar { height: 8px; }
.work-pin::-webkit-scrollbar-track { background: transparent; }
.work-pin::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 4px; }
.work-pin::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }
.work-track {
  display: flex;
  gap: 24px;
  padding-inline: var(--pad-x);
  padding-bottom: 8px;
}
.work-card { scroll-snap-align: center; }
@media (min-width: 960px) {
  .work-card { flex: 0 0 clamp(420px, 38vw, 560px); }
}
@media (max-width: 959px) {
  .work-card { flex: 0 0 86vw; }
}

.work-card {
  background: white;
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.work-card .card-screen {
  aspect-ratio: 16 / 11;
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.work-card .card-screen.card-live {
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.work-card .card-screen.card-live:hover { transform: translateY(-2px); }
.work-card .scr-frame {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #f4f6f8;
}
.work-card .scr-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 200%;
  border: 0;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
}
.work-card .scr-bar {
  flex-shrink: 0;
}
.scr-bar .scr-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--river);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0,143,252,0.10);
  border: 1px solid rgba(0,143,252,0.22);
}
.scr-bar .scr-live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22,163,74,0.6);
  animation: live-pulse 1.8s var(--ease) infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.work-card .card-open {
  position: absolute;
  inset: auto 12px 12px auto;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.86);
  color: white;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.work-card:hover .card-open { opacity: 1; transform: translateY(0); }
/* Hide pulse dot when tweak disables it */
html:not(.live-pulse) .scr-bar .scr-live .dot { animation: none; }
.work-card .card-meta {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.work-card .card-vert {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--river);
  font-weight: 600;
}
.work-card .card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.work-card .card-loc {
  font-size: 14px;
  color: var(--mute);
}
.work-card .card-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--river-deep);
}
.work-card .card-link:hover { color: var(--river); }

/* Card screens — stylized mocks per vertical (placeholders) */
.scr {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
}
.scr-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.7);
  flex: 0 0 auto;
}
.scr-bar .d { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.scr-bar .u {
  flex: 1;
  font-size: 10px;
  text-align: center;
  color: var(--mute);
  background: var(--line-soft);
  border-radius: 999px;
  padding: 4px 8px;
  font-family: 'Inter', sans-serif;
}
.scr-body { flex: 1; position: relative; overflow: hidden; }

/* Dukes — hospitality dark */
.scr.dukes .scr-body {
  background: linear-gradient(160deg, #1a0f08 0%, #2d1810 100%);
  color: #f5e6d3;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scr.dukes .scr-body::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212,165,116,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.scr.dukes .d-eyebrow { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: #d4a574; }
.scr.dukes .d-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 28px; letter-spacing: -0.02em;
  color: #f5e6d3; margin-top: 6px;
}
.scr.dukes .d-tag { font-size: 11px; color: #c9b896; margin-top: 4px; }
.scr.dukes .d-row {
  display: flex; gap: 8px; margin-top: 12px;
}
.scr.dukes .d-pill {
  font-size: 9px; padding: 5px 10px; border-radius: 999px;
  background: rgba(212,165,116,0.16); color: #d4a574;
  border: 1px solid rgba(212,165,116,0.3);
}
.scr.dukes .d-cta {
  font-size: 10px; padding: 7px 12px; border-radius: 999px;
  background: #d4a574; color: #1a0f08;
  font-weight: 600;
  width: fit-content;
}

/* Marco's — restaurant warm */
.scr.resto .scr-body {
  background: #fff8ef;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
}
.scr.resto .r-h {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #6b2c0c;
  line-height: 1.05;
}
.scr.resto .r-h em { font-style: italic; color: #c2410c; font-weight: 500; }
.scr.resto .r-sub { font-size: 10px; color: #92400e; margin-top: 6px; line-height: 1.4; }
.scr.resto .r-cta {
  margin-top: 12px;
  font-size: 10px; padding: 7px 12px;
  background: #c2410c; color: white;
  border-radius: 999px;
  width: fit-content;
  font-weight: 500;
}
.scr.resto .r-img {
  background:
    radial-gradient(ellipse at 30% 30%, #f97316 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, #fbbf24 0%, transparent 50%),
    #fed7aa;
  border-radius: 10px;
  position: relative;
}

/* Contractor — utility blue/grey */
.scr.trade .scr-body {
  background: #f5f7fa;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scr.trade .t-eyebrow {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #475569; font-weight: 600;
}
.scr.trade .t-h {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  color: #0f172a; line-height: 1.05;
}
.scr.trade .t-row {
  display: flex; gap: 8px; margin-top: 4px;
}
.scr.trade .t-cta {
  font-size: 10px; padding: 8px 14px;
  background: #0f172a; color: white;
  border-radius: 6px; font-weight: 600;
}
.scr.trade .t-cta-2 {
  font-size: 10px; padding: 8px 14px;
  border: 1px solid #cbd5e1; color: #0f172a;
  border-radius: 6px; font-weight: 500;
}
.scr.trade .t-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  margin-top: auto;
}
.scr.trade .t-tile {
  background: white; border-radius: 6px; padding: 8px;
  font-size: 9px; color: #475569; font-weight: 500;
  border: 1px solid #e2e8f0;
}
.scr.trade .t-tile .ic {
  width: 14px; height: 14px; background: #0f172a; border-radius: 3px;
  margin-bottom: 6px;
}

/* Retail — boutique pastel */
.scr.retail .scr-body {
  background: #fdf4f5;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scr.retail .rt-h {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 22px; letter-spacing: -0.025em;
  color: #831843; line-height: 1;
}
.scr.retail .rt-h em { font-style: italic; font-weight: 400; }
.scr.retail .rt-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  margin-top: 4px;
}
.scr.retail .rt-tile { aspect-ratio: 3/4; border-radius: 6px; }
.scr.retail .rt-tile.a { background: linear-gradient(135deg,#fbcfe8,#f9a8d4); }
.scr.retail .rt-tile.b { background: linear-gradient(135deg,#fde68a,#fbbf24); }
.scr.retail .rt-tile.c { background: linear-gradient(135deg,#a7f3d0,#6ee7b7); }
.scr.retail .rt-cta {
  font-size: 10px; padding: 7px 14px;
  background: #831843; color: white;
  border-radius: 999px; width: fit-content;
  margin-top: auto;
}

.work-foot {
  padding-block: 64px 88px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}
.work-foot a { color: var(--river); }
@media (min-width: 960px) {
  .work-foot { display: block; }
}

/* ---------- INDUSTRY TICKER ---------- */
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-card);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 35s linear infinite;
}
.ticker-track span {
  flex-shrink: 0;
  padding: 0 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
  position: relative;
}
.ticker-track span::after {
  content: "·";
  position: absolute;
  right: 0;
  color: var(--line);
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.why-item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .why-item { padding: 0; border-top: none; }
}
.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--river);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.why-item h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.why-item p {
  font-size: 16px;
  color: var(--mute);
  line-height: 1.55;
  max-width: 36ch;
}

/* ---------- WHO WE ARE ---------- */
.who {
  background: var(--bg-card);
  border-block: 1px solid var(--line);
}
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 760px) {
  .who-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.bio .mono {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.bio .mono.river { background: var(--river); }
.bio h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.bio .role {
  font-size: 13px;
  color: var(--river);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.bio p { font-size: 16px; color: var(--ink-2); line-height: 1.55; }

.who-addr {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 14.5px;
  color: var(--mute);
}
.who-addr strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg-card);
  border-block: 1px solid var(--line);
}
.faq-list {
  max-width: 780px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ""; }
.faq-num {
  flex: 0 0 auto;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--river);
  letter-spacing: 0.04em;
}
.faq-item summary h3 {
  flex: 1;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.3;
}
.faq-icon {
  flex: 0 0 24px;
  height: 24px;
  position: relative;
  margin-left: auto;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--mute);
  border-radius: 1px;
  transition: transform 0.25s var(--ease);
}
.faq-icon::before {
  width: 14px; height: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px; height: 14px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-answer {
  padding: 0 0 24px 42px;
}
.faq-answer p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- CONTACT ---------- */
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 580px) {
  .contact-row { grid-template-columns: 1fr 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.01em;
}
.field input, .field textarea, .field select {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--river);
  box-shadow: 0 0 0 4px rgba(0,143,252,0.12);
}
.contact-form button[type="submit"] {
  justify-self: start;
  margin-top: 8px;
}
.contact-status {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  display: none;
}
.contact-status.show { display: block; }
.contact-status.ok { background: rgba(16,185,129,0.1); color: #047857; border: 1px solid rgba(16,185,129,0.3); }
.contact-status.err { background: rgba(239,68,68,0.08); color: #b91c1c; border: 1px solid rgba(239,68,68,0.25); }

.next-steps {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  display: grid;
  gap: 14px;
}
.next-steps strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.next-steps ol {
  list-style: none;
  display: grid;
  gap: 8px;
  counter-reset: ns;
  font-size: 14.5px;
  color: var(--ink-2);
}
.next-steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  counter-increment: ns;
  line-height: 1.5;
}
.next-steps li::before {
  content: counter(ns);
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--river-tint);
  color: var(--river-deep);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  display: grid;
  place-items: center;
}

/* ---------- FOOTER ---------- */
footer.foot {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding-block: 64px 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
}
.foot-brand img.foot-brand-logo { height: 44px; width: auto; margin-bottom: 18px; display: block; }
.foot-brand p { font-size: 14.5px; color: rgba(255,255,255,0.6); max-width: 28ch; line-height: 1.55; }
.foot-col h4 {
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.foot-col a { color: rgba(255,255,255,0.7); transition: color 0.15s var(--ease); }
.foot-col a:hover { color: white; }
.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ---------- Section fade-in ---------- */
.js .fade-up.pre-anim {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .fade-up.pre-anim.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
