/* ==========================================================
   CustomsCopilot Landing — Modernized (v2)
   Built to the static-website-build-brief design system.
   ========================================================== */

:root {
  /* Brand */
  --teal:        #0D9488;
  --teal-light:  #5EEAD4;
  --teal-deep:   #0A7468;
  --teal-glow:   #14B8A6;
  --navy:        #0A2540;
  --navy-deep:   #051428;
  --navy-light:  #0D5F8A;
  --sky:         #7DD4F0;

  /* Neutrals (per brief tokens) */
  --ink:         #0F172A;
  --charcoal:    #1F2937;
  --slate:       #475569;
  --slate-light: #94A3B8;
  --mist:        #F1F5F9;
  --mist-deep:   #E2E8F0;
  --cream:       #FAF7F2;
  --cream-deep:  #F2EDE3;
  --white:       #FFFFFF;
  --offwhite:    #ECE9E4;   /* hero text — softer than pure white */

  /* Lines */
  --border-dark:    rgba(255,255,255,0.10);
  --border-darker:  rgba(255,255,255,0.06);
  --border-navy:    rgba(10,37,64,0.10);
  --border-navy-2:  rgba(10,37,64,0.16);

  /* Spacing (brief scale) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 40px;
  --s-9: 48px; --s-10: 64px; --s-11: 80px; --s-12: 112px;

  /* Radius (brief tech-leaning, tighter end) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06), 0 1px 1px rgba(15,23,42,0.04);
  --shadow-md: 0 6px 16px -4px rgba(15,23,42,0.10), 0 4px 8px -2px rgba(15,23,42,0.06);
  --shadow-lg: 0 24px 48px -12px rgba(15,23,42,0.18), 0 8px 16px -4px rgba(15,23,42,0.08);
  --shadow-accent: 0 8px 24px -8px rgba(13,148,136,0.45);

  /* Type */
  --f-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--teal);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  z-index: 1000;
  font-weight: 600;
  font-size: .875rem;
}
.skip-link:focus { left: 8px; outline: 2px solid var(--teal-light); }

/* ============ Utilities ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.container-narrow { max-width: 880px; }
.text-center { text-align: center; }
.t-right    { text-align: right; }
.mono       { font-family: var(--f-mono); font-feature-settings: "tnum" 1, "zero" 1; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--teal-light);
  font-weight: 500;
}

/* Icon sprite */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--f-body);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  padding: .75rem 1.125rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .25s ease;
  white-space: nowrap;
  letter-spacing: -.005em;
}
.btn:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.btn .icon { width: 1rem; height: 1rem; stroke-width: 2; }
.btn-lg { font-size: 1rem; padding: 1rem 1.5rem; }
.btn-sm { font-size: .8125rem; padding: .55rem 1rem; }
.btn-block { width: 100%; padding: .95rem 1rem; }

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: var(--shadow-accent);
}
.btn-teal:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(13,148,136,.55);
}
.btn-teal:active { transform: translateY(0); }

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover { background: rgba(13,148,136,.10); transform: translateY(-1px); }

.btn-outline-white {
  background: rgba(255,255,255,.04);
  color: var(--offwhite);
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.40);
  transform: translateY(-1px);
}

.btn-soft {
  background: rgba(10,37,64,.06);
  color: var(--navy);
  border-color: rgba(10,37,64,.08);
}
.btn-soft:hover {
  background: rgba(10,37,64,.10);
  border-color: rgba(10,37,64,.16);
  transform: translateY(-1px);
}

