/* ─────────────────────────────────────────────────────────────
   CampChat — campchat.rygielski.net
   Shared stylesheet for index + privacy
   ───────────────────────────────────────────────────────────── */

:root {
  /* Warm neutrals — paper, ash, coal */
  --linen:      #F5EFE3;
  --parchment:  #EAE1CE;
  --cream:      #FBF7EE;
  --sand:       #F1E8D4;
  --coal:       #1B1612;
  --char:       #2A221C;
  --ash:        #6A5F54;
  --smoke:      #A89E91;
  --fog:        #D9D1C0;

  /* Ember — the bonfire heart */
  --ember:      #DD5A2B;
  --ember-deep: #B23F18;
  --ember-soft: #F2A766;
  --ember-wash: #FAE7D6;
  --spark:      #F7C36A;

  /* Around the fire */
  --twilight:   #2A3447;
  --twilight-soft: #4F5B72;
  --twilight-wash: #E3E5EB;
  --moss:       #5E7548;
  --moss-wash:  #E2E8D6;
  --rust:       #A8451F;
  --rust-wash:  #F4DDD2;

  --display: 'Instrument Serif', 'Source Serif Pro', Georgia, serif;
  --sans:    'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  background: var(--linen);
  color: var(--coal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--ember-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember); }

::selection { background: var(--ember); color: var(--cream); }

/* ──────────────────────────────────────────────────────────── */
/* Layout primitives                                            */
/* ──────────────────────────────────────────────────────────── */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}

.eyebrow.on-dark { color: var(--ember-soft); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: pretty;
}

h1 { font-size: clamp(48px, 8vw, 96px); line-height: 0.98; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; }
h3 { font-size: 26px; line-height: 1.15; }
h4 { font-size: 19px; line-height: 1.2; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 14px; }

.lede { font-size: 19px; line-height: 1.55; color: var(--ash); max-width: 60ch; }

hr.rule {
  border: none;
  border-top: 1px solid var(--fog);
  margin: 0;
}

/* ──────────────────────────────────────────────────────────── */
/* Top nav                                                      */
/* ──────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 227, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(217, 209, 192, 0.6);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 22px;
  color: var(--coal); text-decoration: none;
}

.nav-brand img { width: 28px; height: 28px; }

.nav-links {
  margin-left: auto;
  display: flex; gap: 22px;
  font-size: 14px;
}

.nav-links a {
  color: var(--ash);
  text-decoration: none;
  padding: 6px 2px;
}

.nav-links a:hover { color: var(--coal); }

.nav-links a.cta {
  background: var(--coal);
  color: var(--linen);
  padding: 8px 14px;
  border-radius: 999px;
}

.nav-links a.cta:hover { background: var(--ember); color: var(--cream); }

@media (max-width: 720px) {
  .nav-links { gap: 14px; }
  .nav-links a.docs-link { display: none; }
}

/* ──────────────────────────────────────────────────────────── */
/* Buttons                                                      */
/* ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}

.btn-primary {
  background: var(--ember);
  color: var(--cream);
}
.btn-primary:hover { background: var(--ember-deep); color: var(--cream); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--coal);
  border-color: var(--smoke);
}
.btn-ghost:hover { background: var(--cream); border-color: var(--coal); color: var(--coal); }

.btn-ghost-light {
  background: rgba(255,255,255,0.06);
  color: var(--linen);
  border-color: rgba(245,239,227,0.25);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.10); color: var(--cream); }

/* ──────────────────────────────────────────────────────────── */
/* Hero                                                         */
/* ──────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--linen);
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(221,90,43,0.30), rgba(221,90,43,0) 65%),
    radial-gradient(700px 500px at 15% 110%, rgba(247,195,106,0.18), rgba(247,195,106,0) 60%),
    linear-gradient(160deg, #14182B 0%, #1A2238 40%, #2A2018 100%);
  padding: 110px 0 130px;
}

/* sparks — purely decorative */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 20%, rgba(247,195,106,0.6), transparent),
    radial-gradient(1px 1px at 70% 30%, rgba(247,195,106,0.4), transparent),
    radial-gradient(1.2px 1.2px at 55% 70%, rgba(242,167,102,0.5), transparent),
    radial-gradient(1px 1px at 30% 75%, rgba(247,195,106,0.3), transparent),
    radial-gradient(1.4px 1.4px at 85% 60%, rgba(247,195,106,0.45), transparent),
    radial-gradient(1px 1px at 90% 15%, rgba(242,167,102,0.4), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 80px 0 90px; }
}

