/* License Link — shared site stylesheet.
   Built from the License Link design system (approved Nov 14, 2026).
   Every page loads this one file. Do not paste styles into individual pages. */

/* ===== Tokens ===== */
:root {
  --cream: #fbf9f5;
  --cream-deep: #f1ede6;
  --cream-card: #f6f3ed;
  --white: #ffffff;
  --navy: #1d3a5c;
  --navy-hover: #2c5480;
  --navy-tint: #e9eef4;
  --navy-wash: rgba(29, 58, 92, 0.06);
  --navy-dim: rgba(29, 58, 92, 0.72);
  --ink: #16191f;
  --ink-muted: #545c68;
  --ink-faint: #7d8590;
  --on-navy: #fbf9f5;
  --on-navy-muted: #c9d4e1;
  --on-navy-body: #e4e9f0;
  --border: rgba(22, 25, 31, 0.12);
  --border-soft: rgba(22, 25, 31, 0.07);
  --border-strong: rgba(22, 25, 31, 0.24);

  --font-display: "Source Serif 4", Georgia, serif;
  --font-sans: Inter, -apple-system, "Segoe UI", sans-serif;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-gutter: 24px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-section: 100px;
  --container: 1200px;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 2px rgba(22, 25, 31, 0.04);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--navy); }
