/* ── Design Tokens ──────────────────────────────────────────────────────────── */
:root{
  --bg:          #070A12;
  --surface:     rgba(255,255,255,0.055);
  --surface2:    rgba(255,255,255,0.035);
  --border:      rgba(255,255,255,0.11);
  --border2:     rgba(255,255,255,0.18);

  --text:        rgba(255,255,255,0.93);
  --muted:       rgba(255,255,255,0.68);
  --dimmed:      rgba(255,255,255,0.42);

  --accent:      #7CF7D4;
  --accent-rgb:  124,247,212;
  --accent-text: #07101a;
  --blue:        rgba(120,160,255,0.90);
  --blue-mid:    #1a5490;
  --spruce:      #136F63;

  --max:         1140px;
  --radius:      20px;
  --radius-sm:   12px;
  --shadow:      0 22px 72px rgba(0,0,0,0.55);
  --shadow-sm:   0 10px 32px rgba(0,0,0,0.30);
}

/* terms.html and thankyou.html use a slightly different design system */
body.page-terms,
body.page-thankyou{
  --max:         1100px;
  --text:        rgba(255,255,255,0.92);
  --muted:       rgba(255,255,255,0.72);
  --dimmed:      rgba(255,255,255,0.48);
  --surface:     rgba(255,255,255,0.06);
  --surface2:    rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.12);
  --border2:     rgba(255,255,255,0.16);
  --radius:      18px;
  --radius-sm:   12px;
  --shadow:      0 18px 60px rgba(0,0,0,0.50);
  --shadow-sm:   0 12px 34px rgba(0,0,0,0.32);
  --accent2:     rgba(120,160,255,0.85);
}
body.page-terms{ --prose: 740px; }

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
html, body{ min-height:100%; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  line-height:1.6;
  background:
    radial-gradient(ellipse 1200px 700px at 15% 8%,  rgba(var(--accent-rgb),0.11) 0%, transparent 60%),
    radial-gradient(ellipse 1000px 800px at 88% 16%, rgba(120,160,255,0.11)       0%, transparent 58%),
    radial-gradient(ellipse 600px  500px at 50% 90%, rgba(19,111,99,0.08)         0%, transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.page-terms{
  line-height:1.55;
  background:
    radial-gradient(1100px 700px at 18% 10%, rgba(124,247,212,0.10), transparent 60%),
    radial-gradient(1000px 800px at 86% 18%, rgba(120,160,255,0.10), transparent 60%),
    var(--bg);
}
body.page-thankyou{
  line-height:1.55;
  background:
    radial-gradient(1100px 700px at 18% 10%, rgba(124,247,212,0.12), transparent 60%),
    radial-gradient(1000px 800px at 86% 18%, rgba(120,160,255,0.12), transparent 60%),
    var(--bg);
}
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
a:focus-visible{
  outline:3px solid rgba(var(--accent-rgb),0.50);
  outline-offset:3px;
  border-radius:var(--radius-sm);
}
ul{ list-style:none; }

/* ── Typography helpers ─────────────────────────────────────────────────────── */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 13px;
  border-radius:999px;
  border:1px solid rgba(var(--accent-rgb),0.22);
  background:rgba(var(--accent-rgb),0.07);
  font-size:12.5px; font-weight:700;
  letter-spacing:0.05em; text-transform:uppercase;
  color:var(--accent);
}
.eyebrow .pulse{
  width:7px; height:7px; border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),0.22);
  flex-shrink:0;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; gap:7px;
  padding:13px 22px;
  border-radius:999px;
  font-weight:700; font-size:14px;
  white-space:nowrap;
  border:1px solid var(--border2);
  background:rgba(255,255,255,0.05);
  color:var(--text);
  transition:filter .14s ease, transform .14s ease, box-shadow .14s ease;
  cursor:pointer;
}
.btn.primary{
  background:var(--accent);
  border-color:transparent;
  color:var(--accent-text);
  box-shadow:0 12px 36px rgba(var(--accent-rgb),0.22);
}
.btn.primary:hover{
  filter:brightness(1.04);
  transform:translateY(-2px);
  box-shadow:0 18px 48px rgba(var(--accent-rgb),0.28);
}
.btn.ghost{
  background:transparent;
  border-color:var(--border2);
  color:var(--muted);
}
.btn.ghost:hover{ background:rgba(255,255,255,0.06); color:var(--text); transform:translateY(-1px); }
.btn.large{ padding:16px 30px; font-size:15.5px; }

/* ── Cards ──────────────────────────────────────────────────────────────────── */
.card{
  border:1px solid var(--border);
  background:linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.028) 100%);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card-sm{
  border:1px solid var(--border);
  background:rgba(255,255,255,0.04);
  border-radius:var(--radius-sm);
  box-shadow:var(--shadow-sm);
  transition:border-color .18s ease, background .18s ease;
}
.card-sm:hover{
  border-color:rgba(var(--accent-rgb),0.28);
  background:rgba(var(--accent-rgb),0.04);
}

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.outer{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}
section{ position:relative; }

