/* CPA Analytics — complete design system */

:root {
  --bg:            #07090f;
  --surface:       #0d1117;
  --card:          #111827;
  --card-hover:    #141f2e;
  --border:        rgba(255, 255, 255, 0.07);
  --border-hi:     rgba(255, 255, 255, 0.13);

  --accent:        #3b82f6;
  --accent-dark:   #2563eb;
  --accent-dim:    rgba(59, 130, 246, 0.12);
  --accent-glow:   rgba(59, 130, 246, 0.18);
  --accent-border: rgba(59, 130, 246, 0.3);

  --green:         #22c55e;
  --green-bg:      rgba(34, 197, 94, 0.12);
  --green-border:  rgba(34, 197, 94, 0.22);

  --red:           #f87171;
  --red-bg:        rgba(248, 113, 113, 0.1);
  --red-border:    rgba(248, 113, 113, 0.22);

  --blue-bg:       rgba(59, 130, 246, 0.12);
  --blue-border:   rgba(59, 130, 246, 0.25);

  --text:          #e2e8f4;
  --muted:         #8b9ab5;
  --subtle:        #55647a;

  --font:          "Inter", system-ui, -apple-system, sans-serif;
  --display:       "Merriweather", Georgia, serif;

  --max:           1100px;
  --r:             10px;
  --r-lg:          16px;

  --shadow:        0 1px 3px rgba(0,0,0,.35), 0 8px 28px rgba(0,0,0,.25);
  --shadow-lg:     0 4px 40px rgba(0,0,0,.45);

  --site-header-h: 92px;
}

/* BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem;
  line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { display: block; }
ul, ol { margin: 0; padding: 0; }

/* Keyboard focus (WCAG 2.2 — visible focus) */
:focus:not(:focus-visible) {
  outline: none;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.site-header__link:focus-visible,
.site-header__signin:focus-visible,
.site-header__menu-btn:focus-visible,
.site-footer__cookie-btn:focus-visible,
.cookie-banner__btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* SKIP LINK */
.skip-link {
  position: absolute; left: -9999px; top: .5rem;
  padding: .5rem 1rem; background: var(--accent); color: #fff;
  border-radius: 6px; z-index: 200; font-size: .875rem; font-weight: 600;
}
.skip-link:focus-visible {
  left: .5rem;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* SITE HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  height: var(--site-header-h); display: flex; align-items: center; gap: 1.25rem;
}
.site-header__brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.site-header__brand:hover { text-decoration: none; }
.site-header__mark { display: flex; align-items: center; }
.site-header__name {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  color: var(--text); letter-spacing: -.02em; transition: color .15s;
}
.site-header__brand:hover .site-header__name { color: #fff; }

.site-header__menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 50px; height: 50px; padding: 0; border: 1px solid var(--border);
  border-radius: 10px; background: transparent; cursor: pointer; margin-left: auto;
  transition: border-color .15s;
}
.site-header__menu-btn:hover { border-color: var(--border-hi); }
.site-header__menu-bar {
  display: block; height: 2px; width: 22px; margin: 0 auto;
  background: var(--muted); border-radius: 1px; transition: background .15s;
}
.site-header__menu-btn:hover .site-header__menu-bar { background: var(--text); }

.site-header__nav { display: flex; align-items: center; gap: .65rem; margin-left: auto; }
.site-header__list { list-style: none; display: flex; align-items: center; gap: .2rem; }
.site-header__link {
  display: block; padding: .55rem 1.15rem; font-size: 1.0625rem; font-weight: 600;
  color: var(--muted); border-radius: 8px; transition: color .15s, background .15s;
}
.site-header__link:hover,
.site-header__link.is-active {
  color: var(--text); background: rgba(255,255,255,.06); text-decoration: none;
}
.site-header__link.is-active { color: #fff; }

.site-header__actions {
  display: flex; align-items: center; gap: .5rem;
  margin-left: .65rem; padding-left: 1.1rem; border-left: 1px solid var(--border);
}
.site-header__signin {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .58rem 1.4rem; font-size: 1.0625rem; font-weight: 600;
  color: #fff; background: var(--accent); border: 1px solid var(--accent);
  border-radius: var(--r); transition: background .15s, border-color .15s; white-space: nowrap;
}
.site-header__signin:hover {
  background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; color: #fff;
}

.site-header__scrim {
  display: none; position: fixed; inset: var(--site-header-h) 0 0;
  background: rgba(0,0,0,.55); z-index: 90; opacity: 0;
  pointer-events: none; transition: opacity .22s;
}

@media (max-width: 720px) {
  /* Fixed bar: `transform` on `.site-header__nav` breaks `position:sticky` on the header in mobile Safari. */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    min-height: calc(env(safe-area-inset-top, 0px) + var(--site-header-h));
    /* iOS: fixed + backdrop-filter often renders as a clipped sliver; use an opaque bar on small screens */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 9, 15, 0.96);
  }
  .site-header ~ #main {
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--site-header-h) + 1px);
  }
  html {
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--site-header-h) + 1rem);
  }
  .site-header__menu-btn { display: flex; }
  .site-header__scrim {
    display: block;
    top: calc(env(safe-area-inset-top, 0px) + var(--site-header-h));
    right: 0;
    bottom: 0;
    left: 0;
  }
  .site-header__scrim.is-open { opacity: 1; pointer-events: auto; }
  .site-header__nav {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + var(--site-header-h));
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 1.5rem; margin-left: 0; background: var(--surface);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility .22s;
    gap: 0; z-index: 99;
  }
  .site-header__nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-header__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header__link { padding: 1rem 0; font-size: 1.125rem; border-radius: 0; border-bottom: 1px solid var(--border); }
  .site-header__actions { margin-left: 0; padding-left: 0; border-left: 0; margin-top: 1rem; flex-direction: column; align-items: stretch; }
  .site-header__actions .site-header__link { width: 100%; text-align: center; }
  .site-header__signin { width: 100%; justify-content: center; padding: .85rem 1rem; font-size: 1.0625rem; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1.25rem; font-family: inherit; font-size: .9375rem; font-weight: 600;
  border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-hi); }
.btn-outline:hover { background: rgba(255,255,255,.05); border-color: var(--muted); color: var(--text); }
.btn-sm { padding: .45rem 1rem; font-size: .9375rem; }
.btn-lg { padding: .85rem 1.75rem; font-size: 1.0625rem; }