/* ============ Logo ============ */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: inherit;
  transition: opacity .15s;
}
.nav-logo:hover { opacity: .85; }
.logo-icon { width: 2.1rem; height: 2.1rem; flex-shrink: 0; }
.logo-icon-large { width: 3rem; height: 3rem; flex-shrink: 0; }
.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: .15rem;
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.02em;
}
.logo-text-large { font-size: 2rem; }
.logo-customs {
  background: linear-gradient(135deg, #0A2540 0%, #0D5F8A 50%, #7DD4F0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.logo-copilot {
  background: linear-gradient(135deg, #0A3D3A 0%, #0D9488 50%, #5EEAD4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.site-header.scrolled .logo-customs,
.site-header.scrolled .logo-copilot { /* keep colors */ }

/* ============ Header / Navigation ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
  animation: slideDown .55s cubic-bezier(.16,1,.3,1);
}
.site-header.scrolled {
  background: rgba(8,15,28,.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-dark);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px)  { .nav-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .nav-inner { padding: 0 2rem; height: 4.5rem; } }
.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,.78);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions {
  display: none;
  align-items: center;
  gap: .65rem;
}
.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: none;
  padding: .5rem;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-actions { display: inline-flex; }
  .nav-toggle { display: none; }
}
.mobile-menu {
  background: rgba(8,15,28,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-menu.open { max-height: 32rem; }
.mobile-menu a {
  display: block;
  padding: .9rem 1.25rem;
  color: rgba(255,255,255,.85);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border-darker);
}
.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-cta .btn { width: 100%; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* Language toggle (compact icon-style chip) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1;
  padding: .55rem .75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  letter-spacing: .08em;
  transition: background-color .2s, border-color .2s;
}
.lang-toggle:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }
.lang-toggle .icon { width: .9rem; height: .9rem; opacity: .8; }
.lang-toggle-mobile {
  width: 100%;
  padding: .85rem 1rem;
  font-size: .875rem;
  justify-content: center;
  border-color: rgba(255,255,255,.18);
}

/* Pulse on primary CTAs */
.pulse-animation {
  position: relative;
  animation: pulseTeal 2.8s ease-out infinite;
}
@keyframes pulseTeal {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20,184,166,.55), var(--shadow-accent); }
  50%      { box-shadow: 0 0 0 14px rgba(20,184,166,0), var(--shadow-accent); }
}

/* Fade-in / Reveal */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp .7s cubic-bezier(.22,1,.36,1) forwards;
}
.delay-0 { animation-delay: 0s; }
.delay-1 { animation-delay: .25s; }
.delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .55s; }
.delay-4 { animation-delay: .7s; }
.delay-5 { animation-delay: .85s; }
.delay-6 { animation-delay: 1.05s; }
.delay-7 { animation-delay: 1.4s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.word-anim {
  display: inline-block;
  margin-right: .25em;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeInUp .6s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--d, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 1rem 5rem;
  background: radial-gradient(ellipse at 50% 0%, #0c1f3a 0%, #050b18 55%, #02060f 100%);
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image:
    linear-gradient(rgba(13,148,136,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, rgba(13,148,136,.20), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(13,95,138,.22), transparent 60%);
}
.hero-bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(2,6,15,.6) 85%, var(--ink) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 70rem;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow-wrap { margin-bottom: 1.5rem; display: flex; justify-content: center; }
.hero-eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .9rem .45rem .55rem;
  border-radius: 9999px;
  background: rgba(13,148,136,.10);
  border: 1px solid rgba(94,234,212,.22);
  color: var(--teal-light);
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  backdrop-filter: blur(8px);
}
.hero-eyebrow-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 12px var(--teal-light);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 6.2vw, 4.5rem);
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: 1.5rem;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.hero-title .accent {
  color: var(--teal-light);
  background: linear-gradient(135deg, #5EEAD4 0%, #7DD4F0 60%, #99F6E4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(236,233,228,.75);
  max-width: 46rem;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.25rem 2rem;
  max-width: 52rem;
  margin: 0 auto 3.5rem;
  padding: 1.5rem 1.5rem;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
  .hero-stats { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem 2rem; }
}
.hero-stat { text-align: left; position: relative; padding-left: 1rem; }
.hero-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal-light), transparent);
  border-radius: 2px;
}
.hero-stat-value {
  font-family: var(--f-mono);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: .15rem;
  letter-spacing: -.02em;
}
@media (min-width: 640px) { .hero-stat-value { font-size: 1.875rem; } }
.hero-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 500;
}

/* Mock dashboard */
.dashboard-card {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.025) 100%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px -20px rgba(13,148,136,.30), 0 10px 30px -10px rgba(0,0,0,.6);
}
@media (min-width: 640px) { .dashboard-card { padding: 1.25rem; } }
.dashboard-glow {
  position: absolute;
  inset: -2rem;
  z-index: -1;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(13,148,136,.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 .25rem .75rem;
  border-bottom: 1px solid var(--border-darker);
}
.dashboard-dots { display: flex; gap: .5rem; }
.dot { width: .65rem; height: .65rem; border-radius: 9999px; display: inline-block; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }
.dashboard-url {
  font-family: var(--f-mono);
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.dashboard-url .icon { width: .85rem; height: .85rem; color: rgba(94,234,212,.7); }
.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .65rem;
  margin-bottom: 1rem;
}
.summary-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-darker);
  border-radius: var(--radius-md);
  padding: .85rem .9rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.summary-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  opacity: .4;
}
.summary-label {
  font-size: .68rem;
  color: rgba(255,255,255,.50);
  margin-bottom: .25rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}
