/* ============================================================
   Sovright — Brand Landing Page Styles
   Font: Fraunces (variable serif)
   Palette:
     --paper:   #ECEAE3  warm off-white
     --ink:     #0E0E12  near-black
     --mark:    #5A1A1F  deep burgundy (brand accent)
     --terra:   #C0593A  terracotta (secondary accent)
     --muted:   #6A6A66  warm grey
     --rule:    #D9D2C1  dividers / borders
     --panel:   rgba(255,252,247,0.88) semi-transparent panel
     Pillar colors:
     --access:  #1F6B56  forest green (Argos)
     --network: #3A4E8C  deep blue (Relay)
     --mining:  #7A4A18  amber-brown (Bedrock)
   ============================================================ */

/* ── Reset & base ──────────────────────────────────────────── */
:root {
  --paper:    #ECEAE3;
  --ink:      #0E0E12;
  --mark:     #5A1A1F;
  --terra:    #C0593A;
  --muted:    #6A6A66;
  --rule:     #D9D2C1;
  --panel:    rgba(255, 252, 247, 0.88);

  --access:   #1F6B56;
  --access-bg:rgba(31, 107, 86, 0.08);
  --network:  #3A4E8C;
  --network-bg:rgba(58, 78, 140, 0.08);
  --mining:   #7A4A18;
  --mining-bg:rgba(122, 74, 24, 0.08);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --measure: 1120px;
  --gap: clamp(16px, 2.5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-variation-settings: 'opsz' 24, 'wght' 380, 'SOFT' 40;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  line-height: 1.6;
}

/* ── Accessibility ─────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  margin: 0;
  font-variation-settings: 'opsz' 72, 'wght' 460, 'SOFT' 30;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-variation-settings: 'opsz' 36, 'wght' 500, 'SOFT' 40; }
h5 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variation-settings: 'opsz' 14, 'wght' 600, 'SOFT' 20;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eyebrow {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variation-settings: 'opsz' 14, 'wght' 600, 'SOFT' 20;
  color: var(--terra);
  margin-bottom: 0.75em;
}

.accent { color: var(--mark); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-variation-settings: 'opsz' 18, 'wght' 520, 'SOFT' 30;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  border: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 2px 12px rgba(14, 14, 18, 0.22);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(14, 14, 18, 0.3); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--rule);
}
.btn-ghost:hover { background: rgba(14, 14, 18, 0.04); color: var(--ink); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid currentColor;
  opacity: 0.7;
}
.btn-outline:hover { opacity: 1; }

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-variation-settings: 'opsz' 16, 'wght' 520, 'SOFT' 30;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 100ms ease, opacity 100ms ease;
  border: none;
  white-space: nowrap;
}
.pill-btn:hover { transform: translateY(-1px); }

.pill-twitter {
  background: var(--ink);
  color: var(--paper);
}

.pill-donate {
  background: var(--mark);
  color: var(--paper);
}

/* ── Site Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 234, 227, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.site-header-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 8px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; display: block; max-width: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 1rem;
  font-variation-settings: 'opsz' 16, 'wght' 480, 'SOFT' 30;
  text-decoration: none;
  color: var(--muted);
  transition: color 100ms, background 100ms;
}
.site-nav a:hover { color: var(--ink); background: rgba(14,14,18,0.05); }

.nav-cta {
  padding: 8px 22px;
  background: #0E0E12 !important;
  color: #ECEAE3 !important;
  border-radius: 999px;
  font-size: 1rem;
  font-variation-settings: 'opsz' 16, 'wght' 300, 'SOFT' 60;
  text-decoration: none;
  transition: opacity 120ms;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.75; }
.nav-cta-dashboard { background: #C09545 !important; color: #0E0E12 !important; }

/* ── Follow Bar ────────────────────────────────────────────── */
.follow-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 6px 0;
}

.follow-bar-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: nowrap;
}