/* EYEBROW */
.eyebrow { margin: 0 0 .5rem; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow--dim     { color: var(--subtle); }
.eyebrow--on-dark { color: #93c5fd; }

/* HERO */
.hero {
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 75% 100% at 62% 45%, rgba(59,130,246,.38) 0%, rgba(59,130,246,.08) 55%, transparent 75%),
    radial-gradient(ellipse 45% 65% at 8% 70%, rgba(99,102,241,.25) 0%, transparent 58%),
    radial-gradient(ellipse 30% 40% at 50% 0%, rgba(147,197,253,.07) 0%, transparent 55%),
    #060c18;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,.55) 20%, rgba(59,130,246,.55) 80%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 1; align-items: center;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1fr 1.15fr; } }
.hero-copy { min-width: 0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .85rem .3rem .55rem;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: 100px; font-size: .6875rem; font-weight: 700;
  color: #93c5fd; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-badge__dot {
  width: 7px; height: 7px; border-radius: 50%; background: #3b82f6; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(59,130,246,.5);
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,.5); }
  50%       { box-shadow: 0 0 0 5px rgba(59,130,246,0); }
}
.hero-copy h1 {
  margin: 0 0 1.25rem; font-family: var(--display); font-weight: 900;
  font-size: clamp(2.5rem,5.5vw,3.75rem); line-height: 1.08; letter-spacing: -.035em; color: #fff; max-width: 16ch;
}
.hero-sub { margin: 0 0 2.25rem; font-size: 1.125rem; line-height: 1.75; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.hero-stats {
  list-style: none; display: flex; flex-wrap: nowrap; gap: 0;
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
  max-width: 420px;
}
.hero-stats li {
  display: flex; flex-direction: column; padding: .6rem .9rem;
  border-right: 1px solid var(--border); flex: 1; min-width: 0;
}
.hero-stats li:last-child { border-right: 0; }
.hero-stats strong { font-size: .75rem; font-weight: 700; color: var(--text); line-height: 1.2; white-space: nowrap; }
.hero-stats span   { font-size: .625rem; color: var(--subtle); margin-top: .1rem; white-space: nowrap; }

/* Platform page hero — same structure as home, indigo-forward art direction */
.hero--platform {
  background:
    radial-gradient(ellipse 70% 100% at 88% 40%, rgba(99, 102, 241, 0.32) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 72%),
    radial-gradient(ellipse 50% 70% at 15% 65%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 28% 38% at 50% 0%, rgba(165, 180, 252, 0.08) 0%, transparent 55%),
    #060c18;
}
.hero--platform::after {
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.45) 35%, rgba(59, 130, 246, 0.4) 65%, transparent 100%);
}
.hero--platform .hero-badge {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(129, 140, 248, 0.35);
  color: #c4b5fd;
}
@keyframes badge-pulse-indigo {
  0%, 100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.45); }
  50%       { box-shadow: 0 0 0 5px rgba(129, 140, 248, 0); }
}
.hero-badge__dot--indigo {
  background: #818cf8;
  animation: badge-pulse-indigo 2s ease-in-out infinite;
}
.hero--platform .hero-copy h1 {
  max-width: 20ch;
}
.hero-stats--platform {
  max-width: 28rem;
}
.hero--platform .hero-visual::before {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(59, 130, 246, 0.08) 45%, transparent 68%);
}
.dash--platform {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(99, 102, 241, 0.14), 0 0 90px rgba(99, 102, 241, 0.12);
}
.cbar-platform {
  background: linear-gradient(180deg, #818cf8 0%, #4f46e5 100%);
}

/* How it works hero — same layout as home/platform; blue + indigo blend */
.hero--hiw {
  background:
    radial-gradient(ellipse 72% 100% at 60% 42%, rgba(59, 130, 246, 0.34) 0%, rgba(59, 130, 246, 0.07) 55%, transparent 74%),
    radial-gradient(ellipse 48% 68% at 12% 68%, rgba(99, 102, 241, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 32% 42% at 50% 0%, rgba(147, 197, 253, 0.08) 0%, transparent 55%),
    #060c18;
}
.hero--hiw::after {
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.48) 22%, rgba(99, 102, 241, 0.4) 52%, rgba(59, 130, 246, 0.42) 78%, transparent 100%);
}
.hero--hiw .hero-badge {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.32);
  color: #c4b5fd;
}
.hero-badge__dot--hiw {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 100%);
  animation: badge-pulse-indigo 2s ease-in-out infinite;
}
.hero--hiw .hero-copy h1 {
  max-width: 22ch;
}
.hero-stats--hiw {
  max-width: 28rem;
}
.hero--hiw .hero-visual::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.12) 42%, transparent 68%);
}
.dash--hiw {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(59, 130, 246, 0.11), 0 0 0 1px rgba(99, 102, 241, 0.1), 0 0 88px rgba(59, 130, 246, 0.11);
}
.cbar-hiw {
  background: linear-gradient(180deg, #93c5fd 0%, #6366f1 52%, #2563eb 100%);
}

/* DASHBOARD MOCK */
.hero-visual {
  display: flex; align-items: center; justify-content: center; position: relative;
  min-width: 0;
}
.hero-visual::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.18) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
.dash {
  width: 100%; max-width: 520px; background: var(--card);
  border: 1px solid var(--border-hi); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(59,130,246,.12), 0 0 100px rgba(59,130,246,.14);
  overflow: hidden; position: relative; z-index: 1;
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface);
}
.dash-title { font-size: .8125rem; font-weight: 600; color: var(--text); }
.dash-date {
  font-size: .6875rem; color: var(--subtle); font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); padding: .2rem .55rem; border-radius: 5px;
}
.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; padding: .75rem .75rem 0; }
.kpi { padding: .65rem .7rem; border-radius: 8px; border: 1px solid transparent; }
.kpi-green { background: var(--green-bg);  border-color: var(--green-border); }
.kpi-red   { background: var(--red-bg);    border-color: var(--red-border); }
.kpi-blue  { background: var(--blue-bg);   border-color: var(--blue-border); }
.kpi-label { display: block; font-size: .625rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: .25rem; }
.kpi-val   { display: block; font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; margin-bottom: .2rem; }
.kpi-green .kpi-val { color: var(--green); }
.kpi-red   .kpi-val { color: var(--red); }
.kpi-blue  .kpi-val { color: #60a5fa; }
.kpi-delta { font-size: .5625rem; color: var(--subtle); }

.dash-status {
  display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem;
  border-bottom: 1px solid var(--border); background: rgba(0,0,0,.12); flex-wrap: wrap;
}
.dstatus {
  display: inline-flex; align-items: center; gap: .3rem; font-size: .5625rem;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: 100px;
}
.dstatus::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.dstatus--ok   { background: var(--green-bg); color: var(--green); }
.dstatus--ok::before { background: var(--green); }
.dstatus--warn { background: rgba(251,191,36,.1); color: #fbbf24; }
.dstatus--warn::before { background: #fbbf24; }
.dstatus-sync { font-size: .5625rem; color: var(--subtle); margin-left: auto; }

.dash-chart { padding: .875rem .75rem 0; }
.chart-label { font-size: .5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--subtle); margin-bottom: .4rem; }
.chart-bars  { display: flex; align-items: flex-end; gap: 4px; height: 72px; border-bottom: 1px solid var(--border); }
.cbar { flex: 1; height: var(--h,50%); background: linear-gradient(180deg,#3b82f6 0%,#1d4ed8 100%); border-radius: 3px 3px 0 0; position: relative; }
.cbar-dim { background: linear-gradient(180deg,#1e2d42 0%,#151f2e 100%); }
.cbar span { position: absolute; bottom: -14px; left: 0; right: 0; text-align: center; font-size: .5rem; color: var(--subtle); line-height: 1; }

.dash-table { padding: .75rem .75rem .875rem; }
.dt-head {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .5rem;
  padding: 0 .5rem .4rem; border-bottom: 1px solid var(--border); margin-bottom: .2rem;
  font-size: .5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--subtle);
}
.dt-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .5rem; padding: .35rem .5rem;
  font-size: .75rem; color: var(--text); border-radius: 5px; transition: background .1s;
}
.dt-row:hover { background: rgba(255,255,255,.03); }
.c-green { color: var(--green); font-variant-numeric: tabular-nums; }
.c-muted { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Hero + dashboard mock — narrow viewports (matches platform / how-it-works usability) */
@media (max-width: 720px) {
  .hero {
    padding: clamp(2.25rem, 6vw, 3.5rem) 1.25rem;
  }
  .hero-inner {
    gap: clamp(1.75rem, 5vw, 2.5rem);
  }
  .hero--home .hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 6.5vw, 3.75rem);
  }
  .hero-sub {
    font-size: 1.0625rem;
    margin-bottom: 1.75rem;
  }
  .hero-badge {
    margin-bottom: 1.25rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 1.75rem;
  }
  .hero-actions .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .hero-actions .btn {
    white-space: normal;
  }
  .hero-stats {
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: none;
    width: 100%;
  }
  .hero-stats li {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 1rem;
  }
  .hero-stats li:last-child {
    border-bottom: 0;
  }
  .hero-stats strong,
  .hero-stats span {
    white-space: normal;
  }
  .hero-visual::before {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(100vw, 380px);
    height: min(100vw, 380px);
  }
  .dash-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .dash-date {
    max-width: 100%;
    text-align: left;
  }
  .dstatus-sync {
    margin-left: 0;
    flex-basis: 100%;
  }
  .dash-kpis {
    gap: 0.4rem;
    padding: 0.65rem 0.65rem 0;
  }
  .kpi {
    padding: 0.5rem 0.55rem;
    min-width: 0;
  }
  .kpi-val {
    font-size: 0.9375rem;
  }
  .dash-chart {
    padding-bottom: 1.1rem;
  }
  .chart-bars {
    height: 58px;
    gap: 2px;
  }
  .cbar span {
    font-size: 0.4375rem;
    bottom: -12px;
  }
  .dt-head,
  .dt-row {
    gap: 0.35rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
  .dt-row {
    font-size: 0.6875rem;
  }
}

/* CHALLENGES */
.challenges { padding: clamp(3.5rem,8vw,5.5rem) 1.5rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.challenges__inner { max-width: var(--max); margin: 0 auto; }
.challenges__head { text-align: center; max-width: 680px; margin: 0 auto clamp(2.25rem,5vw,3.5rem); }
.challenges__head h2 { margin: 0 0 .75rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem,3.2vw,2.5rem); letter-spacing: -.03em; color: #fff; }
.challenges__lede { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.challenges__grid { list-style: none; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px)  { .challenges__grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) {
  .challenges__grid { grid-template-columns: repeat(6,1fr); }
  .challenge-card { grid-column: span 2; }
  /* Center last two cards when there are 5 items */
  .challenge-card:nth-child(4) { grid-column: 2 / span 2; }
  .challenge-card:nth-child(5) { grid-column: 4 / span 2; }
}
.challenge-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.challenge-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-lg);
}
.challenge-card__idx   { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); margin-bottom: .25rem; }
.challenge-card__title { margin: 0; font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.challenge-card__text  { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* OUTCOMES */
.outcomes { padding: clamp(3.5rem,8vw,5.5rem) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.outcomes__inner { max-width: var(--max); margin: 0 auto; }
.outcomes__head { text-align: center; margin-bottom: clamp(2.25rem,5vw,3.5rem); }
.outcomes__head h2 { margin: 0 0 .6rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem,3.2vw,2.5rem); letter-spacing: -.03em; color: #fff; }
.outcomes__lede { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.outcomes__grid { list-style: none; display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .outcomes__grid { grid-template-columns: repeat(3,1fr); } }
.outcome-tile {
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-shadow: var(--shadow);
}
.outcome-tile:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: var(--card-hover);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(59, 130, 246, 0.06);
}
.outcome-tile__title { margin: 0; font-size: 1rem; font-weight: 700; color: var(--text); }
.outcome-tile__text  { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.65; flex: 1; }
.outcome-tile__link  { font-size: .875rem; font-weight: 600; color: #60a5fa; margin-top: .5rem; }
.outcome-tile__link:hover { color: var(--accent); text-decoration: none; }

/* SCOPE BAND */
.scope-band { padding: clamp(3.5rem,8vw,5.5rem) 1.5rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.scope-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .scope-band__inner {
    grid-template-columns: 1fr minmax(220px, 280px) auto;
    gap: clamp(1.5rem, 4vw, 2.75rem);
  }
}
@media (min-width: 800px) and (max-width: 899px) {
  .scope-band__inner { grid-template-columns: 1fr auto; }
  .scope-band__metrics { grid-column: 1 / -1; }
}
.scope-band__content h2 { margin: 0 0 .75rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem,2.8vw,2rem); letter-spacing: -.03em; color: #fff; max-width: 22ch; }
.scope-band__content p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 54ch; }
.scope-band__metrics {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.scope-metric {
  padding: .85rem 1rem;
  border-radius: var(--r);
  border: 1px solid var(--border-hi);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, var(--card) 100%);
  box-shadow: var(--shadow);
}
.scope-metric__value {
  display: block;
  font-size: .8125rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.scope-metric__label {
  display: block;
  margin-top: .2rem;
  font-size: .6875rem;
  line-height: 1.4;
  color: var(--subtle);
}
.scope-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; flex-shrink: 0; align-self: start; }
@media (max-width: 899px) {
  .scope-band__metrics { flex-direction: row; flex-wrap: wrap; }
  .scope-metric { flex: 1 1 12rem; }
}

/* CTA */
.cta { padding: clamp(4rem,9vw,7rem) 1.5rem; background: var(--surface); text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--border); }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%,rgba(59,130,246,.07) 0%,transparent 70%); pointer-events: none; }
.cta-inner { max-width: 600px; margin: 0 auto; position: relative; }
.cta-inner--wide { max-width: var(--max); }
.cta h2 { margin: 0 0 .75rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem,3.5vw,2.6rem); letter-spacing: -.03em; color: #fff; }
.cta p { margin: 0 0 2rem; color: var(--muted); font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* PAGE HEAD */
.page-head {
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background:
    radial-gradient(ellipse 50% 100% at 0% 50%, rgba(59,130,246,.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 20%, rgba(99,102,241,.08) 0%, transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 55% 100% at 0% 50%, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 55% 100% at 0% 50%, black 0%, transparent 65%);
  opacity: .5; pointer-events: none;
}
.page-head::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--accent) 25%, var(--accent) 75%, transparent);
  opacity: .65; pointer-events: none;
}
.page-head__inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-head h1 {
  margin: 0 0 1rem; font-family: var(--display); font-weight: 900;
  font-size: clamp(1.875rem, 3.5vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; color: #fff; max-width: 22ch;
}
.page-head__lede { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); max-width: 54ch; }
.page-head--compact { padding: clamp(2rem, 4vw, 3rem) 1.5rem; }

.page-head__pills {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem;
}
.page-head__pills li {
  padding: .3rem .8rem; font-size: .75rem; font-weight: 600; color: var(--muted);
  background: rgba(255,255,255,.04); border: 1px solid var(--border-hi); border-radius: 100px;
}

.page-head__steps {
  list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem;
  counter-reset: none;
}
.page-head__steps li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; color: var(--muted);
  padding: .4rem .9rem .4rem .6rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-hi); border-radius: 100px;
}
.page-head__steps li span {
  font-size: .625rem; font-weight: 700; color: var(--accent);
  letter-spacing: .06em; background: var(--accent-dim);
  padding: .15rem .4rem; border-radius: 4px;
}

