/* ========================================================================
   LongData — Global Health Data Infrastructure
   Design System & Component Stylesheet
   ======================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette — sovereign teal + warm ink + parchment */
  --bg:           #f7f5f0;
  --bg-elev:      #ffffff;
  --bg-deep:      #0a1d22;
  --bg-panel:     #0f2a31;
  --bg-card:     #fbfaf6;

  --ink:          #0a1d22;
  --ink-soft:     #2c3a3f;
  --ink-mute:     #5a6a70;
  --ink-faint:    #8b9aa0;
  --line:         #e4ddd0;
  --line-soft:    #efebe2;

  --teal:         #0d8c7f;   /* primary brand */
  --teal-deep:    #09645c;
  --teal-soft:    #e7f3f0;
  --teal-glow:    rgba(13, 140, 127, 0.18);

  --ember:        #d97338;   /* accent: urgency / sovereignty */
  --ember-soft:   #fbe9dc;
  --gold:         #c19a3a;   /* accent: institutional trust */
  --gold-soft:    #f5edd6;

  --shadow-sm:    0 1px 2px rgba(10, 29, 34, 0.04), 0 1px 3px rgba(10, 29, 34, 0.06);
  --shadow-md:    0 4px 12px rgba(10, 29, 34, 0.06), 0 2px 6px rgba(10, 29, 34, 0.04);
  --shadow-lg:    0 18px 48px rgba(10, 29, 34, 0.10), 0 6px 16px rgba(10, 29, 34, 0.05);
  --shadow-xl:    0 40px 80px rgba(10, 29, 34, 0.14);

  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --font-sans:    'Inter', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --maxw:         1240px;
  --maxw-read:    760px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

/* Inline icon strokes resolve to currentColor in browsers so theme, variant
   and hover colors keep working. The concrete stroke="#hex" presentation
   attributes on each icon are deliberate fallbacks for renderers that do
   not apply CSS to SVG elements (HTML-to-PDF pipelines, sandboxed previews);
   CSS always overrides presentation attributes, so browser rendering is
   unchanged. Explicit width/height attributes serve the same purpose. */
.brand-mark svg, .btn svg, .link-arrow svg, .cost-icon svg, .track-bullet svg,
.chip-item svg, .check-item svg, .mini-icon svg, .split-point svg,
.phone-sync svg, .ai-prompt-label svg, .ai-arrow svg, .step-arrow svg,
.toast svg, .faq-item summary svg, .email-label svg { stroke: currentColor; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 400; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
p  { color: var(--ink-soft); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}
.eyebrow.light { color: var(--teal-soft); }
.eyebrow.light::before { background: var(--teal-soft); }
.eyebrow.center::before { display: none; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: var(--maxw-read); margin: 0 auto; padding: 0 1.5rem; }
section { position: relative; }
.section-pad { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-pad-sm { padding: clamp(3rem, 5vw, 4.5rem) 0; }

.bg-deep { background: var(--bg-deep); color: #d8e0e3; }
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4 { color: #fff; }
.bg-deep p { color: #aab6bc; }
.bg-panel { background: var(--bg-panel); color: #d8e0e3; }
.bg-panel h1, .bg-panel h2, .bg-panel h3, .bg-panel h4 { color: #fff; }
.bg-panel p { color: #aab6bc; }
.bg-soft { background: var(--teal-soft); }
.bg-card { background: var(--bg-card); }

.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.28s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-deep); border-color: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.82rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal);
  transition: gap 0.25s var(--ease), color 0.2s;
}
.link-arrow:hover { gap: 0.75rem; color: var(--teal-deep); }
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow.light { color: #fff; }
.link-arrow.light:hover { color: var(--teal-soft); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 245, 240, 0.95);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header.on-dark {
  background: rgba(10, 29, 34, 0.55);
}
.site-header.on-dark.scrolled {
  background: rgba(10, 29, 34, 0.92);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.site-header.on-dark .brand { color: #fff; }
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--teal);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 50%);
}
.brand-mark svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.brand-dot { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}
.site-header.on-dark .nav-links a { color: #cdd8dc; }
.nav-links a:hover { color: var(--ink); background: rgba(13, 140, 127, 0.08); }
.site-header.on-dark .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--teal); }
.site-header.on-dark .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.9rem; right: 0.9rem;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.site-header.on-dark .nav-links a.active::after { background: #fff; }

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(85vw, 380px);
  background: var(--bg-elev);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 6rem 2rem 2rem;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 29, 34, 0.4);
  backdrop-filter: blur(2px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { margin: 1.5rem 0 1.5rem; }
.hero h1 .accent { color: var(--teal); font-style: italic; }
.hero-lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: block;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-top: 0.2rem;
}

/* Hero visual — schematic data grid */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
.schematic {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.schematic::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 30%, var(--teal-glow), transparent 60%);
  pointer-events: none;
}
.schematic-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,140,127,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,140,127,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}
.schematic-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.schematic-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--teal-soft);
}
.schematic-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: rgba(13, 140, 127, 0.2);
  border: 1px solid rgba(13, 140, 127, 0.4);
  border-radius: 999px;
}
.schematic-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(13,140,127,0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(13,140,127,0); }
}
.schematic-tables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.schema-tbl {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #cdd8dc;
  transition: all 0.3s;
}
.schema-tbl:hover { background: rgba(13,140,127,0.15); border-color: rgba(13,140,127,0.4); }
.schema-tbl .tbl-name {
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
}
.schema-tbl .row {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-bottom: 3px;
}
.schema-tbl .row.accent { background: var(--teal); width: 70%; }
.schema-tbl .row.short { width: 50%; }
.schematic-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
}
.schematic-legend { display: flex; gap: 1rem; }
.schematic-legend span { display: flex; align-items: center; gap: 0.3rem; }
.schematic-legend i {
  width: 8px; height: 8px;
  border-radius: 2px;
  display: inline-block;
}

