/* KolaCert — site styles
   Look: a long-established standards body. Navy ink, brass seal, paper ground,
   a classic serif for headlines and a plain sans for reading. */

:root {
  --ink: #0C1B2A;
  --ink-2: #12263A;
  --ink-3: #1B3349;
  --paper: #F4F5F2;
  --paper-2: #ECEEEA;
  --white: #FFFFFF;
  --line: #D5DAD6;
  --line-dark: rgba(244, 245, 242, 0.16);
  --text: #0C1B2A;
  --muted: #4A5866;
  --muted-light: #B7C0C9;
  --brass: #84601C;
  --brass-light: #D2AE62;
  --brass-soft: #F2EBDC;
  --good: #1E6A48;
  --good-soft: #E3F0E9;
  --warn: #93460F;
  --warn-soft: #F7EADF;
  --bad: #8C1D1D;
  --bad-soft: #F6E3E3;

  --f-display: "Spectral", "Iowan Old Style", Georgia, serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(12, 27, 42, 0.06), 0 12px 32px rgba(12, 27, 42, 0.08);
  --shadow-lg: 0 30px 70px rgba(4, 12, 20, 0.38);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: rgba(132, 96, 28, 0.55); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass-soft); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
p + p { margin-top: 1em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38em; }
.small { font-size: 0.875rem; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--brass-light); color: var(--ink); padding: 10px 14px; z-index: 50; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.dark { background: var(--ink); color: var(--paper); }
.dark a { color: var(--paper); }
.dark a:hover { color: var(--brass-light); }
.dark .eyebrow { color: var(--brass-light); }
.dark .lede, .dark .muted { color: var(--muted-light); }
.surface { background: var(--white); border-block: 1px solid var(--line); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 4px; border: 1px solid transparent;
  font: 600 0.97rem/1 var(--f-body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.9rem; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); color: var(--paper); }
