/* =========================================================
   Computerguided Systems - site stylesheet
   Palette: deep navy ink + warm copper accent
   Type: Fraunces (display serif) + Inter Tight (body sans)
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300..900,0..100,0..1&family=Inter+Tight:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --ink:        #0E1B3A;   /* primary navy (close to logo blue, but deeper) */
  --ink-2:      #18254A;
  --ink-3:      #2A3865;
  --paper:      #FAF7F1;   /* warm off-white */
  --paper-2:    #F2EDE2;
  --paper-3:    #E8E1D1;
  --rule:       #D8D0BD;

  /* Accent */
  --copper:     #C2632A;
  --copper-2:   #9F4F1F;
  --amber:      #E8A04B;

  /* Text */
  --text:       #16213F;
  --text-soft:  #4A557A;
  --text-mute:  #7C84A0;
  --text-on-ink:#F2EDE2;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(14,27,58,0.06), 0 1px 1px rgba(14,27,58,0.04);
  --shadow-md: 0 8px 24px -10px rgba(14,27,58,0.18), 0 2px 6px -2px rgba(14,27,58,0.10);
  --shadow-lg: 0 24px 50px -20px rgba(14,27,58,0.30), 0 10px 20px -10px rgba(14,27,58,0.15);

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body:    'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
}

/* ---------- Utilities ---------- */
.text-paper { color: var(--paper); }
.hero-actions-stacked { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.email-display {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--amber);
  font-variation-settings: 'opsz' 48;
}
.email-display:hover { color: var(--amber); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.center-block {
  text-align: center;
  margin: 2.5rem auto 0;
}
.section-head-centered {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 3rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--copper-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--copper); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 400;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-variation-settings: "opsz" 48;
  margin-top: 2.4em;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  font-variation-settings: "opsz" 24;
  margin-top: 1.8em;
}
h4 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}
p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 600; }
em { color: var(--ink-2); }
small { font-size: 0.85em; color: var(--text-mute); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--copper); }

blockquote {
  margin: 1.5em 0;
  padding: 0.2em 0 0.2em 1.4em;
  border-left: 3px solid var(--copper);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15em;
  color: var(--ink-2);
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--paper-2);
  padding: 0.12em 0.4em;
  border-radius: 3px;
  color: var(--ink-2);
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3em 0;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Top navigation ---------- */
.site-header {
  background: var(--ink);
  color: var(--text-on-ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--paper);
}
.brand:hover { color: var(--paper); }
.brand svg, .brand img { height: 34px; width: 46px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  font-variation-settings: "opsz" 24;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-tag {
  font-size: 0.7rem;
  color: rgba(242,237,226,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
}
.brand-stack { display: flex; flex-direction: column; }

nav.primary { display: flex; align-items: center; gap: 1.8rem; }
nav.primary a {
  color: rgba(242,237,226,0.78);
  font-weight: 500;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.4rem 0;
}
nav.primary a:hover { color: var(--paper); }
nav.primary a.active { color: var(--paper); }
nav.primary a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  height: 2px;
  background: var(--copper);
}
.nav-cta {
  background: var(--copper);
  color: var(--paper) !important;
  padding: 0.6rem 1.1rem !important;
  border-radius: 2px;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--copper-2); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--paper);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav.primary {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--ink);
    padding: 1.5rem var(--gutter);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    align-items: flex-start;
    gap: 1.2rem;
    display: none;
  }
  nav.primary.open { display: flex; }
  nav.primary a.active::after { display: none; }
}

/* ---------- Hero (marketing pages) ---------- */
.hero {
  background: var(--ink);
  color: var(--text-on-ink);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(194,99,42,0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(232,160,75,0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero h1 {
  color: var(--paper);
  max-width: 18ch;
  margin-bottom: 1.2rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
  font-variation-settings: "opsz" 96, "SOFT" 100;
}
.hero-lede {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: rgba(242,237,226,0.78);
  max-width: 58ch;
  line-height: 1.55;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.97rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--copper); color: var(--paper); }
.btn-primary:hover { background: var(--copper-2); color: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(242,237,226,0.3); }
.btn-ghost:hover { background: rgba(242,237,226,0.08); color: var(--paper); border-color: rgba(242,237,226,0.5); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink-3); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.page-hero .container { position: relative; }
.crumbs {
  font-size: 0.85rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--copper); }
.crumbs .sep { margin: 0 0.6em; color: var(--rule); }
.page-hero .phase-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 22ch;
  margin-bottom: 0.8rem;
}
.page-hero .lede {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 65ch;
  margin: 0;
}

