/* ============================================================================
   STATS UMAMI — production stylesheet
   Tokens from the nquare Document Design System v2.1 (teal + green, editorial).
   Source design: Claude Design "Stats Umami Site.dc.html" (approved v1).
   ============================================================================ */

/* ---- Self-hosted fonts (variable; covers 400–700 via one file each) ---- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/JetBrainsMono-Variable.woff2") format("woff2");
}

/* ---- Design tokens ---- */
:root {
  --teal-950: #062123;
  --teal-900: #0a3236;
  --teal-800: #114c52;
  --teal-700: #1b6e75;
  --teal-500: #2a9099;
  --teal-100: #dfeceb;
  --teal-50:  #f1f6f5;

  --green-600: #2fa66a;
  --green-500: #41c97a;
  --green-100: #d8f3e2;
  --green-50:  #ecfaf0;

  --paper:    #fafaf7;
  --bg:       #faf9f4;
  --bg-soft:  #f4f2eb;
  --ink:      #14181a;
  --ink-3:    #4b5358;
  --ink-4:    #6e767b;
  --rule:     #e5e3dd;

  --ok:   #2fa66a;
  --warn: #c98a2a;
  --crit: #c0463b;

  --on-dark:      #e9f0ef;
  --on-dark-hi:   #f5f8f7;
  --on-dark-soft: rgba(220,235,233,.82);
  --on-dark-mut:  rgba(220,235,233,.6);
  --on-dark-line: rgba(255,255,255,.09);

  --r-1: 6px; --r-2: 9px; --r-3: 11px; --r-4: 14px; --r-5: 16px; --r-pill: 999px;

  --shadow-sm:   0 1px 2px rgba(20,24,26,.04);
  --shadow-card: 0 1px 2px rgba(20,24,26,.05), 0 24px 50px -34px rgba(20,24,26,.3);
  --shadow-lift: 0 30px 70px -34px rgba(0,0,0,.6);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-h1:      clamp(36px, 5.4vw, 62px);
  --t-h2:      clamp(28px, 4vw, 44px);
  --t-h2-cta:  clamp(30px, 4.4vw, 50px);
  --t-h3:      17px;
  --t-lead:    clamp(16px, 1.6vw, 18.5px);
  --t-body:    15px;
  --t-small:   13.5px;
  --t-eyebrow: 12px;

  --tracking-eyebrow: 0.16em;
  --tracking-display: -0.03em;
  --tracking-h2:      -0.022em;

  --section-y:  clamp(64px, 9vw, 112px);
  --section-x:  clamp(20px, 5vw, 40px);
  --container:  1140px;
  --nav-offset: 78px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-900); }
::selection { background: var(--green-500); color: var(--teal-950); }
img { max-width: 100%; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--section-x); }
.container--narrow { max-width: 1000px; margin: 0 auto; padding: 0 var(--section-x); }