/* ---------- Section Header ---------- */
.sec-head { max-width: 720px; margin-bottom: 3rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { margin-top: 0.8rem; }
.sec-head p { margin-top: 1rem; font-size: 1.1rem; }

/* ---------- Cost Card Grid (problem section) ---------- */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cost-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.cost-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.cost-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ember-soft); }
.cost-card:hover::before { transform: scaleX(1); }
.cost-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--ember-soft);
  color: var(--ember);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.cost-icon svg { width: 22px; height: 22px; }
.cost-card h3 { margin-bottom: 0.6rem; }
.cost-card p { font-size: 0.95rem; }

/* ---------- Feature List (Engineered for Resilience) ---------- */
.feature-list { display: grid; gap: 0; }
.feature-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding 0.3s var(--ease);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row:hover { padding-left: 0.5rem; }
.feature-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.feature-num::before { content: '0'; }
.feature-content h3 { margin-bottom: 0.5rem; }
.feature-content p { font-size: 0.96rem; }
.feature-detail {
  font-size: 0.92rem;
  color: var(--ink-mute);
  line-height: 1.65;
}
.feature-detail strong { color: var(--ink); font-weight: 600; }

/* ---------- Validation band ---------- */
.validation-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.validation-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.validation-stats { display: grid; gap: 1.5rem; }
.vstat {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.vstat:last-child { border-bottom: 0; padding-bottom: 0; }
.vstat .vnum {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: -0.025em;
  line-height: 1;
  flex-shrink: 0;
}
.vstat .vlabel { font-size: 0.95rem; color: var(--ink-soft); }
.vstat .vlabel strong { color: var(--ink); display: block; font-weight: 600; }

/* ---------- Track cards (Partner section) ---------- */
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.track-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.track-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.35rem 0.7rem;
  background: var(--teal-soft);
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.track-card.alt .track-tag { color: var(--ember); background: var(--ember-soft); }
.track-card h3 { margin-bottom: 0.4rem; font-size: 1.5rem; }
.track-sub { font-size: 0.95rem; color: var(--ink-mute); margin-bottom: 1.5rem; font-style: italic; }
.track-card p { font-size: 0.96rem; margin-bottom: 1.2rem; }
.track-bullet {
  display: flex;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.track-bullet svg {
  width: 18px; height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.track-card.alt .track-bullet svg { color: var(--ember); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--bg-deep);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 20% 30%, var(--teal-glow), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(217,115,56,0.12), transparent 50%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: #cdd8dc; max-width: 540px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.form-section { margin-bottom: 2.5rem; }
.form-section:last-child { margin-bottom: 0; }
.form-section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.form-section-sub { font-size: 0.9rem; color: var(--ink-mute); margin-bottom: 1.5rem; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field-grid .field { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.field label .req { color: var(--ember); }
.field input[type="text"],
.field input[type="email"],
.field input[type="date"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--ink);
  transition: all 0.25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px var(--teal-glow);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6a70' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.choice-group { display: grid; gap: 0.5rem; }
.choice-group.cols-2 { grid-template-columns: 1fr 1fr; }
.choice-group.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.92rem;
}
.choice:hover { border-color: var(--teal); background: #fff; }
.choice input { margin-top: 2px; accent-color: var(--teal); }
.choice:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--ink);
}
.choice:has(input:checked) input { accent-color: var(--teal-deep); }

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.form-note { font-size: 0.82rem; color: var(--ink-mute); }

/* Compliance registry table */
.registry-list {
  display: grid;
  gap: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.registry-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.registry-row:last-child { border-bottom: 0; }
.registry-row:hover { background: var(--bg-card); }
.registry-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  font-weight: 600;
}
.registry-value { font-size: 0.98rem; color: var(--ink); font-weight: 500; }
.registry-value.mono { font-family: var(--font-mono); font-size: 0.92rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: clamp(8rem, 12vw, 10rem) 0 clamp(3rem, 5vw, 4.5rem);
  background: var(--bg-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, var(--teal-glow), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(217,115,56,0.08), transparent 50%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero h1 .accent { color: var(--teal); font-style: italic; }
.page-hero .lead { color: #cdd8dc; max-width: 720px; margin-top: 1.5rem; font-size: 1.15rem; }
.page-hero .eyebrow { color: var(--teal-soft); }
.page-hero .eyebrow::before { background: var(--teal-soft); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta span::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Security spec sections ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.spec-nav {
  position: sticky;
  top: 100px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.spec-nav-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.spec-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  border-radius: 6px;
  color: var(--ink-soft);
  transition: all 0.2s;
  margin-bottom: 0.15rem;
}
.spec-nav a:hover { background: var(--teal-soft); color: var(--teal-deep); }
.spec-nav a.active { background: var(--teal-soft); color: var(--teal-deep); font-weight: 600; }
.spec-nav .spec-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal);
  margin-right: 0.5rem;
}

.spec-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-block:first-child { padding-top: 0; }
.spec-block:last-child { border-bottom: 0; }
.spec-block h2 { margin: 0.6rem 0 1.2rem; }
.spec-block p { margin-bottom: 1rem; font-size: 1rem; }

.spec-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.spec-item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: all 0.25s var(--ease);
}
.spec-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.spec-item h4 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.spec-item p { font-size: 0.92rem; margin: 0; color: var(--ink-soft); }

/* Architecture diagram */
.arch-diagram {
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.arch-layer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  transition: all 0.25s;
}
.arch-layer:hover { background: rgba(13,140,127,0.15); border-color: rgba(13,140,127,0.4); }
.arch-layer-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13,140,127,0.18);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  min-width: 90px;
  text-align: center;
}
.arch-flow {
  width: 14px;
  height: 24px;
  margin: 0 auto 0.6rem;
  color: var(--ink-faint);
}
.arch-flow svg { width: 100%; height: 100%; }

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-cell {
  padding: 2rem;
  border-right: 1px solid var(--line-soft);
  text-align: left;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell .stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-cell .stat-num .suffix { font-size: 1.4rem; color: var(--ink); }
.stat-cell .stat-label {
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ---------- Quote / Callout ---------- */
.callout {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  padding: 1.6rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.callout p { color: var(--ink); font-size: 1.02rem; margin: 0; }
.callout strong { color: var(--teal-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: #cdd8dc;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: #8b9aa0; font-size: 0.92rem; max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a {
  color: #cdd8dc;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.footer-bottom .compliance {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}
.footer-bottom .compliance span {
  padding: 0.3rem 0.6rem;
  background: rgba(13,140,127,0.15);
  border: 1px solid rgba(13,140,127,0.3);
  border-radius: 4px;
  color: var(--teal-soft);
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ---------- Toast (form submission) ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--ink);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  z-index: 200;
  transform: translateY(150%);
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s, opacity 0.3s ease;
  visibility: hidden;
  opacity: 0;
}
.toast.show {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.toast svg { width: 20px; height: 20px; color: var(--teal); }

/* ---------- Decorative blob ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 2rem auto 0; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }

  .cost-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 60px 1fr; gap: 1.5rem; }
  .feature-row .feature-detail { grid-column: 2; padding-top: 0; }

  .validation-band, .track-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--line-soft); }

  .spec-grid { grid-template-columns: 1fr; }
  .spec-nav { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .field-grid { grid-template-columns: 1fr; }
  .choice-group.cols-2, .choice-group.cols-3 { grid-template-columns: 1fr; }
  .registry-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat-cell:last-child { border-bottom: 0; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { justify-content: center; }
  .hero-stats { gap: 1.2rem; }
  .hero-stat .num { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ========================================================================
   Revised content components — v4 (single-page revision)
   Extends the design system above; same tokens, same visual language.
   ======================================================================== */

/* ---------- Footer legal links ---------- */
.footer-legal a { color: #cdd8dc; font-size: 0.82rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--teal); }
.footer-legal span { color: var(--ink-faint); }

/* ---------- Anchor offset for fixed header ---------- */
section[id] { scroll-margin-top: 96px; }

/* ---------- Chip row (inline labelled pills) ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.8rem 0;
}
.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.chip-item:hover { border-color: var(--teal); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chip-item svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }
.bg-deep .chip-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: #d8e0e3; }
.bg-deep .chip-item:hover { border-color: var(--teal); color: #fff; }

/* ---------- Check list (two-column checklist cards) ---------- */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1.8rem 0;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.check-item:hover { border-color: var(--teal); transform: translateX(4px); }
.check-item svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
.bg-deep .check-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: #d8e0e3; }
.bg-deep .check-item:hover { border-color: var(--teal); }

/* ---------- Mini card grid (icon cards) ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.mini-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mini-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.mini-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-soft); }
.mini-card:hover::before { transform: scaleX(1); }
.mini-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.mini-icon svg { width: 20px; height: 20px; }
.mini-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.mini-card p { font-size: 0.92rem; }

/* ---------- Trio statements (A Different Approach) ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.trio-item {
  border-top: 2px solid var(--teal);
  padding-top: 1.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}
.trio-item .trio-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--teal-soft);
  margin-bottom: 0.6rem;
}

/* ---------- Split layout (content + visual) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.split .sec-head { margin-bottom: 1.2rem; }
.split-points { display: grid; gap: 0.85rem; margin-top: 1.6rem; }
.split-point {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.split-point svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.split-point strong { color: var(--ink); }

/* ---------- Phone mockup (Field Data Collection) ---------- */
.phone-wrap { position: relative; }
.phone-wrap::before {
  content: '';
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at 60% 30%, var(--teal-glow), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.phone {
  width: min(290px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: var(--bg-deep);
  border-radius: 30px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
}
.phone-screen {
  background: var(--bg-panel);
  border-radius: 21px;
  overflow: hidden;
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.1rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: #8b9aa0;
}
.phone-offline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(193,154,58,0.45);
  background: rgba(193,154,58,0.12);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}
.phone-offline::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.phone-title {
  padding: 0.5rem 1.1rem 0.2rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}
.phone-sub {
  padding: 0 1.1rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #8b9aa0;
}
.phone-form { padding: 0 1rem 0.4rem; display: grid; gap: 0.55rem; }
.phone-field {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  padding: 0.55rem 0.7rem;
}
.phone-field .pf-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  color: #8b9aa0;
  margin-bottom: 0.3rem;
}
.phone-field .pf-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.14);
}
.phone-field .pf-line.short { width: 58%; }
.phone-field.done { border-color: rgba(13,140,127,0.5); }
.phone-field.done .pf-line { background: var(--teal); opacity: 0.85; }
.phone-sync {
  margin: 0.6rem 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,140,127,0.12);
  border: 1px solid rgba(13,140,127,0.35);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: #7fd8cc;
}
.phone-sync svg { width: 13px; height: 13px; }

/* ---------- AI visual (prompt -> XLSX structure) ---------- */
.ai-visual { display: grid; gap: 0.9rem; }
.ai-prompt {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.ai-prompt-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.ai-prompt-label svg { width: 14px; height: 14px; color: var(--teal); }
.ai-prompt p { font-size: 0.95rem; font-style: italic; color: var(--ink-soft); }
.ai-prompt p strong { color: var(--ink); font-style: normal; }
.ai-arrow { display: grid; place-items: center; color: var(--teal); }
.ai-arrow svg { width: 20px; height: 20px; }
.ai-sheet {
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.3rem 1.3rem;
  box-shadow: var(--shadow-lg);
  color: #cdd8dc;
  position: relative;
  overflow: hidden;
}
.ai-sheet::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 80% 0%, var(--teal-glow), transparent 55%);
  pointer-events: none;
}
.ai-sheet-tab {
  position: absolute;
  top: 0;
  left: 1.3rem;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 8px 8px;
}
.ai-sheet-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr 0.6fr;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
}
.ai-cell {
  padding: 0.45rem 0.55rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-cell.head { color: var(--teal-soft); background: rgba(13,140,127,0.16); }
.ai-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #8b9aa0;
}

/* ---------- Tech / tool pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.8rem 0; }
.pill {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.pill:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.bg-deep .pill { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: #d8e0e3; }
.bg-deep .pill:hover { border-color: var(--teal); color: #fff; }

/* ---------- Large display quote ---------- */
.quote-lg {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 840px;
  margin: 2.2rem 0 0;
  padding-left: 1.6rem;
  border-left: 3px solid var(--teal);
}
.bg-deep .quote-lg { color: #fff; }

/* ---------- Step flow (The LongData Approach) ---------- */
.step-flow { max-width: 620px; margin: 2.5rem auto 0; }
.step {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.5rem;
  transition: all 0.25s var(--ease);
}
.step:hover { border-color: var(--teal); transform: translateX(4px); }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.step-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.step-arrow { display: grid; place-items: center; color: var(--ink-faint); padding: 0.2rem 0 0.2rem 1.9rem; }
.step-arrow svg { width: 15px; height: 15px; }

/* ---------- Duo statements (AI section) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.8rem; }
.duo-item {
  border-left: 3px solid var(--teal);
  padding: 0.35rem 0 0.35rem 1.2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

/* ---------- Story panel (Built in the Field) ---------- */
.story-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.story-panel::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 85% 15%, var(--teal-glow), transparent 55%);
  pointer-events: none;
}
.story-panel > * { position: relative; }
.story-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.story-meta span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}
.story-panel h2 { max-width: 640px; }
.story-panel p { max-width: 680px; margin-top: 1rem; font-size: 1.02rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -3px; border-radius: var(--radius); }
.faq-item summary svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-body { padding: 0 1.4rem 1.25rem; font-size: 0.96rem; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Email cards ---------- */
.email-grid { display: grid; grid-template-columns: 1fr; gap: 0.8rem; margin: 1.8rem 0 2.2rem; }
.email-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  transition: all 0.25s var(--ease);
}
.email-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.email-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.email-label svg { width: 14px; height: 14px; color: var(--teal); }
.email-card a {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: break-word;
}
.email-card a:hover { color: var(--teal-deep); }

/* ---------- Contact split (emails + form) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-intro p { margin-bottom: 1rem; }
.contact-aside-cta { margin-top: 1.6rem; display: grid; gap: 0.9rem; }

/* ---------- Hero statement ---------- */
.hero-statement {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--teal);
  padding-left: 1.2rem;
  margin: 0 0 2rem;
  max-width: 540px;
}

/* ---------- Responsive additions ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split .split-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .mini-grid, .mini-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .trio { grid-template-columns: 1fr; gap: 1.2rem; }
  .duo { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ai-sheet-grid { font-size: 0.6rem; }
}
@media (max-width: 640px) {
  .check-list { grid-template-columns: 1fr; }
  .mini-grid, .mini-grid.cols-4 { grid-template-columns: 1fr; }
  .chip-row { gap: 0.5rem; }
  .hero-statement { font-size: 1.12rem; }
}

/* ---------- Multi-page navigation ---------- */
.mobile-menu a.active,
.mobile-menu a[aria-current="page"] { color: var(--teal); }
.page-hero .lead + .lead { margin-top: 1.1rem; }
