/* ===================================================================
   THEME TOKENS (Light only)
   =================================================================== */
:root {
  color-scheme: light;

  /* Core palette */
  --ink: #172738;


  --bg: #fff;
  --panel: #F6F8FB;
  --panel-2: #fff;

  --accent: #172738;     /* primary */
  --accent-2: #101627;   /* secondary */

  --ring: #E3E9F2;
  --success: #17A55D;

  --radius: 16px;
  --shadow: 0 10px 28px rgba(17, 23, 40, .06);
  --wrap: 1040px;

  --bg-alt: #f8fafc;           /* alternating section bg */
  --text: #0b1320;             /* ensure AA vs bg */
  --muted: #4b5563;            /* body-muted; check 4.5:1 */
  --link: #0f6ad8;             /* AA on bg & bg-alt */
  --link-hover: #0b56ad;       /* 3:1 vs bg minimum for UI */
  --border: #e5e7eb;           /* subtle dividers */
  --accent-1: #eef5ff;         /* for light gradient */

  /* Type scales */
  --fs-h1: clamp(24px, 2.6vw, 34px);
  --fs-h2: clamp(18px, 2.0vw, 22px);
  --fs-h3: clamp(15px, 1.8vw, 18px);
  --fs-body: 16px;

  /* Derived accents */
  --accent-deep: color-mix(in srgb, var(--accent) 85%, black);

  /* Alpha helpers (based on #172738) */
  --accent-a06: rgba(23, 39, 56, .06);
  --accent-a08: rgba(23, 39, 56, .08);
  --accent-a12: rgba(23, 39, 56, .12);
  --accent-a18: rgba(23, 39, 56, .18);
  --accent-a20: rgba(23, 39, 56, .20);
  --accent-a25: rgba(23, 39, 56, .25);
  --accent-a35: rgba(23, 39, 56, .35);
  --overlay-a40: rgba(23, 39, 56, .40);

  /* Band gradients (results styling) */
  --g-baseline-1: #F97316;
  --g-baseline-2: #EF4444;

  --g-progressing-1: #F59E0B;
  --g-progressing-2: #FBBF24;

  --g-strong-1: var(--accent-2);
  --g-strong-2: var(--accent);

  --g-leading-1: #10B981;
  --g-leading-2: #059669;

   /* spacing scale (8px base) */
   --space-0: 0;
   --space-1: .5rem;   /* 8 */
   --space-2: 1rem;    /* 16 */
   --space-3: 1.5rem;  /* 24 */
   --space-4: 2rem;    /* 32 */
   --space-5: 3rem;    /* 48 */
   /*--space-6: 4rem;    /* 64 */
 
   /* section rhythm */
   --section-padding-block: var(--space-6);
   --section-gap: var(--space-5); 
}
:root{
  --alt: #6366F1; /* indigo */
  --alt-04: color-mix(in srgb, var(--alt) 4%,  transparent);
  --alt-08: color-mix(in srgb, var(--alt) 8%,  transparent);
  --alt-12: color-mix(in srgb, var(--alt) 12%, transparent);
  --alt-ring: color-mix(in srgb, var(--alt) 28%, transparent);
}
/* global vertical rhythm */
body{ line-height:1.6; color:var(--text); }
.section{ padding-block: var(--section-padding-block); }
.section + .section{ margin-top: var(--section-gap); }

/* readable stacks */
.stack > * + * { margin-top: var(--space-3); }
.prose p + p { margin-top: var(--space-3); }



/* ===================================================================
   BASE / RESET
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font: var(--fs-body)/1.6 system-ui, -apple-system, Segoe UI, Inter, Arial, sans-serif;

  /* Fallback first, then modern */
  background:
    radial-gradient(1200px 1200px at 80% -100%, var(--accent-a08), transparent 60%),
    var(--bg);
  background:
    radial-gradient(1200px 1200px at 80% -100%,
      color-mix(in srgb, var(--accent) 8%, transparent),
      transparent 60%),
    var(--bg);

  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
} 
a:hover { text-decoration-thickness: 2px; }

/* Skip link */
.skip { position: absolute; left: -9999px; }
.skip:focus {
  position: fixed; left: 12px; top: 12px;
  background: #fff; color: #000; padding: 8px 10px;
  border-radius: 10px; z-index: 9999;
}