.summary-value {
  font-family: var(--f-mono);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: -.02em;
}
.dashboard-table {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border-darker);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: .5rem;
  padding: .75rem .85rem;
  font-size: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  align-items: center;
  color: rgba(255,255,255,.85);
  text-align: left;
}
@media (min-width: 640px) { .table-row { grid-template-columns: 1.2fr 1.2fr 1.4fr .8fr 1fr; } }
.table-row:last-child { border-bottom: 0; }
.table-head {
  color: rgba(255,255,255,.45);
  font-weight: 500;
  background: rgba(255,255,255,.025);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .55rem .85rem;
}
.dim   { color: rgba(255,255,255,.55); }
.trunc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: block; } }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .55rem;
  border-radius: 9999px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.status-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-ready  { background: rgba(34,197,94,.15); color: #4ADE80; }
.status-review { background: rgba(234,179,8,.15); color: #FACC15; }
.status-filed  { background: rgba(94,234,212,.15); color: var(--teal-light); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.scroll-mouse {
  width: 1.25rem;
  height: 2.1rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,.28);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: .35rem 0;
}
.scroll-wheel {
  width: .25rem;
  height: .5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.55);
  display: block;
  animation: scrollHint 1.6s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--cream);
  padding: 4rem 0;
  color: var(--navy);
  position: relative;
  border-bottom: 1px solid var(--mist-deep);
}
@media (min-width: 640px) { .trust-bar { padding: 5rem 0; } }
.trust-eyebrow {
  text-align: center;
  font-family: var(--f-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--slate);
  margin-bottom: 1.75rem;
  font-weight: 500;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 3.5rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-md);
  padding: .55rem .9rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13,148,136,.30);
}
.trust-badge .icon {
  width: 1rem; height: 1rem;
  color: var(--teal);
  stroke-width: 1.8;
}
.trust-quote {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.trust-quote::before {
  content: '"';
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: 5rem;
  color: var(--teal);
  opacity: .15;
  line-height: 1;
}
.trust-quote p {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.trust-quote footer {
  font-family: var(--f-mono);
  font-size: .75rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .15em;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
  background: var(--cream);
  padding: 6rem 0;
  color: var(--navy);
}
@media (min-width: 640px) { .how-it-works { padding: 7.5rem 0; } }

.section-head { text-align: center; margin-bottom: 4rem; }
.section-head .eyebrow { color: var(--teal); margin-bottom: .85rem; display: inline-block; }
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--slate);
  max-width: 44rem;
  margin: 0 auto;
  line-height: 1.6;
}
.section-title-light {
  font-family: var(--f-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.section-sub-light {
  font-size: 1.0625rem;
  color: rgba(236,233,228,.65);
  max-width: 44rem;
  margin: 0 auto;
  line-height: 1.6;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
@media (min-width: 640px) { .steps { gap: 7rem; } }

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .step { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .step-reverse .step-visual { order: 2; }
  .step-reverse .step-text   { order: 1; }
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
@media (min-width: 640px) { .step-card { padding: 2rem; } }
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--teal));
  opacity: .9;
}
.step-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.step-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px -2px rgba(13,148,136,.4);
}
.step-icon .icon { width: 1.35rem; height: 1.35rem; stroke-width: 1.8; }
.step-number {
  font-family: var(--f-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--mist-deep);
  margin-left: auto;
  letter-spacing: -.02em;
}