.follow-item { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.follow-email {
  flex: 1;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.email-form {
  display: flex;
  gap: 6px;
  width: 100%;
}

.email-form input {
  flex: 1;
  min-width: 0;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,252,247,0.2);
  background: rgba(255,252,247,0.1);
  color: var(--paper);
  font-family: inherit;
  font-size: 0.82rem;
  font-variation-settings: 'opsz' 16, 'wght' 400, 'SOFT' 50;
  outline: none;
  transition: border-color 100ms;
}
.email-form input::placeholder { color: rgba(236, 234, 227, 0.45); }
.email-form input:focus { border-color: rgba(255,252,247,0.5); }

.email-form button {
  padding: 5px 12px;
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-variation-settings: 'opsz' 16, 'wght' 560, 'SOFT' 30;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 100ms;
}
.email-form button:hover { opacity: 0.88; }

.follow-note { display: none; }

/* ── Sections ──────────────────────────────────────────────── */
.section {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 48px);
}

.section + .section {
  border-top: 1px solid var(--rule);
}

#zcash {
  padding-top: clamp(16px, 1.5vw, 24px);
}

.section-intro {
  max-width: 600px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-subhead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 0.75em;
  font-variation-settings: 'opsz' 24, 'wght' 360, 'SOFT' 50;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(72px, 10vh, 128px) clamp(20px, 4vw, 48px) clamp(48px, 6vh, 80px);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  column-gap: clamp(12px, 1.5vw, 20px);
  row-gap: clamp(20px, 3vw, 36px);
  align-items: start;
  min-height: 60vh;
}

.hero-heading {
  grid-column: 1 / -1;
}

.hero-heading h1 {
  white-space: nowrap;
  margin-top: 0.2em;
}

.hero-copy { max-width: 560px; }

.hero-lede {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
  color: var(--muted);
  font-variation-settings: 'opsz' 24, 'wght' 360, 'SOFT' 50;
  max-width: 540px;
  margin-top: 0.9em;
}

.hero-lede strong {
  color: var(--ink);
  font-variation-settings: 'opsz' 24, 'wght' 540, 'SOFT' 40;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2em;
}

.hero-pillars {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-self: start;
  justify-content: flex-start;
  width: 360px;
  padding-top: 2.5em;
}

.pillar-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--rule);
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.pillar-chip:hover {
  transform: translateX(-3px);
  box-shadow: 0 4px 20px rgba(14, 14, 18, 0.08);
}

.pillar-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variation-settings: 'opsz' 14, 'wght' 600, 'SOFT' 20;
}

.pillar-product {
  font-size: 1.3rem;
  font-variation-settings: 'opsz' 36, 'wght' 500, 'SOFT' 30;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--muted);
  font-variation-settings: 'opsz' 14, 'wght' 380, 'SOFT' 50;
  margin-top: 4px;
  line-height: 1.4;
}

.pillar-access  { border-left: 3px solid var(--access);  }
.pillar-access  .pillar-label { color: var(--access); }
.pillar-network { border-left: 3px solid var(--network); }
.pillar-network .pillar-label { color: var(--network); }
.pillar-mining  { border-left: 3px solid var(--mining);  }
.pillar-mining  .pillar-label { color: var(--mining); }