/* Focus ring */
:where(a, button, .btn, .icon-btn, .nav a):focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
  .icon-btn:hover { transform: none; }
}

.space-background {
  background-image: url('/assets/trust_bg.png'); /* Path to your image */
  background-size: cover; /* Ensures the image covers the entire element */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-position: center; /* Centers the image */
  }

/* ===================================================================
   LAYOUT
   =================================================================== */
.wrap {
  width: min(var(--wrap), 92vw);
  margin: 0 auto;
  padding: 16px;
}

main { padding: 18px 0 28px; }

/* ===================================================================
   NAVIGATION (App Bar + Drawer)
   =================================================================== */
.appbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--ring);
}

.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 0;
}

.brand { display: flex; align-items: center; gap: 10px; }
.logo { height: 32px; }

.nav { display: none; gap: 8px; align-items: center; }
.nav a { padding: 10px 12px; border-radius: 12px; }

/* Current page chip (fallback → modern) */
.nav a[aria-current="page"] {
  background: linear-gradient(180deg, var(--accent-a12), var(--accent-a06));
  border: 1px solid var(--accent-a25);
  text-decoration: none;

  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 12%, transparent),
    color-mix(in srgb, var(--accent) 6%, transparent)
  );
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

/* Burger (mobile) */
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ring); border-radius: 12px;
  background: var(--panel); width: 44px; height: 44px; color: var(--ink);
}

/* Drawer */
.drawer[hidden] { display: none; }
.drawer {
  position: fixed; inset: 0;
  background: var(--overlay-a40);
  backdrop-filter: blur(2px);
  display: grid; place-items: start end;
}
.drawer-sheet {
  width: min(86vw, 360px); height: 100%;
  background: var(--panel); border-left: 1px solid var(--ring);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow);
}
.drawer-sheet a { padding: 12px; border-radius: 12px; }
.drawer-foot { margin-top: auto; display: flex; gap: 8px; }

/* Desktop switch */
@media (min-width: 840px) {
  .nav { display: flex; }
  .burger { display: none; }
}

/* ===================================================================
   GRID SYSTEM
   =================================================================== */
.grid { display: grid; gap: 12px; }
.grid.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:16px; }

.cols-2 { grid-template-columns: inmax(0,1fr) minmax(0,1fr); }
.cols-3 { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .cols-2 { grid-template-columns: 1fr 1fr; }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
}



/* ===================================================================
   CARDS / TILES / HERO
   =================================================================== */
.card {
  background: var(--panel-2);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  padding: 16px; /* unified padding */
  box-shadow: var(--shadow);
}
.card.hero {
  text-align: center;
  background: linear-gradient(180deg, var(--accent-a08), transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent);
  border: 1px solid var(--ring);
}

.card--cta { border-left: 4px solid var(--accent); }
.card-head { margin-bottom: .25rem; }

.tile {
  background: var(--panel-2);
  border: 1px dashed var(--ring);
  border-radius: var(--radius);
  padding: 14px;
}

/* ===================================================================
   TYPE & SMALL UTILS
   =================================================================== */