.processing-list { display: flex; flex-direction: column; gap: .65rem; }
.proc-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: var(--charcoal);
  padding: .55rem .75rem;
  background: var(--mist);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  animation: procFade 1.2s ease-out both;
}
.proc-item:nth-child(1) { animation-delay: 0s; }
.proc-item:nth-child(2) { animation-delay: .12s; }
.proc-item:nth-child(3) { animation-delay: .24s; }
.proc-item:nth-child(4) { animation-delay: .36s; }
.proc-item:nth-child(5) { animation-delay: .48s; }
.proc-item:nth-child(6) { animation-delay: .60s; }
@keyframes procFade { from { opacity: .25; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
.proc-icon {
  color: var(--teal);
  width: 1rem; height: 1rem;
  flex-shrink: 0;
}
.proc-arrow {
  color: var(--teal);
  margin-left: auto;
  font-size: .875rem;
  font-family: var(--f-mono);
  font-weight: 500;
}
.proc-arrow.is-check { color: var(--teal); }

.proc-status-ready,
.proc-status-review,
.proc-status-filed {
  font-family: var(--f-mono);
  font-size: .65rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 9999px;
  margin-left: auto;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.proc-status-ready  { background: rgba(13,148,136,.12); color: var(--teal-deep); }
.proc-status-review { background: rgba(234,179,8,.15); color: #B45309; }
.proc-status-filed  { background: rgba(10,37,64,.10); color: var(--navy); }

.step-text h3 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .85rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.step-text p {
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.badge-check {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  background: rgba(13,148,136,.10);
  color: var(--teal-deep);
  border-radius: 9999px;
  font-size: .8125rem;
  font-weight: 600;
  border: 1px solid rgba(13,148,136,.18);
}
.badge-check .icon { width: .95rem; height: .95rem; stroke-width: 2.2; }

/* ============ FEATURES (dark) ============ */
.features {
  background: var(--ink);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .features { padding: 7.5rem 0; } }
.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 10%, rgba(13,148,136,.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 90%, rgba(13,95,138,.12), transparent 60%);
  pointer-events: none;
}
.features .container { position: relative; z-index: 1; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.015) 100%);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .25s, background .25s;
  overflow: hidden;
}
@media (min-width: 640px) { .feature-card { padding: 2rem; } }
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.feature-card:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.025) 100%);
  border-color: rgba(94,234,212,.30);
  transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(13,148,136,.6), inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .3s;
}
.feature-icon .icon { width: 1.35rem; height: 1.35rem; stroke-width: 1.8; }
.feature-card:hover .feature-icon { transform: scale(1.05) rotate(-3deg); }
.feature-num {
  font-family: var(--f-mono);
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .08em;
}
.feature-card h3 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .65rem;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.feature-card p {
  color: rgba(255,255,255,.62);
  line-height: 1.6;
  font-size: .9375rem;
}

/* ============ WHY US (dark band) ============ */
.why-us {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(13,95,138,.30), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(13,148,136,.25), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  padding: 5.5rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.why-us .container { position: relative; z-index: 1; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
.why-item {
  padding-left: 1.25rem;
  border-left: 2px solid var(--teal-light);
  position: relative;
}
.why-num {
  font-family: var(--f-mono);
  font-size: .75rem;
  color: var(--teal-light);
  letter-spacing: .12em;
  margin-bottom: .85rem;
  font-weight: 500;
}
.why-item h3 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: .65rem;
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.why-item p {
  color: rgba(236,233,228,.65);
  font-size: .9375rem;
  line-height: 1.6;
}

/* ============ STATS ============ */
.stats {
  background: var(--ink);
  padding: 6rem 0;
  position: relative;
}
@media (min-width: 640px) { .stats { padding: 7.5rem 0; } }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2rem 1.5rem;
  margin-bottom: 4.5rem;
}
@media (min-width: 1024px) { .stat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 3rem; } }
.big-stat {
  text-align: center;
  padding: 1.25rem .5rem;
  position: relative;
}
.big-stat-value {
  font-family: var(--f-mono);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: .5rem;
  line-height: 1;
  letter-spacing: -.035em;
}
.stat-suffix { color: var(--teal-light); }
.big-stat-label {
  font-family: var(--f-mono);
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
}