/* ---- Scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.16,.7,.3,1), transform .7s cubic-bezier(.16,.7,.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes su-dash  { to { background-position: 16px 0, 0 16px; } }
@keyframes su-flow  { 0% { left: -4%; } 100% { left: 104%; } }
@keyframes su-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes su-pulse  { 0%, 100% { box-shadow: 0 0 0 0 rgba(65,201,122,.45); } 70% { box-shadow: 0 0 0 12px rgba(65,201,122,0); } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; }
}

/* ============================================================================
   NAV
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,33,35,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 11px var(--section-x);
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: var(--r-2);
  background: var(--green-500);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; font-size: 16px; color: #fff; letter-spacing: -.015em; }
.brand-sub { font-size: 10px; color: rgba(220,235,233,.6); letter-spacing: .03em; }
.nav-spacer { flex: 1; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: rgba(220,235,233,.82);
  font-size: 13.5px; font-weight: 500;
  padding: 8px 12px; border-radius: 7px;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }

.btn-nav-download {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-500); color: var(--teal-950);
  font-size: 13.5px; font-weight: 600;
  padding: 9px 16px; border-radius: var(--r-2);
  min-height: 44px;
}
.btn-nav-download:hover { background: var(--green-600); color: var(--teal-950); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-2);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  cursor: pointer; color: #fff;
}

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 16px 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.nav-drawer.is-open { display: flex; }
.nav-drawer-link {
  color: rgba(220,235,233,.88);
  font-size: 15px; font-weight: 500;
  padding: 12px 10px; border-radius: 8px;
  min-height: 44px; display: flex; align-items: center;
}
.nav-drawer-link:hover { background: rgba(255,255,255,.06); color: #fff; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 880.02px) {
  .nav-drawer { display: none !important; }
}

/* ============================================================================
   BUTTONS (shared)
   ============================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; border-radius: var(--r-3);
  min-height: 44px;
}
.btn-lg { font-size: 15.5px; padding: 14px 24px; border-radius: var(--r-3); }
.btn-green { background: var(--green-500); color: var(--teal-950); }
.btn-green:hover { background: var(--green-600); color: var(--teal-950); }
.btn-outline-onDark {
  background: transparent; color: var(--on-dark);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-outline-onDark:hover { background: rgba(255,255,255,.06); color: var(--on-dark-hi); }
.btn-teal { background: var(--teal-700); color: #fff; font-size: 14px; padding: 11px 16px; }
.btn-teal:hover { background: var(--teal-800); color: #fff; }
.btn-outline-teal {
  background: transparent; color: var(--teal-800);
  border: 1px solid var(--rule);
  font-size: 14px; padding: 11px 16px;
}
.btn-outline-teal:hover { border-color: var(--teal-700); background: var(--teal-50); color: var(--teal-900); }

.badge-coming {
  display: inline-flex; align-items: center; gap: 9px;
  color: rgba(220,235,233,.7);
  font-size: 14px; font-weight: 500;
  padding: 14px 20px; border-radius: var(--r-3);
  border: 1px dashed rgba(255,255,255,.18);
  min-height: 44px;
}

.chip {
  font-size: 12.5px; font-weight: 500; color: rgba(220,235,233,.9);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 6px 12px; border-radius: var(--r-pill);
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  background: radial-gradient(1100px 560px at 72% -8%, rgba(42,144,153,.30), transparent 62%),
              linear-gradient(180deg, #062123 0%, #0a3236 100%);
  color: var(--on-dark);
  padding: clamp(56px,8vw,104px) var(--section-x) clamp(64px,9vw,108px);
}
.hero-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: clamp(36px,5vw,68px); align-items: center;
}
.hero-content { flex: 1 1 448px; min-width: 300px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--green-500); margin-bottom: 20px;
}
.eyebrow--teal { color: var(--teal-700); }
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(65,201,122,.18);
}
.hero-title {
  font-size: var(--t-h1); line-height: 1.03; letter-spacing: -.032em; font-weight: 700;
  color: var(--on-dark-hi); margin: 0 0 22px;
}
.hero-title em { color: var(--green-500); font-style: normal; }
.hero-lead {
  font-size: clamp(16.5px,1.7vw,19.5px); line-height: 1.62; color: var(--on-dark-soft);
  max-width: 33em; margin: 0 0 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-version {
  margin-top: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-mut);
}
.hero-version a { color: var(--green-500); font-weight: 500; }
.hero-version a:hover { color: var(--green-500); }

.hero-media { flex: 1 1 420px; min-width: 300px; position: relative; }
.hero-frame {
  position: relative; border-radius: var(--r-5); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
  animation: su-float 7s ease-in-out infinite;
}
.hero-frame img { display: block; width: 100%; height: auto; }
.hero-status {
  position: absolute; left: -14px; bottom: 22px;
  display: flex; align-items: center; gap: 9px;
  background: #082a2c; border: 1px solid rgba(65,201,122,.4);
  border-radius: var(--r-4); padding: 11px 15px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.7);
}
.hero-status-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--green-500);
  animation: su-pulse 2.4s ease-in-out infinite;
}
.hero-status-text { font-size: 13px; font-weight: 600; color: #eafaf0; }

/* ============================================================================
   BRIDGE
   ============================================================================ */