/* ── Nav ────────────────────────────────────────────────────────────────────── */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(7,10,18,0.82);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.07);
}
body.page-terms header,
body.page-thankyou header{
  z-index:10;
  background:rgba(7,10,18,0.84);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.nav{
  max-width:var(--max);
  margin:0 auto;
  padding:11px 20px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
body.page-terms .nav,
body.page-thankyou .nav{
  padding:12px 16px;
  gap:10px;
}
.logo-pill{
  display:inline-flex; align-items:center;
  padding:7px 13px;
  border-radius:999px;
  background:rgba(255,255,255,0.97);
  border:1px solid rgba(255,255,255,0.5);
  box-shadow:0 10px 28px rgba(0,0,0,0.30);
  flex-shrink:0;
}
body.page-terms .logo-pill,
body.page-thankyou .logo-pill{
  justify-content:center;
  padding:8px 12px;
  background:rgba(255,255,255,0.96);
  border-color:rgba(255,255,255,0.55);
  box-shadow:0 12px 34px rgba(0,0,0,0.35);
}
.logo-pill img{ height:25px; width:auto; }

.brand-logo-img{
  display:block;
  height:26px;
  width:auto;
}

.nav-home-link{
  font-size:14px;
  font-weight:600;
  color:var(--muted);
  letter-spacing:0.01em;
  transition:color .15s ease;
}
.nav-home-link:hover{ color:var(--accent); }

.navlinks{
  display:none;
  align-items:center; gap:4px;
}
.navlinks a{
  padding:8px 12px;
  border-radius:999px;
  font-size:13px; font-weight:600; color:var(--muted);
  transition:color .12s ease, background .12s ease;
}
.navlinks a:hover{ color:var(--text); background:rgba(255,255,255,0.06); }
.nav-cta{ flex-shrink:0; }

@media(min-width:820px){
  .navlinks{ display:flex; }
  .logo-pill img{ height:27px; }
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero-wrap{
  padding:48px 20px 56px;
  max-width:var(--max);
  margin:0 auto;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  align-items:center;
}
.hero-copy h1{
  font-size:clamp(36px, 6vw, 62px);
  line-height:1.07;
  letter-spacing:-2px;
  margin:18px 0 18px;
  color:var(--text);
}
.hero-copy h1 em{
  font-style:normal;
  color:var(--accent);
}
.hero-copy .sub{
  font-size:clamp(16px, 2.2vw, 19px);
  color:var(--muted);
  line-height:1.65;
  max-width:52ch;
  margin-bottom:28px;
}
.hero-copy.sub-wide .sub,
.hero-copy .sub.wide{ max-width:54ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.hero-fine{
  font-size:12.5px; color:var(--dimmed);
  display:flex; flex-wrap:wrap; gap:14px;
}
.hero-fine span{ display:flex; align-items:center; gap:5px; }
.hero-fine span::before{
  content:"\2713";
  color:var(--accent);
  font-weight:700;
}

/* Report preview card (index, soc2) */
.report-preview{
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.03);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.report-bar{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:11px 14px;
  border-bottom:1px solid rgba(255,255,255,0.09);
  background:rgba(255,255,255,0.04);
}
.report-bar strong{ font-size:13px; letter-spacing:0.1px; }
.report-bar a{
  font-size:12px; font-weight:700; color:var(--accent);
  border:1px solid rgba(var(--accent-rgb),0.28);
  background:rgba(var(--accent-rgb),0.07);
  padding:5px 10px; border-radius:999px;
  transition:background .12s ease;
}
.report-bar a:hover{ background:rgba(var(--accent-rgb),0.14); }
.report-preview img{ width:100%; object-fit:cover; background:rgba(0,0,0,0.25); }
.report-caption{
  padding:11px 14px;
  font-size:13px; color:var(--muted);
  border-top:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.02);
  line-height:1.5;
}

/* Hero portrait card (trey) */
.portrait-wrap{
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.03);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.portrait-wrap img{ width:100%; object-fit:cover; display:block; }
.portrait-cap{
  padding:13px 16px;
  font-size:13px; color:var(--muted); line-height:1.5;
  border-top:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.02);
}

/* Spots panel (founding-customers) */
.spots-panel{
  border:1px solid rgba(var(--accent-rgb),0.30);
  background:linear-gradient(160deg, rgba(var(--accent-rgb),0.08) 0%, rgba(255,255,255,0.025) 100%);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px 28px 24px;
}
.spots-panel .label{
  font-size:11.5px; font-weight:700; letter-spacing:0.10em; text-transform:uppercase;
  color:var(--accent); margin-bottom:14px;
}
.spots-counter{
  display:flex; align-items:baseline; gap:10px;
  margin-bottom:16px;
}
.spots-counter .num{
  font-size:clamp(56px,8vw,88px);
  font-weight:800; letter-spacing:-3px;
  color:var(--text); line-height:0.95;
}
.spots-counter .num span{ color:var(--accent); }
.spots-counter .of{
  font-size:18px; font-weight:700; color:var(--muted);
  letter-spacing:-0.4px;
}
.spots-panel .desc{
  font-size:14.5px; color:var(--muted); line-height:1.65;
  margin-bottom:18px;
}
.spots-bar{
  height:8px; border-radius:999px;
  background:rgba(255,255,255,0.07);
  overflow:hidden; margin-bottom:14px;
  border:1px solid rgba(255,255,255,0.08);
}
.spots-bar-fill{
  height:100%;
  width:0%;
  background:linear-gradient(90deg, var(--accent) 0%, rgba(var(--accent-rgb),0.65) 100%);
  border-radius:999px;
  box-shadow:0 0 14px rgba(var(--accent-rgb),0.45);
}
.spots-meta{
  display:flex; flex-wrap:wrap; gap:10px;
  font-size:12.5px; color:var(--dimmed);
}
.spots-meta strong{ color:var(--muted); font-weight:700; }
.spots-meta .dot{ width:4px; height:4px; border-radius:50%; background:var(--dimmed); align-self:center; }

@media(min-width:820px){
  .hero-grid{ grid-template-columns:1.1fr 0.9fr; gap:32px; }
  .hero-wrap{ padding:64px 20px 72px; }
}
@media(min-width:820px){
  .hero-grid.hero-grid-trey{ grid-template-columns:1.15fr 0.85fr; gap:40px; }
  .hero-grid.hero-grid-founding{ grid-template-columns:1.15fr 0.85fr; gap:32px; }
}

/* ── Compliance bar ─────────────────────────────────────────────────────────── */
.compliance-bar{
  border-top:1px solid rgba(255,255,255,0.07);
  border-bottom:1px solid rgba(255,255,255,0.07);
  background:rgba(255,255,255,0.025);
  padding:18px 20px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.compliance-inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex; align-items:center; gap:12px;
  white-space:nowrap;
}
.compliance-label{
  font-size:11.5px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--dimmed); flex-shrink:0;
}
.compliance-sep{ width:1px; height:18px; background:rgba(255,255,255,0.12); flex-shrink:0; }
.comp-tag{
  display:inline-flex; align-items:center;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.04);
  font-size:12.5px; font-weight:700; color:var(--muted);
  flex-shrink:0;
}
.comp-tag.lead{
  border-color:rgba(var(--accent-rgb),0.40);
  background:rgba(var(--accent-rgb),0.10);
  color:var(--accent);
}