/* PRICING PAGE */
.pricing-page__body {
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.pricing-page__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.pricing-page__panel {
  max-width: 42rem;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.pricing-page__panel h2 {
  margin: 0 0 .75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  letter-spacing: -.03em;
  color: #fff;
}
.pricing-page__lede {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}
.pricing-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-page__list li {
  padding: 1rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.pricing-page__list strong {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}
.pricing-page__list li span {
  display: block;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--muted);
}
.pricing-page__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

/* LEGAL PAGES (Privacy, Terms) */
.legal-page__meta {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--subtle);
  position: relative;
  z-index: 1;
}
.legal-page__body {
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.legal-page__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.legal-page__prose {
  max-width: 46rem;
}
.legal-page__prose section {
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}
.legal-page__prose section:last-child {
  margin-bottom: 0;
}
.legal-page__prose h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
  color: #fff;
}
.legal-page__prose p {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}
.legal-page__prose p:last-child {
  margin-bottom: 0;
}
.legal-page__prose ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.legal-page__prose li {
  margin-bottom: 0.5rem;
}
.legal-page__prose li:last-child {
  margin-bottom: 0;
}
.legal-page__prose strong {
  color: var(--text);
  font-weight: 600;
}
.legal-page__prose a {
  color: #60a5fa;
  font-weight: 600;
}
.legal-page__prose a:hover {
  color: var(--accent);
}

/* FEATURE BANDS */
.feature-band { padding: clamp(3rem,7vw,5rem) 1.5rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.feature-band--alt { background: var(--bg); }
.feature-band__inner { max-width: var(--max); margin: 0 auto; }
.feature-band__inner--split { display: grid; gap: clamp(2.5rem,6vw,4rem); align-items: center; }
.feature-band__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
@media (min-width: 800px) {
  .feature-band__inner--split { grid-template-columns: 1fr 1fr; align-items: center; }
  .feature-band__inner--flip  { direction: rtl; }
  .feature-band__inner--flip > * { direction: ltr; }
  .feature-band__inner--split > .feature-band__visual {
    justify-content: flex-start;
  }
  .feature-band__inner--split.feature-band__inner--flip > .feature-band__visual {
    justify-content: flex-end;
  }
}
.feature-band__copy h2 { margin: 0 0 1rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem,2.8vw,2.1rem); letter-spacing: -.03em; color: #fff; }
.feature-band__copy h2.eyebrow {
  margin: 0 0 .5rem;
  font-family: var(--font);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.feature-band__copy p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.feature-band__copy h2.eyebrow + p { margin-top: 1rem; }

.check-list { list-style: none; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .6rem; }
.check-list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .9375rem; color: var(--text); }
.check-list li::before {
  content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%2322c55e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}

.feature-band__panel { background: var(--card); border: 1px solid var(--border-hi); border-radius: var(--r-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-band__stat { display: flex; flex-direction: column; gap: .2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.feature-band__stat:last-child { padding-bottom: 0; border-bottom: 0; }
.feature-band__stat-label { font-size: .6875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--subtle); }
.feature-band__stat-value { font-size: 1.125rem; font-weight: 700; color: var(--text); }

/* Workflow band — mini workspace preview (replaces tag pills) */
.workflow-preview {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  justify-self: center;
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.08) 0%, var(--card) 45%);
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.workflow-preview__chrome {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
}
.workflow-preview__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-hi);
}
.workflow-preview__dot:nth-child(1) { background: rgba(248, 113, 113, 0.55); }
.workflow-preview__dot:nth-child(2) { background: rgba(234, 179, 8, 0.55); }
.workflow-preview__dot:nth-child(3) { background: rgba(34, 197, 94, 0.45); }
.workflow-preview__title {
  margin-left: auto;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--subtle);
}
.workflow-preview__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.workflow-block {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.workflow-block:first-of-type { padding-top: 0; }
.workflow-block:last-of-type,
.workflow-block--flush { border-bottom: 0; padding-bottom: 0; }
.workflow-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}
.workflow-block__label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--subtle);
}
.workflow-block__meta { font-size: .75rem; font-weight: 600; color: var(--muted); }
.workflow-task {
  padding: .65rem .75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: .5rem;
}
.workflow-task:last-child { margin-bottom: 0; }
.workflow-task__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
}
.workflow-task__title {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.workflow-task__sub { margin-top: .35rem; font-size: .6875rem; color: var(--subtle); }
.workflow-pill {
  flex-shrink: 0;
  padding: .12rem .45rem;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid var(--border-hi);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}
.workflow-pill--high {
  color: #fca5a5;
  border-color: var(--red-border);
  background: var(--red-bg);
}
.workflow-pill--med {
  color: #fcd34d;
  border-color: rgba(234, 179, 8, 0.28);
  background: rgba(234, 179, 8, 0.1);
}
.workflow-pill--live {
  color: #86efac;
  border-color: var(--green-border);
  background: var(--green-bg);
}
.workflow-ticket {
  padding: .65rem .75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.workflow-ticket__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .65rem;
  margin-bottom: .55rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--border);
}
.workflow-ticket__id {
  font-size: .6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.workflow-ticket__subject { font-size: .8125rem; font-weight: 600; color: var(--text); }
.workflow-thread {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.workflow-thread li {
  font-size: .75rem;
  line-height: 1.45;
  color: var(--muted);
  padding-left: .65rem;
  border-left: 2px solid var(--border-hi);
}
.workflow-thread__who {
  display: block;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: .1rem;
}
.workflow-docs { display: flex; flex-direction: column; gap: .45rem; }
.workflow-doc-row {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .55rem .65rem;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.workflow-doc-icon {
  flex-shrink: 0;
  color: #a5b4fc;
  margin-top: 1px;
}
.workflow-doc-meta { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.workflow-doc-name { font-size: .8125rem; font-weight: 600; color: var(--text); }
.workflow-doc-hint { font-size: .6875rem; color: var(--subtle); }

.workflow-preview--compact .workflow-preview__chrome {
  padding: .45rem .85rem;
}
.workflow-preview--compact .workflow-preview__dot {
  width: 7px;
  height: 7px;
}
.workflow-preview--compact .workflow-preview__title {
  font-size: .625rem;
}
.workflow-preview--compact .workflow-preview__body {
  padding: .65rem .85rem .75rem;
}
.workflow-preview--compact .workflow-block {
  padding: .6rem 0;
}
.workflow-preview--compact .workflow-block__head {
  margin-bottom: .4rem;
}
.workflow-preview--compact .workflow-block__meta {
  font-size: .6875rem;
}
.workflow-preview--compact .workflow-task {
  padding: .45rem .55rem;
  margin-bottom: 0;
}
.workflow-preview--compact .workflow-task__title {
  font-size: .75rem;
  line-height: 1.3;
}
.workflow-preview--compact .workflow-task__sub {
  margin-top: .2rem;
  font-size: .625rem;
}
.workflow-preview--compact .workflow-pill {
  font-size: .5625rem;
  padding: .08rem .38rem;
}
.workflow-preview--compact .workflow-ticket {
  padding: .45rem .55rem;
}
.workflow-preview--compact .workflow-ticket__head {
  margin-bottom: .35rem;
  padding-bottom: .4rem;
}
.workflow-preview--compact .workflow-ticket__subject {
  font-size: .75rem;
}
.workflow-preview--compact .workflow-ticket__id {
  font-size: .625rem;
}
.workflow-preview--compact .workflow-thread {
  gap: .28rem;
}
.workflow-preview--compact .workflow-thread li {
  font-size: .6875rem;
  line-height: 1.32;
  padding-left: .5rem;
}
.workflow-preview--compact .workflow-thread__who {
  font-size: .5625rem;
  margin-bottom: 0;
}
.workflow-preview--compact .workflow-docs {
  gap: .3rem;
}
.workflow-preview--compact .workflow-doc-row {
  padding: .4rem .5rem;
  gap: .5rem;
}
.workflow-preview--compact .workflow-doc-icon svg {
  width: 15px;
  height: 15px;
}
.workflow-preview--compact .workflow-doc-name {
  font-size: .75rem;
}
.workflow-preview--compact .workflow-doc-hint {
  font-size: .625rem;
}

/* Shared: marketing previews in feature bands */
.clarity-preview,
.field-preview,
.billing-preview {
  width: 100%;
  max-width: 460px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(59, 130, 246, 0.06);
  overflow: hidden;
  background: var(--card);
}
.clarity-preview__chrome,
.field-preview__chrome,
.billing-preview__chrome {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--border);
}
.clarity-preview__dots,
.field-preview__dots,
.billing-preview__dots {
  display: flex;
  gap: 6px;
}
.clarity-preview__dots span,
.field-preview__dots span,
.billing-preview__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-hi);
}
.clarity-preview__dots span:nth-child(1),
.field-preview__dots span:nth-child(1),
.billing-preview__dots span:nth-child(1) { background: rgba(248, 113, 113, 0.55); }
.clarity-preview__dots span:nth-child(2),
.field-preview__dots span:nth-child(2),
.billing-preview__dots span:nth-child(2) { background: rgba(234, 179, 8, 0.5); }
.clarity-preview__dots span:nth-child(3),
.field-preview__dots span:nth-child(3),
.billing-preview__dots span:nth-child(3) { background: rgba(34, 197, 94, 0.45); }
.clarity-preview__title,
.field-preview__title,
.billing-preview__title {
  margin-left: auto;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* Clarity band — reporting mock */
.clarity-preview {
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.1) 0%, var(--card) 50%);
  border-color: rgba(59, 130, 246, 0.22);
}
.clarity-preview__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
}
.clarity-chip {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--subtle);
  background: rgba(255, 255, 255, 0.03);
}
.clarity-chip--accent {
  border-color: var(--accent-border);
  color: #93c5fd;
  background: var(--accent-dim);
}
.clarity-preview__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  padding: .85rem 1rem;
}
.clarity-kpi {
  padding: .55rem .5rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}