.bridge {
  scroll-margin-top: var(--nav-offset);
  padding: clamp(56px,8vw,96px) var(--section-x);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
}
.bridge-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.bridge-heading {
  font-size: clamp(26px,3.6vw,40px); line-height: 1.1; letter-spacing: -.02em; font-weight: 600;
  color: var(--teal-950); margin: 0 auto 40px; max-width: 16em;
}
.bridge-note {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-3); max-width: 44em; margin: 0 auto;
}
.bridge-note strong { color: var(--teal-900); }

.bridge-diagram { display: flex; align-items: stretch; justify-content: center; gap: 8px; margin-bottom: 26px; }
.bridge-node {
  flex: 0 1 210px; background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-4); padding: 20px 16px;
  box-shadow: 0 1px 2px rgba(20,24,26,.04), 0 20px 44px -28px rgba(20,24,26,.3);
}
.bridge-node--dark {
  background: var(--teal-950); border-color: var(--teal-950);
  box-shadow: 0 20px 44px -24px rgba(6,33,35,.6);
}
.bridge-node-icon {
  width: 42px; height: 42px; border-radius: var(--r-3); background: var(--teal-50);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
  color: var(--teal-800); font-weight: 700; font-size: 16px;
}
.bridge-node-icon--accent { background: var(--green-500); }
.bridge-node-title { font-weight: 600; font-size: 14.5px; color: var(--teal-950); }
.bridge-node-title--light { color: var(--on-dark-hi); }
.bridge-node-sub { font-size: 12.5px; color: var(--ink-4); margin-top: 4px; line-height: 1.45; }
.bridge-node-sub--light { color: rgba(220,235,233,.68); }

.bridge-connector {
  position: relative; flex: 1 1 60px; min-width: 48px; align-self: center; height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--teal-500) 0 8px, transparent 8px 16px);
  background-size: 16px 2px;
  animation: su-dash 1.1s linear infinite;
}
.bridge-dot {
  position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--green-500); transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(65,201,122,.16);
  animation: su-flow 2.4s ease-in-out infinite;
}
.bridge-dot--delay { animation-delay: .6s; }

.bridge-diagram-mobile { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 24px; }
.bridge-mobile-card {
  width: 100%; max-width: 320px; background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-4); padding: 16px; display: flex; align-items: center; gap: 13px;
}
.bridge-mobile-card--dark { background: var(--teal-950); border-color: var(--teal-950); }
.bridge-mobile-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--teal-50);
  display: flex; align-items: center; justify-content: center; color: var(--teal-800);
  font-weight: 700; flex: none;
}
.bridge-mobile-icon--accent { background: var(--green-500); }
.bridge-mobile-text { text-align: left; }
.bridge-mobile-title { font-weight: 600; font-size: 14.5px; color: var(--teal-950); }
.bridge-mobile-title--light { color: var(--on-dark-hi); }
.bridge-mobile-sub { font-size: 12.5px; color: var(--ink-4); }
.bridge-mobile-sub--light { color: rgba(220,235,233,.68); }
.bridge-mobile-connector {
  width: 2px; height: 26px;
  background-image: repeating-linear-gradient(180deg, var(--teal-500) 0 6px, transparent 6px 12px);
  background-size: 2px 12px;
}

@media (max-width: 880px) { .bridge-diagram { display: none; } }
@media (min-width: 880.02px) { .bridge-diagram-mobile { display: none; } }

/* ============================================================================
   SECTION INTRO (shared eyebrow + h2 + lead pattern)
   ============================================================================ */