.time-chart {
  max-width: 36rem;
  margin: 0 auto;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.5rem;
}
.time-chart h3 {
  text-align: center;
  font-family: var(--f-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.5rem;
}
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.chart-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  align-items: center;
  gap: .85rem;
}
.chart-label {
  font-family: var(--f-mono);
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.chart-track {
  position: relative;
  background: rgba(255,255,255,.04);
  height: 2.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-darker);
}
.chart-fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-md);
  animation: chartGrow 1.6s cubic-bezier(.22,1,.36,1) forwards;
}
.chart-fill-grey { background: linear-gradient(90deg, #374151, #4B5563); }
.chart-fill-teal { background: linear-gradient(90deg, var(--teal), var(--teal-light)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
@keyframes chartGrow { to { width: var(--w); } }
.chart-value {
  position: absolute;
  top: 50%;
  right: .75rem;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  color: var(--white);
  font-size: .8125rem;
  font-weight: 600;
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 1.25rem;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.chart-legend > div { display: inline-flex; align-items: center; gap: .5rem; }
.dot-square { width: .65rem; height: .65rem; border-radius: 2px; display: inline-block; }
.dot-grey { background: #4B5563; }
.dot-teal { background: var(--teal); }

/* ============ ENTRY TYPES ============ */
.entry-types {
  background: var(--cream);
  padding: 6rem 0;
  color: var(--navy);
}
@media (min-width: 640px) { .entry-types { padding: 7.5rem 0; } }

.entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .entry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .entry-grid { grid-template-columns: repeat(3, 1fr); } }

.entry-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.5rem;
  transition: border-color .2s, box-shadow .25s, transform .25s;
  overflow: hidden;
}
.entry-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.entry-card:hover {
  border-color: rgba(13,148,136,.30);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.entry-card:hover::before { transform: scaleX(1); }
.entry-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.entry-code {
  display: inline-flex;
  align-items: center;
  background: rgba(13,148,136,.10);
  color: var(--teal-deep);
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: var(--radius-sm);
  margin-bottom: .65rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.entry-card h3 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.015em;
}
.entry-check {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(13,148,136,.10);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.entry-check .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }
.entry-card p {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ============ PRICING ============ */
.pricing {
  background: var(--cream);
  padding: 6rem 0;
  color: var(--navy);
  border-top: 1px solid var(--mist-deep);
}
@media (min-width: 640px) { .pricing { padding: 7.5rem 0; } }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; } }

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
@media (min-width: 640px) { .pricing-card { padding: 2rem 1.75rem; } }
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13,148,136,.25);
}
.pricing-card-popular {
  border: 1px solid var(--teal);
  box-shadow: 0 12px 28px -6px rgba(13,148,136,.20), 0 4px 8px -2px rgba(13,148,136,.08);
  background: linear-gradient(180deg, #fff 0%, #f6fdfb 100%);
}
.popular-badge {
  position: absolute;
  top: -.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 9999px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .1em;
  box-shadow: 0 4px 10px -2px rgba(13,148,136,.45);
}
.pricing-head { margin-bottom: 1rem; }
.pricing-head h3 {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}
.pricing-head p {
  font-size: .875rem;
  color: var(--slate);
  line-height: 1.5;
}
.pricing-amount {
  font-family: var(--f-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin: 1rem 0 1.5rem;
  padding: .75rem 0;
  border-top: 1px solid var(--border-navy);
  border-bottom: 1px solid var(--border-navy);
  letter-spacing: -.01em;
}
.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.pricing-list li {
  position: relative;
  padding-left: 1.85rem;
  font-size: .9rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.pricing-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .15rem;
  width: 1.25rem; height: 1.25rem;
  background: rgba(13,148,136,.12);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 70% 70%;
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-card .btn { width: 100%; }
.pricing-note {
  text-align: center;
  font-family: var(--f-mono);
  font-size: .8125rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ============ FAQ ============ */
.faq {
  background: var(--white);
  padding: 6rem 0;
  color: var(--navy);
  border-top: 1px solid var(--mist-deep);
}
@media (min-width: 640px) { .faq { padding: 7.5rem 0; } }
.faq .section-head { margin-bottom: 3rem; }
.faq-card {
  background: var(--cream);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-lg);
  padding: .5rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .faq-card { padding: .5rem 2rem; } }
.faq-item { border-bottom: 1px solid var(--border-navy); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  gap: 1.5rem;
  letter-spacing: -.01em;
  transition: color .15s;
}
.faq-item summary:hover { color: var(--teal-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(13,148,136,.10);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .2s;
}
.faq-chev .icon { width: 1rem; height: 1rem; stroke-width: 2.2; }
.faq-item[open] .faq-chev { transform: rotate(180deg); background: var(--teal); color: #fff; }
.faq-item p {
  padding: 0 0 1.25rem;
  color: var(--slate);
  line-height: 1.65;
  font-size: .9375rem;
  max-width: 56ch;
}

/* ============ FINAL CTA ============ */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #0B3C5A 100%);
  padding: 6rem 0;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 640px) { .final-cta { padding: 7.5rem 0; } }
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 100%, rgba(13,148,136,.35), transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 0%, rgba(94,234,212,.20), transparent 60%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 10; }
.final-cta h2 {
  font-family: var(--f-display);
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.final-cta p {
  font-size: 1.125rem;
  color: rgba(236,233,228,.75);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.final-cta .hero-buttons { margin-bottom: 0; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 2.5rem;
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; } }
.footer-grid h4 {
  font-family: var(--f-display);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-grid a {
  font-size: .9rem;
  color: rgba(255,255,255,.60);
  text-decoration: none;
  transition: color .15s;
}
.footer-grid a:hover { color: var(--teal-light); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: 1.25rem 0 1.5rem;
}
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.footer-contact-line .icon {
  width: 1rem; height: 1rem;
  color: var(--teal-light);
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-line a { color: rgba(255,255,255,.75); }
.footer-contact-line a:hover { color: var(--teal-light); }
.footer-tag {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  margin: .9rem 0 1.25rem;
  line-height: 1.5;
}
.footer-blurb {
  font-size: .875rem;
  color: rgba(255,255,255,.60);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom p {
  font-family: var(--f-mono);
  font-size: .75rem;
  color: rgba(255,255,255,.40);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-meta-links {
  display: flex;
  gap: 1.5rem;
  font-size: .75rem;
}

/* ============ DEMO MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,6,15,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px -10px rgba(0,0,0,.5);
  width: calc(100% - 2rem);
  max-width: 34rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 1.75rem;
  margin: 1rem;
  transform: scale(.94) translateY(20px);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
@media (min-width: 640px) { .modal-panel { padding: 2.5rem 2.25rem; } }
.modal-overlay.open .modal-panel { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--mist);
  border: 0;
  padding: 0;
  color: var(--slate);
  cursor: pointer;
  transition: background .15s, color .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--mist-deep); color: var(--ink); }
.modal-close svg { width: 1rem; height: 1rem; }
.modal-content h3 {
  font-family: var(--f-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}
.modal-sub {
  color: var(--slate);
  margin-bottom: 1.75rem;
  font-size: .9375rem;
  line-height: 1.5;
}
.demo-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -.005em;
}
.form-row .req { color: #DC2626; margin-left: 2px; }
.form-row input,
.form-row select {
  width: 100%;
  padding: .7rem .9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--mist-deep);
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-row input::placeholder { color: var(--slate-light); }
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.18);
}
.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  font-size: .875rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
}
.modal-success { text-align: center; padding: 1rem 0; }
.success-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(13,148,136,.12);
  color: var(--teal-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.success-icon .icon { width: 2rem; height: 2rem; stroke-width: 2.5; }
.modal-success p {
  color: var(--slate);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .pulse-animation, .hero-eyebrow-chip::before { animation: none; }
}

/* ============ Print ============ */
@media print {
  .site-header, .scroll-indicator, .modal-overlay, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}

/* ============================================================
   ADDITIONS FOR MULTI-PAGE STRUCTURE
   ============================================================ */

/* Active nav state */
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ============ Page hero (non-home) ============ */
.page-hero {
  position: relative;
  padding: 11rem 1rem 5rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(13,95,138,.35), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(13,148,136,.30), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  overflow: hidden;
  color: var(--offwhite);
  border-bottom: 1px solid var(--border-dark);
}
@media (min-width: 640px) { .page-hero { padding: 12rem 1.5rem 6rem; } }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(236,233,228,.55);
  margin-bottom: 1.75rem;
  font-weight: 500;
}
.breadcrumbs a {
  color: rgba(236,233,228,.55);
  text-decoration: none;
  transition: color .15s;
}
.breadcrumbs a:hover { color: var(--teal-light); }
.breadcrumbs .sep { color: rgba(236,233,228,.30); }
.breadcrumbs [aria-current="page"] { color: var(--offwhite); }
.page-hero-eyebrow {
  font-family: var(--f-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--teal-light);
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: 1.25rem;
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 22ch;
  text-wrap: balance;
}
.page-hero h1 .accent {
  background: linear-gradient(135deg, #5EEAD4 0%, #7DD4F0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: rgba(236,233,228,.72);
  max-width: 38rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-wrap: pretty;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

/* ============ Teaser cards (home page) ============ */
.teaser-section {
  background: var(--cream);
  padding: 6rem 0;
  color: var(--navy);
}
@media (min-width: 640px) { .teaser-section { padding: 7rem 0; } }
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px)  { .teaser-grid { grid-template-columns: repeat(3, 1fr); } }
.teaser-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .25s, box-shadow .25s, border-color .2s;
  overflow: hidden;
}
.teaser-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13,148,136,.30);
}
.teaser-card:hover::before { transform: scaleX(1); }
.teaser-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .25rem;
}
.teaser-step-num {
  font-family: var(--f-mono);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--mist-deep);
  line-height: 1;
  letter-spacing: -.02em;
}
.teaser-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px -2px rgba(13,148,136,.4);
}
.teaser-card-icon .icon { width: 1.2rem; height: 1.2rem; stroke-width: 1.8; }
.teaser-card h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.015em;
}
.teaser-card p {
  font-size: .9375rem;
  color: var(--slate);
  line-height: 1.6;
  flex-grow: 1;
}
.teaser-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--f-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 600;
  color: var(--teal-deep);
  margin-top: .25rem;
}
.teaser-link .icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
  transition: transform .25s ease;
}
.teaser-card:hover .teaser-link .icon { transform: translateX(4px); }

/* ============ CTA band (used on inner pages) ============ */
.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(13,95,138,.30), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(13,148,136,.25), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 5rem 0;
  overflow: hidden;
  color: var(--offwhite);
  border-top: 1px solid var(--border-dark);
}
@media (min-width: 640px) { .cta-band { padding: 6rem 0; } }
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.cta-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) { .cta-band-grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }
.cta-band-text h2 {
  font-family: var(--f-display);
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: .75rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.cta-band-text p {
  color: rgba(236,233,228,.72);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 40rem;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: flex-start;
}
@media (min-width: 768px) { .cta-band-actions { justify-content: flex-end; } }

/* ============ Contact page ============ */
.contact-section {
  background: var(--cream);
  padding: 5rem 0 6rem;
  color: var(--navy);
}
@media (min-width: 640px) { .contact-section { padding: 6rem 0 7rem; } }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 2.5rem; } }