.section-title, h1 { font-size: var(--fs-h1); margin: 8px 0 14px; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
.muted { color: var(--muted); }

.cta { display: inline-flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.hstack { display:flex; align-items:center; gap:10px; }
.meta { margin-top: 8px; color: var(--muted); }

/* ===================================================================
   BUTTONS / BADGES / PILLS
   =================================================================== */
.btn {
  appearance: none;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;

  /* Fallback then modern */
  box-shadow: 0 8px 16px var(--accent-a20);
  box-shadow: 0 8px 16px color-mix(in srgb, var(--accent) 20%, transparent);
}
.btn:hover { text-decoration: none; filter: brightness(1.03); }

.btn.ghost {
  background: linear-gradient(180deg, #fff, #f9fbff);
  color: var(--ink);
  border-color: var(--ring);
  box-shadow: none;
}
.btn.tiny { padding: 8px 10px; }

.pill {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--ring);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
}
.pill.ok {
  background: rgba(23, 165, 93, .1);
  border-color: rgba(23, 165, 93, .3);
}

/* Badge (generic + bands) */
.badge { display: inline-block; font-weight: 800; }
.badge.band {
  background: linear-gradient(180deg, var(--g-strong-1), var(--g-strong-2));
  color: #fff; padding: 8px 12px; border-radius: 12px;
}
.badge.is-baseline    { background: linear-gradient(180deg, var(--g-baseline-1),    var(--g-baseline-2)); }
.badge.is-progressing { background: linear-gradient(180deg, var(--g-progressing-1), var(--g-progressing-2)); }
.badge.is-strong      { background: linear-gradient(180deg, var(--g-strong-1),      var(--g-strong-2)); }
.badge.is-leading     { background: linear-gradient(180deg, var(--g-leading-1),     var(--g-leading-2)); }

/* Accent-driven strong card halo (fallback → modern) */
.card.band.is-strong {
  border-color: var(--accent-a35);
  box-shadow: 0 10px 30px var(--accent-a18);

  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 18%, transparent);
}
.card.band.is-baseline    { border-color: rgba(239, 68, 68, .35);  box-shadow: 0 10px 30px rgba(239, 68, 68, .15); }
.card.band.is-progressing { border-color: rgba(251, 191, 36, .45); box-shadow: 0 10px 30px rgba(251, 191, 36, .15); }
.card.band.is-leading     { border-color: rgba(16, 185, 129, .35); box-shadow: 0 10px 30px rgba(16, 185, 129, .18); }

/* ===================================================================
   TABLES
   =================================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--ring); text-align: left; }

@media (max-width: 640px) {
  .table thead { display: none; }
  .table tr { display: block; margin: 0 0 12px; background: var(--panel-2, var(--panel, #fff)); border-radius: var(--radius, 12px); }
  .table td { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; }
  .table td::before { content: attr(data-label); font-weight: 600; color: var(--muted, #5B6B7C); }
  .table .align-right { text-align: right; }
}

/* ===================================================================
   FOOTER / SOCIAL
   =================================================================== */
footer {
  border-top: 1px solid var(--ring);
  padding: 16px 0 30px;
  margin-top: 28px;
  font-size: 14px;
}
.foot-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 760px) {
  .foot-row { flex-direction: row; align-items: center; justify-content: space-between; }
}
.foot-links, .social { display: flex; gap: 12px; flex-wrap: wrap; }

.social { display: inline-flex; gap: .5rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid var(--ring);
  background: var(--panel); color: var(--ink);
  transition: transform .12s ease;
}
.icon-btn:hover { transform: translateY(-1px); text-decoration: none; }
.icon-btn svg { width: 24px; height: 24px; }

/* ===================================================================
   QUIZ COMPONENTS
   =================================================================== */
.question {
  margin: 12px 0; padding: 12px;
  border-radius: var(--radius); border: 1px solid var(--ring);
  background: var(--panel-2);
}
.answers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.answers label {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--ring); background: var(--panel);
  cursor: pointer;
}
.answers input { accent-color: var(--ink); }

.actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.result {
  display: grid; gap: 8px; margin-top: 14px;
  padding: 16px; border: 1px solid var(--ring);
  border-radius: var(--radius); background: var(--panel-2);
}
.score { font-size: 40px; font-weight: 800; }

#quiz-radar { width:100%; height:280px; }
@media (max-width:640px){ #quiz-radar { height:240px; } }


/* ===================================================================
   SIMPLE ROUTER HOOKS
   =================================================================== */
[data-route] { display: none; }
[data-route].active { display: block; }

/* ===================================================================
   BADGE LINKS / SPECS / ACCORDION (page snippets)
   =================================================================== */
.badge-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 14px;
  align-items: start;
}
.badge-links .btn-link {
  display: inline-flex;
  white-space: nowrap;
}
.badge-links .section-note {
  grid-column: 1 / -1;
  margin: 4px 0 2px;
}

.bullets { list-style: none; padding: 0; margin: .5rem 0 0; }
.bullets li { display: flex; gap: .5rem; align-items: flex-start; margin: .4rem 0; }