/* ── Stats ──────────────────────────────────────────────────────────────────── */
.stats-section{ padding:64px 20px; }
.stats-section.stats-section-trey{ padding:48px 20px 64px; }
.stats-grid{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:2px;
}
.stat-item{
  padding:32px 28px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.03);
  text-align:center;
}
.stat-item:first-child{ border-radius:var(--radius) 0 0 var(--radius); }
.stat-item:last-child{ border-radius:0 var(--radius) var(--radius) 0; }
.stat-num{
  font-size:clamp(36px,5vw,54px);
  font-weight:800;
  letter-spacing:-2px;
  color:var(--text);
  line-height:1;
}
.stat-num span{ color:var(--accent); }
.stat-label{ font-size:13px; color:var(--muted); margin-top:6px; line-height:1.4; }

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

/* ── Section shell ──────────────────────────────────────────────────────────── */
.section{ padding:80px 20px; }
.section-inner{ max-width:var(--max); margin:0 auto; }
.section-header{ margin-bottom:48px; }
.section-header .eyebrow{ margin-bottom:16px; }
.section-header h2{
  font-size:clamp(28px,4vw,42px);
  letter-spacing:-1px; line-height:1.12;
  margin-bottom:14px;
}
.section-header p{
  font-size:17px; color:var(--muted); line-height:1.70;
  max-width:80ch;
}

