/* Shared Product resource branding. Core colors match the supplied logo and
   Product landing tokens. Layout variants share this identity contract. */
:root {
  color-scheme: light;
  --navy: #1D374E;
  --gold: #EB9B23;
  --gold-hover: #F0AA3E;
  --paper: #FAFAF8;
  --ink: var(--navy);
  --muted: #475B6B;
  --line: #D9E0E5;
  --surface: #FFFFFF;
  --soft: #F0F3F5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 system-ui, -apple-system, "Segoe UI", sans-serif; }
header, main, footer { width: min(100% - 40px, 1000px); margin-inline: auto; }
header { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.brand { display: inline-flex; flex: 0 0 auto; max-width: 100%; line-height: 0; }
.brand svg { display: block; width: 232px; max-width: 100%; height: auto; }
nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
a { color: var(--navy); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.skip { position: absolute; top: -80px; left: 16px; background: var(--navy); color: white; padding: 10px 16px; z-index: 1001; }
.skip:focus { top: 12px; }
.eyebrow, .label { font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.eyebrow { margin: 0 0 16px; }
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 3px; background: var(--gold); margin: 0 10px 3px 0; }
.intro { padding: 48px 0 32px; border-bottom: 3px solid var(--gold); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; font-weight: 500; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); letter-spacing: -.025em; max-width: 20ch; margin: 0 0 24px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 20px; }
h3 { color: var(--navy); font-size: 1rem; margin: 0 0 12px; }
p { max-width: 75ch; }
p, li { color: var(--muted); }
.lede { font-size: 1.2rem; }
.byline { font-size: 14px; }
.body-section { padding: 36px 0; border-bottom: 1px solid var(--line); }
li + li { margin-top: 12px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); margin: 24px 0; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 14px; min-width: 130px; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: white; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface); border-left: 4px solid var(--gold); padding: 24px; font: 15px/2 ui-monospace, monospace; }
.cta { padding: 32px; border: 1px solid var(--line); border-top: 4px solid var(--gold); margin: 40px 0; background: var(--surface); scroll-margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; background: var(--gold); color: var(--navy); font-weight: 750; border: 1px solid var(--gold); border-radius: 6px; text-decoration: none; }
.button:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.links, .actions { display: flex; gap: 12px 18px; flex-wrap: wrap; }
.actions { margin-top: 24px; }
footer { padding: 28px 0 60px; font-size: 14px; }
/* The evergreen guide layout shares the exact same logo and palette. */
.reference header, .reference main, .reference footer { max-width: 1120px; }
.reference header nav { max-width: 680px; font-size: 14px; gap: 4px 18px; }
.reference .hero { padding: 64px 0 36px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 38px; align-items: start; }
.reference .hero h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); }
.reference section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.reference .panel, .reference .card { border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--surface); border-radius: 6px; padding: 22px; }
.reference .system { display: grid; gap: 14px; }
.reference .system-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.reference .system-row p { margin: 0; }
.reference .system-row:last-child { border-bottom: 0; padding-bottom: 0; }
.reference .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.reference .sample { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.reference .quote { border-left: 3px solid var(--gold); padding-left: 16px; color: var(--navy); }
.reference .actions .button:not(.primary) { background: transparent; border-color: var(--navy); }
.reference .actions .button:not(.primary):hover { background: var(--soft); }
.reference .related { display: flex; gap: 10px; flex-wrap: wrap; }
.reference .related a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: var(--surface); }
.reference .guides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.reference .guides ul { list-style: none; padding: 0; }
.reference .guides li + li { margin-top: 0; }
.reference .guides a { min-height: 40px; }
.missing-page { padding-block: 64px; }
@media (max-width: 820px) {
  header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .reference .hero, .reference .grid, .reference .sample, .reference .system-row { grid-template-columns: minmax(0, 1fr); }
  .reference .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  header, main, footer { width: calc(100% - 32px); }
  .brand svg { width: 208px; }
  .intro { padding-top: 32px; }
  .cta { padding: 20px; }
  nav { gap: 4px 16px; }
  .reference .hero { padding-top: 32px; }
  .reference .guides { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  header nav, .cta, .growth-consent, footer button, .skip { display: none; }
  body { background: white; font-size: 12px; }
  .body-section { break-inside: avoid; }
  a { color: inherit; }
  h1 { font-size: 28px; }
}