.clarity-kpi--green { border-color: var(--green-border); background: var(--green-bg); }
.clarity-kpi--blue  { border-color: var(--blue-border); background: var(--blue-bg); }
.clarity-kpi--muted { opacity: 0.9; }
.clarity-kpi__label {
  display: block;
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: .2rem;
}
.clarity-kpi__val {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1.15;
}
.clarity-kpi--green .clarity-kpi__val { color: var(--green); }
.clarity-kpi--blue .clarity-kpi__val { color: #60a5fa; }
.clarity-kpi__delta { font-size: .5625rem; color: var(--subtle); margin-top: .15rem; display: block; }
.clarity-preview__chart {
  padding: 0 1rem .85rem;
}
.clarity-chart__label {
  display: block;
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: .5rem;
}
.clarity-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
  padding: .35rem .25rem 0;
  border-radius: var(--r);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}
.clarity-chart__bars span {
  flex: 1;
  min-width: 0;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  height: var(--h, 50%);
  opacity: 0.92;
}
.clarity-chart__bars span:nth-child(6),
.clarity-chart__bars span:nth-child(7) { opacity: 0.45; }
.clarity-preview__table {
  padding: 0 1rem 1rem;
}
.clarity-trow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .5rem;
  align-items: center;
  font-size: .75rem;
  padding: .45rem .5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.clarity-trow--head {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--subtle);
  border-top: 0;
  padding-top: 0;
}
.clarity-tnum { font-variant-numeric: tabular-nums; color: var(--green); font-weight: 600; }
.clarity-tok { font-size: .625rem; color: var(--subtle); }