/* ---------- Sections ---------- */
section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.section-head {
  max-width: 60ch;
  margin-bottom: 3rem;
}
.section-head h2 { margin-top: 0; }
.section-head p {
  font-size: 1.1rem;
  color: var(--text-soft);
}

/* Alternating background */
.section-paper2 { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--text-on-ink); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--paper); }
.section-ink .section-eyebrow { color: var(--amber); }
.section-ink p { color: rgba(242,237,226,0.78); }

/* ---------- Principles grid ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.principle {
  position: relative;
  padding: 2rem 1.8rem 2rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.principle:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.principle .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 0.8rem;
  font-variation-settings: "opsz" 144;
  display: block;
}
.principle h3 { margin-top: 0; }
.principle p:last-child { margin-bottom: 0; }

/* ---------- Phase cards (Approach page) ---------- */
.phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.phase-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.2rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  transition: all .25s ease;
}
.phase-card:hover {
  border-color: var(--copper);
  box-shadow: var(--shadow-md);
}
.phase-card .phase-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.phase-card .phase-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}
.phase-card .phase-body p {
  margin: 0;
  color: var(--text-soft);
}
.phase-card .phase-body .deliverable {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--copper);
  letter-spacing: 0.05em;
  font-weight: 500;
}
.phase-card .phase-cta {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}
.phase-card .phase-cta .arrow { transition: transform .2s ease; }
.phase-card:hover .phase-cta { color: var(--copper); }
.phase-card:hover .phase-cta .arrow { transform: translateX(4px); }

@media (max-width: 700px) {
  .phase-card {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.6rem 1.5rem;
  }
  .phase-card .phase-num { font-size: 2.6rem; }
}

/* ---------- Payoff list ---------- */
.payoff-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  max-width: 700px;
}
.payoff-list li {
  position: relative;
  padding-left: 2.2rem;
  font-size: 1.05rem;
}
.payoff-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 1.2rem;
  height: 1px;
  background: var(--copper);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(194,99,42,0.18), transparent 70%);
}
.cta-banner .container { position: relative; }
.cta-banner h2 {
  color: var(--paper);
  margin-top: 0;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner p {
  color: rgba(242,237,226,0.75);
  max-width: 50ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-2);
  color: rgba(242,237,226,0.7);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.site-footer h5 {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}
.site-footer a { color: rgba(242,237,226,0.7); display: block; padding: 0.3rem 0; }
.site-footer a:hover { color: var(--amber); }
.site-footer .brand { display: inline-flex; padding: 0; }
.site-footer .brand:hover { color: var(--paper); }
.site-footer .brand .brand-name { white-space: nowrap; }
.site-footer .brand .brand-tag { white-space: nowrap; }
.site-footer .brand-block { max-width: 32ch; }
.site-footer .brand-block p { color: rgba(242,237,226,0.55); font-size: 0.92rem; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(242,237,226,0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(242,237,226,0.5);
  text-align: center;
}
@media (max-width: 700px) {
  .site-footer .container { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================================
   DOCS LAYOUT - sidebar + content
   ========================================================= */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--gutter) 5rem;
}

.docs-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-right: 0.5rem;
  font-size: 0.93rem;
}
.docs-sidebar h5 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 1.6rem 0 0.6rem;
  font-weight: 600;
}
.docs-sidebar h5:first-child { margin-top: 0; }
.docs-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-sidebar li { margin: 0; }
.docs-sidebar a {
  color: var(--text-soft);
  display: block;
  padding: 0.35rem 0.6rem;
  border-left: 2px solid transparent;
  border-radius: 0 2px 2px 0;
  line-height: 1.4;
  transition: all .15s ease;
}
.docs-sidebar a:hover {
  color: var(--ink);
  background: var(--paper-2);
}
.docs-sidebar a.active {
  color: var(--copper);
  border-left-color: var(--copper);
  background: var(--paper-2);
  font-weight: 500;
}

.docs-content {
  min-width: 0;
  max-width: 780px;
}
.docs-content h1:first-child { margin-top: 0; }
.docs-content h2 {
  padding-top: 0.5rem;
  scroll-margin-top: 90px;
}
.docs-content h3 { scroll-margin-top: 90px; }
.docs-content .lede {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
  max-width: 65ch;
}

@media (max-width: 800px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 1.5rem;
  }
  .docs-sidebar {
    position: static;
    max-height: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* =========================================================
   FAQ LAYOUT - sidebar + grouped Q&A
   ========================================================= */
.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--gutter) 5rem;
}

