/* theme.css: Kadara design system · Verdigris v2.0
   Single source of truth. Verdigris green primary (#18785F), brass accent
   (#E2A63E, bright #E8B14C), white ground, dark ink. UI System Phase 2.5
   removes cream grounds in light mode. Both modes engineered, not inverted.
   Plus Jakarta Sans across the system; hierarchy comes from weight + size.
   Comfortaa is reserved for the wordmark / brand moments only. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

::selection {
  background: var(--brand-brass-soft);
  color: var(--brand-brass-text);
}

:root {
  /* ─── Grounds ─────────────────────────────────────────────── */
  --paper:        #FFFFFF;
  --bg-section:   #F5F6F3;
  --bg-tint:      #ECF1EE;
  --bg-raised:    #FFFFFF;
  --bg-elevated:  #FFFFFF;
  --cream:        #F5F6F3;   /* legacy alias for soft surface */

  /* ─── Ink ─────────────────────────────────────────────────── */
  --ink:    #1B201C;
  --body:   #3A423C;
  --sub:    #5A655D;
  --faint:  #7C857D;
  --line:   #E5E7E3;
  --rule:   #D2D5CF;

  /* ─── Brand · Verdigris (the brand & every action) ────────── */
  --brand-verdigris:        #18785F;
  --brand-verdigris-hover:  #136150;
  --brand-verdigris-text:   #136150;
  --brand-verdigris-soft:   #E4F1EB;
  --brand-verdigris-line:   #BFDBCF;
  --brand-verdigris-fixed:  #18785F;   /* same value in light + dark, brand surfaces that must not remap */
  --on-brand-verdigris:     #FFFFFF;

  /* ─── Brand · Brass (the read-point · never an action) ──── */
  --brand-brass:        #E2A63E;
  --brand-brass-bright: #E8B14C;   /* read-points / pulse dot only */
  --brand-brass-text:   #8A6112;   /* AA contrast on white */
  --brand-brass-soft:   #FAEDCF;
  --brand-brass-line:   #EBCF93;

  /* ─── Status ──────────────────────────────────────────────── */
  --amber:    #B7791F;
  --amber-bg: #FBF4E8;
  --red:      #B4452E;
  --red-bg:   #FEF2F2;
  --info:     #2E6DAE;

  /* ─── Typography ──────────────────────────────────────────── */
  --ff-brand:    "Comfortaa", system-ui, sans-serif;
  --ff-body:     "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --ff-heading:  "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --ff-mono:     "Spline Sans Mono", ui-monospace, monospace;

  /* ─── Spacing ─────────────────────────────────────────────── */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

  --section-py:    80px;
  --nav-height:    72px;
  --max-hero:      1320px;
  --hero-pt:       88px;  --hero-pb:       72px;
  --hub-hero-pt:   88px;  --hub-hero-pb:   60px;
  --tool-hero-pt:  64px;  --tool-hero-pb:  48px;
  --hero-sub-mb:       40px;
  --hero-support-mb:   40px;
  --section-label-mb:  14px;

  --max: 1120px;

  /* ─── Radius ──────────────────────────────────────────────── */
  --r-sm:   8px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-pill: 100px;
  --r:      12px;

  /* ─── Elevation ───────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(27,32,28,0.04);
  --shadow-md: 0 8px 24px -8px rgba(27,32,28,0.10);
  --shadow-lg: 0 24px 60px -38px rgba(27,32,28,0.20);

  /* ─── TEMPORARY LEGACY ALIASES ──────────────────────────────
     Used by un-migrated pages. Strip when all pages reach the
     canonical token set. TODO[verdigris-migration]: remove. */
  --bg:               var(--paper);
  --green:            var(--brand-verdigris);
  --green-dark:       var(--brand-verdigris-hover);
  --green-light:      var(--brand-verdigris-soft);
  --voice:            var(--brand-verdigris);
  --voice-hover:      var(--brand-verdigris-hover);
  --voice-text:       var(--brand-verdigris-text);
  --voice-soft:       var(--brand-verdigris-soft);
  --voice-line:       var(--brand-verdigris-line);
  --on-voice:         var(--on-brand-verdigris);
  --soft:             #9FCDBE;
  --accent:           var(--brand-brass);
  --accent-bg:        var(--brand-brass-soft);
  --pulse:            var(--brand-brass);
  --pulse-text:       var(--brand-brass-text);
  --pulse-soft:       var(--brand-brass-soft);
  --pulse-line:       var(--brand-brass-line);
  --mid:              var(--sub);
  --dim:              var(--faint);
  --white:            #FFFFFF;
  --card-bg:          var(--bg-raised);
  --card-border:      rgba(24,120,95,0.12);
  --border:           var(--line);
  --pill-green-bg:    var(--brand-verdigris-soft);
  --pill-green-text:  var(--brand-verdigris-text);
  --ff-wordmark:      var(--ff-brand);
  --ff-serif:         var(--ff-heading);
  --ff-sans:          var(--ff-body);

  /* Legal-page aliases */
  --k-green:       var(--brand-verdigris);
  --k-green-dark:  var(--brand-verdigris-hover);
  --k-green-light: var(--brand-verdigris-soft);
  --k-ink:         var(--ink);
  --k-muted:       var(--sub);
  --k-light:       #EDE9E0;
  --k-border:      rgba(24,120,95,0.15);
  --k-white:       var(--paper);
}