.section {
  scroll-margin-top: var(--nav-offset);
  padding: var(--section-y) var(--section-x);
}
.section-intro { max-width: 40em; margin-bottom: 44px; }
.section-intro--narrow { max-width: 38em; }
.section-intro--wide { max-width: 42em; }
.section-h2 {
  font-size: var(--t-h2); line-height: 1.08; letter-spacing: var(--tracking-h2); font-weight: 600;
  color: var(--teal-950); margin: 0 0 16px;
}
.section-h2--light { color: var(--on-dark-hi); }
.section-lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-3); margin: 0; }
.section-lead--light { color: rgba(220,235,233,.8); }

/* Alternating band: bg-soft + rule top and bottom (How it works, Services) */
.band {
  scroll-margin-top: var(--nav-offset);
  padding: var(--section-y) var(--section-x);
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.container--faq { max-width: 820px; margin: 0 auto; padding: 0 var(--section-x); }

/* ============================================================================
   WHY SWITCH / GA CONTRAST
   ============================================================================ */
.contrast-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 16px; }
.contrast-card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-4);
  padding: 20px; box-shadow: 0 1px 2px rgba(20,24,26,.03);
}
.contrast-label {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 14px;
}
.contrast-row { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--ink-4); }
.contrast-row--pos { color: var(--teal-950); font-weight: 500; margin-bottom: 0; }
.contrast-row span { font-size: 13.5px; }