img { display: block; max-width: 100%; }
em { font-style: italic; }
::selection { background: rgba(29, 58, 92, 0.14); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--on-navy); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-gutter); }
.narrow { max-width: 780px; }
.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Type ===== */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-md);
}
.h-hero {
  font-weight: 700;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.h-section {
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  max-width: 760px;
}
.h-hero em, .h-section em { color: var(--navy); }
.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 620px;
  margin-top: 22px;
}
.body-lg { font-size: 18px; line-height: 1.65; color: var(--ink-muted); }
.prose p + p { margin-top: 18px; }
.prose { font-size: 17px; line-height: 1.65; color: var(--ink-muted); max-width: 760px; }
.prose strong { color: var(--ink); font-weight: 600; }
.quote {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.45;
  color: var(--ink);
}
.quote em { color: var(--navy); }
.kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  margin-top: 28px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--on-navy); }
.btn-primary:hover { background: var(--navy-hover); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: 34px; }
.arrow-link {
  display: inline-flex;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.arrow-link:hover { gap: 10px; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--space-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; padding: 0; }
.nav-links > li { position: relative; }
.nav-link, .nav-links summary {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.nav-links summary::-webkit-details-marker { display: none; }
.nav-links summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-link:hover, .nav-links summary:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: -16px;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(22, 25, 31, 0.08);
  padding: 8px;
  list-style: none;
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.dropdown a span { display: block; font-size: 13px; font-weight: 400; color: var(--ink-muted); margin-top: 2px; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--navy-wash); }
.nav-cta { padding: 9px 18px; min-height: 40px; font-size: 14px; }
.menu-toggle { display: none; }

/* ===== Sections ===== */
.section { padding: var(--space-section) 0; }
.section-deep { background: var(--cream-deep); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy .eyebrow { color: var(--on-navy-muted); }
.section-navy .h-section, .section-navy .h-hero { color: var(--on-navy); }
.section-navy .h-section em, .section-navy .h-hero em { color: var(--on-navy); }
.section-navy .lede, .section-navy .prose, .section-navy .body-lg { color: var(--on-navy-body); }
.section-head { margin-bottom: var(--space-xl); }

.hero { padding: 110px 0 120px; border-bottom: 1px solid var(--border-soft); }
.hero-inner { max-width: 840px; }
.page-hero { padding: 96px 0 84px; border-bottom: 1px solid var(--border-soft); }

/* ===== Cards ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 22px; line-height: 1.2; font-weight: 700; margin-bottom: 6px; }
.card .tag { font-size: 13px; color: var(--navy-dim); margin-bottom: 16px; line-height: 1.5; }
.card p { font-size: 16px; line-height: 1.6; color: var(--ink-muted); flex-grow: 1; }
.card .arrow-link { margin-top: 22px; }

/* Audience tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.tile { padding: 34px 30px 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tile:nth-child(3n) { border-right: none; }
.tile:nth-last-child(-n+3) { border-bottom: none; }
.tile .label { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.tile h3 { font-size: 22px; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.tile p { font-size: 16px; line-height: 1.55; color: var(--ink-muted); }
.note {
  margin-top: 28px;
  padding: 18px 24px;
  background: var(--navy-tint);
  border-radius: var(--radius-lg);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; counter-reset: step; }
.steps li { border-top: 2px solid var(--navy); padding-top: 16px; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.steps h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; letter-spacing: 0; margin: 6px 0 6px; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--ink-muted); }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: 1; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 12px; }
.stat-label { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }

/* Two-column text */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.faq-single { grid-template-columns: minmax(0, 1fr); max-width: 820px; gap: 36px; }
.faq h2, .faq h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin-bottom: 8px; color: var(--ink); }
.faq p { font-size: 16px; line-height: 1.65; color: var(--ink-muted); }
.faq p + p { margin-top: 10px; }
.faq-group { margin-top: 56px; }
.faq-group:first-child { margin-top: 0; }
.faq-group-title { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* Lists */
.check-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: var(--ink-muted); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.check-list strong { color: var(--ink); font-weight: 600; }

/* Panels */
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); }
.panel-tint { background: var(--navy-tint); border-radius: var(--radius-lg); padding: 32px; }
.panel h3, .panel-tint h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.panel p, .panel-tint p { font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
.panel-tint p { color: #3e4652; }

/* Article (guide) */
.article-meta { margin-top: 18px; font-size: 14px; color: var(--ink-muted); }
.article-section { padding: 64px 0; border-bottom: 1px solid var(--border-soft); }
.article-section:last-child { border-bottom: none; }
.article-section h2 { font-size: 32px; font-weight: 700; line-height: 1.15; margin-bottom: 20px; max-width: 760px; }
.article-list { max-width: 760px; padding-left: 22px; display: grid; gap: 14px; font-size: 17px; line-height: 1.65; color: var(--ink-muted); }
.article-list strong { color: var(--ink); }
.ledger { overflow-x: auto; margin-top: 28px; max-width: 900px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.ledger table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
.ledger caption { text-align: left; padding: 14px 18px 0; font-size: 13px; color: var(--ink-muted); }
.ledger th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); padding: 14px 18px 8px; border-bottom: 1px solid var(--border-strong); }
.ledger td { padding: 12px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.ledger tr:last-child td { border-bottom: none; }

/* Closing band */
.closing { text-align: center; }
.closing .h-section { margin: 0 auto; }
.closing .lede { margin-left: auto; margin-right: auto; }
.closing .btn-row { justify-content: center; }

/* Form */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
#project-help { font-size: 14px; color: var(--ink-muted); margin: -2px 0 10px; }
.form-input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  min-height: 46px;
}
.form-input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(29, 58, 92, 0.15); }
.form-input::placeholder { color: #6b7380; }
.form-textarea { min-height: 140px; line-height: 1.55; }
.form-submit { width: 100%; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15px; }
.form-status--success { background: var(--navy-tint); color: var(--navy); }
.form-status--error { background: #fbeaea; color: #8a1f1f; }
.form-status--pending { background: var(--cream-card); color: var(--ink-muted); }

/* ===== Footer ===== */
.footer { background: var(--cream-deep); border-top: 1px solid var(--border-soft); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand img { width: 32px; height: 32px; }
.footer .brand span { font-size: 19px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--ink-muted); line-height: 1.5; max-width: 260px; margin-top: 14px; }
.footer-title { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { font-size: 14px; color: var(--ink-muted); text-decoration: none; }
.footer a:hover { color: var(--navy); }
.footer a.brand { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-muted); }
.footer-bottom .fine { color: var(--ink-faint); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); cursor: pointer; color: var(--ink); }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--border); padding: 8px var(--space-gutter) 20px; }
  .nav.is-open .nav-links { display: flex; }
  .nav-links > li { border-bottom: 1px solid var(--border-soft); }
  .nav-links > li:last-child { border-bottom: none; padding-top: 14px; }
  .dropdown { position: static; box-shadow: none; border: none; padding: 0 0 8px; min-width: 0; }
  .nav-cta { width: 100%; }
}
@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .hero { padding: 72px 0 80px; }
  .page-hero { padding: 64px 0 60px; }
  .section-head { margin-bottom: 40px; }
  .h-section { font-size: 32px; }
  .lede { font-size: 17px; }
  .quote { font-size: 20px; }
  .grid-2, .grid-3, .steps, .stats, .faq, .split { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 24px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { border-right: none; border-bottom: 1px solid var(--border); }
  .tile:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .tile:last-child { border-bottom: none; }
  .stat-num { font-size: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .article-section h2 { font-size: 26px; }
}
@media (max-width: 540px) {
  .brand span { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