.wrapper { --max: 780px; }

/* ===========================================================
   BASE TYPOGRAPHY: hierarchy via weight + size
   =========================================================== */
body {
  font-family: var(--ff-body);
  font-weight: 400; font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand-verdigris); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-weight: 700; font-size: clamp(40px, 5.2vw, 60px); letter-spacing: -0.030em; line-height: 1.02; }
h2 { font-weight: 700; font-size: clamp(28px, 4vw,  40px); letter-spacing: -0.025em; line-height: 1.08; }
h3 { font-weight: 600; font-size: clamp(22px, 3vw,  28px); letter-spacing: -0.020em; line-height: 1.15; }
h4 { font-weight: 600; font-size: 20px;                    letter-spacing: -0.015em; line-height: 1.25; }
h5 { font-weight: 600; font-size: 17px;                    letter-spacing: -0.010em; line-height: 1.30; }
h6 { font-weight: 600; font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--sub); }

p { margin: 0; }
.mono, code, kbd, samp { font-family: var(--ff-mono); font-size: 0.92em; }

/* ===========================================================
   WORDMARK: Comfortaa for brand moments only
   =========================================================== */
.brand-word,
.nav-logo,
.footer-brand {
  font-family: var(--ff-brand);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ===========================================================
   LAYOUT PRIMITIVES
   =========================================================== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { padding: var(--section-py) 0; }
.hero      { padding: var(--hero-pt) 0 var(--hero-pb); }
.hub-hero  { padding: var(--hub-hero-pt) 0 var(--hub-hero-pb); }
.hiw-hero  { padding: var(--hub-hero-pt) 0 var(--hub-hero-pb); }

/* ===========================================================
   HERO with video background: full-section video + scrim,
   white text inversion. Poster fallback path lives in each
   page's local CSS so theme.css stays path-agnostic.
   =========================================================== */
.hero.hero-has-video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  margin-top: calc(-1 * var(--nav-height));
  min-height: 100vh;
  padding: 0;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
  filter: saturate(0.8) brightness(0.95);
}
.hero-video > img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Verdigris tint overlay: sits between video/poster (z:-3) and dark scrim (z:-1).
   Soft-light blend at 0.15 opacity gives the footage a subtle brand lean without
   tipping into duotone territory. */
.hero.hero-has-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-verdigris);
  mix-blend-mode: soft-light;
  opacity: 0.15;
  z-index: -2;
  pointer-events: none;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(7,17,14,0.82) 0,
    rgba(7,17,14,0.55) 120px,
    rgba(7,17,14,0.45) 32%,
    rgba(7,17,14,0.45) 60%,
    rgba(7,17,14,0.78) 100%);
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-hero);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 48px) 28px 60px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 320px);
  grid-template-rows: 1fr;
  column-gap: 40px;
  justify-content: space-between;
  align-items: stretch;
}