.hero h1 {
  margin-top: 18px;
  color: var(--linen);
}

.hero h1 em {
  font-style: italic;
  color: var(--spark);
}

.hero .lede {
  color: #D8CFBA;
  font-size: 20px;
  max-width: 52ch;
  margin-top: 22px;
}

.hero-ctas {
  margin-top: 32px;
  display: flex; gap: 14px; flex-wrap: wrap;
}

.hero-meta {
  margin-top: 24px;
  font-family: var(--mono); font-size: 11px;
  color: var(--smoke); letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; gap: 18px; flex-wrap: wrap;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

.hero-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 6px rgba(94,117,72,0.7);
}

/* Hero phone preview — pure CSS chat mockup */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
}

.phone {
  background: var(--ash);
  border-radius: 36px;
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1.5px rgba(255,255,255,0.04),
    0 0 60px rgba(221,90,43,0.18);
  border: 1px solid rgba(0,0,0,0.4);
}

.phone-inner {
  background: var(--parchment);
  border-radius: 22px;
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────── */
/* Section header                                               */
/* ──────────────────────────────────────────────────────────── */

section { padding: 96px 0; }
section.tight { padding: 72px 0; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2 { margin-top: 8px; }

/* ──────────────────────────────────────────────────────────── */
/* Value cards                                                  */
/* ──────────────────────────────────────────────────────────── */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 980px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.value {
  background: var(--cream);
  border: 1px solid var(--fog);
  border-radius: 18px;
  padding: 24px 22px;
  position: relative;
}

.value .num {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; color: var(--ember);
}

.value h4 {
  font-family: var(--display);
  font-size: 24px; font-weight: 400;
  margin-top: 6px; margin-bottom: 10px;
  color: var(--coal); letter-spacing: -0.01em;
}

.value p {
  margin: 0;
  font-size: 14px; line-height: 1.55; color: var(--ash);
}

/* ──────────────────────────────────────────────────────────── */
/* How it works                                                 */
/* ──────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

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

.step {
  padding: 24px;
  background: var(--linen);
  border: 1px solid var(--fog);
  border-radius: 16px;
}

.step .step-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--ember); text-transform: uppercase;
}

.step h4 {
  margin-top: 6px; margin-bottom: 8px;
  font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: -0.01em;
}

.step p { font-size: 14.5px; line-height: 1.55; color: var(--ash); margin: 0; }

.mesh-diagram {
  margin-top: 28px;
  background: var(--coal);
  color: var(--linen);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 820px) {
  .mesh-diagram { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}

.mesh-diagram::before {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(221,90,43,0.32), rgba(221,90,43,0) 70%);
  pointer-events: none;
}

.mesh-diagram .text { position: relative; }
.mesh-diagram .text h3 {
  font-family: var(--display); font-size: 36px; line-height: 1.05;
  margin-top: 6px; margin-bottom: 14px; color: var(--linen);
}

.mesh-diagram .text p {
  color: #C8BFAB; font-size: 14.5px; line-height: 1.6; max-width: 44ch;
  margin: 0 0 10px;
}

.mesh-svg {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
}

/* ──────────────────────────────────────────────────────────── */
/* Use cases                                                    */
/* ──────────────────────────────────────────────────────────── */

.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 720px) { .cases { grid-template-columns: 1fr; } }

.case {
  background: var(--cream);
  border: 1px solid var(--fog);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
}

.case-icon {
  width: 56px; height: 56px;
  background: var(--ember-wash);
  color: var(--ember-deep);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}

.case h4 {
  font-family: var(--display); font-size: 24px; font-weight: 400;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.case p { margin: 0; font-size: 14.5px; color: var(--ash); }

/* ──────────────────────────────────────────────────────────── */
/* Privacy / honesty callout                                    */
/* ──────────────────────────────────────────────────────────── */

.honesty {
  background: var(--coal);
  color: var(--linen);
}

.honesty .section-head h2 { color: var(--linen); }
.honesty .section-head .lede { color: #C8BFAB; }

.honesty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.h-card {
  border: 1px solid rgba(245,239,227,0.10);
  border-radius: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.025);
}

.h-card.warn {
  border: 1px solid rgba(216,106,65,0.50);
  background: linear-gradient(180deg, rgba(216,106,65,0.10), rgba(216,106,65,0.04));
}

.h-card .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ember-soft);
  display: flex; align-items: center; gap: 8px;
}