/* ── Products ──────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, auto);
  column-gap: var(--gap);
  row-gap: 0;
}

.product-card {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: box-shadow 200ms, transform 200ms;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 8px 40px rgba(14, 14, 18, 0.1);
  transform: translateY(-2px);
}

.product-teaser {
  opacity: 0.72;
}
.product-teaser:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(14, 14, 18, 0.07);
}

.pillar-chip-teaser {
  opacity: 0.5;
}
.pillar-chip-teaser:hover {
  opacity: 0.72;
}

.product-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
}

.product-pillar-badge {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variation-settings: 'opsz' 14, 'wght' 640, 'SOFT' 20;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-access  { background: var(--access-bg);  color: var(--access); }
.badge-network { background: var(--network-bg); color: var(--network); }
.badge-mining  { background: var(--mining-bg);  color: var(--mining); }

.product-status {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variation-settings: 'opsz' 14, 'wght' 580, 'SOFT' 20;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-live    { background: rgba(14,14,18,0.06); color: var(--muted); }
.status-preview { background: rgba(14,14,18,0.06);  color: var(--muted); }

.product-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-variation-settings: 'opsz' 60, 'wght' 480, 'SOFT' 30;
  letter-spacing: -0.025em;
}

.product-tagline {
  font-size: 0.88rem;
  color: var(--muted);
  font-variation-settings: 'opsz' 18, 'wght' 420, 'SOFT' 50;
  margin-top: 2px;
  margin-bottom: 16px;
}

.product-body {
  display: flex;
  flex-direction: column;
}

.product-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  font-variation-settings: 'opsz' 18, 'wght' 360, 'SOFT' 50;
  margin-top: 0.8em;
}

.product-teaser-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  font-variation-settings: 'opsz' 18, 'wght' 360, 'SOFT' 50;
  margin-top: 0.8em;
}

.product-attributes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-attributes li {
  font-size: 0.85rem;
  font-variation-settings: 'opsz' 16, 'wght' 440, 'SOFT' 40;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.product-attributes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--access);
  font-variation-settings: 'opsz' 14, 'wght' 600, 'SOFT' 0;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-self: end;
  padding-top: 24px;
}

/* Stretched link — makes entire card clickable via the primary action */
.product-card { position: relative; }
.stretched-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-lg);
}
.product-card .btn:not(.stretched-link),
.product-card a:not(.stretched-link) {
  position: relative;
  z-index: 2;
}

/* Product accent borders */
.product-argos  { border-top: 3px solid var(--access); }
.product-relay  { border-top: 3px solid var(--network); }
.product-bedrock{ border-top: 3px solid var(--mining); }

/* ── Other Fronts ──────────────────────────────────────────── */
.fronts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
}

.front-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1px dashed var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color 200ms, background 200ms;
}
.front-card:hover {
  border-color: var(--terra);
  background: rgba(192, 89, 58, 0.03);
}

.front-card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.front-status {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variation-settings: 'opsz' 14, 'wght' 600, 'SOFT' 20;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-horizon {
  background: rgba(192, 89, 58, 0.1);
  color: var(--terra);
}

.front-card h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-variation-settings: 'opsz' 48, 'wght' 480, 'SOFT' 30;
  letter-spacing: -0.02em;
}

.front-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  font-variation-settings: 'opsz' 18, 'wght' 360, 'SOFT' 50;
  margin-top: 0.8em;
}

.front-link {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.85rem;
  font-variation-settings: 'opsz' 16, 'wght' 520, 'SOFT' 30;
  color: var(--terra);
  text-decoration: none;
  transition: color 100ms;
}
.front-link:hover { color: var(--mark); text-decoration: underline; }

/* Deliberate white space: the open, forward-looking card */
.front-card-open {
  border-style: solid;
  border-color: var(--rule);
  background: rgba(14, 14, 18, 0.02);
  justify-content: center;
}
.front-card-open h3 { color: var(--mark); }

/* ── Thesis Section ────────────────────────────────────────── */
.thesis-section {
  background: var(--ink);
  color: var(--paper);
  max-width: 100%;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 48px);
}

.thesis-inner {
  max-width: var(--measure);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: clamp(20px, 2.5vw, 32px);
  align-items: start;
}

.thesis-section .eyebrow { color: var(--terra); }

.thesis-heading {
  grid-column: 1 / -1;
}

.thesis-heading h2 {
  color: var(--paper);
  margin-top: 0.3em;
  white-space: nowrap;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.thesis-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(236, 234, 227, 0.7);
  font-variation-settings: 'opsz' 20, 'wght' 360, 'SOFT' 50;
  margin-top: 0.85em;
}

.thesis-copy p em {
  color: var(--paper);
  font-style: italic;
  font-variation-settings: 'opsz' 20, 'wght' 420, 'SOFT' 70;
}

.thesis-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 4px;
}

.thesis-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(236, 234, 227, 0.12);
  background: rgba(255, 252, 247, 0.04);
}

.thesis-pillar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
}

.pillar-icon-access  { background: var(--access-bg);  border-color: rgba(31,107,86,0.3);  color: var(--access); }
.pillar-icon-network { background: var(--network-bg); border-color: rgba(58,78,140,0.3);  color: var(--network); }
.pillar-icon-mining  { background: var(--mining-bg);  border-color: rgba(122,74,24,0.3);  color: var(--mining); }