/* Editorial two-zone hero composition */
.hero-left {
  position: relative;
  padding-left: 22px;
  align-self: start;
}
.hero-rule {
  position: absolute;
  left: 0; top: clamp(5px, 0.6vw, 10px); bottom: 0;
  width: 2px;
  background: var(--brand-brass);
}
.hero-right {
  max-width: 320px;
  align-self: start;
  padding-top: 320px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-height) + 16px);
    column-gap: 0;
    row-gap: 32px;
    min-height: calc(100vh - 60px);
  }
  .hero-left  { align-self: start; }
  .hero-right { align-self: start; max-width: 100%; margin-bottom: 0; }
}

.hero.hero-has-video h1                  { color: #FFFFFF; }
.hero.hero-has-video .hero-sub           { color: rgba(255,255,255,0.94); }
.hero.hero-has-video .hero-micro         { color: rgba(255,255,255,0.88); }
.hero.hero-has-video .hero-paths-subtext { color: rgba(255,255,255,0.82); }
.hero.hero-has-video .hero-see-how a     { color: rgba(255,255,255,0.85); }
.hero.hero-has-video .hero-see-how a:hover { color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

*:focus-visible {
  outline: 2px solid var(--brand-verdigris);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===========================================================
   SECTION HEADERS
   =========================================================== */
.section-label {
  font-family: var(--ff-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-verdigris);
  margin-bottom: var(--section-label-mb);
}
.section-heading {
  font-family: var(--ff-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px; color: var(--sub);
  max-width: 540px; line-height: 1.7;
}
.section-divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ===========================================================
   HERO
   =========================================================== */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-verdigris-soft); color: var(--brand-verdigris-text);
  font-family: var(--ff-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--r-pill);
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-verdigris);
}
.hero h1 {
  font-family: var(--ff-heading);
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 700; letter-spacing: -0.030em;
  line-height: 1.05; color: var(--ink);
  max-width: 860px; margin-bottom: 24px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic; font-weight: 700;
  color: var(--brand-verdigris);
}
.hero h1 .h1-sub {
  display: block; font-size: 0.62em; font-weight: 500;
  color: var(--sub); margin-top: 14px;
  letter-spacing: -0.020em;
}
.hero-sub {
  font-size: 19px; color: var(--ink);
  max-width: 58ch; line-height: 1.5;
  margin-top: 28px; margin-bottom: var(--hero-sub-mb);
}
.hero-trust  { font-size: 13px; color: var(--faint); margin-top: 20px; }
.hero-ctas   { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-support { margin-bottom: var(--hero-support-mb); }
.hero-transition {
  font-size: 14px; color: var(--faint);
  max-width: 58ch; margin: -24px 0 32px;
  line-height: 1.55;
}

/* ===========================================================
   SITE NAV
   =========================================================== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: #07110E;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Nav overlay state: transparent over hero-has-video sections.
   JS toggles .nav-over-video on .site-nav while the hero is in view. */
.site-nav.nav-over-video {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-nav.nav-over-video .nav-logo            { color: #FFFFFF; }
.site-nav.nav-over-video .nav-link            { color: rgba(255,255,255,0.85); }
.site-nav.nav-over-video .nav-link:hover      { color: #FFFFFF; }
.site-nav.nav-over-video .nav-link.active     { color: #FFFFFF; }
.site-nav.nav-over-video .nav-dropdown-toggle { color: rgba(255,255,255,0.85); }
.site-nav.nav-over-video .nav-dropdown-toggle:hover { color: #FFFFFF; }
.site-nav.nav-over-video .mobile-nav-toggle-line   { background: #FFFFFF; }

/* Past-hero scroll state: nav is solid dark (only set on pages where the
   IntersectionObserver runs, i.e. pages with .hero-has-video). */
.site-nav.nav-past-hero {
  background: #07110E;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(255,255,255,0.08);
}
.site-nav.nav-past-hero .nav-logo            { color: #FFFFFF; }
.site-nav.nav-past-hero .nav-link            { color: rgba(255,255,255,0.78); }
.site-nav.nav-past-hero .nav-link:hover      { color: #FFFFFF; }
.site-nav.nav-past-hero .nav-link.active     { color: #FFFFFF; }
.site-nav.nav-past-hero .nav-dropdown-toggle { color: rgba(255,255,255,0.78); }
.site-nav.nav-past-hero .nav-dropdown-toggle:hover { color: #FFFFFF; }
.site-nav.nav-past-hero .mobile-nav-toggle-line   { background: #FFFFFF; }
.nav-inner {
  max-width: var(--max-hero); margin: 0 auto;
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  font-size: 24px; color: #FFFFFF;
  text-decoration: none; flex-shrink: 0;
  display: flex; align-items: center;
}
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-link {
  font-size: 14px; font-weight: 450;
  color: rgba(255,255,255,0.78); text-decoration: none;
  padding: 6px 12px; border-radius: var(--r-sm);
  transition: color 0.15s; white-space: nowrap;
}
.nav-link:hover { color: #FFFFFF; text-decoration: none; }
.nav-link.active { color: #FFFFFF; font-weight: 500; }

/* ===========================================================
   NAV DROPDOWN: parent link + child menu, hover/focus reveal
   on desktop, accordion in mobile overlay
   =========================================================== */
.nav-dropdown {
  position: relative;
  display: inline-flex; align-items: center;
}
.nav-dropdown-toggle {
  background: transparent; border: none; cursor: pointer;
  padding: 6px 4px; margin-left: -2px;
  color: rgba(255,255,255,0.78);
  display: inline-flex; align-items: center;
  border-radius: var(--r-sm);
  transition: color 0.15s;
}
.nav-dropdown-toggle:hover { color: #FFFFFF; }
.nav-chevron { width: 12px; height: 12px; transition: transform 0.15s; }
.nav-dropdown[data-open="true"] .nav-chevron,
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 6px 0;
  min-width: 240px;
  margin-top: 6px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown[data-open="true"] .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 14px; font-weight: 450;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.1s, color 0.1s;
}
.nav-dropdown-item:hover {
  background: var(--brand-verdigris-soft);
  color: var(--brand-verdigris-text);
  text-decoration: none;
}

/* Mobile overlay accordion variant */
.mobile-nav-dropdown {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 320px;
  gap: 12px;
}
.mobile-nav-dropdown-header {
  display: flex; align-items: center; gap: 8px;
}
.mobile-nav-dropdown-toggle {
  background: transparent; border: none; cursor: pointer;
  padding: 8px; color: var(--sub);
  display: inline-flex; align-items: center;
}
.mobile-nav-dropdown[data-open="true"] .mobile-nav-dropdown-toggle .nav-chevron {
  transform: rotate(180deg);
}
.mobile-nav-dropdown-children {
  display: none; flex-direction: column;
  gap: 16px; align-items: center;
  padding-bottom: 4px;
}
.mobile-nav-dropdown[data-open="true"] .mobile-nav-dropdown-children {
  display: flex;
}
.mobile-nav-dropdown-children a {
  font-size: 18px;
  color: var(--sub);
  font-weight: 450;
}
.mobile-nav-dropdown-children a:hover { color: var(--brand-verdigris); }

/* Hide desktop dropdown on mobile (overlay handles it) */
@media (max-width: 768px) {
  .site-nav .nav-dropdown-menu { display: none; }
  .site-nav .nav-dropdown-toggle { display: none; }
}

/* ===========================================================
   BUTTONS: verdigris is the action; brass is never a button
   =========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ff-body);
  font-size: 14px; font-weight: 500; line-height: 1;
  padding: 10px 20px; border-radius: var(--r-sm);
  border: none; cursor: pointer; text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary       { background: var(--brand-verdigris); color: var(--on-brand-verdigris); }
.btn-primary:hover { background: var(--brand-verdigris-hover); }
.btn-secondary       { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-outline       { background: transparent; color: var(--brand-verdigris); border: 1.5px solid var(--brand-verdigris); }
.btn-outline:hover { background: var(--brand-verdigris-soft); }
.btn-ghost         { background: transparent; color: var(--brand-verdigris-text); }
.btn-ghost:hover   { background: var(--brand-verdigris-soft); }
.btn-white         { background: #FFFFFF; color: var(--brand-verdigris); }
.btn-white:hover   { background: var(--brand-verdigris-soft); }
.btn-white-outline       { background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-white-outline:hover { background: rgba(255,255,255,0.10); border-color: #FFFFFF; }
.btn-lg { font-size: 16px; padding: 14px 28px; border-radius: var(--r-md); }

/* ===========================================================
   PILLS / TAGS
   =========================================================== */
.pill {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 600;
  padding: 2px 8px; border-radius: var(--r-pill);
  white-space: nowrap; flex-shrink: 0;
}
.pill-green { background: var(--brand-verdigris-soft); color: var(--brand-verdigris-text); }
.pill-amber { background: var(--amber-bg); color: var(--amber); }
.pill-red   { background: var(--red-bg);   color: var(--red); }

.pill--voice   { background: var(--brand-verdigris-soft); color: var(--brand-verdigris-text); }
.pill--pulse   { background: var(--brand-brass-soft);     color: var(--brand-brass-text); }
.pill--outline { background: transparent; color: var(--sub); border: 1px solid var(--line); }

.coming-next-tag {
  display: inline-block;
  background: var(--brand-verdigris-soft); color: var(--brand-verdigris-text);
  font-family: var(--ff-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--r-pill);
  margin-bottom: 12px;
}

/* ===========================================================
   CARDS: generic + feature/col/trust/module variants
   =========================================================== */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.card-elevated {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.feature-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.feature-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--brand-verdigris-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.feature-body  { font-size: 14px; color: var(--sub); line-height: 1.6; }

.col-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.col-card h3 {
  font-family: var(--ff-heading);
  font-size: 22px; font-weight: 600;
  color: var(--ink); margin-bottom: 20px;
}
.col-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.col-card li {
  font-size: 15px; color: var(--sub);
  padding: 8px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 10px;
}
.col-card li:last-child { border-bottom: none; }
.check-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.trust-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.trust-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--brand-verdigris-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.trust-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.trust-body  { font-size: 14px; color: var(--sub); line-height: 1.6; }

/* ===========================================================
   TRUST STRIP: quiet reassurance band (paste anywhere; no
   page-local overrides). Hairline top+bottom, no fill, icon +
   label in support-text register. Reads as secondary.
   =========================================================== */
.trust-strip {
  list-style: none;
  margin: 28px 0 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 48px;
  align-items: center;
}
.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--sub);
}
.trust-strip-item svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--brand-verdigris);
  stroke: currentColor; fill: none;
  stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 900px) {
  .trust-strip { grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
}
@media (max-width: 560px) {
  .trust-strip { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
}

.module-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
}
.mod-tag {
  display: inline-block;
  background: var(--brand-verdigris-soft); color: var(--brand-verdigris-text);
  font-family: var(--ff-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.mod-name { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.mod-desc { font-size: 14px; color: var(--sub); line-height: 1.6; }

.svg-ic {
  width: 18px; height: 18px;
  fill: none; stroke: var(--brand-verdigris);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ===========================================================
   FORMS
   =========================================================== */
.form-control,
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], input[type="password"],
select, textarea {
  font-family: var(--ff-body); font-size: 16px;
  color: var(--ink); background: var(--bg-raised);
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  padding: 10px 14px; line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus,
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-verdigris);
  box-shadow: 0 0 0 3px var(--brand-verdigris-soft);
}
label { font-family: var(--ff-body); font-weight: 600; color: var(--ink); font-size: 14px; }

/* ===========================================================
   FOOTER: dark in both site modes
   =========================================================== */
.site-footer {
  background: #07110E;
  color: #ECE8DC;
  border-top: 1px solid #243F37;
  padding: 64px 0 32px;
}

/* 4-column grid with subtle vertical rules */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: stretch;
  gap: 0;
}
.footer-grid > * {
  padding: 0 32px;
  border-right: 1px solid #243F37;
}
.footer-grid > *:first-child { padding-left: 0; }
.footer-grid > *:last-child  { border-right: none; padding-right: 0; }

.footer-brand {
  font-size: 24px;
  color: #FBFAF6;
  display: block;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 14px; color: #D8D4C8;
  line-height: 1.55; max-width: 280px; margin-top: 0;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-family: var(--ff-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #94A399; margin-bottom: 8px;
}
.footer-link {
  font-size: 14px; color: #ECE8DC;
  text-decoration: none; line-height: 1.4;
  transition: color 0.15s;
}
.footer-link:hover { color: #FBFAF6; text-decoration: none; }

/* Bottom strip */
.footer-strip {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid #243F37;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 24px;
  font-size: 13px; line-height: 1.55;
  color: #94A399;
}
.footer-strip a {
  color: #ECE8DC;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.footer-strip a:hover { color: #FBFAF6; }
.footer-strip-left  { max-width: 60ch; }
.footer-strip-right { text-align: right; display: flex; flex-direction: column; gap: 4px; }

/* TRANSITIONAL: legacy footer fallbacks, remove when all 14 pages on new footer */
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid #243F37;
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
  color: #94A399;
}
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-note { font-size: 12px; color: #94A399; }

/* ===========================================================
   MOCKUP INTERIORS: locked light theme in both page modes.
   Screens inside phone/desktop frames are product UI; rendered
   light-only regardless of page mode.
   =========================================================== */
.phone-screen,
.desk-shell {
  --paper:                  #FFFFFF;
  --bg:                     #FFFFFF;
  --bg-section:             #F5F6F3;
  --bg-raised:              #FFFFFF;
  --bg-elevated:            #FFFFFF;
  --cream:                  #F5F6F3;
  --ink:                    #1B201C;
  --body:                   #3A423C;
  --sub:                    #5A655D;
  --mid:                    #5A655D;
  --faint:                  #7C857D;
  --dim:                    #7C857D;
  --line:                   #E5E7E3;
  --rule:                   #D2D5CF;
  --border:                 #E5E7E3;
  --card-bg:                #FFFFFF;
  --card-border:            rgba(24,120,95,0.12);
  --brand-verdigris:        #18785F;
  --brand-verdigris-hover:  #136150;
  --brand-verdigris-text:   #136150;
  --brand-verdigris-soft:   #E4F1EB;
  --brand-verdigris-line:   #BFDBCF;
  --on-brand-verdigris:     #FFFFFF;
  --brand-brass:            #E2A63E;
  --brand-brass-bright:     #E8B14C;
  --brand-brass-text:       #8A6112;
  --brand-brass-soft:       #FAEDCF;
  --green:                  #18785F;
  --green-dark:             #136150;
  --green-light:            #E4F1EB;
  --voice:                  #18785F;
  --voice-soft:             #E4F1EB;
  --voice-text:             #136150;
  --on-voice:               #FFFFFF;
  --pulse:                  #E2A63E;
  --pulse-soft:             #FAEDCF;
  --pill-green-bg:          #E4F1EB;
  --pill-green-text:        #136150;
  --amber:                  #B7791F;
  --amber-bg:               #FBF4E8;
  --red:                    #B4452E;
  --red-bg:                 #FEF2F2;
}

/* ===========================================================
   MOBILE HAMBURGER NAV: canonical (driven by scripts.js)
   =========================================================== */
.mobile-nav-toggle {
  display: none; background: transparent; border: 0;
  padding: 8px; cursor: pointer; width: 44px; height: 44px; flex-shrink: 0;
}
.mobile-nav-toggle-line {
  display: block; width: 24px; height: 2px;
  background: #FFFFFF; margin: 4px auto; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: var(--paper); z-index: 1000;
  flex-direction: column; align-items: center; justify-content: center; padding: 24px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-content {
  position: relative; width: 100%; max-width: 400px;
  display: flex; flex-direction: column; align-items: center;
}
.mobile-nav-close {
  position: absolute; top: -8px; right: -8px;
  background: transparent; border: 0;
  font-size: 32px; line-height: 1; color: var(--ink);
  cursor: pointer; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-body);
}
.mobile-nav-links {
  display: flex; flex-direction: column; gap: 24px;
  align-items: center; text-align: center; margin-top: 24px;
}
.mobile-nav-links a {
  font-size: 22px; color: var(--ink); text-decoration: none;
  font-weight: 500; font-family: var(--ff-body);
}
.mobile-nav-links a:hover { color: var(--brand-verdigris); }
.mobile-nav-cta {
  background: var(--brand-verdigris); color: var(--on-brand-verdigris) !important;
  padding: 12px 24px; border-radius: var(--r-md); margin-top: 16px;
}
.mobile-nav-cta:hover { background: var(--brand-verdigris-hover); }

@media (max-width: 768px) {
  .mobile-nav-toggle { display: block; }
  .nav-links { display: none; }
  :root {
    --section-py:    44px;
    --hero-pt:       48px;  --hero-pb:       36px;
    --hub-hero-pt:   48px;  --hub-hero-pb:   36px;
    --tool-hero-pt:  40px;  --tool-hero-pb:  28px;
    --hero-sub-mb:       16px;
    --hero-support-mb:   16px;
    --section-label-mb:  8px;
  }
  .hero h1 { margin-bottom: 16px; }
  .hero h1 .h1-sub { margin-top: 10px; }
  .hero-sub { margin-top: 20px; margin-bottom: 12px; }
  .hero-trust { margin-top: 14px; }
  .hero-transition { font-size: 13px; margin: -16px 0 12px; }
  .site-footer { padding: 48px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > * {
    padding: 24px 0;
    border-right: none;
    border-bottom: 1px solid #243F37;
  }
  .footer-grid > *:first-child { padding-top: 0; }
  .footer-grid > *:last-child  { border-bottom: none; padding-bottom: 0; }
  .footer-strip { flex-direction: column; gap: 16px; }
  .footer-strip-right { text-align: left; }
}

/* ===========================================================
   DARK MODE: engineered elevation ladder
   --brand-verdigris-fixed is intentionally NOT redefined here.
   It holds #18785F across both modes for brand surfaces that
   must not remap.
   =========================================================== */
/* Dark-mode activation disabled 2026-06-15. Site renders light only.
   Footer, homepage hero scrim, and Solo hero panel use hardcoded dark
   values (not these tokens), so they remain dark by design. The token
   remap below is preserved for reference; to re-enable, restore the
   @media selector to just (prefers-color-scheme: dark). */
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  :root {
    --paper:        #07110E;
    --bg-section:   #0B1915;
    --bg-raised:    #10231D;
    --bg-elevated:  #142B24;
    --cream:        #0B1915;

    --ink:   #FBFAF6;
    --body:  #ECE8DC;
    --sub:   #D8D4C8;
    --faint: #94A399;

    --line:  #243F37;
    --rule:  #2E4C42;

    --brand-verdigris:        #4FC3A2;
    --brand-verdigris-hover:  #6FD6B9;
    --brand-verdigris-text:   #84E3C7;
    --brand-verdigris-soft:   #102E27;
    --brand-verdigris-line:   #2A5044;
    --on-brand-verdigris:     #04140F;

    --brand-brass:        #D6A24A;
    --brand-brass-text:   #E7BE72;
    --brand-brass-soft:   #2E2410;
    --brand-brass-line:   #5A4622;

    --amber:    #E7BE72;
    --amber-bg: #2E2410;
    --red:      #F08A6E;
    --red-bg:   #3D1E1E;

    /* Legacy aliases follow the engineered values */
    --bg:               var(--paper);
    --green:            var(--brand-verdigris);
    --green-dark:       var(--brand-verdigris-hover);
    --green-light:      var(--brand-verdigris-soft);
    --voice:            var(--brand-verdigris);
    --voice-hover:      var(--brand-verdigris-hover);
    --voice-text:       var(--brand-verdigris-text);
    --voice-soft:       var(--brand-verdigris-soft);
    --voice-line:       var(--brand-verdigris-line);
    --on-voice:         var(--on-brand-verdigris);
    --soft:             var(--brand-verdigris-text);
    --accent:           var(--brand-brass);
    --accent-bg:        var(--brand-brass-soft);
    --pulse:            var(--brand-brass);
    --pulse-text:       var(--brand-brass-text);
    --pulse-soft:       var(--brand-brass-soft);
    --pulse-line:       var(--brand-brass-line);
    --mid:              var(--sub);
    --dim:              var(--faint);
    --card-bg:          var(--bg-raised);
    --card-border:      var(--line);
    --border:           var(--line);
    --pill-green-bg:    var(--brand-verdigris-soft);
    --pill-green-text:  var(--brand-verdigris-text);

    --k-green-light: var(--brand-verdigris-soft);
    --k-light:       #142B24;
    --k-border:      var(--line);
  }

  .site-nav { background: rgba(7,17,14,0.9); border-bottom-color: var(--line); }
  .feature-card, .col-card, .trust-card, .module-card, .form-card,
  .tool-input-panel, .tool-output-panel, .sample-card,
  .dashboard-preview-section { box-shadow: none; }
  .phone-shell { background: var(--ink); }
  .phone-notch { background: var(--paper); }

  /* Dark text on mint action backgrounds */
  body .btn-primary, body .btn-white { color: var(--on-brand-verdigris); }
}

/* ───────────────────────────────────────────────────────────
   TRY ANOTHER TOOL: shared closing strip on tool sub-pages.
   Markup is rendered by try-another-tool.js from a single
   source of truth, so the list cannot drift across pages.
   ─────────────────────────────────────────────────────────── */
.try-another-strip-section {
  padding: 16px 0 8px;
}
.try-another-strip-heading {
  font-family: var(--ff-heading);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 20px;
}
.try-another-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.try-another-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.try-another-card:hover {
  border-color: var(--brand-verdigris-line);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -28px rgba(27, 32, 28, 0.18);
}
.try-another-card-name {
  font-family: var(--ff-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.try-another-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--sub);
  margin: 0;
}
.try-another-card-link {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-verdigris-text);
  margin-top: auto;
  padding-top: 4px;
}
.try-another-card:hover .try-another-card-link {
  color: var(--brand-verdigris);
}
@media (max-width: 700px) {
  .try-another-strip-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────────────────
   CLOSING CTA: one shared rule sitewide. Fills the content
   column (.wrap on standard pages, the canvas column where a
   sidebar exists). Pulled tight to the content above it.
   ─────────────────────────────────────────────────────────── */
.cta-section {
  padding: clamp(16px, 3vw, 32px) 0 clamp(72px, 8vw, 96px);
}
.cta-box {
  background: var(--brand-verdigris-soft);
  border: 1px solid var(--brand-verdigris-line);
  border-radius: 24px;
  padding: clamp(56px, 8vw, 96px) clamp(36px, 6vw, 80px);
  text-align: center;
  width: 100%;
}
.cta-heading {
  font-family: var(--ff-heading);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 auto 18px;
  text-wrap: balance;
  max-width: 720px;
}
.cta-line {
  font-size: 17px;
  line-height: 1.6;
  color: var(--sub);
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-buttons {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.cta-buttons .btn { min-width: 220px; justify-content: center; }
.cta-buttons .btn-secondary {
  background: var(--bg-raised);
  border: 1px solid var(--brand-verdigris-line);
  color: var(--brand-verdigris-text);
}
.cta-buttons .btn-secondary:hover {
  background: #FFFFFF;
  color: var(--brand-verdigris);
}
.cta-pricing {
  margin-top: 22px;
  font-family: var(--ff-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sub);
}
@media (max-width: 480px) {
  .cta-buttons .btn { width: 100%; }
}

/* ===========================================================
   SECTION INTRO NORMALIZATION
   Shared heading + sub width and rhythm across all pages.
   Appended at end so it overrides the base .section-heading /
   .section-sub declarations above.
   =========================================================== */
.section-heading { max-width: 1080px; }
.section-sub     { max-width: 900px; margin-bottom: 44px; }

/* ===========================================================
   PROBLEM STATS
   Equal-height stat cards with figure, label, and source line
   pinned to the bottom via margin-top: auto.
   =========================================================== */
.problem-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.stat-card { display: flex; flex-direction: column; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-xl, 16px); padding: 24px; }
.stat-figure { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); margin-bottom: 8px; }
.stat-label { font-size: 14px; line-height: 1.5; color: var(--sub); margin-bottom: 12px; }
.stat-source { margin-top: auto; font-family: var(--ff-mono, monospace); font-size: 10.5px; letter-spacing: 0.03em; color: var(--faint); padding-top: 12px; border-top: 1px solid var(--line-subtle, var(--line)); }
@media (max-width: 900px) { .problem-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .problem-stats { grid-template-columns: 1fr; } }