.h-card.warn .label { color: #F2A766; }
.h-card.good .label { color: #B4D08F; }

.h-card .label .pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.h-card h3 {
  font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.15;
  margin: 8px 0 12px; color: var(--linen);
}

.h-card p { margin: 0 0 10px; color: #C8BFAB; font-size: 14.5px; line-height: 1.6; }
.h-card p:last-child { margin-bottom: 0; }

.h-card a { color: var(--spark); }

.h-card .footnote {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(245,239,227,0.10);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--smoke);
}

.honesty-bottom {
  margin-top: 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 22px 26px;
  background: rgba(255,255,255,0.035);
  border-radius: 16px;
  border: 1px solid rgba(245,239,227,0.10);
}

.honesty-bottom .text {
  flex: 1; min-width: 280px;
  color: #C8BFAB; font-size: 14.5px; line-height: 1.55;
}

.honesty-bottom .text b { color: var(--linen); font-weight: 600; }

/* ──────────────────────────────────────────────────────────── */
/* Inside the app — screenshots strip                           */
/* ──────────────────────────────────────────────────────────── */

.inside {
  background: var(--parchment);
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 980px) { .inside-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .inside-grid { grid-template-columns: 1fr; } }

.inside-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--fog);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}

.inside-card .label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--ash); text-transform: uppercase;
}

.inside-card h4 {
  font-family: var(--display); font-size: 22px; font-weight: 400;
  margin: 0; letter-spacing: -0.01em;
}

.inside-card p {
  margin: 0; font-size: 13.5px; color: var(--ash); line-height: 1.55;
}

/* Mini phone preview inside the inside cards */
.mini-phone {
  margin-top: auto;
  background: var(--coal);
  border-radius: 18px;
  padding: 6px;
  align-self: center;
  width: 100%;
  max-width: 220px;
}

.mini-phone-inner {
  background: var(--linen);
  border-radius: 14px;
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────── */
/* FAQ                                                          */
/* ──────────────────────────────────────────────────────────── */

.faq { display: grid; gap: 4px; }

.faq details {
  border-bottom: 1px solid var(--fog);
  padding: 18px 0;
}

.faq details:first-of-type { border-top: 1px solid var(--fog); }

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display); font-size: 22px; line-height: 1.25;
  color: var(--coal);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-family: var(--mono); font-size: 24px; color: var(--ember);
  flex-shrink: 0;
  transition: transform .2s;
  font-weight: 300;
}

.faq details[open] summary::after { content: '–'; }

.faq .answer {
  margin-top: 12px;
  font-size: 15px; color: var(--ash); line-height: 1.65;
  max-width: 70ch;
}

.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ──────────────────────────────────────────────────────────── */
/* CTA banner                                                   */
/* ──────────────────────────────────────────────────────────── */

.cta-banner {
  background: linear-gradient(135deg, #DD5A2B 0%, #B23F18 70%, #6B2510 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 80% 25%, rgba(255,229,196,0.6), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,229,196,0.5), transparent),
    radial-gradient(1.2px 1.2px at 20% 50%, rgba(255,229,196,0.4), transparent);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

@media (max-width: 720px) { .cta-inner { grid-template-columns: 1fr; } }

.cta-inner h2 { color: var(--cream); margin: 0; }
.cta-inner p { margin: 12px 0 0; color: #F8E1CE; font-size: 16.5px; max-width: 48ch; }

.cta-inner .btn-primary {
  background: var(--coal); color: var(--cream);
}
.cta-inner .btn-primary:hover { background: #000; color: var(--cream); }

.cta-inner .btn-ghost-light:hover { background: rgba(255,255,255,0.18); }

/* ──────────────────────────────────────────────────────────── */
/* Footer                                                       */
/* ──────────────────────────────────────────────────────────── */

footer.site-footer {
  background: var(--coal);
  color: #C8BFAB;
  padding: 56px 0 32px;
  font-size: 14px;
}

footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 820px) {
  footer.site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  footer.site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

footer.site-footer .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 22px;
  color: var(--linen);
}

footer.site-footer .brand img { width: 28px; height: 28px; }

footer.site-footer .blurb {
  margin-top: 14px;
  color: #A89E91;
  font-size: 13.5px;
  max-width: 32ch;
  line-height: 1.55;
}

footer.site-footer .col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-soft);
  margin: 0 0 14px;
  font-weight: 500;
}

footer.site-footer ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}

footer.site-footer ul a {
  color: #C8BFAB;
  text-decoration: none;
}

footer.site-footer ul a:hover { color: var(--linen); text-decoration: underline; }

