/* ============================================================
   DOVR Media — dovrmedia.com shared stylesheet
   Format modeled on leadventure.com. Generated pages link this
   file; edit here, then re-run build/build.py.
   ============================================================ */
:root {
  --navy: #0d2240;
  --navy-deep: #081729;
  --navy-soft: #16335e;
  --accent: #f26722;
  --accent-dark: #d55412;
  --sky: #eef3f9;
  --ink: #1f2a3a;
  --gray: #5b6779;
  --line: #dce3ec;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(13, 34, 64, 0.10);
  --font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
h1, h2, h3 { line-height: 1.15; color: var(--navy); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.lede { font-size: 1.08rem; color: var(--gray); max-width: 46rem; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
section { padding: 5rem 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 1.9rem; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  border: 0; cursor: pointer; font-family: var(--font);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.text-link { color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.text-link::after { content: " →"; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 1.5rem;
}
.logo { display: flex; align-items: baseline; gap: 0.4rem; font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.logo .mark { color: var(--accent); }
.logo small { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gray); font-weight: 600; }
.nav-menu { display: flex; align-items: center; gap: 1.75rem; flex-wrap: nowrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-weight: 600; font-size: 0.95rem; color: var(--navy);
  padding: 0.5rem 0; white-space: nowrap;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--accent); }
.has-dropdown > a::after { content: " ▾"; font-size: 0.7em; color: var(--gray); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); min-width: 250px; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.6rem 0;
  opacity: 0; visibility: hidden; transition: opacity 0.15s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a { display: block; padding: 0.55rem 1.25rem; font-size: 0.9rem; color: var(--ink); }
.dropdown a:hover { background: var(--sky); color: var(--accent); }
.nav-cta { display: flex; gap: 0.75rem; align-items: center; flex: 0 0 auto; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ---------------- Home hero ---------------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(242, 103, 34, 0.28), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--white); padding: 7rem 0 6.5rem; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 420px at 80% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 420px at 80% 30%, #000 0%, transparent 75%);
}
.hero-inner { max-width: 46rem; position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.15rem; color: #cdd8e6; margin-bottom: 2.25rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------------- Interior page hero ---------------- */
.page-hero {
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(242, 103, 34, 0.22), transparent 60%),
    linear-gradient(130deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: var(--white); padding: 4.5rem 0 4rem;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; max-width: 44rem; }
.page-hero p { font-size: 1.1rem; color: #cdd8e6; max-width: 44rem; margin-bottom: 1.75rem; }
.page-hero .hero-actions { margin-bottom: 0; }
.breadcrumb { font-size: 0.82rem; color: #8fa2ba; margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; }

/* ---------------- Stats bar ---------------- */
.stats { background: var(--white); padding: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transform: translateY(-3.25rem); overflow: hidden;
}
.stat { padding: 2rem 1.5rem; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 2.1rem; font-weight: 800; color: var(--navy); }
.stat span { font-size: 0.88rem; color: var(--gray); }

/* ---------------- Split / intro ---------------- */
.intro { padding-top: 1rem; }
.intro-grid, .split-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.intro-panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: var(--radius); color: var(--white); padding: 2.5rem; box-shadow: var(--shadow);
}
.intro-panel h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 1rem; }
.intro-panel li { display: flex; gap: 0.7rem; padding: 0.5rem 0; color: #d7e0ec; font-size: 0.97rem; }
.intro-panel li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.intro .lede + .lede, .split-grid .lede + .lede { margin-top: 1rem; }
.intro .text-link, .split-grid .text-link { display: inline-block; margin-top: 1.5rem; }
.check-list li { display: flex; gap: 0.7rem; padding: 0.45rem 0; color: var(--ink); font-size: 0.98rem; }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* ---------------- Cards ---------------- */
.section-tint { background: var(--sky); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.cards.two-col { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 2.25rem 1.9rem;
  border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(13,34,64,0.05);
  display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(242, 103, 34, 0.12); color: var(--accent); font-size: 1.5rem; margin-bottom: 1.25rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: var(--gray); flex: 1; }
.card .text-link { margin-top: 1.25rem; }
.resource-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; }

/* ---------------- Industries chips ---------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.5rem; }
.chip {
  padding: 0.7rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: 0.95rem; color: var(--navy); background: var(--white);
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- Dark platforms grid ---------------- */
.platforms { background: var(--navy-deep); color: var(--white); }
.platforms h2, .platforms h3 { color: var(--white); }
.platforms .lede { color: #aebccf; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.platform {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1.9rem 1.5rem; transition: background 0.18s ease;
}
.platform:hover { background: rgba(255,255,255,0.09); }
.platform h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.platform p { font-size: 0.88rem; color: #aebccf; }
.platform .tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}

/* ---------------- Testimonials ---------------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.quote {
  background: var(--white); border-radius: var(--radius); padding: 2.25rem 1.9rem;
  border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(13,34,64,0.05);
}
.quote .stars { color: var(--accent); letter-spacing: 0.15em; margin-bottom: 1rem; }
.quote blockquote { font-size: 0.98rem; color: var(--ink); margin-bottom: 1.4rem; }
.quote cite { font-style: normal; font-size: 0.88rem; color: var(--gray); font-weight: 600; }
.quote-single { max-width: 52rem; margin: 3rem auto 0; text-align: center; }
.quote-single blockquote { font-size: 1.2rem; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.5rem 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--gray); }

/* ---------------- Contact form ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info li { display: flex; gap: 0.8rem; padding: 0.6rem 0; color: var(--gray); }
.contact-info li strong { color: var(--navy); }
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--font); font-size: 0.95rem; color: var(--ink); background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-note { font-size: 0.8rem; color: var(--gray); margin-top: 1rem; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white); text-align: center; padding: 4.5rem 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 40rem; margin: 0 auto 2rem; }
.cta-band .btn { background: var(--white); color: var(--navy); }
.cta-band .btn:hover { background: var(--navy); color: var(--white); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: #aebccf; padding: 4.5rem 0 0; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-grid li { padding: 0.3rem 0; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { max-width: 20rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 1.4rem 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem;
}
.footer-legal nav { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--accent); }

/* ---------------- Responsive ---------------- */
/* Between the desktop row and the drawer: tighten before switching. */
@media (max-width: 1180px) {
  .nav-menu { gap: 1.1rem; }
  .nav-menu > li > a { font-size: 0.9rem; }
  .nav-cta .btn { padding: 0.65rem 1.15rem; font-size: 0.88rem; }
  .logo { font-size: 1.35rem; }
}

/* The desktop nav needs ~1040px for its five labels plus logo and CTA, so it
   cannot fit iPad portrait (1024). Switch to the drawer here, not at 720. */
@media (max-width: 1024px) {
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 1rem 4%; gap: 0.25rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { display: block; padding: 0.75rem 0; font-size: 0.95rem; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    border: 0; box-shadow: none; padding: 0 0 0.5rem 1rem; min-width: 0;
  }
  .nav-toggle { display: block; }
  .nav-cta .btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
}

@media (max-width: 960px) {
  .cards, .quote-grid { grid-template-columns: 1fr 1fr; }
  .platform-grid, .steps { grid-template-columns: 1fr 1fr; }
  .intro-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 720px) {
  .cards, .cards.two-col, .quote-grid, .platform-grid, .steps, .form-row { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
  .hero { padding: 5rem 0 5.5rem; }
}

/* ---------------- FAQ ---------------- */
.faq-cats { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2rem; }
.faq-cats a {
  padding: 0.5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: 0.85rem; color: var(--navy); background: var(--white);
}
.faq-cats a:hover { border-color: var(--accent); color: var(--accent); }
.faq-cat { max-width: 52rem; margin: 0 auto; }
.faq-cat + .faq-cat { margin-top: 3.5rem; }
.faq-cat h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 0.75rem; overflow: hidden;
}
.faq summary {
  padding: 1.1rem 3rem 1.1rem 1.4rem; font-weight: 700; color: var(--navy);
  cursor: pointer; list-style: none; position: relative; font-size: 0.98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 1.35rem; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-a { padding: 1rem 1.4rem 1.2rem; color: var(--gray); font-size: 0.95rem; }
.faq .faq-a a { color: var(--accent); font-weight: 600; }
.faq-block { max-width: 52rem; margin: 0 auto; }
.faq-block .center { margin-bottom: 2rem; }
.faq-more { text-align: center; margin-top: 1.5rem; }

/* ---------------- Learning Center guides ---------------- */
.guide { max-width: 48rem; margin: 0 auto; }
.guide + .guide { margin-top: 0; }
.guide .eyebrow { margin-bottom: 0.5rem; }
.guide h2 { font-size: 1.55rem; }
.guide p { color: var(--gray); margin-bottom: 1rem; font-size: 1rem; }
.guide ul { margin: 0 0 1rem 1.25rem; list-style: disc; color: var(--gray); font-size: 1rem; }
.guide li { padding: 0.15rem 0; }
.guide .text-link { display: inline-block; margin-top: 0.25rem; }

/* ---------------- Announcement bar ---------------- */
.announce-bar {
  background: var(--navy-deep); color: #cdd8e6; text-align: center;
  font-size: 0.85rem; padding: 0.6rem 1rem; line-height: 1.4;
}
.announce-bar strong { color: var(--white); }
.announce-bar a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.announce-bar a:hover { text-decoration: underline; }

/* ---- long-form legal pages (/terms-of-use, /accessibility) ---- */
.legal {
  max-width: 46rem;
}
.legal h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}
.legal p,
.legal li {
  line-height: 1.7;
}
.legal-updated {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.legal-caps {
  font-size: 0.95rem;
}
/* Restore the nested numbering the source document lost: 1. / a. / i. */
.legal-list,
.legal-list ol {
  padding-left: 1.5rem;
}
.legal-list {
  list-style: decimal;
}
.legal-list > li {
  margin-top: 1.5rem;
  font-weight: 600;
}
.legal-list ol {
  list-style: lower-alpha;
  margin-top: 0.6rem;
}
.legal-list ol ol {
  list-style: lower-roman;
}
.legal-list ol li {
  margin-top: 0.5rem;
  font-weight: 400;
}
.legal-list p {
  font-weight: 400;
  margin-top: 0.6rem;
}

/* ---- ported legal/prose content (privacy policy) ---- */
.legal-prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}
.legal-prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.legal-prose p,
.legal-prose li {
  line-height: 1.7;
}
/* The global reset zeroes paragraph margins; long-form prose needs them back. */
.legal-prose p {
  margin: 0 0 1.1rem;
}
.legal-prose p:last-child {
  margin-bottom: 0;
}
.legal p {
  margin: 0 0 1.1rem;
}
.legal-prose .cards {
  margin: 1.5rem 0 0.5rem;
}
.legal-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}
.legal-prose ul li {
  margin-top: 0.4rem;
}
.legal-prose a {
  color: var(--accent-dark);
  text-decoration: underline;
}
.legal-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--gray);
}
/* Wide tables scroll inside their own box rather than the page. */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.table-wrap th,
.table-wrap td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.table-wrap thead th {
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}
/* The legal measure is narrow for prose; let tables use the full width. */
.legal .table-wrap {
  max-width: none;
}

/* ---- ported case studies + 404 ---- */
/* Problem lists keep plain bullets; the check-list's ticks would read as
   endorsements of the problems they describe. */
.disc-list {
  list-style: disc;
  padding-left: 1.15rem;
  margin: 0.5rem 0 0;
}
.disc-list li {
  padding: 0.45rem 0;
  color: var(--ink);
  font-size: 0.98rem;
}
.cs-split {
  margin-top: 1.75rem;
  align-items: start;
  grid-template-columns: 1fr 1fr;
}
.cs-split h2 {
  margin: 0.5rem 0 0;
  font-size: 1.3rem;
}
.cs-narrow {
  max-width: 44rem;
}
.cs-center {
  justify-content: center;
  flex-wrap: wrap;
}
.quote-single blockquote {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--navy);
}
.quote-single cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--gray);
}
@media (max-width: 960px) {
  .cs-split { grid-template-columns: 1fr; gap: 2.25rem; }
}
/* Case-study chip sits directly under the hero, so it needs less top margin
   than .chip-row's default. */