/* Section edge / tinted modifiers (replace inline styles) */
.section-edge-top{ border-top:1px solid rgba(255,255,255,0.06); }
.section-edge-y{
  border-top:1px solid rgba(255,255,255,0.06);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.section-tinted{ background:rgba(255,255,255,0.015); }

/* Constrained section-inner widths */
.section-inner.is-narrow-780{ max-width:780px; }
.section-inner.is-narrow-820{ max-width:820px; }
.section-inner.is-narrow-880{ max-width:880px; }

/* ── How it works (steps — index) ───────────────────────────────────────────── */
.steps-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.step{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:20px;
  align-items:start;
  padding:28px;
}
.step-num{
  width:52px; height:52px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; font-weight:800; letter-spacing:-0.5px;
  background:rgba(var(--accent-rgb),0.10);
  border:1px solid rgba(var(--accent-rgb),0.24);
  color:var(--accent);
}
.step-body h3{
  font-size:17px; font-weight:700; letter-spacing:-0.2px; margin-bottom:8px;
}
.step-body p{ font-size:14.5px; color:var(--muted); line-height:1.65; }

@media(min-width:820px){
  .steps-grid{ grid-template-columns:1fr 1fr; }
}

/* Founding-customers process steps (smaller variant, no .step-body wrapper) */
.steps-grid.steps-grid-process{ gap:14px; }
.steps-grid.steps-grid-process .step{
  display:flex; gap:18px; align-items:flex-start;
  padding:24px 26px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.04);
  border-radius:var(--radius-sm);
  grid-template-columns:none;
}
.steps-grid.steps-grid-process .step .step-num{
  width:36px; height:36px;
  background:rgba(var(--accent-rgb),0.10);
  border:1px solid rgba(var(--accent-rgb),0.30);
  color:var(--accent);
  font-weight:800; font-size:15px;
  letter-spacing:-0.3px;
}
.steps-grid.steps-grid-process .step h3{
  font-size:16px; font-weight:700; color:var(--text);
  margin-bottom:6px; letter-spacing:-0.1px;
}
.steps-grid.steps-grid-process .step p{ font-size:14px; color:var(--muted); line-height:1.65; }
@media(min-width:760px){
  .steps-grid.steps-grid-process{ grid-template-columns:1fr 1fr; }
}

/* ── Card icon (shared) ─────────────────────────────────────────────────────── */
.card-icon{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px;
  border-radius:9px;
  background:rgba(var(--accent-rgb),0.09);
  border:1px solid rgba(var(--accent-rgb),0.18);
  color:var(--accent);
  margin-bottom:14px;
  flex-shrink:0;
}

/* ── Deliverables ───────────────────────────────────────────────────────────── */
.deliverables-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.deliv-card{ padding:28px; }
.deliv-icon{
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px;
  border-radius:10px;
  background:rgba(var(--accent-rgb),0.09);
  border:1px solid rgba(var(--accent-rgb),0.18);
  color:var(--accent);
  margin-bottom:16px;
  flex-shrink:0;
}
.deliv-card h3{ font-size:16px; font-weight:700; margin-bottom:8px; letter-spacing:-0.1px; }
.deliv-card p{ font-size:14px; color:var(--muted); line-height:1.65; }
.deliv-tag{
  display:inline-block; margin-top:12px;
  padding:4px 10px;
  border-radius:999px;
  font-size:11.5px; font-weight:700;
  background:rgba(var(--accent-rgb),0.09);
  border:1px solid rgba(var(--accent-rgb),0.22);
  color:var(--accent);
}

@media(min-width:640px){ .deliverables-grid{ grid-template-columns:1fr 1fr; } }
@media(min-width:960px){ .deliverables-grid{ grid-template-columns:1fr 1fr 1fr; } }

/* ── Pricing ────────────────────────────────────────────────────────────────── */
.pricing-section{ background:rgba(255,255,255,0.015); }
.pricing-note{
  margin-bottom:28px;
  padding:18px 22px;
  border-radius:var(--radius-sm);
  border:1px solid rgba(var(--accent-rgb),0.18);
  background:rgba(var(--accent-rgb),0.05);
  font-size:14.5px; color:var(--muted); line-height:1.65;
}
.pricing-note strong{ color:var(--text); }
.price-table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:var(--radius); border:1px solid var(--border); box-shadow:var(--shadow); }
.price-table{
  width:100%; min-width:580px;
  border-collapse:collapse;
  background:rgba(255,255,255,0.025);
}
.price-table.price-table-charter{ min-width:640px; }
.price-table thead tr{
  background:rgba(255,255,255,0.055);
  border-bottom:1px solid var(--border);
}
.price-table th{
  padding:14px 20px;
  font-size:12px; font-weight:700;
  letter-spacing:0.07em; text-transform:uppercase;
  color:var(--dimmed); text-align:left;
}
.price-table th.founding-col{ color:var(--accent); }
.price-table td{
  padding:16px 20px;
  font-size:14.5px; color:var(--muted);
  border-bottom:1px solid rgba(255,255,255,0.06);
  vertical-align:middle;
}
.price-table tbody tr:last-child td{ border-bottom:none; }
.price-table td:first-child{ font-weight:700; color:var(--text); }
.price-table td.price{ font-size:17px; font-weight:800; color:var(--text); }
.price-table td.price-list{
  font-size:15px; font-weight:700; color:var(--dimmed);
  text-decoration:line-through;
  text-decoration-color:rgba(255,255,255,0.30);
}
.price-table td.price-founding{
  font-size:18px; font-weight:800; color:var(--accent);
  letter-spacing:-0.3px;
}
.price-table tbody tr{ transition:background .12s ease; }
.price-table tbody tr:hover{ background:rgba(255,255,255,0.03); }
.price-table.price-table-charter tbody tr:hover{ background:rgba(var(--accent-rgb),0.04); }