footer.site-footer .legalbar {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(245,239,227,0.10);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--smoke);
}

/* ──────────────────────────────────────────────────────────── */
/* Privacy page                                                 */
/* ──────────────────────────────────────────────────────────── */

.legal-hero {
  background: var(--linen);
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--fog);
}

.legal-hero .eyebrow { color: var(--ember-deep); }

.legal-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin-top: 12px;
  color: var(--coal);
}

.legal-hero .updated {
  margin-top: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--ash);
}

.legal-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 64px 0 96px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.legal-body .wrap-fix { padding: 0 28px; }

@media (max-width: 900px) {
  .legal-body { grid-template-columns: 1fr; padding: 48px 28px; gap: 32px; }
}

.toc {
  position: sticky;
  top: 90px;
  align-self: flex-start;
}

.toc h5 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ash);
  margin: 0 0 14px; font-weight: 500;
}

.toc ol {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
  counter-reset: toc;
}

.toc ol li {
  counter-increment: toc;
}

.toc ol li a {
  display: grid; grid-template-columns: 28px 1fr; gap: 6px;
  text-decoration: none;
  font-size: 13.5px; line-height: 1.4;
  color: var(--ash);
  padding: 4px 0;
}

.toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono); font-size: 10.5px;
  color: var(--smoke); letter-spacing: 0.05em;
}

.toc ol li a:hover { color: var(--ember-deep); }

.legal-content {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--coal);
  padding: 0 28px 0 0;
}

@media (max-width: 900px) { .legal-content { padding: 0; } }

.legal-content section {
  padding: 0;
  margin-bottom: 56px;
  scroll-margin-top: 90px;
}

.legal-content h2 {
  font-family: var(--display); font-size: 32px; font-weight: 400;
  line-height: 1.1;
  margin: 0 0 18px;
  display: flex; align-items: baseline; gap: 14px;
}

.legal-content h2::before {
  content: attr(data-num);
  font-family: var(--mono); font-size: 13px;
  color: var(--ember); letter-spacing: 0.06em;
  flex-shrink: 0;
}

.legal-content h3 {
  font-family: var(--sans); font-weight: 600; font-size: 17px;
  margin: 24px 0 8px;
  letter-spacing: 0;
  color: var(--coal);
}

.legal-content p { margin: 0 0 14px; color: var(--coal); }
.legal-content p.muted { color: var(--ash); }

.legal-content ul {
  margin: 0 0 16px; padding-left: 0;
  list-style: none;
}

.legal-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.65;
}

.legal-content ul li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--ember);
}

.legal-content code {
  background: var(--cream);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--mono); font-size: 13.5px;
  border: 1px solid var(--fog);
}

.legal-content .tldr {
  background: var(--coal);
  color: var(--linen);
  border-radius: 18px;
  padding: 28px 30px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.legal-content .tldr::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(221,90,43,0.30), rgba(221,90,43,0) 70%);
  pointer-events: none;
}

.legal-content .tldr h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ember-soft);
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 12px;
  position: relative;
}

.legal-content .tldr p {
  color: #E5DCC9;
  font-size: 15.5px; line-height: 1.65;
  margin: 0 0 10px;
  max-width: 56ch;
  position: relative;
}

.legal-content .tldr p:last-child { margin-bottom: 0; }
.legal-content .tldr b { color: var(--spark); font-weight: 500; }

.legal-content .warn {
  background: var(--rust-wash);
  border: 1px solid rgba(168, 69, 31, 0.30);
  border-left: 3px solid var(--rust);
  padding: 18px 22px;
  border-radius: 10px;
  margin: 18px 0 22px;
  font-size: 15px; line-height: 1.6;
}

.legal-content .warn b { color: var(--rust); }

.legal-content .table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: var(--cream);
  border: 1px solid var(--fog);
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
}

.legal-content .table th,
.legal-content .table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--fog);
  vertical-align: top;
}

.legal-content .table th {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--ash);
  background: var(--linen);
  font-weight: 500;
}

.legal-content .table tr:last-child td { border-bottom: none; }

.legal-content .table td.k { font-weight: 500; }

.legal-content .signoff {
  margin-top: 32px;
  padding: 22px;
  background: var(--linen);
  border: 1px dashed var(--smoke);
  border-radius: 12px;
  font-family: var(--mono); font-size: 13px; line-height: 1.65;
  color: var(--ash);
}

.legal-content .signoff b { color: var(--coal); font-family: var(--sans); font-weight: 600; }