.cs-chip {
  margin-top: 0;
}
.card .chip {
  margin-bottom: 0.6rem;
  /* .card is a flex column, so a stretch-aligned chip would span its width. */
  align-self: flex-start;
}

/* ---- cookie consent banner ---- */
/* The hidden attribute has to beat author display rules (.btn sets
   inline-block, .cookie-banner__opts sets grid), or [hidden] does nothing. */
[hidden] {
  display: none !important;
}
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -8px 30px rgba(8, 23, 41, 0.25);
}
.cookie-banner__inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 1.35rem 0;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1 30rem;
  min-width: 0;
}
.cookie-banner__text h2 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--white);
  /* inline-block so the focus ring hugs the text instead of the full row */
  display: inline-block;
}
.cookie-banner__text h2:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.cookie-banner__text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #c9d4e3;
}
.cookie-banner__text a {
  color: var(--white);
  text-decoration: underline;
}
.cookie-banner__opts {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.5rem;
}
.cookie-banner__opts label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #c9d4e3;
  cursor: pointer;
}
.cookie-banner__opts strong {
  color: var(--white);
}
.cookie-banner__opts input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  flex: 0 0 auto;
  /* Keeps the last control clear of Intercom's launcher if it has not booted
     yet (the JS lifts the launcher once it has). */
  padding-right: 3.5rem;
}
/* Reject must be as easy to reach as accept, so it is a real button of the
   same size rather than a de-emphasised link. */
