/* Shared stylesheet for the PUBLIC, indexable pages (/trust, /insights/*, /introduce-yourself)
   — website-build 2026-07-09. Extends the live door design system (website/index.html is the
   ground truth): same tokens, Inter 300/400 (self-hosted via fonts.css), three type roles
   (label / body / footnote) + a `prose` reading role. The door pages keep their own inline
   CSS untouched. Background: CSS-only gold echo (no image — these pages weigh nothing). */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --deep-navy: #0A0F1F;
  --gold: #D4AF37;
  --gold-light: #E8D48B;
  --ice: #CADCFC;
  --white: #FFFFFF;
  --warm-gray: #9CA3AF;
  --label-gold: #C9B97A;
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 700px at 88% -8%, rgba(212, 175, 55, 0.14), transparent 60%),
    radial-gradient(700px 500px at 105% 12%, rgba(243, 230, 180, 0.08), transparent 55%),
    var(--deep-navy);
  color: var(--white);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Page scaffold: a top-aligned reading column (the door centers; these pages read) ── */
.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
}

/* ── Brand header: quiet wordmark, links home (kinship with the door) ── */
.brand-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 300;
  color: var(--label-gold);
  letter-spacing: 8px;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 3.5rem;
}
.brand-link:hover { color: var(--gold-light); }

/* ── Type roles (mirroring the door: LABEL / BODY / FOOTNOTE) ── */
.label {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--label-gold);
  letter-spacing: clamp(4px, 0.5vw, 8px);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footnote {
  font-size: clamp(11px, 0.85vw, 13px);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.75rem;
}

/* ── Prose: the reading role ── */
.prose {
  font-size: clamp(15.5px, 1.15vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}
.prose p { margin-bottom: 1.35rem; }
.prose h2 {
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 400;
  color: var(--white);
  margin: 2.4rem 0 0.9rem;
  line-height: 1.4;
}
.prose strong { font-weight: 400; color: var(--white); }
.prose em { font-style: italic; }
.prose a {
  color: var(--ice);
  text-decoration: underline;
  text-decoration-color: rgba(202, 220, 252, 0.35);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: rgba(202, 220, 252, 0.8); }
.prose ul { margin: 0 0 1.35rem 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.pull-line { font-weight: 400; color: var(--white); }

/* ── Table (the /trust "who touches what" table) ── */
.table-scroll { overflow-x: auto; margin: 1.5rem 0; }
.prose table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: clamp(13.5px, 1vw, 15.5px);
  line-height: 1.55;
}
.prose th {
  font-weight: 400;
  color: var(--label-gold);
  text-align: left;
  letter-spacing: 0.5px;
}
.prose th, .prose td {
  padding: 0.7rem 0.9rem 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

/* ── Card + form (lifted from the live door CSS so the join page is the same house) ── */
.card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 3rem 3rem;
  background: rgba(10, 15, 31, 0.6);
  backdrop-filter: blur(12px);
  margin-top: 2.25rem;
}
.field-label {
  display: block;
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(255, 255, 255, 0.6);
  margin: 1.4rem 0 0.5rem;
}
.field-label:first-of-type { margin-top: 0; }
.door-input {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: var(--deep-navy);
  color: var(--white);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.door-input::placeholder { color: var(--warm-gray); }
.door-input:focus { border-color: rgba(255, 255, 255, 0.3); }
.door-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--deep-navy);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 14px; font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none; border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.door-btn:hover { background: var(--gold-light); }
.door-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.door-msg { font-size: 13px; margin-top: 1rem; min-height: 20px; }
.door-msg.success { color: var(--ice); font-size: 15px; }
.door-msg.error { color: #E87461; }

/* ── Article-list entries (/insights index) ── */
.article-entry { margin: 2.5rem 0; }
.article-entry .entry-title {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
}
.article-entry .entry-title:hover { color: var(--gold-light); }
.article-entry .entry-dek {
  font-size: clamp(14px, 1.05vw, 16.5px);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-top: 0.45rem;
}
.article-entry .entry-meta { margin-top: 0.5rem; }

/* ── Byline block (articles) ── */
.byline { margin-bottom: 2rem; }

/* ── Quiet footer ── */
.quiet-footer {
  margin-top: 4.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: clamp(11px, 0.85vw, 13px);
  color: rgba(255, 255, 255, 0.4);
  line-height: 2;
  letter-spacing: 0.5px;
}
.quiet-footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.quiet-footer a:hover { color: rgba(255, 255, 255, 0.85); }
.quiet-footer .sep { padding: 0 0.5rem; color: rgba(255, 255, 255, 0.25); }

/* ── Mobile ── */
@media (max-width: 600px) {
  .page { padding: 3rem 1.5rem 2.5rem; }
  .brand-link { margin-bottom: 2.5rem; }
  .card { padding: 2rem 1.5rem; }
}