/* Field band — model mock */
.field-preview {
  background: linear-gradient(165deg, rgba(34, 197, 94, 0.07) 0%, rgba(59, 130, 246, 0.06) 40%, var(--card) 65%);
  border-color: rgba(59, 130, 246, 0.2);
}
.field-preview__pipeline {
  padding: 1rem 1rem .85rem;
  border-bottom: 1px solid var(--border);
}
.field-pipe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem .5rem;
}
.field-pipe__step {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--subtle);
  padding: .35rem .65rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.field-pipe__step--mid {
  color: var(--text);
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, 0.05);
}
.field-pipe__step--live {
  color: #86efac;
  border-color: var(--green-border);
  background: var(--green-bg);
}
.field-pipe__arrow {
  display: flex;
  color: var(--subtle);
  flex-shrink: 0;
}
.field-preview__pipeline-note {
  margin: .75rem 0 0;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.field-preview__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 420px) {
  .field-preview__split { grid-template-columns: 1fr; }
}
.field-col__label {
  display: block;
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: .5rem;
}
.field-loc {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  padding: .55rem .6rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
  margin-bottom: .45rem;
}
.field-loc:last-child { margin-bottom: 0; }
.field-loc--dim { opacity: 0.75; }
.field-loc__icon { flex-shrink: 0; color: #93c5fd; margin-top: 1px; }
.field-loc__body { min-width: 0; }
.field-loc__name { display: block; font-size: .8125rem; font-weight: 700; color: var(--text); }
.field-loc__meta { display: block; font-size: .625rem; color: var(--subtle); margin-top: .15rem; line-height: 1.35; }
.field-src {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .4rem .5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
  margin-bottom: .35rem;
  font-size: .65rem;
}
.field-src:last-child { margin-bottom: 0; }
.field-src code {
  font-family: ui-monospace, monospace;
  color: #93c5fd;
  font-size: .65rem;
}
.field-src--muted { opacity: 0.72; }
.field-src__pill {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .12rem .4rem;
  border-radius: 4px;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}
.field-src__pill--idle {
  background: rgba(255, 255, 255, 0.04);
  color: var(--subtle);
  border-color: var(--border);
}
.field-preview__ledger {
  padding: .85rem 1rem 1rem;
}
.field-ledger__label {
  display: block;
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: .55rem;
}
.field-ledger__rows { display: flex; flex-direction: column; gap: .35rem; }
.field-ledger__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .5rem;
  align-items: center;
  font-size: .75rem;
  color: var(--muted);
  padding: .4rem .5rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
}
.field-ledger__t { font-size: .625rem; color: var(--subtle); font-variant-numeric: tabular-nums; }
.field-ledger__amt { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }

/* Commercial band — billing mock */
.billing-preview {
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.12) 0%, var(--card) 55%);
  border-color: rgba(129, 140, 248, 0.28);
}
.billing-preview__sub {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
}
.billing-sub__main {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.billing-sub__plan { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.billing-pill {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .2rem .45rem;
  border-radius: 100px;
  border: 1px solid var(--green-border);
  background: var(--green-bg);
  color: var(--green);
}
.billing-sub__meta {
  display: block;
  margin-top: .35rem;
  font-size: .6875rem;
  color: var(--subtle);
}
.billing-preview__inv { padding: .85rem 1rem; }
.billing-inv__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}
.billing-inv__title { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.billing-inv__id { font-size: .8125rem; font-weight: 700; color: #c4b5fd; font-variant-numeric: tabular-nums; }
.billing-inv__lines { display: flex; flex-direction: column; gap: .4rem; }
.billing-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: .8125rem;
  color: var(--muted);
}
.billing-line__amt { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); flex-shrink: 0; }
.billing-line--total {
  margin-top: .35rem;
  padding-top: .55rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
}
.billing-preview__foot {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border);
}
.billing-foot__tag {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .5rem;
  border-radius: 100px;
  border: 1px solid var(--border-hi);
  color: var(--subtle);
  background: rgba(255, 255, 255, 0.03);
}