.cookie-banner__actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.cookie-banner__actions .btn-ghost:hover {
  border-color: var(--white);
}
.cookie-banner__link {
  background: none;
  border: 0;
  color: #c9d4e3;
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.5rem;
}
.cookie-banner__link:hover {
  color: var(--white);
}
.footer-cookie-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.footer-cookie-link:hover {
  color: var(--accent);
}
@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.1rem 0;
  }
  .cookie-banner__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
  /* The banner can get tall on a phone; keep it scrollable, not clipped. */
  .cookie-banner {
    max-height: 85vh;
    overflow-y: auto;
  }
}

/* ---------------- Field Notes ---------------- */
.fn-narrow { width: min(760px, 92%); }

/* Index: cards */
.fn-list { display: grid; gap: 1.25rem; }
.fn-list-featured { margin-bottom: 3.5rem; }
.fn-card {
  display: block; padding: 1.6rem 1.75rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.fn-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent);
}
.fn-card h3 { font-size: 1.22rem; margin: 0.55rem 0 0.5rem; }
.fn-card p { color: var(--gray); font-size: 0.97rem; margin-bottom: 0.9rem; }
.fn-card-featured {
  border-left: 4px solid var(--accent); background: var(--sky);
  padding: 2.1rem 2.25rem;
}
.fn-card-featured h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.fn-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; color: var(--gray);
}
.fn-chip {
  display: inline-block; padding: 0.15rem 0.65rem; border-radius: 999px;
  background: var(--sky); border: 1px solid var(--line);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--navy);
}
.fn-card-featured .fn-chip { background: var(--white); }
.fn-mins::before { content: "· "; }
.fn-latest {
  padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--accent);
  color: var(--white); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.fn-group { margin-top: 3rem; }