.thesis-pillar h4 {
  color: var(--paper);
  font-variation-settings: 'opsz' 24, 'wght' 520, 'SOFT' 30;
  margin-bottom: 4px;
}

.thesis-pillar p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(236, 234, 227, 0.6);
  font-variation-settings: 'opsz' 16, 'wght' 360, 'SOFT' 50;
  margin: 0;
}

/* ── Team ──────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}

.team-card {
  display: flex;
  gap: 20px;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: box-shadow 200ms;
}
.team-card:hover { box-shadow: 0 4px 24px rgba(14, 14, 18, 0.08); }

.team-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-variation-settings: 'opsz' 14, 'wght' 600, 'SOFT' 20;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-info { flex: 1; min-width: 0; }

.team-info h3 {
  font-size: 1.1rem;
  font-variation-settings: 'opsz' 24, 'wght' 500, 'SOFT' 30;
  margin-bottom: 2px;
}

.team-role {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  font-variation-settings: 'opsz' 14, 'wght' 580, 'SOFT' 20;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  font-variation-settings: 'opsz' 18, 'wght' 360, 'SOFT' 50;
  margin-bottom: 12px;
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-variation-settings: 'opsz' 14, 'wght' 520, 'SOFT' 30;
  color: var(--muted);
  text-decoration: none;
  transition: color 100ms;
}
.team-link:hover { color: var(--ink); }

/* ── Donate ────────────────────────────────────────────────── */
.donate-section {
  background: rgba(90, 26, 31, 0.04);
  border-radius: var(--radius-lg);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.donate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.donate-copy h2 { margin-bottom: 0.7em; }

.donate-copy p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
  font-variation-settings: 'opsz' 20, 'wght' 360, 'SOFT' 50;
  margin-top: 0.85em;
}

.donate-options { display: flex; flex-direction: column; gap: 16px; }

.donate-card {
  padding: clamp(18px, 2.5vw, 24px);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
}

.donate-card h4 {
  margin-bottom: 8px;
}

.donate-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  font-variation-settings: 'opsz' 16, 'wght' 360, 'SOFT' 50;
  margin-bottom: 14px;
}

.zec-address {
  background: rgba(14, 14, 18, 0.05);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.zec-address code {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, 'Fira Code', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  word-break: break-all;
}

.copy-btn {
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.82rem;
  font-variation-settings: 'opsz' 14, 'wght' 520, 'SOFT' 30;
  cursor: pointer;
  transition: opacity 100ms;
}
.copy-btn:hover { opacity: 0.8; }

/* ── Feedback Bar ──────────────────────────────────────────── */
.feedback-bar {
  border-top: 1px solid var(--rule);
}

.feedback-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.feedback-inner p {
  font-size: 0.92rem;
  color: var(--muted);
  font-variation-settings: 'opsz' 18, 'wght' 400, 'SOFT' 50;
}

.feedback-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.feedback-links a {
  color: var(--ink);
  font-variation-settings: 'opsz' 16, 'wght' 520, 'SOFT' 30;
  text-decoration: none;
}
.feedback-links a:hover { text-decoration: underline; }

/* ── Coming Soon Pages ─────────────────────────────────────── */
.coming-soon-hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: clamp(60px, 10vw, 120px) clamp(20px, 4vw, 48px);
}

.coming-soon-inner {
  max-width: 640px;
  margin: 0 auto;
}

.coming-soon-inner h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-variation-settings: 'opsz' 60, 'wght' 480, 'SOFT' 30;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.coming-soon-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  font-variation-settings: 'opsz' 18, 'wght' 360, 'SOFT' 50;
  margin-top: 1em;
}

.coming-soon-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.notify-form {
  margin-top: 2.5rem;
}