.mini-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.mini-list li { font-size: .9375rem; color: var(--text); display: flex; align-items: center; gap: .5rem; }
.mini-list li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* PLATFORM EXTRAS */
.platform-extras { padding: clamp(3.5rem,8vw,5.5rem) 1.5rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.platform-extras__inner { max-width: var(--max); margin: 0 auto; }
.platform-extras__head { text-align: center; margin-bottom: clamp(2.25rem,5vw,3.5rem); }
.platform-extras__head h2 { margin: 0 0 .6rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem,3.2vw,2.4rem); letter-spacing: -.03em; color: #fff; }
.platform-extras__lede { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.platform-extras__grid { list-style: none; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 700px) { .platform-extras__grid { grid-template-columns: repeat(3,1fr); } }
.extra-card {
  position: relative;
  padding: 1.75rem;
  padding-top: 2rem;
  background: var(--card);
  transition: background .2s, border-color .2s;
}
.extra-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  opacity: 0.85;
}
.platform-extras__grid .extra-card:nth-child(1)::before {
  background: linear-gradient(90deg, #f87171, rgba(248, 113, 113, 0.2));
}
.platform-extras__grid .extra-card:nth-child(2)::before {
  background: linear-gradient(90deg, #60a5fa, rgba(96, 165, 250, 0.2));
}
.platform-extras__grid .extra-card:nth-child(3)::before {
  background: linear-gradient(90deg, #a78bfa, rgba(167, 139, 250, 0.2));
}
.extra-card:hover { background: var(--card-hover); }
.extra-card__title { margin: 0 0 .5rem; font-size: 1rem; font-weight: 700; color: var(--text); }
.extra-card__text  { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* GOVERNANCE */
.gov-section, .gov-section--v2 { padding: clamp(3.5rem,8vw,5.5rem) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.gov-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(2.5rem,6vw,4rem); align-items: center; }
@media (min-width: 780px) { .gov-inner { grid-template-columns: 1fr 1fr; } }
.gov-copy h2 { margin: 0 0 .65rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem,3.2vw,2.4rem); letter-spacing: -.03em; color: #fff; }
.gov-copy > p { margin: 0 0 2rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.stack-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.stack-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9375rem; color: var(--text); }
.stack-list li svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }
.stack-pills { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; }
.spill { padding: .65rem .75rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); font-size: .8125rem; font-weight: 600; color: var(--subtle); text-align: center; transition: border-color .2s, color .2s; }
.spill:hover { border-color: var(--border-hi); color: var(--muted); }
.spill-blue   { border-color: rgba(59,130,246,.35); color: #93c5fd; }
.spill-green  { border-color: rgba(34,197,94,.3);   color: #86efac; }
.spill-purple { border-color: rgba(168,85,247,.3);  color: #c4b5fd; }

.gov-mesh {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--r-lg);
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: rgba(17, 24, 39, 0.6);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(59, 130, 246, 0.08);
}
.gov-mesh__backdrop {
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 85% 45%, rgba(168, 85, 247, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 45% 95%, rgba(34, 197, 94, 0.12) 0%, transparent 38%);
  pointer-events: none;
}
.gov-mesh__caption {
  position: relative;
  z-index: 1;
  margin: 0 0 1.15rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.gov-mesh .stack-pills {
  position: relative;
  z-index: 1;
  gap: .55rem;
}
.gov-mesh .spill {
  background: rgba(7, 9, 15, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.08);
}
@media (min-width: 780px) {
  .gov-inner > .gov-mesh { justify-self: stretch; }
}

/* HOW IT WORKS PAGE (full layout) */
.hiw-page { border-bottom: 1px solid var(--border); }

.hiw-track {
  padding: clamp(1.75rem, 4vw, 2.5rem) 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.hiw-track__inner { max-width: 56rem; margin: 0 auto; }
.hiw-track__flow {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}
.hiw-track__step {
  flex: 1 1 7rem;
  max-width: 11rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.hiw-track__step--accent {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, var(--card) 100%);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08);
}
.hiw-track__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hi);
  color: var(--muted);
}
.hiw-track__step--accent .hiw-track__badge {
  color: #93c5fd;
  border-color: var(--accent-border);
  background: var(--accent-dim);
}
.hiw-track__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}
.hiw-track__hint {
  font-size: 0.75rem;
  color: var(--subtle);
  line-height: 1.35;
}
.hiw-track__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--subtle);
  flex: 0 0 auto;
  padding: 0 0.15rem;
  align-self: center;
}
@media (max-width: 640px) {
  .hiw-track__arrow {
    flex-basis: 100%;
    padding: 0.25rem 0;
    transform: rotate(90deg);
  }
  .hiw-track__arrow svg { transform: none; }
}

.hiw-deep {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hiw-deep__inner { max-width: var(--max); margin: 0 auto; }
.hiw-deep__title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
}
.hiw-deep__grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .hiw-deep__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.hiw-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, background 0.2s;
}
.hiw-card:hover {
  border-color: var(--border-hi);
  background: var(--card-hover);
}
.hiw-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.hiw-card__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
}
.hiw-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  padding-top: 0.15rem;
}
.hiw-card__lede {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}
.hiw-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hiw-card__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
}
.hiw-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.hiw-access {
  padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.hiw-access__inner { max-width: var(--max); margin: 0 auto; }
.hiw-access h2 {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}
.hiw-access__cols {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .hiw-access__cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.hiw-access__card {
  padding: 1.65rem 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-hi);
  background: linear-gradient(155deg, rgba(59, 130, 246, 0.08) 0%, var(--card) 55%);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, background 0.2s;
}
.hiw-access__card:hover {
  border-color: rgba(59, 130, 246, 0.28);
  background: linear-gradient(155deg, rgba(59, 130, 246, 0.12) 0%, var(--card-hover) 55%);
}
.hiw-access__card:nth-child(2) {
  background: linear-gradient(155deg, rgba(129, 140, 248, 0.1) 0%, var(--card) 55%);
}
.hiw-access__card:nth-child(2):hover {
  border-color: rgba(129, 140, 248, 0.3);
}
.hiw-access__card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
}
.hiw-access__card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}
.hiw-access__note {
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--subtle);
  max-width: 42rem;
}