.contact-info-card {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .contact-info-card { padding: 2.5rem 2rem; } }
.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
}
.contact-info-card h2 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.contact-info-card .lead {
  color: rgba(236,233,228,.72);
  font-size: .9375rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.contact-info-line {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.contact-info-line .icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(94,234,212,.10);
  border: 1px solid rgba(94,234,212,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
}
.contact-info-line .icon-wrap .icon { width: 1rem; height: 1rem; stroke-width: 1.8; }
.contact-info-line .info-label {
  font-family: var(--f-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(236,233,228,.55);
  margin-bottom: .2rem;
}
.contact-info-line .info-value {
  font-size: .9375rem;
  color: var(--offwhite);
  line-height: 1.5;
}
.contact-info-line .info-value a { color: var(--offwhite); text-decoration: none; }
.contact-info-line .info-value a:hover { color: var(--teal-light); }
.contact-hours {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8125rem;
  color: rgba(236,233,228,.65);
  line-height: 1.6;
}
.contact-hours strong {
  display: block;
  color: var(--offwhite);
  margin-bottom: .35rem;
  font-family: var(--f-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
}
@media (min-width: 640px) { .contact-form-card { padding: 2.5rem 2rem; } }
.contact-form-card h2 {
  font-family: var(--f-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.contact-form-card .lead {
  color: var(--slate);
  font-size: .9375rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}
.contact-form-card .demo-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .contact-form-card .demo-form { grid-template-columns: 1fr 1fr; }
  .contact-form-card .demo-form .form-row-full { grid-column: 1 / -1; }
}

/* ============ Map embed ============ */
.map-wrap {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-navy);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(.15) contrast(1.02);
}

/* ============ "What to expect" row (contact page) ============ */
.expect-row {
  background: var(--white);
  border-top: 1px solid var(--mist-deep);
  padding: 4rem 0 5rem;
}
.expect-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .expect-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.expect-item {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.expect-item .step-tag {
  font-family: var(--f-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--teal-deep);
  font-weight: 600;
}
.expect-item h3 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.015em;
}
.expect-item p {
  color: var(--slate);
  font-size: .9375rem;
  line-height: 1.6;
}

/* Narrow section variant */
.section-tight { padding: 4.5rem 0 5rem; }
@media (min-width: 640px) { .section-tight { padding: 5rem 0 6rem; } }