.notify-label {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  font-variation-settings: 'opsz' 14, 'wght' 500, 'SOFT' 30;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.notify-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.notify-input {
  flex: 1;
  min-width: 220px;
  padding: 11px 14px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 150ms;
}
.notify-input:focus { border-color: var(--ink); }

.notify-status {
  margin-top: 10px;
  font-size: 0.9rem;
  min-height: 1.4em;
  color: var(--muted);
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.footer-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 48px) 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand a { display: block; text-decoration: none; }
.footer-brand img { height: 32px; width: auto; display: block; }

.footer-tagline {
  font-size: 0.92rem;
  color: var(--muted);
  font-variation-settings: 'opsz' 14, 'wght' 400, 'SOFT' 60;
  font-style: normal;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-group h5 {
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-nav-group a {
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  font-variation-settings: 'opsz' 16, 'wght' 420, 'SOFT' 40;
  transition: color 100ms;
}
.footer-nav-group a:hover { color: var(--mark); }

.footer-product-teaser {
  font-size: 1rem;
  color: var(--muted);
  font-variation-settings: 'opsz' 16, 'wght' 380, 'SOFT' 40;
  font-style: italic;
  opacity: 0.6;
}

.footer-bottom {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
  font-variation-settings: 'opsz' 14, 'wght' 400, 'SOFT' 50;
  border-top: 1px solid var(--rule);
  margin-top: clamp(40px, 5vw, 56px);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--ink); }

.footer-divider { color: var(--rule); }

/* ── Animations ────────────────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header { animation: rise 600ms cubic-bezier(.2,.7,.2,1) both; }
  .follow-bar   { animation: rise 600ms cubic-bezier(.2,.7,.2,1) 80ms  both; }
  .hero-heading { animation: rise 700ms cubic-bezier(.2,.7,.2,1) 120ms both; }
  .hero-copy    { animation: rise 700ms cubic-bezier(.2,.7,.2,1) 160ms both; }
  .hero-pillars { animation: rise 700ms cubic-bezier(.2,.7,.2,1) 200ms both; }
}

@media (min-width: 901px) {
  .brand { margin-left: -44px; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav { display: none; }

  .product-grid {
    grid-template-columns: 1fr;
  }


  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-heading h1 { white-space: normal; }

  .hero-pillars {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-self: auto;
    justify-content: flex-start;
  }

  .pillar-chip { min-width: 200px; flex: 1; }

  .thesis-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .thesis-heading h2 { white-space: normal; }

  .donate-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .follow-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .follow-item { justify-content: center; }
  .follow-email { align-items: stretch; }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex-direction: column;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .feedback-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .footer-divider { display: none; }
}

/* ── Blog: index listing ───────────────────────────────────── */
.blog-index {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(72px, 10vh, 128px) clamp(20px, 5vw, 56px) clamp(80px, 12vh, 160px);
}

.blog-index-header {
  margin-bottom: clamp(40px, 6vh, 64px);
  padding-bottom: clamp(28px, 4vh, 40px);
  border-bottom: 1px solid var(--rule);
}

.blog-index-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.3em;
}

.blog-index-header p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  font-variation-settings: 'opsz' 36, 'wght' 360, 'SOFT' 50;
  max-width: 52ch;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 44px);
}

.post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: clamp(28px, 4vh, 44px);
  border-bottom: 1px solid var(--rule);
  transition: transform 140ms ease;
}
.post-list .post-card:last-child { border-bottom: none; }
.post-card:hover { transform: translateX(4px); }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0.7em;
}

.post-date {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variation-settings: 'opsz' 14, 'wght' 480, 'SOFT' 30;
  color: var(--muted);
}

.post-card-title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 0.35em;
  font-variation-settings: 'opsz' 48, 'wght' 460, 'SOFT' 30;
}
.post-card:hover .post-card-title { color: var(--mark); }

.post-card-excerpt {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  font-variation-settings: 'opsz' 24, 'wght' 360, 'SOFT' 50;
  margin: 0 0 0.7em;
  max-width: 60ch;
}

.post-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-variation-settings: 'opsz' 16, 'wght' 520, 'SOFT' 30;
  color: var(--mark);
}

/* ── Blog: single post / article prose ─────────────────────── */
.post {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(72px, 10vh, 128px) clamp(20px, 5vw, 56px) clamp(80px, 12vh, 160px);
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-variation-settings: 'opsz' 14, 'wght' 480, 'SOFT' 30;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: clamp(40px, 6vh, 64px);
  transition: color 100ms;
}
.post-back:hover { color: var(--ink); }

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.4em;
}