/* CONTACT PAGE */
.contact-page {
  min-height: 55vh;
  border-bottom: 1px solid var(--border);
}

.contact-page__hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.75rem, 6vw, 4rem);
  padding-right: 1.5rem;
  padding-bottom: clamp(3.75rem, 9vw, 5.75rem);
  padding-left: 1.5rem;
  background:
    radial-gradient(ellipse 72% 100% at 58% 38%, rgba(59, 130, 246, 0.34) 0%, rgba(59, 130, 246, 0.07) 55%, transparent 74%),
    radial-gradient(ellipse 42% 62% at 10% 72%, rgba(99, 102, 241, 0.2) 0%, transparent 58%),
    radial-gradient(ellipse 28% 36% at 50% 0%, rgba(147, 197, 253, 0.07) 0%, transparent 55%),
    #060c18;
  border-bottom: 1px solid var(--border);
}
.contact-page__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.contact-page__hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.5) 22%, rgba(99, 102, 241, 0.42) 55%, rgba(59, 130, 246, 0.45) 78%, transparent 100%);
  pointer-events: none;
}
.contact-page__hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}
.contact-page__hero .hero-badge--contact {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.32);
  color: #c4b5fd;
}
.hero-badge__dot--contact {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 100%);
  animation: badge-pulse-indigo 2s ease-in-out infinite;
}
.contact-page__hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 18ch;
}
.contact-page__hero-lede {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
}

.contact-page__shell {
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  background: var(--surface);
}
.contact-page__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}
@media (min-width: 880px) {
  .contact-page__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: clamp(2.5rem, 5vw, 3.5rem);
  }
}

.contact-page__intro-lede {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
}
.contact-page__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-page__trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, background 0.2s;
}
.contact-page__trust li:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: var(--card-hover);
}
.contact-page__trust-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: #93c5fd;
}
.contact-page__trust-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-page__trust strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.contact-page__trust-body > span {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}
.contact-page__aside {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--subtle);
}
.contact-page__aside a {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
}
.contact-page__aside a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-page__panel {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.08) 0%, var(--card) 45%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(59, 130, 246, 0.05);
}
#contact-form {
  scroll-margin-top: calc(var(--site-header-h) + 1rem);
}
.contact-panel__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--border);
}
.contact-panel__dots {
  display: flex;
  gap: 6px;
}
.contact-panel__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-hi);
}
.contact-panel__dots span:nth-child(1) {
  background: rgba(248, 113, 113, 0.55);
}
.contact-panel__dots span:nth-child(2) {
  background: rgba(234, 179, 8, 0.5);
}
.contact-panel__dots span:nth-child(3) {
  background: rgba(34, 197, 94, 0.45);
}
.contact-panel__title {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--subtle);
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--r);
  font-size: 0.875rem;
  line-height: 1.55;
  border: 1px solid var(--border-hi);
}
.form-alert--success {
  background: var(--green-bg);
  border-color: var(--green-border);
  color: #86efac;
}
.form-alert--error {
  background: var(--red-bg);
  border-color: var(--red-border);
  color: #fecaca;
}
.form-alert--error strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
}
.form-alert--error ul {
  margin: 0;
  padding-left: 1.15rem;
}
.form-alert--error li {
  margin-top: 0.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.35rem 1.25rem 1.5rem;
}
@media (min-width: 500px) {
  .contact-form {
    padding: 1.5rem 1.5rem 1.65rem;
  }
}
.contact-form__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 0.25rem;
}
.contact-form__note {
  margin: 0;
  max-width: 28rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--subtle);
}

.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 500px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: rgba(7, 9, 15, 0.45);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  padding: 0.72rem 0.95rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  width: 100%;
  resize: vertical;
  -webkit-appearance: none;
}
.form-field textarea {
  min-height: 8rem;
}
.form-field--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-optional {
  font-weight: 500;
  color: var(--subtle);
  font-size: 0.8125rem;
}
.form-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--subtle);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--subtle);
}
.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.16);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
  background: rgba(7, 9, 15, 0.65);
}

/* SITE FOOTER */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 3rem 1.5rem 1.5rem; }
.site-footer__top { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 700px) { .site-footer__top { grid-template-columns: 1fr auto; } }
.site-footer__intro { display: flex; flex-direction: column; gap: .75rem; max-width: 280px; }
.site-footer__brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.site-footer__brand:hover { text-decoration: none; }
.site-footer__name { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--text); letter-spacing: -.02em; }
.site-footer__pitch { margin: 0; font-size: .875rem; color: var(--subtle); line-height: 1.6; }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 2rem 3rem; }
.site-footer__heading { margin: 0 0 .875rem; font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--subtle); }
.site-footer__links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.site-footer__links a { font-size: .9rem; color: var(--muted); transition: color .15s; }
.site-footer__links a:hover { color: var(--text); text-decoration: none; }
.site-footer__cookie-btn {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .9rem;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer__cookie-btn:hover {
  color: var(--text);
  text-decoration: none;
}
.site-footer__bottom { border-top: 1px solid var(--border); padding-top: 1.25rem; }
.site-footer__copy { margin: 0; font-size: .8125rem; color: var(--subtle); }

/* Cookie consent banner */
body.cookie-banner--open {
  padding-bottom: clamp(7rem, 22vw, 10rem);
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 160;
  padding: 1rem 1.25rem 1.25rem;
  background: rgba(13, 17, 23, 0.97);
  border-top: 1px solid var(--border-hi);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}
.cookie-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52rem;
}
.cookie-banner__text a {
  color: #93c5fd;
  font-weight: 600;
}
.cookie-banner__text a:hover {
  color: var(--accent);
}
.cookie-banner__text strong {
  color: var(--text);
  font-weight: 600;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-banner__btn {
  min-height: 44px;
  min-width: 44px;
}

/* 404 */
.errors-404 { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 3rem 1.5rem; text-align: center; background: var(--bg); }
.errors-404-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.errors-404-inner h1 { margin: 0; font-family: var(--display); font-size: clamp(5rem,15vw,9rem); font-weight: 900; color: var(--border-hi); letter-spacing: -.04em; line-height: 1; }
.errors-404-inner p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