.note-muted { font-size: 14px; color: var(--ink-3); margin: 24px 0 0; max-width: 58em; }
.note-muted strong { color: var(--teal-900); }
.note-fine { font-size: 12.5px; color: var(--ink-4); margin: 12px 0 0; max-width: 52em; }

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */
.how-grid {
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: clamp(36px,5vw,64px); align-items: center;
}
.how-content { flex: 1 1 400px; min-width: 290px; }
.how-steps { display: flex; flex-direction: column; gap: 6px; }
.step { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.step:last-child { border-bottom: 1px solid var(--rule); }
.step-num {
  flex: none; width: 30px; height: 30px; border-radius: var(--r-pill);
  background: var(--teal-950); color: #fff;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.step-num--accent { background: var(--green-500); color: var(--teal-950); font-weight: 600; }
.step-title { font-weight: 600; font-size: 16px; color: var(--teal-950); margin-bottom: 3px; }
.step-desc { font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }
.kbd {
  font-family: var(--font-mono); font-size: 13px; background: var(--teal-50);
  padding: 1px 6px; border-radius: 5px; color: var(--teal-900);
}
.how-media { flex: 1 1 400px; min-width: 290px; }
.media-frame {
  border-radius: var(--r-4); overflow: hidden; border: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgba(20,24,26,.05), 0 30px 60px -32px rgba(20,24,26,.4);
}
.media-frame img { display: block; width: 100%; height: auto; }

/* ============================================================================
   FEATURES
   ============================================================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; }
.feature-card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-4);
  padding: 24px; box-shadow: 0 1px 2px rgba(20,24,26,.03);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--r-3); background: var(--teal-50);
  color: var(--teal-700); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon--accent { background: var(--green-50); color: var(--green-600); }
.feature-title { font-size: var(--t-h3); font-weight: 600; color: var(--teal-950); margin: 0 0 7px; }
.feature-desc { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin: 0; }
.code-inline { font-family: var(--font-mono); font-size: 12.5px; color: var(--teal-800); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip-check {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3);
  background: var(--teal-50); border: 1px solid var(--teal-100); padding: 8px 14px; border-radius: var(--r-pill);
}

/* ============================================================================
   INTEGRATIONS (dark)
   ============================================================================ */
.integrations {
  scroll-margin-top: var(--nav-offset);
  padding: var(--section-y) var(--section-x);
  background: radial-gradient(1000px 500px at 20% 0%, rgba(42,144,153,.22), transparent 60%),
              linear-gradient(180deg, #0a3236, #062123);
  color: var(--on-dark);
}
.integrations-grid {
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: clamp(36px,5vw,64px); align-items: center;
}
.integrations-content { flex: 1 1 420px; min-width: 290px; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.stack-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-3); padding: 10px 14px;
}
.stack-chip--active { background: rgba(65,201,122,.14); border-color: rgba(65,201,122,.35); }
.stack-chip-icon {
  width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #cfe3e1;
}
.stack-chip--active .stack-chip-icon { background: var(--green-500); color: var(--teal-950); }
.stack-chip-label { font-size: 14px; font-weight: 500; color: #eef5f4; }

.code-block {
  background: #03191b; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-3);
  padding: 16px 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7;
  color: #bfe6cf; overflow-x: auto;
}
.code-block .cmt { color: #6f9a97; }
.code-block .fn { color: #7fd0a3; }
.code-block .str { color: #e9c37a; }

.integrations-media { flex: 1 1 400px; min-width: 290px; }
.integrations-media .media-frame {
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px -34px rgba(0,0,0,.7);
}

/* ============================================================================
   SCREENS / PRODUCT IN ACTION
   ============================================================================ */
.screens-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; }
.screen-figure { margin: 0; }
.screen-frame {
  border-radius: 13px; overflow: hidden; border: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgba(20,24,26,.04), 0 24px 50px -34px rgba(20,24,26,.3);
}
.screen-frame img { display: block; width: 100%; height: auto; }
.screen-caption { font-size: 13px; color: var(--ink-4); margin-top: 10px; }

/* ============================================================================
   SERVICES
   ============================================================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 16px; }
.service-card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-4);
  padding: 24px; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(20,24,26,.03);
}
.service-title { font-size: 16.5px; font-weight: 600; color: var(--teal-950); margin: 0 0 6px; }
.service-desc { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); margin: 0 0 18px; flex: 1; }
.service-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 16px; }
.service-price { font-family: var(--font-mono); font-size: 28px; font-weight: 600; color: var(--teal-950); }
.service-price-suffix { font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--ink-4); }
.service-price-request { font-size: 16px; font-weight: 600; color: var(--ink-4); }

/* ============================================================================
   EXPLORE UMAMI
   ============================================================================ */
.explore-band {
  padding: clamp(38px,6vw,64px) var(--section-x);
  background: var(--bg-soft);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.explore-inner {
  max-width: 940px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px 16px; text-align: center;
}
.explore-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700);
}
.explore-text { font-size: 15.5px; line-height: 1.6; color: var(--ink-3); margin: 0; max-width: 62ch; }
.explore-text strong { color: var(--teal-900); }
.explore-figure { margin: 22px 0 0; width: 100%; max-width: 760px; }
.explore-figure-caption { font-size: 13px; color: var(--ink-4); margin-top: 10px; }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq-head { text-align: center; margin-bottom: 40px; }
.faq-title { margin: 0; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 4px; font-family: inherit; min-height: 44px;
}
.faq-question-text { font-size: clamp(16px,1.8vw,18px); font-weight: 600; color: var(--teal-900); }
.faq-item.is-open .faq-question-text { color: var(--teal-950); }
.faq-icon {
  flex: none; font-size: 22px; font-weight: 400; line-height: 1; display: inline-block;
  transition: transform .3s ease; color: var(--teal-700);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); color: var(--green-600); }
.faq-panel {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .4s ease, opacity .25s ease;
}
.faq-item.is-open .faq-panel {
  max-height: 360px; opacity: 1;
  transition: max-height .5s ease, opacity .4s ease .04s;
}
.faq-answer { font-size: 15px; line-height: 1.62; color: var(--ink-3); margin: 0; padding: 0 4px 24px; max-width: 62ch; }

/* ============================================================================
   FINAL CTA
   ============================================================================ */
.final-cta {
  scroll-margin-top: var(--nav-offset);
  padding: clamp(64px,9vw,110px) var(--section-x);
  background: radial-gradient(900px 460px at 50% -10%, rgba(65,201,122,.16), transparent 62%),
              linear-gradient(180deg, #062123, #0a3236);
  color: var(--on-dark); text-align: center;
}
.final-cta-inner { max-width: 760px; margin: 0 auto; }
.final-cta-title {
  font-size: var(--t-h2-cta); line-height: 1.05; letter-spacing: -.028em; font-weight: 700;
  color: var(--on-dark-hi); margin: 0 0 18px;
}
.final-cta-lead { font-size: clamp(16px,1.7vw,19px); line-height: 1.6; color: var(--on-dark-soft); margin: 0 auto 30px; max-width: 36em; }
.final-cta-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.final-cta-note { font-size: 13px; color: var(--on-dark-mut); margin: 22px 0 0; }
.final-cta-note a { color: var(--green-500); font-weight: 500; }
.final-cta-note a:hover { color: var(--green-500); }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer { background: #04191b; color: rgba(220,235,233,.72); padding: clamp(48px,7vw,80px) var(--section-x) 34px; }
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 64px; padding-bottom: 40px; border-bottom: 1px solid var(--on-dark-line); }
.footer-brand-col { flex: 1 1 300px; min-width: 250px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand-mark {
  width: 32px; height: 32px; border-radius: var(--r-2); background: var(--green-500);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.footer-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand-name { font-weight: 700; font-size: 16px; color: #fff; }
.footer-brand-sub { font-size: 11px; color: rgba(220,235,233,.55); }
.footer-tagline { font-size: 13.5px; line-height: 1.6; color: rgba(220,235,233,.68); margin: 0 0 16px; max-width: 34em; }
.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: var(--r-2); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; color: rgba(220,235,233,.8);
}
.footer-social-btn:hover { background: rgba(255,255,255,.06); color: #fff; }
.footer-email { font-size: 13.5px; color: rgba(220,235,233,.8); }
.footer-email:hover { color: #fff; }

.footer-col { flex: 0 1 auto; min-width: 130px; }
.footer-col-title {
  font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(220,235,233,.45); margin-bottom: 14px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-col-links a { color: rgba(220,235,233,.78); }
.footer-col-links a:hover { color: #fff; }

.footer-credit-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--on-dark-line); }
.footer-credit-icon {
  width: 34px; height: 34px; border-radius: var(--r-2);
  background: rgba(65,201,122,.14); border: 1px solid rgba(65,201,122,.3);
  display: flex; align-items: center; justify-content: center; flex: none; color: var(--green-500);
}
.footer-credit-text { font-size: 13.5px; line-height: 1.6; color: rgba(220,235,233,.75); margin: 0; max-width: 64em; }
.footer-credit-text a { color: var(--green-500); font-weight: 500; }
.footer-credit-text a:hover { color: var(--green-500); }
.footer-credit-text strong { color: rgba(220,235,233,.9); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12.5px; color: rgba(220,235,233,.5);
}
.footer-bottom a { color: rgba(220,235,233,.62); }
.footer-bottom a:hover { color: #fff; }
.back-to-top { display: inline-flex; align-items: center; gap: 7px; color: rgba(220,235,233,.6); }
.back-to-top:hover { color: #fff; }

/* ============================================================================
   LEGAL PAGES
   ============================================================================ */
.legal-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,33,35,.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.legal-nav-row { max-width: 900px; margin: 0 auto; padding: 11px var(--section-x); display: flex; align-items: center; gap: 16px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 7px; color: rgba(220,235,233,.82);
  font-size: 13.5px; font-weight: 500; padding: 8px 12px; border-radius: 8px; min-height: 44px;
}
.legal-back:hover { color: #fff; background: rgba(255,255,255,.07); }

.legal-main { max-width: 760px; margin: 0 auto; padding: clamp(44px,7vw,80px) var(--section-x) 40px; }
.legal-h1 {
  font-size: clamp(30px,5vw,44px); line-height: 1.06; letter-spacing: -.025em; font-weight: 700;
  color: var(--teal-950); margin: 0 0 14px;
}
.legal-updated { font-size: 14px; color: var(--ink-4); margin: 0 0 10px; }
.legal-updated span { font-family: var(--font-mono); }
.mono { font-family: var(--font-mono); font-size: 13px; }
.brand-name--sm { font-size: 15px; }
.legal-section { margin-bottom: 34px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-h2 { font-size: 21px; font-weight: 600; color: var(--teal-950); letter-spacing: -.01em; margin: 0 0 12px; }
.legal-p { font-size: 15.5px; line-height: 1.7; color: var(--ink-3); margin: 0 0 14px; }
.legal-p:last-child { margin-bottom: 0; }
.legal-p strong { color: var(--teal-900); }
.legal-list { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal-list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.65; color: var(--ink-3); }
.legal-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green-500);
}
.legal-list strong { color: var(--teal-900); }

.legal-footer { background: #04191b; color: rgba(220,235,233,.72); padding: 34px var(--section-x); margin-top: 30px; }
.legal-footer-inner { max-width: 760px; margin: 0 auto; }
.legal-footer-credit { font-size: 13px; line-height: 1.6; color: rgba(220,235,233,.7); margin: 0 0 18px; max-width: 64em; }
.legal-footer-credit a { color: var(--green-500); font-weight: 500; }
.legal-footer-credit a:hover { color: var(--green-500); }
.legal-footer-credit strong { color: rgba(220,235,233,.9); }
.legal-footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,.09);
  font-size: 12.5px; color: rgba(220,235,233,.5);
}
.legal-footer-bottom a { color: rgba(220,235,233,.6); }
.legal-footer-bottom a:hover { color: #fff; }
.legal-footer-links { display: flex; gap: 16px; }

/* ============================================================================
   LIGHTBOX (screenshots — hero excluded)
   ============================================================================ */
.zoom-trigger {
  display: block; width: 100%; margin: 0; padding: 0; border: 0;
  background: none; text-align: left; cursor: zoom-in; position: relative;
}
.zoom-affordance {
  position: absolute; right: 10px; bottom: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(6,33,35,.72); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: .85; transition: opacity .2s ease, transform .2s ease;
}
.zoom-trigger:hover .zoom-affordance,
.zoom-trigger:focus-visible .zoom-affordance {
  opacity: 1; transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .zoom-affordance { transition: none; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 5vw, 48px);
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(4,20,22,.88);
}
.lightbox-dialog {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: min(1200px, 100%); max-height: 100%;
  opacity: 0; transform: scale(.97);
  transition: opacity .2s ease, transform .2s ease;
}
.lightbox.is-open .lightbox-dialog { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lightbox-dialog { transition: none; }
}
.lightbox-media {
  max-width: 100%; max-height: calc(100vh - 140px);
  border-radius: var(--r-4); overflow: hidden;
  box-shadow: var(--shadow-lift); line-height: 0;
}
.lightbox-media picture, .lightbox-media img {
  display: block; max-width: 100%; max-height: calc(100vh - 140px);
  width: auto; height: auto; object-fit: contain;
}
.lightbox-caption {
  color: var(--on-dark-soft); font-size: 13.5px; line-height: 1.5;
  margin: 16px 0 0; text-align: center; max-width: 70ch;
}
.lightbox-close {
  position: absolute; top: -14px; right: -14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-950); border: 1px solid rgba(255,255,255,.18);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 24px -8px rgba(0,0,0,.6);
}
.lightbox-close:hover { background: var(--teal-800); }

/* ---- Responsive base: fluid, no horizontal scroll ---- */
html, body { max-width: 100%; overflow-x: hidden; }