.badge-spec { margin: 0; }
.badge-spec .row {
  display: grid; grid-template-columns: 1fr auto;
  gap: .75rem; align-items: center; padding: .4rem 0;
  border-bottom: 1px solid var(--ring);
}
.badge-spec .row:last-child { border-bottom: 0; }
.badge-spec dt { display: flex; gap: .5rem; align-items: center; margin: 0; }
.badge-spec dd { margin: 0; display: flex; gap: .75rem; flex-wrap: wrap; }
.tile .bullets li .icon { margin-top: .1rem; }

/* Accordion summary */
.accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: .75rem 1rem;
  border-radius: var(--radius);
}
.accordion[open] > summary {
  background: var(--panel);
  border: 1px solid var(--ring);
}
.accordion > summary::-webkit-details-marker {
  display: none;
}

/* Accordion grid */
.accordion .two-col-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr; /* default two columns */
  margin-top: 1rem;
}
.accordion .content { padding: .5rem 1rem 1rem; }
.accordion + .accordion { margin-top: .5rem; }

/* Collapse to single column under 700px (container) */
@container (max-width: 700px) {
  .accordion .two-col-grid {
    grid-template-columns: 1fr;
  }
}

/* Fallback: collapse under 768px (media query) */
@media (max-width: 768px) {
  .accordion .two-col-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
   RESPONSIVE TWEAKS
   =================================================================== */
@media (min-width: 760px) {
  .nav { display: flex; }
}
@media (max-width: 800px) {
  .grid.grid-2 { grid-template-columns: 1fr; }
}
/* === HOTFIX: restore body font + grid-2 layout === */

/* Safer than font shorthand (prevents unexpected resets) */
body {
  font-size: var(--fs-body);
  line-height: 1.6;
  font-family: system-ui, -apple-system, Segoe UI, Inter, Arial, sans-serif;
}

/* Bring back the common two-column grid helper */
.grid.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Keep it single-column on small screens */
@media (max-width: 800px) {
  .grid.grid-2 { grid-template-columns: 1fr; }
}

/* Subtle alt accents — opt-in, very gentle */

/* A) Thin underline marker for active nav (container-scoped) */
.nav--soft-alt .nav a[aria-current="page"]{
  background: linear-gradient(180deg, var(--alt-12), var(--alt-04));
  border: 1px solid var(--alt-ring);
}

/* B) Soft wash for a single card/section */
.card--soft-alt{
  border-color: var(--alt-ring);
  box-shadow: 0 10px 24px var(--alt-08);
}

/* C) Chips/pills with whisper tint */
.pill--soft-alt{
  background: var(--alt-08);
  border-color: var(--alt-ring);
}

/* D) Ghost button: only border/hover hint */
.btn.ghost.soft-alt{
  border-color: var(--alt-ring);
}
.btn.ghost.soft-alt:hover{
  border-color: var(--alt);
  filter: brightness(1.02);
}

/* E) Gentle divider or panel tint */
.hr--soft-alt{ border: 0; height: 1px; background: var(--alt-12); }
.wash--soft-alt{ background: linear-gradient(180deg, var(--alt-08), transparent); }


/* ===============================
   ABOUT page polish (scoped)
   =============================== */
   [data-route="/about"] .about-hero {
    padding-block: 2.5rem 1.75rem;
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%);
    border-radius: var(--radius-xl, 16px);
  }
  
  [data-route="/about"] .hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
    align-items: center;
  }
  @media (max-width: 900px) {
    [data-route="/about"] .hero-inner { grid-template-columns: 1fr; }
  }
  
  [data-route="/about"] .eyebrow {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--panel);
    padding: .25rem .5rem;
    border-radius: 999px;
    margin-bottom: .5rem;
  }
  
  [data-route="/about"] .hero-pills {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: .5rem;
    justify-content: flex-end;
  }
  @media (max-width: 900px) {
    [data-route="/about"] .hero-pills { justify-content: flex-start; margin-top: .5rem; }
  }
  [data-route="/about"] .hero-pills li {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .85rem; color: var(--ink);
    background: var(--panel);
    padding: .45rem .7rem;
    border-radius: 999px;
    border: 1px solid var(--ring, color-mix(in oklab, var(--ink) 10%, transparent));
  }
  [data-route="/about"] .hero-pills i { width: 16px; height: 16px; }
  
  [data-route="/about"] .section-head {
    gap: .6rem; margin-bottom: .5rem;
  }
  [data-route="/about"] .subtitle {
    margin-top: 0; color: var(--ink);
    font-size: 1.05rem; font-weight: 500;
  }
  
  [data-route="/about"] .icon-circle {
    inline-size: 36px; block-size: 36px;
    display: inline-grid; place-items: center;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--ring, rgba(0,0,0,.06));
  }
  [data-route="/about"] .icon-circle .icon { width: 18px; height: 18px; }
  
  [data-route="/about"] .about-grid {
    gap: 1rem;
  }
  @media (max-width: 768px) {
    [data-route="/about"] .about-grid { grid-template-columns: 1fr; }
  }
  
  /* Principle cards: subtle lift + tidy content */
  [data-route="/about"] .principle {
    transition: transform .18s ease, box-shadow .18s ease;
    border: 1px solid var(--ring, rgba(0,0,0,.06));
  }
  [data-route="/about"] .principle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
  }
  [data-route="/about"] .principle .card-head {
    gap: .5rem; margin-bottom: .25rem;
  }
  [data-route="/about"] .principle .card-head .icon {
    width: 18px; height: 18px;
    opacity: .9;
  }
  [data-route="/about"] .principle .blurb { margin: .25rem 0 .125rem; }
  [data-route="/about"] .principle .ex {
    font-size: .9rem; color: var(--muted);
  }
  
  /* Spacing for blocks */
  [data-route="/about"] .about-block {
    margin-top: 1rem;
    border-radius: var(--radius-xl, 16px);
  }
  
  /* Bullet icons alignment */
  [data-route="/about"] .bullets { padding-left: 0; }
  [data-route="/about"] .bullets li {
    display: flex; gap: .5rem; align-items: start; margin: .4rem 0;
  }
  [data-route="/about"] .bullets .icon { width: 18px; height: 18px; margin-top: .2rem; }
  
  /* Optional: super soft accent line under H2 */
  [data-route="/about"] .section-head + * {
    position: relative;
  }
  [data-route="/about"] .section-head + *::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: -0.5rem;
    height: 1px;
    background: color-mix(in oklab, var(--ink) 10%, transparent);
    opacity: .25;
  }