.fn-group > h2 {
  font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); font-weight: 700; padding-bottom: 0.7rem;
  margin-bottom: 1.25rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) { .fn-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .fn-list-featured { grid-template-columns: 1fr; } }

/* Article */
.fn-article { padding: 3.5rem 0 4rem; }
.fn-article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0.4rem 0 1rem; }
.fn-article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--gray);
  padding-bottom: 1.6rem; border-bottom: 1px solid var(--line);
}
.fn-lead { margin: 2rem 0 0; }
.fn-lead img { border-radius: var(--radius); border: 1px solid var(--line); }

.fn-prose { padding-top: 2rem; font-size: 1.05rem; }
.fn-prose h2 {
  font-size: 1.5rem; margin: 2.6rem 0 1rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.fn-prose h3 { font-size: 1.15rem; margin: 1.9rem 0 0.6rem; }
.fn-prose p { margin-bottom: 1.15rem; }
.fn-prose ul { margin: 0 0 1.35rem; padding-left: 1.1rem; }
.fn-prose li {
  position: relative; padding-left: 1rem; margin-bottom: 0.55rem;
}
.fn-prose li::before {
  content: ""; position: absolute; left: 0; top: 0.68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.fn-prose a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.fn-prose code {
  background: var(--sky); border: 1px solid var(--line); border-radius: 4px;
  padding: 0.08em 0.38em; font-size: 0.9em;
}
.fn-prose blockquote {
  margin: 1.6rem 0; padding: 1.1rem 1.4rem; background: var(--sky);
  border-left: 4px solid var(--navy-soft); border-radius: 0 var(--radius) var(--radius) 0;
}
.fn-prose blockquote p { margin: 0; }

/* The three recurring Field Notes paragraph shapes */
.fn-prose .fn-epigraph {
  font-size: 1.12rem; color: var(--navy); border-left: 3px solid var(--accent);
  padding-left: 1.1rem; margin-bottom: 2rem;
}
.fn-prose .fn-action {
  background: #fff6f0; border: 1px solid #f7d4bd;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.35rem;
}
.fn-prose .fn-signal {
  background: var(--sky); border: 1px solid var(--line);
  padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem;
}

/* Charts + downloads */
.fn-gallery, .fn-downloads { margin-top: 3rem; }
.fn-gallery h2, .fn-downloads h2 {
  font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); font-weight: 700; margin-bottom: 1.1rem;
}
.fn-gallery-grid { display: grid; gap: 1rem; }
@media (min-width: 620px) { .fn-gallery-grid { grid-template-columns: 1fr 1fr; } }
.fn-gallery-grid img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
}
.fn-downloads ul { display: grid; gap: 0.5rem; }
.fn-downloads a { color: var(--accent); font-weight: 600; text-decoration: underline; }