.price-table tbody tr.featured{
  background:rgba(var(--accent-rgb),0.05);
}
.price-table tbody tr.featured td{ border-color:rgba(var(--accent-rgb),0.14); }
.price-table tbody tr.featured td:first-child{ position:relative; }
.featured-badge{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  font-size:10.5px; font-weight:700;
  background:rgba(var(--accent-rgb),0.14);
  border:1px solid rgba(var(--accent-rgb),0.30);
  color:var(--accent);
  vertical-align:middle;
  letter-spacing:0.04em;
}
.price-fine{ margin-top:16px; font-size:12.5px; color:var(--dimmed); }

/* ── Sample ─────────────────────────────────────────────────────────────────── */
.sample-card{
  padding:52px 36px;
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:center;
}
.sample-text h2{
  font-size:clamp(26px,4vw,38px);
  letter-spacing:-0.8px; line-height:1.12;
  margin-bottom:14px;
}
.sample-text p{ font-size:16px; color:var(--muted); line-height:1.70; margin-bottom:28px; }
.sample-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.sample-img-wrap{
  border:1px solid rgba(255,255,255,0.10);
  border-radius:var(--radius-sm);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.sample-img-wrap img{ width:100%; }

@media(min-width:820px){
  .sample-card{ grid-template-columns:1fr 1fr; gap:48px; }
}

/* ── FAQ ────────────────────────────────────────────────────────────────────── */
.faq-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
details{
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  background:rgba(255,255,255,0.04);
  overflow:hidden;
  transition:border-color .15s ease;
}
details[open]{ border-color:rgba(var(--accent-rgb),0.25); background:rgba(var(--accent-rgb),0.03); }
summary{
  cursor:pointer; list-style:none;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:18px 20px;
  font-size:15px; font-weight:700; color:var(--text);
  user-select:none;
}
summary::-webkit-details-marker{ display:none; }
.sum-icon{
  width:26px; height:26px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,0.07);
  border:1px solid var(--border);
  font-size:15px; font-weight:900; color:var(--accent);
  transition:transform .18s ease, background .15s ease;
}
details[open] .sum-icon{
  transform:rotate(45deg);
  background:rgba(var(--accent-rgb),0.12);
  border-color:rgba(var(--accent-rgb),0.28);
}
.faq-body{
  padding:0 20px 20px;
  font-size:14.5px; color:var(--muted); line-height:1.72;
}
.faq-body a{ color:var(--accent); text-decoration:underline; text-decoration-color:rgba(var(--accent-rgb),0.35); text-underline-offset:3px; }
.faq-body a:hover{ text-decoration-color:rgba(var(--accent-rgb),0.70); }

/* ── Founder (full bio — index) ─────────────────────────────────────────────── */
.founder-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:start;
}
.founder-copy h2{
  font-size:clamp(26px,4vw,38px);
  letter-spacing:-0.8px; line-height:1.12;
  margin:16px 0 16px;
}
.founder-copy p{
  font-size:15px; color:var(--muted); line-height:1.75;
  margin-bottom:16px;
}
.founder-copy p:last-child{ margin-bottom:0; }
.founder-photo-wrap{
  border:1px solid rgba(255,255,255,0.11);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  background:rgba(255,255,255,0.02);
}
.founder-photo-wrap img{ width:100%; object-fit:cover; display:block; }
.founder-cap{
  padding:13px 16px;
  font-size:13px; color:var(--muted); line-height:1.5;
  border-top:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.02);
}

@media(min-width:820px){
  .founder-grid{ grid-template-columns:1.2fr 0.8fr; gap:48px; }
}

/* ── Founder mini (soc2, founding-customers) ────────────────────────────────── */
.founder-mini{
  padding:36px;
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  align-items:center;
}
.founder-mini h3{ font-size:20px; font-weight:800; letter-spacing:-0.4px; margin-bottom:10px; }
.founder-mini p{ font-size:15px; color:var(--muted); line-height:1.7; margin-bottom:14px; }
.founder-mini-photo{
  border:1px solid rgba(255,255,255,0.11);
  border-radius:var(--radius-sm);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  max-width:280px;
}
.founder-mini-photo img{ width:100%; display:block; }
@media(min-width:760px){
  .founder-mini{ grid-template-columns:1fr 280px; gap:36px; }
}

/* ── Founder letter (trey) ──────────────────────────────────────────────────── */
.founder-letter{ padding:48px 36px; }
.founder-letter h2{
  font-size:clamp(26px,4vw,38px);
  letter-spacing:-0.8px; line-height:1.12;
  margin:16px 0 24px;
}
.founder-letter p{
  font-size:16px; color:var(--muted); line-height:1.78;
  margin-bottom:18px;
}
.founder-letter p:last-of-type{ margin-bottom:24px; }
.founder-letter .signature{
  display:flex; align-items:center; gap:14px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,0.08);
  margin-top:8px;
}
.founder-letter .signature-name{
  font-size:15px; font-weight:700; color:var(--text);
}
.founder-letter .signature-title{
  font-size:13px; color:var(--dimmed);
}
@media(min-width:820px){
  .founder-letter{ padding:56px 56px; }
}