.faq-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-right: 0.5rem;
  font-size: 0.93rem;
}
.faq-sidebar h5 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 1.6rem 0 0.6rem;
  font-weight: 600;
}
.faq-sidebar h5:first-child { margin-top: 0; }
.faq-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-sidebar li { margin: 0; }
.faq-sidebar a {
  color: var(--text-soft);
  display: block;
  padding: 0.5rem 0.7rem;
  border-left: 2px solid transparent;
  border-radius: 0 2px 2px 0;
  line-height: 1.35;
  transition: all .15s ease;
}
.faq-sidebar a:hover {
  color: var(--ink);
  background: var(--paper-2);
}
.faq-sidebar a.active {
  color: var(--copper);
  border-left-color: var(--copper);
  background: var(--paper-2);
  font-weight: 500;
}

.faq-content {
  min-width: 0;
  max-width: 760px;
}
.faq-group-heading {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  font-family: var(--font-body);
  margin: 0 0 1.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
}
.faq-group-heading:not(:first-child) {
  margin-top: 4rem;
}

.faq-item {
  margin-bottom: 3rem;
  scroll-margin-top: 90px;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 1rem;
  scroll-margin-top: 90px;
}
.faq-item p {
  color: var(--text);
  line-height: 1.7;
}
.faq-item p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 1.5rem;
  }
  .faq-sidebar {
    position: static;
    max-height: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
  }
}

/* ---------- Docs special blocks ---------- */
.callout {
  background: var(--paper-2);
  border-left: 3px solid var(--copper);
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  border-radius: 0 3px 3px 0;
}
.callout h4 {
  margin-top: 0;
  color: var(--copper-2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.callout p:last-child { margin-bottom: 0; }

.example {
  background: var(--ink);
  color: var(--paper);
  padding: 1.6rem 1.8rem;
  margin: 1.8rem 0;
  border-radius: 3px;
  border-left: 3px solid var(--amber);
}
.example .label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.example h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 1.4rem 0 0.5rem;
  font-weight: 600;
}
.example h5:first-of-type { margin-top: 0; }
.example p {
  margin: 0 0 0.6rem;
  color: rgba(242,237,226,0.92);
  font-size: 0.96rem;
  line-height: 1.6;
}
.example ul, .example ol {
  margin: 0 0 0.6rem;
  padding-left: 1.4rem;
  color: rgba(242,237,226,0.92);
  font-size: 0.96rem;
  line-height: 1.6;
}
.example li { margin-bottom: 0.3rem; }
.example li::marker { color: var(--amber); }
.example .verify {
  display: block;
  margin-top: 0.4rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(232,160,75,0.3);
  font-size: 0.9rem;
  color: rgba(242,237,226,0.78);
}
.example .verify strong {
  color: var(--amber);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.2rem;
}
.example-req {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(242,237,226,0.1);
}
.example-req:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.example-req p:first-child {
  color: var(--paper);
}

.deliverable-card {
  display: flex;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1rem 1.2rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
}
.deliverable-card .icon {
  flex: 0 0 32px;
  height: 32px;
  background: var(--paper-2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  font-family: var(--font-display);
  font-weight: 500;
}
.deliverable-card h4 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  color: var(--ink);
}
.deliverable-card p { margin: 0; font-size: 0.92rem; color: var(--text-soft); }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.93rem;
}
th, td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: var(--paper-2);
}

/* Page nav (prev/next at bottom of docs) */
.page-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.page-nav a {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  transition: all .2s ease;
  text-decoration: none;
  color: var(--text);
}
.page-nav a:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.page-nav a .dir {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 0.3rem;
}
.page-nav a .title { font-weight: 500; color: var(--ink); }
.page-nav .next { text-align: right; }
@media (max-width: 600px) {
  .page-nav { grid-template-columns: 1fr; }
}

/* Video embed */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-wrap {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Download card */
.download-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  transition: box-shadow .25s ease, transform .25s ease;
  text-decoration: none;
  color: inherit;
}
.download-card:hover {
  box-shadow: var(--shadow-md);
}
.download-card .thumb {
  background: var(--ink);
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.download-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(232,160,75,0.10), transparent 75%);
}
.download-card .thumb-content {
  position: relative;
  text-align: center;
  padding: 1rem;
}
.download-card .thumb-content .doc-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,160,75,0.7);
  margin-bottom: 0.5rem;
}
.download-card .thumb-content .doc-title {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 400;
  font-variation-settings: "opsz" 24;
}
.download-card .doc-meta {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.download-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
}
.download-card p {
  color: var(--text-soft);
  margin-bottom: 1.4rem;
}
.download-card .btn { align-self: flex-start; }
@media (max-width: 700px) {
  .download-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Decorative pull-quote on home */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  font-variation-settings: "opsz" 48, "SOFT" 100;
  max-width: 28ch;
  margin: 0 auto 1rem;
  text-align: center;
}
.pull-quote .accent { color: var(--copper); font-style: normal; }