.btn-brass { background: var(--brass-light); color: var(--ink); }
.btn-brass:hover { background: #DDBD78; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { border-color: var(--brass-light); color: var(--brass-light); background: transparent; }
.btn-outline-light:hover { background: var(--brass-light); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header { background: var(--ink); color: var(--paper); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 1px solid var(--line-dark); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.brand:hover { color: var(--paper); }
.brand .seal { color: var(--brass-light); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.005em; }
.brand-sub { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-light); margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: #DCE1E5; text-decoration: none; font-size: 0.92rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav ul a:hover { color: var(--brass-light); }
.site-nav ul a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--brass-light); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); border-radius: 4px; width: 46px; height: 44px; color: var(--paper); cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s ease; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; gap: 16px; padding: 12px max(24px, env(safe-area-inset-left, 0px)) 24px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--brass-light); }
  .header-row { position: relative; }
}
@media (max-width: 520px) { .brand-sub { display: none; } .brand-name { font-size: 1rem; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero .guilloche { position: absolute; width: min(900px, 120vw); right: -220px; top: 50%; transform: translateY(-50%); color: var(--brass-light); opacity: 0.12; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: clamp(72px, 9vw, 128px); }
.hero h1 { color: var(--paper); }
.hero h1 em { font-style: italic; color: var(--brass-light); font-weight: 400; }
.hero .lede { color: #C9D0D6; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 0.9rem; color: var(--muted-light); display: flex; align-items: center; gap: 10px; }
.hero-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass-light); flex: none; }

.lookup { display: flex; flex-direction: column; gap: 8px; max-width: 540px; }
.lookup label { font-size: 0.85rem; color: var(--muted-light); }
.lookup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lookup input { flex: 1 1 260px; min-height: 52px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--paper); background: var(--ink-2); border: 1px solid #34485C; border-radius: 4px; }
.lookup input::placeholder { color: #8796A4; }
.lookup input:focus { border-color: var(--brass-light); outline: none; box-shadow: 0 0 0 3px rgba(210, 174, 98, 0.25); }

/* Certificate */
.certificate { margin: 0; background: #FBFBF8; color: var(--ink); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-lg); position: relative; }
.certificate-inner { position: relative; border: 1px solid #C9B68C; outline: 4px double #CDBB92; outline-offset: -11px; border-radius: 3px; padding: clamp(28px, 4vw, 40px) clamp(22px, 3.5vw, 36px) 26px; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.certificate-inner .guilloche { position: absolute; width: 520px; right: -200px; bottom: -220px; color: #B79A5B; opacity: 0.16; pointer-events: none; }
.cert-head { display: flex; align-items: center; gap: 14px; position: relative; }
.cert-head .seal { color: var(--brass); flex: none; }
.cert-kicker { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.17em; color: #5B6772; text-transform: uppercase; }
.cert-title { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; margin-top: 3px; }
.cert-stamp { position: absolute; top: 18px; right: 18px; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--brass); border: 1px solid var(--brass); padding: 3px 8px; border-radius: 2px; text-transform: uppercase; z-index: 1; }
.cert-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin: 0; position: relative; }
.cert-fields dt { font-size: 0.75rem; color: #5B6772; }
.cert-fields dd { margin: 0; font-weight: 600; font-size: 0.95rem; overflow-wrap: anywhere; }
.cert-checks { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid #E2DED3; display: grid; gap: 8px; font-size: 0.92rem; position: relative; }
.cert-checks li { display: flex; gap: 10px; align-items: baseline; }
.cert-checks li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg) translateY(-3px); }
.cert-checks .date { margin-left: auto; font-family: var(--f-mono); font-size: 0.75rem; color: #5B6772; white-space: nowrap; }
.cert-foot { font-size: 0.78rem; color: #5B6772; position: relative; }

/* Status pills */
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; padding: 4px 10px 4px 9px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-good { color: var(--good); background: var(--good-soft); }
.pill-warn { color: var(--warn); background: var(--warn-soft); }
.pill-bad { color: var(--bad); background: var(--bad-soft); }
.pill-muted { color: var(--muted); background: var(--paper-2); }
.pill-plain { background: none; padding-left: 0; }

/* Commitments strip */
.commitments { background: var(--white); border-bottom: 1px solid var(--line); }
.commitments ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.commitments li { padding: 30px 28px 30px 0; display: flex; flex-direction: column; gap: 4px; }
.commitments li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.commitments strong { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.commitments span { color: var(--muted); font-size: 0.93rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: step; }
.steps li { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--brass); }
.steps h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; }
.steps p { color: var(--muted); font-size: 0.97rem; }
.dark .steps { border-top-color: var(--line-dark); }
.dark .steps li::before { color: var(--brass-light); }
.dark .steps p { color: var(--muted-light); }

/* Grids and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.card-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-ink .eyebrow { color: var(--brass-light); }
.card-ink p { color: #C9D0D6; }
.card-ink a:not(.btn) { color: var(--paper); }
.card h3 { font-size: 1.85rem; }
.card .btn { align-self: flex-start; margin-top: 6px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 13px; height: 7px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg) translateY(-3px); }
.card-ink .ticks li::before, .dark .ticks li::before { border-color: var(--brass-light); }

.guide-card { text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.guide-card:hover { color: var(--ink); border-color: #B9A372; box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-card .meta { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #5B6772; }
.guide-card .title { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.22; }
.guide-card .excerpt { color: var(--muted); font-size: 0.95rem; }
.guide-card .link-arrow { margin-top: auto; font-size: 0.92rem; }

/* Definition lists on dark */
.rules { margin: 0; border-top: 1px solid var(--line-dark); }
.rules > div { padding: 22px 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 6px; }
.rules dt { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; }
.rules dd { margin: 0; color: var(--muted-light); }
.rules-light { border-top-color: var(--line); }
.rules-light > div { border-bottom-color: var(--line); }
.rules-light dd { color: var(--muted); }

/* Tables */
.table-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
caption { text-align: left; padding: 16px 20px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #5B6772; border-bottom: 1px solid var(--line); }
th { text-align: left; font-weight: 500; font-size: 0.8rem; color: #5B6772; padding: 12px 20px; white-space: nowrap; }
td { padding: 15px 20px; border-top: 1px solid #E6E9E6; vertical-align: top; }
td.num, th.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.row-link { cursor: pointer; }
tr.row-link:hover td { background: #FAFAF7; }

/* Page header for inner pages */
.page-head { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.page-head .guilloche { position: absolute; width: 700px; right: -260px; top: -160px; color: var(--brass-light); opacity: 0.1; pointer-events: none; }
.page-head .wrap { position: relative; padding-block: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); max-width: 18em; }
.page-head .lede { color: #C9D0D6; }
.crumbs { font-size: 0.85rem; color: var(--muted-light); }
.crumbs a { color: var(--muted-light); }

/* Long-form text */
.prose { max-width: 44rem; font-size: 1.06rem; }
.prose h2 { font-size: 2rem; margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.4rem; margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--brass-light); background: var(--white); color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--f-mono); font-size: 0.9em; background: var(--paper-2); padding: 1px 6px; border-radius: 3px; }
.prose > :first-child { margin-top: 0; }
.prose strong { font-weight: 600; }
.aside-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.aside-card { position: sticky; top: 100px; }

/* Forms */
.form { display: grid; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; }
.form legend { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; margin-bottom: 4px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: 0.93rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid #BFC7C2; border-radius: 4px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(210, 174, 98, 0.35); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border: 1px solid #BFC7C2; border-radius: 4px; background: var(--white); font-size: 0.95rem; }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--brass-light); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.form-status { min-height: 1.4em; font-size: 0.95rem; }
.form-status.error { color: var(--bad); }
.form-success { display: grid; gap: 14px; padding: 28px; background: var(--good-soft); border: 1px solid #BFDCCB; border-radius: var(--radius); }
.form-success h2 { font-size: 1.8rem; }
.form-success .ref { font-family: var(--f-mono); font-size: 1.15rem; font-weight: 500; }

/* Registry */
.registry-search { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.registry-search input, .registry-search select { min-height: 52px; padding: 0 16px; font: inherit; border: 1px solid #BFC7C2; border-radius: 4px; background: var(--white); color: var(--ink); }
.registry-search input { flex: 1 1 320px; }
.registry-search input:focus, .registry-search select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(210, 174, 98, 0.35); }
.registry-count { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.empty-state { padding: 48px 28px; text-align: center; display: grid; gap: 12px; justify-items: center; color: var(--muted); }
.empty-state .seal { color: #B9A372; }
.empty-state strong { color: var(--ink); font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; }

.status-banner { border-radius: var(--radius); padding: 18px 22px; display: grid; gap: 4px; }
.status-banner.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid #E8CDB7; }
.status-banner.bad { background: var(--bad-soft); color: var(--bad); border: 1px solid #E5C1C1; }
.status-banner.muted { background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); }
.status-banner strong { font-size: 1rem; }
.history { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); display: grid; gap: 18px; }
.history li { padding-left: 20px; position: relative; display: grid; gap: 2px; }
.history li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--white); border: 2px solid var(--brass); }
.history .when { font-family: var(--f-mono); font-size: 0.78rem; color: #5B6772; }
.embed-box { display: grid; gap: 10px; }
.embed-box textarea { width: 100%; min-height: 96px; font-family: var(--f-mono); font-size: 0.8rem; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); resize: vertical; }

/* Fees */
.fee-table td:first-child { font-weight: 600; }
.notice { display: flex; gap: 16px; align-items: flex-start; background: var(--brass-soft); border: 1px solid #E2D2AE; border-radius: var(--radius); padding: 20px 24px; }
.notice .seal { color: var(--brass); flex: none; }

/* CTA band */
.cta-band { background: var(--ink-2); color: var(--paper); position: relative; overflow: hidden; }
.cta-band .guilloche { position: absolute; width: 640px; left: -240px; top: 50%; transform: translateY(-50%); color: var(--brass-light); opacity: 0.1; }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { max-width: 16em; color: var(--paper); }

/* Footer */
.site-footer { background: #08131E; color: var(--muted-light); font-size: 0.93rem; }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-block: 72px 40px; }
.footer-grid h2 { font-family: var(--f-body); font-size: 0.85rem; font-weight: 600; color: var(--paper); letter-spacing: 0.02em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .brand-name { font-size: 1.05rem; }
.subscribe-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.subscribe input { flex: 1 1 180px; min-height: 44px; padding: 0 12px; font: inherit; font-size: 0.93rem; border-radius: 4px; border: 1px solid #2E4155; background: var(--ink); color: var(--paper); }
.subscribe input:focus { outline: none; border-color: var(--brass-light); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px 36px; border-top: 1px solid var(--line-dark); font-size: 0.8rem; color: #8E9AA6; }
.footer-legal p + p { margin-top: 0; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .reveal-2 { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .grid-2, .aside-layout { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .commitments ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commitments li:nth-child(3) { padding-left: 0; border-left: 0; }
  .commitments li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside-card { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .commitments ul { grid-template-columns: minmax(0, 1fr); }
  .commitments li, .commitments li + li { padding: 20px 0; border-left: 0; }
  .commitments li + li { border-top: 1px solid var(--line); }
  .field-row, .cert-fields { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .guilloche { right: -320px; }
  .cert-checks .date { display: none; }
}