/* ── Bio prose (trey) ───────────────────────────────────────────────────────── */
.bio-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:start;
}
.bio-copy p{
  font-size:15.5px; color:var(--muted); line-height:1.78;
  margin-bottom:18px;
}
.bio-copy p:last-child{ margin-bottom:0; }
.bio-copy strong{ color:var(--text); font-weight:600; }

/* ── Videos (trey) ──────────────────────────────────────────────────────────── */
.video-section{ background:rgba(255,255,255,0.015); }
.video-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:8px;
}
.video-card{
  overflow:hidden;
  display:flex; flex-direction:column;
}
.video-frame{
  position:relative;
  width:100%;
  padding-top:56.25%;
  background:#000;
  border-bottom:1px solid var(--border);
}
.video-frame iframe{
  position:absolute; top:0; left:0;
  width:100%; height:100%;
  border:0;
}
.video-meta{ padding:18px 22px; }
.video-meta h3{
  font-size:16px; font-weight:700; letter-spacing:-0.1px;
  margin-bottom:6px; color:var(--text);
}
.video-meta .venue{
  font-size:12.5px; font-weight:700;
  letter-spacing:0.05em; text-transform:uppercase;
  color:var(--accent);
  margin-bottom:8px;
}
.video-meta p{
  font-size:13.5px; color:var(--muted); line-height:1.6;
}
.video-links{
  display:grid; grid-template-columns:1fr;
  gap:10px; margin-top:24px;
}
.video-link{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:16px 20px;
  text-decoration:none;
}
.video-link-text strong{
  display:block; font-size:14.5px; font-weight:700; color:var(--text);
  margin-bottom:3px; letter-spacing:-0.1px;
}
.video-link-text span{ font-size:12.5px; color:var(--muted); }
.video-link-arrow{
  font-size:18px; color:var(--accent); flex-shrink:0;
}
@media(min-width:820px){
  .video-grid{ grid-template-columns:1fr 1fr; gap:24px; }
}

/* ── Speaking timeline (trey) ───────────────────────────────────────────────── */
.speaking-list{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.speaking-row{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:18px; align-items:baseline;
  padding:18px 22px;
}
.speaking-date{
  font-size:12.5px; font-weight:700;
  letter-spacing:0.05em; text-transform:uppercase;
  color:var(--accent);
}
.speaking-detail strong{
  display:block; font-size:15px; font-weight:700;
  color:var(--text); letter-spacing:-0.1px;
  margin-bottom:3px;
}
.speaking-detail span{
  font-size:13.5px; color:var(--muted); line-height:1.55;
}
.speaking-more{ margin-top:24px; text-align:center; }

/* Index-page speaking list (simpler) */
.speaking-list.speaking-list-simple{
  margin-top:24px; display:flex; flex-direction:column; gap:8px;
}
.speaking-item{
  display:flex; align-items:center; gap:10px;
  padding:14px 18px;
}
.speaking-item::before{
  content:"";
  width:6px; height:6px; border-radius:50%;
  background:var(--accent); flex-shrink:0;
}

/* ── Media bar (trey) ───────────────────────────────────────────────────────── */
.media-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.media-item{
  display:flex; align-items:baseline; gap:14px;
  padding:16px 20px;
}
.media-outlet{
  font-size:13px; font-weight:800; color:var(--accent);
  letter-spacing:0.03em; flex-shrink:0; min-width:140px;
}
.media-desc{ font-size:14px; color:var(--muted); line-height:1.5; }
@media(min-width:640px){
  .media-grid{ grid-template-columns:1fr 1fr; }
}

/* ── Credentials ────────────────────────────────────────────────────────────── */
.creds-section{ background:rgba(255,255,255,0.015); }
.certs-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:8px;
}
.cert-item{
  display:flex; align-items:baseline; gap:14px;
  padding:16px 20px;
}
.cert-abbr{
  font-size:13px; font-weight:800; color:var(--accent);
  letter-spacing:0.03em; flex-shrink:0; min-width:60px;
}
.cert-desc{ font-size:14px; color:var(--muted); line-height:1.5; }
.cert-desc strong{ color:var(--text); font-weight:600; }
@media(min-width:640px){ .certs-grid{ grid-template-columns:1fr 1fr; } }