.post h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: 0.3em;
  line-height: 1.12;
}

.post-lede {
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
  font-variation-settings: 'opsz' 36, 'wght' 360, 'SOFT' 50;
  margin-bottom: 1.5em;
  padding-bottom: 1.2em;
  border-bottom: 1px solid var(--rule);
}

.post-hero-video {
  margin: 0 0 1.6em;
}

.post-hero-video .hero-video {
  width: 100%;
  height: auto;
  display: block;
  background: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Wide cut for desktop / tablet; vertical cut for phones.
   The hidden element keeps preload="none" (set in markup) so it is never fetched. */
.post-hero-video .hero-video-wide { aspect-ratio: 16 / 9; }
.post-hero-video .hero-video-vertical { display: none; aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }

@media (max-width: 600px) {
  .post-hero-video .hero-video-wide { display: none; }
  .post-hero-video .hero-video-vertical { display: block; }
  /* Single-cut posts keep the wide video on phones too. */
  .post-hero-video--single .hero-video-wide { display: block; }
}

.post-body {
  display: flex;
  flex-direction: column;
  gap: 1.4em;
}

.post-body p {
  font-size: 1.04rem;
  line-height: 1.72;
  font-variation-settings: 'opsz' 24, 'wght' 370, 'SOFT' 50;
  color: var(--ink);
  margin: 0;
}

.post-body strong {
  font-variation-settings: 'opsz' 24, 'wght' 540, 'SOFT' 40;
  color: var(--mining);
}

.post-body em {
  font-style: italic;
  color: var(--mark);
  font-variation-settings: 'opsz' 24, 'wght' 400, 'SOFT' 70;
}

.post-body a:not(.btn) {
  color: var(--mark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.post-body a.btn-primary {
  color: var(--paper);
  text-decoration: none;
}

.post-section-heading {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-variation-settings: 'opsz' 40, 'wght' 480, 'SOFT' 30;
  color: var(--mining);
  line-height: 1.25;
  margin-top: 1.1em;
  margin-bottom: -0.3em;
}

.post-subheading {
  font-size: 1.1rem;
  font-variation-settings: 'opsz' 24, 'wght' 560, 'SOFT' 30;
  color: var(--mining);
  margin-top: 0.7em;
  margin-bottom: -0.5em;
}

/* Legal pages (terms.html, privacy.html) — reuse .post container + typography,
   add heading/list styling the blog body didn't need, and neutral bold so the
   many bold lead-ins/ALL-CAPS clauses don't read as accent-colored links. */
.legal-meta {
  font-size: 0.85rem;
  color: var(--muted);
  font-variation-settings: 'opsz' 16, 'wght' 400, 'SOFT' 40;
  margin: 0;
  padding-bottom: 1.4em;
  border-bottom: 1px solid var(--rule);
}

.legal-body h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-variation-settings: 'opsz' 36, 'wght' 500, 'SOFT' 30;
  color: var(--mining);
  line-height: 1.25;
  margin: 0.5em 0 0;
}

.legal-body ul {
  margin: 0;
  padding-left: 1.3em;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.legal-body li {
  font-size: 1.02rem;
  line-height: 1.65;
  font-variation-settings: 'opsz' 24, 'wght' 370, 'SOFT' 50;
  color: var(--ink);
}

.legal-body strong {
  color: var(--ink);
  font-variation-settings: 'opsz' 24, 'wght' 560, 'SOFT' 40;
}

.post-cta-row {
  margin: 0.6em 0;
}

.post-footer {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid var(--rule);
}

.post-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
}

.post-links li {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
}

.post-links .post-link-label {
  margin-right: 6px;
  font-variation-settings: 'opsz' 18, 'wght' 540, 'SOFT' 30;
  color: var(--ink);
}

.post-links a {
  color: var(--mark);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

@media (prefers-reduced-motion: no-preference) {
  .blog-index,
  .post { animation: rise 700ms cubic-bezier(.2,.7,.2,1) 80ms both; }
}