/* Pager */
.fn-pager { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 620px) { .fn-pager { grid-template-columns: 1fr 1fr; } }
.fn-pager a {
  display: block; padding: 1.1rem 1.3rem; border: 1px solid var(--line);
  border-radius: var(--radius); font-weight: 700; color: var(--navy);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.fn-pager a:hover { border-color: var(--accent); transform: translateY(-2px); }
.fn-pager span {
  display: block; font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray); font-weight: 700;
  margin-bottom: 0.3rem;
}
.fn-next { text-align: right; }
.fn-back { margin-top: 2.5rem; }
.fn-downloads li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.fn-downloads span { font-size: 0.8rem; color: var(--gray); }

/* HubSpot meetings scheduler on /thank-you. Embedded as a plain iframe:
   HubSpot's documented MeetingsEmbedCode.js returns 403 from their CDN, so the
   script-based embed is blocked by the browser as an opaque response. The
   scheduler page itself sets no X-Frame-Options, so framing is supported. */
.meetings-frame {
  width: 100%; min-height: 720px; border: 0; display: block;
  border-radius: var(--radius);
}
@media (max-width: 620px) { .meetings-frame { min-height: 900px; } }

/* Field Notes author byline — the visible counterpart to the Article/Person
   schema. A machine-readable author with no human-visible one is a smell. */
.fn-byline {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1.1rem 0 0; margin-bottom: -0.4rem;
}
.fn-byline-mark {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
}
.fn-byline strong { display: block; color: var(--navy); font-size: 0.95rem; }
.fn-byline span { display: block; font-size: 0.84rem; color: var(--gray); }
.fn-byline a { color: var(--accent); font-weight: 600; }