/* ── Trade columns (founding-customers) ─────────────────────────────────────── */
.trade-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}
.trade-col{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px 30px;
  background:linear-gradient(160deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  box-shadow:var(--shadow-sm);
}
.trade-col.you{
  border-color:rgba(var(--accent-rgb),0.28);
  background:linear-gradient(160deg, rgba(var(--accent-rgb),0.07) 0%, rgba(var(--accent-rgb),0.018) 100%);
}
.trade-col h3{
  font-size:20px; font-weight:800; letter-spacing:-0.4px;
  margin-bottom:6px;
}
.trade-col .lede{
  font-size:14px; color:var(--muted); line-height:1.6; margin-bottom:22px;
}
.trade-list{ display:flex; flex-direction:column; gap:14px; }
.trade-item{
  display:flex; gap:14px; align-items:flex-start;
}
.trade-item .ic{
  flex-shrink:0;
  width:30px; height:30px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(var(--accent-rgb),0.10);
  border:1px solid rgba(var(--accent-rgb),0.22);
  color:var(--accent);
}
.trade-item .ic.muted{
  background:rgba(255,255,255,0.05);
  border-color:rgba(255,255,255,0.14);
  color:var(--muted);
}
.trade-item h4{
  font-size:15px; font-weight:700; color:var(--text);
  margin-bottom:3px; letter-spacing:-0.1px;
}
.trade-item p{ font-size:14px; color:var(--muted); line-height:1.6; }
@media(min-width:820px){
  .trade-grid{ grid-template-columns:1fr 1fr; gap:20px; }
}

/* ── Contact ────────────────────────────────────────────────────────────────── */
.contact-section{
  text-align:center;
  padding:88px 20px 96px;
}
.contact-inner{
  max-width:540px; margin:0 auto;
}
.contact-inner.contact-inner-wide{ max-width:580px; }
.contact-inner h2{
  font-size:clamp(28px,4vw,42px);
  letter-spacing:-1px; line-height:1.10;
  margin:16px 0 16px;
}
.contact-inner p{ font-size:16px; color:var(--muted); line-height:1.68; margin-bottom:32px; }
.contact-actions{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
footer{
  border-top:1px solid rgba(255,255,255,0.08);
  background:rgba(0,0,0,0.18);
  padding:32px 20px;
}
.footer-inner{
  max-width:var(--max); margin:0 auto;
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:space-between; gap:16px;
}
.footer-left{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.footer-copy{ font-size:12.5px; color:var(--dimmed); }
.footer-links{ display:flex; gap:14px; flex-wrap:wrap; }
.footer-links a{
  font-size:12.5px; color:var(--dimmed);
  transition:color .12s ease;
}
.footer-links a:hover{ color:var(--muted); }
.footer-right{ font-size:12px; color:var(--dimmed); }
.footer-right a{ color:rgba(var(--accent-rgb),0.80); text-decoration:underline; text-decoration-color:rgba(var(--accent-rgb),0.30); text-underline-offset:2px; }

/* ── Inline link (replace inline anchor styles) ─────────────────────────────── */
.inline-link{
  color:var(--accent);
  text-decoration:underline;
  text-decoration-color:rgba(var(--accent-rgb),0.35);
  text-underline-offset:3px;
}
.inline-link.is-strong{ text-decoration-color:rgba(var(--accent-rgb),0.40); }

/* ── Card content utility classes (replace inline h3/p style="") ────────────── */
.card-pad{ padding:24px 26px; }
.card-h3{ font-size:16px; font-weight:700; margin-bottom:8px; letter-spacing:-0.1px; }
.card-text{ font-size:14px; color:var(--muted); line-height:1.65; }

/* Small structural utilities (replace inline style="") */
.span-full{ grid-column:1/-1; }
.eyebrow-center{ margin:0 auto 16px; }
.mt-8{ margin-top:8px; }
.mt-14{ margin-top:14px; }
.mt-24{ margin-top:24px; }
.mt-28{ margin-top:28px; }
.mt-32{ margin-top:32px; }
.mt-32-center{ margin-top:32px; text-align:center; }
.list-padded{ padding-left:20px; margin:10px 0; list-style:disc; }

/* Why / coverage / commit grids — base (was inline) */
#why-grid, #cov-grid, #commit-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
#cov-grid{ margin-top:24px; }
@media(min-width:640px){
  #why-grid, #commit-grid{ grid-template-columns:1fr 1fr; }
}
@media(min-width:760px){
  #cov-grid{ grid-template-columns:1fr 1fr 1fr; }
}
@media(min-width:960px){
  #why-grid, #commit-grid{ grid-template-columns:1fr 1fr 1fr; }
}

/* ── terms.html — Title block ───────────────────────────────────────────────── */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:40px 20px 100px;
}
.title-block{ margin-bottom:36px; }
.title-eyebrow{
  font-size:13px;
  font-weight:600;
  letter-spacing:0.10em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 12px;
}
.title-block h1{
  font-size:clamp(36px, 5vw, 56px);
  font-weight:800;
  line-height:1.05;
  letter-spacing:-1.5px;
  margin:0 0 10px;
  color:var(--text);
}
.title-subtitle{
  font-size:17px;
  color:var(--muted);
  margin:0 0 8px;
}
.title-date{
  font-size:13px;
  color:var(--dimmed);
  margin:0;
}

/* terms.html — Content layout */
.content-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:start;
}
.toc-card{
  border:1px solid var(--border);
  background:linear-gradient(to bottom, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px 24px;
}
.toc-card h2{
  font-size:11px;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 16px;
}
.toc-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.toc-list li a{
  display:block;
  font-size:13px;
  color:var(--muted);
  padding:5px 8px;
  border-radius:8px;
  transition:background .12s ease, color .12s ease;
  line-height:1.35;
}
.toc-list li a:hover{
  background:rgba(124,247,212,0.08);
  color:var(--accent);
}
.prose-card{
  border:1px solid var(--border);
  background:linear-gradient(to bottom, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:44px 36px;
}

/* terms.html — Intro */
.intro-block{
  padding-bottom:36px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  margin-bottom:40px;
}
.intro-block p{
  font-size:16px;
  color:var(--muted);
  line-height:1.75;
  margin:0 0 18px;
}
.intro-block p:last-child{ margin-bottom:0; }

/* terms.html — Sections */
.tos-section{
  padding-top:40px;
  border-top:1px solid rgba(255,255,255,0.07);
  margin-top:40px;
}
.tos-section:first-of-type{
  border-top:none;
  margin-top:0;
  padding-top:0;
}
.tos-section h2{
  font-size:20px;
  font-weight:700;
  letter-spacing:-0.3px;
  margin:0 0 20px;
  color:var(--text);
  display:flex;
  align-items:baseline;
  gap:10px;
}
.tos-section h2 .sec-num{
  font-size:13px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:0.04em;
  flex-shrink:0;
  margin-top:2px;
}
.tos-sub{ margin-top:28px; }
.tos-sub:first-child{ margin-top:0; }
.tos-sub h3{
  font-weight:700;
  color:var(--accent2);
  margin:0 0 10px;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:0.08em;
}
.tos-section p,
.tos-sub p{
  font-size:15px;
  color:var(--muted);
  line-height:1.78;
  margin:0 0 16px;
  max-width:68ch;
}
.tos-section p:last-child,
.tos-sub p:last-child{ margin-bottom:0; }
.tos-section p.legal-caps,
.tos-sub p.legal-caps{
  font-size:13px;
  line-height:1.70;
  color:rgba(255,255,255,0.60);
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:10px;
  padding:16px 18px;
  max-width:none;
}

/* terms.html — Closing */
.closing-block{
  margin-top:52px;
  padding-top:36px;
  border-top:1px solid rgba(255,255,255,0.10);
}
.closing-block p{
  font-size:15px;
  color:var(--muted);
  line-height:1.75;
  margin:0 0 14px;
}
.closing-block p.copyright{
  font-size:13px;
  color:var(--dimmed);
  margin-bottom:0;
}

.return-home{ margin-top:36px; }
body.page-thankyou .return-home{ margin-top:32px; }
.return-home a{
  display:inline-block;
  padding:13px 22px;
  font-weight:700;
  font-size:14px;
  border-radius:999px;
  color:var(--accent-text);
  background:var(--accent);
  border:1px solid transparent;
  box-shadow:0 14px 32px rgba(124,247,212,0.16);
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
body.page-thankyou .return-home a{
  padding:14px 22px;
  font-size:15px;
}
.return-home a:hover{
  transform:translateY(-2px);
  filter:brightness(1.03);
  box-shadow:0 18px 42px rgba(124,247,212,0.20);
}

@media(min-width:900px){
  body.page-terms .wrap{ padding:48px 28px 100px; }
  body.page-terms .content-layout{
    grid-template-columns:220px 1fr;
    gap:28px;
  }
  body.page-terms .toc-card{
    position:sticky;
    top:80px;
  }
  body.page-terms .prose-card{ padding:52px 48px; }
}

/* ── thankyou.html ──────────────────────────────────────────────────────────── */
body.page-thankyou .wrap{
  padding:32px 20px 80px;
}
body.page-thankyou .card{
  padding:40px 28px;
  background:linear-gradient(to bottom, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}
.thankyou-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:center;
}
.thankyou-grid .message h1{
  font-size:clamp(42px, 6vw, 64px);
  line-height:1.05;
  margin:0 0 12px 0;
  letter-spacing:-1px;
}
.thankyou-grid .message p{
  font-size:clamp(18px, 2.5vw, 22px);
  color:var(--muted);
  margin:0;
}
.thankyou-grid .headshot{ text-align:center; }
.thankyou-grid .headshot img{
  width:260px;
  max-width:100%;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.03);
  box-shadow:
    0 14px 32px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04);
  display:block;
}
.next{
  margin-top:40px;
  padding-top:30px;
  border-top:1px solid rgba(255,255,255,0.10);
}
.next h2{
  font-size:22px;
  margin:0 0 12px;
  letter-spacing:-0.2px;
}
.next p{
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
  max-width:700px;
  margin:0 0 16px;
}
@media(min-width:800px){
  body.page-thankyou .wrap{ padding:40px 20px 88px; }
  body.page-thankyou .card{ padding:50px 40px; }
  .thankyou-grid{ grid-template-columns:1.2fr .8fr; gap:40px; }
  .thankyou-grid .headshot{ text-align:right; }
}

/* ── Accessibility / Motion ─────────────────────────────────────────────────── */
@media(prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ transition:none !important; animation:none !important; }
}