/* ===== Founder Note — shared bits ===== */
.founder-note {
  color: var(--ink);
  line-height: 1.6;
}
.founder-note .signature {
  margin-top: 1rem;
  font-style: italic;
  color: var(--muted);
  display: block;
}

/* ===== Letter-style block (About page) ===== */
.founder-note.letter-block {
  background: var(--panel);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.founder-note.letter-block h2 {
  margin: 0 0 .75rem 0;
  font-size: 1.25rem;
}
.founder-note.letter-block p + p {
  margin-top: .75rem;
}

/* Optional “letter” accent edge */
.founder-note.letter-block {
  position: relative;
}
.founder-note.letter-block::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ring), transparent);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

/* ===== Card-style (Founder) ===== */
.card.founder-note {
  padding: 1rem;
}
.card.founder-note .card-head {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .5rem;
}
.card.founder-note .card-head i[data-lucide] {
  width: 20px; height: 20px;
  color: var(--muted);
}
.card.founder-note p {
  margin: 0;
}
.card.founder-note p + .signature { margin-top: .75rem; }

/* ===== Small-screen polish ===== */
@media (max-width: 600px) {
  .founder-note.letter-block { padding: 1rem; }
  .founder-note.letter-block h2 { font-size: 1.125rem; }
}

/* ===== Print (keeps it tidy if exported) ===== */
@media print {
  .founder-note.letter-block,
  .card.founder-note { box-shadow: none; border-color: #ccc; }
}

pre code { white-space: pre; }
@media (max-width: 768px) { pre { white-space: pre-wrap; word-break: break-word; } }


/* Safety net for the whole page */
html, body { overflow-x:hidden; }
#commitments { width:100%; max-width:100%; box-sizing:border-box; display:block; }

/* --- Resources table: mobile safety net --- */

/* Ensure the wrapper is visible and scrolls horizontally if needed */
.table-wrap {
  display: block !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Ensure the table itself isn't turned off by a mobile media query */
.table {
  display: table !important;
  width: 100%;
  border-collapse: collapse;
}



/* Layout */
.controls .chip { padding:.35rem .7rem; border-radius:999px; border:1px solid var(--ring); background:var(--panel-2); }
.controls .chip.is-active { outline:2px solid var(--ring); }
.controls .wrap { flex-wrap:wrap; gap:.5rem; }

.resource-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .resource-list {
    grid-template-columns: 1fr 1fr;
  }
}

.resource .actions { gap:.5rem; flex-wrap:wrap; }
.resource .pill { margin-left:auto; }

/* Minimal form styling to match your tokens */
.field .label { display:block; font-size:.9rem; color:var(--muted); margin-bottom:.25rem; }
.field input[type="search"], .field select {
  width:100%; padding:.6rem .7rem; border-radius:var(--radius);
  border:1px solid var(--ring); background:var(--panel-2);
}
.center { text-align:center; }

@media (max-width: 768px) {
  .grid.cols-2 { grid-template-columns:1fr; }
}
/* Remove bullets + list indentation */
.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.resource-list > li {
  list-style: none;
}
/* For stubborn browsers */
.resource-list > li::marker { content: none; }
/* share page helpers */
.share-grid { align-items: start; }
@media (max-width: 760px) {
  .grid.cols-2.share-grid { grid-template-columns: 1fr; }
  .tiles.grid.cols-2 { grid-template-columns: 1fr; }
  .overall-title { line-height: 1.25; }
}

.tile { padding: .25rem 0; min-width: 0; }
.tile-title { margin: 0 0 4px; }
.tile-meta { margin: 0 6px 6px 0; }

.progress { height: 8px; background: var(--ring, #E3E9F2); border-radius: 999px; overflow: hidden; }
.progress-fill { display: block; height: 100%; background: var(--accent, #172738); border-radius: inherit; transition: width .3s ease; }

.list-plain { list-style: none; padding-left: 0; margin: .25rem 0 0; }
.list-plain li { padding: 2px 0; }

.section-subhead { margin: 14px 0 6px; }
.share-actions { display: flex; gap: .5rem; margin: 12px 0; flex-wrap: wrap; }
.badge-link img { display: block; margin-top: 8px; }
.footnote { margin-top: 6px; }

.callout {
  padding: 12px 14px;
  border-radius: var(--radius, 12px);
  background: var(--panel, #F6F8FB);
  border: 1px solid var(--ring, #E3E9F2);
  font-size: 0.95rem;
}
.callout--info { /* keeps it subtle, accessible */
  background: #F6FAFF;
  border-color: #D9ECFF;
}
.subnav{position:sticky;top:64px;z-index:10;display:flex;gap:.75rem;overflow:auto;padding:.5rem 1rem;background:var(--panel)}
section, .about-block, .founder-note {scroll-margin-top:80px}

/* Optional: make subnav scannable */
.subnav a { text-decoration: none; padding: .25rem .5rem; border-radius: var(--radius); }
.subnav a.active { outline: 2px solid var(--ring); }

/* Principle grid (mobile-safe visual cue) */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
  text-align: center;
  list-style: none;
  padding: 0;
}

.principle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .5rem .25rem;
  border-radius: 0.75rem;
  background: hsl(0 0% 98%);
  font-size: 0.8rem;
  color: hsl(215 25% 25%);
  transition: background .2s ease, transform .2s ease;
}

.principle:hover, .principle:focus-visible {
  background: hsl(210 16% 95%);
  transform: translateY(-2px);
}

.principle i {
  margin-bottom: 0.25rem;
  stroke-width: 1.8;
}

/* Colour accents by principle */
.principle[data-principle="privacy"] i { color: hsl(210 90% 40%); }
.principle[data-principle="transparency"] i { color: hsl(40 90% 45%); }
.principle[data-principle="security"] i { color: hsl(150 65% 35%); }
.principle[data-principle="community"] i { color: hsl(280 55% 50%); }

/* Let grid/flex children shrink within cards */
.card > * { min-width: 0; }

/* The share link box itself */
#share-link {
  inline-size: 100%;
  max-inline-size: 100%;
  overflow-wrap: anywhere;   /* modern wrap for long strings */
  word-break: break-word;    /* fallback */
  white-space: normal;
}

/* Optional: style the visible URL nicely */
#share-link a:not(.btn) {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--border, hsl(210 16% 85%));
  background: var(--surface-2, hsl(0 0% 100% / .6));
  padding: .375rem .5rem;
  border-radius: .5rem;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.spotlight {
  background: #e0f7f9;
  border: 1px solid #00b7c2;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.spotlight strong {
  color: #008c96;
}

/* Enhanced accent style for the alternate hero card */
.card-hero--alt {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--surface-soft, #f9fafb) 0%,
    var(--surface, #ffffff) 100%
  );
  border: 1px solid var(--border-subtle, #e5e7eb);
  border-left: 5px solid var(--accent, #0fb5b2);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hero--alt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* optional subtle animated accent line */
.card-hero--alt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(
    to bottom,
    var(--accent, #0fb5b2),
    color-mix(in srgb, var(--accent, #0fb5b2) 80%, transparent)
  );
  border-radius: 5px 0 0 5px;
}

/* aside/icon area */
.card-hero__aside {
  flex-shrink: 0;
  text-align: right;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.card-hero__aside:hover {
  opacity: 1;
}

.search-bar {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 480px;
}

.search-wrapper i[data-lucide="search"] {
  position: absolute;
  left: 12px;
  color: #777;
}

#search-input {
  width: 100%;
  padding: 0.6rem 2.5rem 0.6rem 2.2rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border 0.2s ease;
}

#search-input:focus {
  outline: none;
  border-color: var(--accent, #00bfa5);
}

#clear-search {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #777;
  padding: 4px;
  display: flex;
  align-items: center;
}

#clear-search:hover i {
  color: var(--accent, #00bfa5);
}

mark {
  background-color: #ffeb3b66; /* soft yellow highlight */
  border-radius: 2px;
  padding: 0 2px;
}
/* LucidSeal contextual insight */
.lucid-context {
  border-left: 3px solid var(--accent-teal, #00bfa5);
  padding-left: 0.75rem;
  margin: 0.75rem 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted, #555);
  background: var(--surface-alt, rgba(0, 191, 165, 0.05));
}

.accordion-item {
  border: 1px solid var(--border, #ddd);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: var(--soft-bg, #f8f9fa);
  padding: 1rem 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: var(--hover-bg, #eef2f3);
}

.accordion-header[aria-expanded="true"] {
  background: var(--open-bg, #e0f2f1);
}

.accordion-content {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border, #ddd);
  background: var(--bg, #fff);
}
.accordion-header i {
  transition: transform 0.3s ease;
}
.accordion-header[aria-expanded="true"] i {
  transform: rotate(90deg);
}

.search-prompts {
  font-size: 0.9rem;
  color: var(--muted, #555);
  margin-top: 1rem;
  line-height: 1.7;
  text-align: center;
}

.search-prompts .prompt {
  color: var(--accent, #00b7c2);
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.search-prompts .prompt:hover {
  color: var(--accent-strong, #007c8a);
  text-decoration: underline;
}

.lucid-context {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.lucid-context i {
  color: var(--accent, #00b7c2);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

//* -----------------------------------
   LucidSeal Pathway (Enhanced)
----------------------------------- */

#lucidseal-pathway {
  padding: 4rem 0;
}

/* Eyebrow */
#lucidseal-pathway .eyebrow {
  font-size: 0.85rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Grid */
.pathway-grid {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .pathway-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card */
.pathway-card {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2rem 1.6rem;
  box-shadow: 0 3px 7px rgba(0,0,0,0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* Accent stripe */
.pathway-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  opacity: 0.9;
}

/* Icon */
.pathway-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-muted, rgba(0, 178, 170, 0.15));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.25rem;
  transition: background 0.2s ease;
}

.pathway-card:hover .pathway-icon {
  background: var(--accent-muted-hover, rgba(0,178,170,0.25));
}

/* Step label */
.pathway-step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.6;
  letter-spacing: 0.03em;
}

/* Step title */
.pathway-step-title {
  font-size: 1.32rem;
  margin: 0;
  color: var(--ink);
}

/* Step text */
.pathway-step-text {
  margin: 0;
  line-height: 1.55;
  font-size: 0.97rem;
  color: var(--ink-subtle);
}

/* Pills */
.pill-step {
  align-self: start;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  margin-top: auto;
  letter-spacing: 0.02em;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.pathway-card:hover .pill {
  opacity: 1;
}

/* -----------------------------------
   Get Involved (Light CTA Section)
----------------------------------- */

#get-involved {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0;
}

/* Grid */
.involved-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 680px) {
  .involved-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Card */
.involved-card {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.involved-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

/* Icons */
.involved-card i {
  color: var(--accent);
  opacity: 0.9;
  margin: 0 auto;
  width: 28px;
  height: 28px;
}

/* Link styling */
.involved-link {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
}

.involved-link strong {
  color: var(--accent);
  font-weight: 600;
}

.involved-card:hover .involved-link {
  text-decoration: underline;
}

/* FEATURED TIMELINE STRUCTURE */
.ls-feature-timeline {
  padding: 60px 20px;
  text-align: center;
  max-width: 1150px;
  margin: 0 auto;
}

.ls-feature-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink, #1c2a33);
}

.ls-feature-subtitle {
  font-size: 1.1rem;
  color: var(--muted, #6a7a89);
  margin-bottom: 40px;
}

/* HORIZONTAL TRACK */
.ls-timeline-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 40px 0 20px;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.ls-timeline-track {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  height: 3px;
  background: #dde4ea;
  z-index: 1;
}

/* INDIVIDUAL STAGES */
.ls-timeline-stage {
  text-align: center;
  width: 160px;
  min-width: 160px;
  scroll-snap-align: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: ls-fadeUp 0.7s ease forwards;
}

.ls-timeline-stage h4 {
  margin: 16px 0 6px;
  font-size: 1.1rem;
  color: var(--ink, #1c2a33);
  font-weight: 600;
}

.ls-timeline-stage p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted, #6a7a89);
  line-height: 1.3;
}

/* DOTS */
.ls-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin: 0 auto;
  background: #c7ced6; /* future default */
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #dbe1e6;
  transition: transform 0.2s ease;
}

.ls-dot:hover {
  transform: scale(1.15);
}

.ls-dot.current {
  background: var(--accent, #00b3ad);
  box-shadow: 0 0 0 3px var(--accent, #00b3ad);
}

/* MAJOR RELEASE DOT */
.ls-timeline-stage.major .ls-dot {
  width: 22px;
  height: 22px;
  background: var(--accent-strong, #008f83);
  box-shadow: 0 0 0 4px var(--accent-strong, #008f83);
}

/* ICONS */
.ls-icon {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.ls-icon i {
  width: 28px;
  height: 28px;
  color: var(--accent, #00a4a6);
}

.ls-timeline-stage.future .ls-icon i {
  color: #a9b4bd;
}

.ls-timeline-stage.major .ls-icon i {
  color: var(--accent-strong, #008f83);
}

/* ANIMATION */
@keyframes ls-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0px);   }
}

.ls-timeline-link {
  margin-top: 20px;
  text-align: right;
  width: 100%;
}

.ls-timeline-link .ls-link {
  font-size: 0.9rem;
  color: var(--accent, #00a4a6);
  text-decoration: none;
  font-weight: 500;
}

.ls-timeline-link .ls-link:hover {
  text-decoration: underline;
}
/* MOBILE TIMELINE ENHANCEMENTS */
@media (max-width: 650px) {

  .ls-timeline-horizontal {
    padding: 30px 0 20px;
    gap: 20px;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ls-timeline-stage {
    min-width: 200px;
    width: 200px;
    padding: 16px 12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    scroll-snap-align: center;
    transform: translateY(10px);
  }

  .ls-timeline-track {
    display: none; /* hide the line behind items on mobile */
  }

  .ls-dot {
    margin-top: 4px;
  }

  .ls-icon {
    margin-top: 8px;
  }

  .ls-timeline-stage h4 {
    margin-top: 12px;
    font-size: 1rem;
  }

  .ls-timeline-stage p {
    font-size: 0.9rem;
    margin-top: 4px;
  }

  .ls-timeline-link.right {
    text-align: center; /* center link on mobile */
    margin-top: 28px;
  }
}

