/* Guardian ITAD — site styles.
   Layout: navy bands carry the brand (header, hero, process, CTA, footer);
   light bands carry the reading (intro, services, comparison). */
:root {
  /* Approved palette, from brand-guide assets/brand-tokens.css (loaded first) */
  --navy: var(--guardian-navy, #071E26);
  --steel: var(--guardian-steel, #98A5AC);
  --white: var(--guardian-white, #F5F7F8);
  --teal: var(--guardian-teal, #12B8AD);
  /* Proposed supporting tints (pending approval) */
  --navy-raised: #0E2B35;  /* cards on navy */
  --slate: #4A5A62;        /* secondary text on light, 6.7:1 on white */
  --border-strong: #5B6970;/* form borders on light, 5.3:1 */
  --rule: #D5DCDF;         /* decorative dividers only */
  --mist: #E8EDEF;         /* alternate light band */
  --surface: #FFFFFF;
  --teal-hover: #3FCBC2;
  --preview: #F2C14E;      /* preview-only labels, never brand */
  --error: #B42318;        /* form errors only, 6.1:1 on white; always paired with text */
  --error-bg: #FDECEA;
  --success-bg: #DCF3F1;
  --success-ink: #075450;

  --display: var(--guardian-font-heading, "Barlow Condensed", "Arial Narrow", sans-serif);
  --body: var(--guardian-font-body, "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);

  --radius: 4px;
  --gutter: 16px;
  --max: 1200px;
  --focus: var(--navy);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1.0625rem/1.65 var(--body); }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: .002em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.2vw + 1.2rem, 4.5rem); }
h2 { font-size: clamp(2rem, 2.2vw + 1.2rem, 2.9rem); }
h3 { font-size: 1.5rem; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.site-header, .hero, .process, .cta-band, .site-footer, .preview-bar { --focus: var(--teal); }
.preview-bar { --focus: var(--navy); }

.container {
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: var(--navy); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* Preview banner */
.preview-bar { background: var(--preview); color: var(--navy); font-size: .875rem; line-height: 1.5; }
.preview-bar .container { padding-block: 10px; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 3px; background: var(--preview); color: var(--navy); font: 600 .6875rem/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; white-space: nowrap; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 2px solid transparent; border-radius: var(--radius); font: 600 1rem/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-lg { min-height: 52px; padding: 13px 22px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-hover); }
.btn-ghost { border-color: var(--steel); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(245, 247, 248, .08); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link svg { width: 18px; height: 18px; transition: transform .15s; }
.text-link:hover { text-decoration-color: var(--navy); }
.text-link:hover svg { transform: translateX(3px); }

.eyebrow { font: 600 .8125rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.eyebrow-dark { color: var(--slate); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(152, 165, 172, .22); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex: none; }
.brand svg { height: 50px; width: auto; display: block; }
.brand-name { font: 600 1.75rem/1 var(--display); white-space: nowrap; }
.brand-name span { color: var(--teal); }

.nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: transparent; color: var(--white); border: 1px solid rgba(152, 165, 172, .5); border-radius: var(--radius); font: 600 .9375rem/1 var(--body); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
html:not(.js) .nav-toggle { display: none; }

.site-nav { flex-basis: 100%; padding-bottom: 16px; }
.header-inner { flex-wrap: wrap; }
.js .site-nav:not(.is-open) { display: none; }
.site-nav ul { list-style: none; display: grid; }
.site-nav li a { display: block; padding: 12px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(152, 165, 172, .2); }
.site-nav a[aria-current="page"] { color: var(--teal); }
.site-nav a:hover { color: var(--teal); }
.nav-cta { margin-top: 16px; width: 100%; }

@media (min-width: 1180px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle, html:not(.js) .nav-toggle { display: none; }
  .js .site-nav:not(.is-open), .site-nav { display: flex; align-items: center; gap: 20px; flex-basis: auto; padding: 0; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav li a { padding: 10px 10px; border: 0; font-size: .9375rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); color: var(--white); }
  .nav-cta { margin: 0; width: auto; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-watermark { position: absolute; right: -6%; bottom: -18%; width: min(62vw, 720px); opacity: .07; pointer-events: none; }
.hero-watermark svg { width: 100%; height: auto; display: block; }
.hero-watermark rect { fill: transparent; }
.hero-inner { position: relative; display: grid; gap: 40px; padding-block: 56px 64px; }
.hero-copy { display: grid; gap: 22px; align-content: start; max-width: 40rem; }
.lede { font-size: 1.1875rem; line-height: 1.6; color: #C9D1D5; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-card { background: var(--navy-raised); border: 1px solid rgba(152, 165, 172, .3); border-radius: 6px; padding: 28px; display: grid; gap: 16px; align-content: start; }
.hero-card h2 { font-size: 2rem; }
.hero-card p { color: var(--steel); }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 9px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.hero-card .fine { font-size: .875rem; }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 64px; padding-block: 88px 96px; }
}

/* Generic section rhythm */
.section { padding-block: 72px; }
@media (min-width: 960px) { .section { padding-block: 96px; } }
.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: 40px; }
.section-head > p:not(.eyebrow) { color: var(--slate); font-size: 1.125rem; }

/* Intro */
.intro { background: var(--white); }
.intro-inner { display: grid; gap: 28px; }
.intro-inner h2 { margin-top: 12px; }
.intro-body { display: grid; gap: 28px; max-width: 42rem; }
.lede-dark { font-size: 1.25rem; line-height: 1.55; }
.reasons { list-style: none; display: grid; gap: 18px; border-top: 1px solid var(--rule); padding-top: 24px; }
.reasons li { color: var(--slate); }
.reasons strong { display: block; color: var(--navy); font-weight: 600; }
@media (min-width: 960px) { .intro-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }

/* Services */
.services { background: var(--mist); }
.service-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.service-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 28px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); min-width: 0; }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--navy); color: var(--steel); }
.service-icon svg { width: 26px; height: 26px; }
.service-card p { color: var(--slate); }
.service-card .text-link { justify-self: start; margin-top: 4px; }
@media (min-width: 960px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Compare */
.compare { background: var(--white); }
.compare-grid { display: grid; gap: 16px; }
.compare-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; min-width: 0; }
.compare-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.75rem; padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.compare-card h3 svg { width: 30px; height: 30px; flex: none; }
.compare-card dl { margin: 0; display: grid; }
.compare-card dl > div { display: grid; gap: 2px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.compare-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.compare-card dt { font: 600 .8125rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.compare-card dd { margin: 0; }
.compare-note { margin-top: 28px; color: var(--slate); max-width: 46rem; }
.compare-note .text-link { margin-left: 4px; }
@media (min-width: 768px) {
  .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-card dl > div { grid-template-columns: 9.5rem 1fr; gap: 16px; }
}

/* Process */
.process { background: var(--navy); color: var(--white); }
.process .section-head h2 { color: var(--white); }
.steps { list-style: none; display: grid; gap: 0; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 16px; row-gap: 4px; padding-block: 20px; border-top: 1px solid rgba(152, 165, 172, .28); }
.step-num { grid-row: span 2; font: 600 2.75rem/1 var(--display); color: var(--teal); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.6rem; }
.steps p { color: var(--steel); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
  .steps li { grid-template-columns: 1fr; padding-top: 24px; border-top: 2px solid rgba(152, 165, 172, .4); row-gap: 10px; }
  .steps li:first-child { border-top-color: var(--teal); }
  .step-num { grid-row: auto; }
}

/* Service area / buyback */
.split { background: var(--mist); }
.split-grid { display: grid; gap: 16px; }
.split-card { display: grid; gap: 14px; align-content: start; padding: 32px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.split-card h2 { font-size: clamp(1.9rem, 1.4vw + 1.3rem, 2.4rem); }
.split-card p:not(.eyebrow) { color: var(--slate); }
.split-card .text-link { justify-self: start; }
@media (min-width: 768px) { .split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* CTA band */
.cta-band { background: var(--navy); color: var(--white); border-top: 4px solid var(--teal); }
.cta-inner { display: grid; gap: 32px; padding-block: 64px; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: var(--steel); margin-top: 12px; font-size: 1.125rem; max-width: 34rem; }
.cta-side { display: grid; gap: 22px; justify-items: start; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; padding-block: 80px; } }

/* Contact lines */
/* Labels share one column sized to the longest label, so every value starts at the same edge. */
.contact-lines { list-style: none; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 14px; }
.contact-lines li { grid-column: 1 / -1; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: baseline; gap: 4px 14px; }
@supports (grid-template-columns: subgrid) { .contact-lines li { grid-template-columns: subgrid; } }
.contact-lines .tag { grid-column: 2; justify-self: start; margin-left: 0; }
.contact-label {font: 600 .75rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.contact-lines address { font-style: normal; }
.contact-lines a { color: var(--white); text-decoration-color: var(--teal); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy); color: var(--steel); border-top: 1px solid rgba(152, 165, 172, .22); font-size: .9375rem; }
.footer-inner { display: grid; gap: 40px; padding-block: 56px 40px; }
.footer-brand { display: grid; gap: 16px; max-width: 26rem; }
.footer-brand .brand svg { height: 46px; }
.footer-heading { font: 600 .75rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-nav a { color: var(--steel); text-decoration: none; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--teal); }
.footer-contact { display: grid; gap: 20px; align-content: start; justify-items: start; }
.footer-base { border-top: 1px solid rgba(152, 165, 172, .22); padding-block: 20px 28px; font-size: .875rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer-base .credit a { color: inherit; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); } }

/* ---------- Interior pages ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.page-hero .hero-watermark { width: min(48vw, 460px); right: -4%; bottom: -30%; }
.page-hero-inner { position: relative; display: grid; gap: 18px; padding-block: 56px 60px; }
@media (min-width: 960px) { .page-hero-inner { padding-block: 80px 84px; } }
.page-hero-inner > * { max-width: 46rem; }
.page-hero h1 { font-size: clamp(2.4rem, 3.4vw + 1.2rem, 3.9rem); }

.content { background: var(--white); }
.content.alt { background: var(--mist); }
.prose { max-width: 44rem; display: grid; gap: 16px; }
.prose h2 { margin-top: 12px; }
.prose h3 { margin-top: 8px; }
.prose ul { padding-left: 1.25em; display: grid; gap: 8px; }
.prose a:not(.btn) { text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.muted { color: var(--slate); }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; list-style: none; }
.anchor-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.anchor-nav a:hover { border-color: var(--navy); }

.blocks { display: grid; }
.block { display: grid; gap: 16px; padding-block: 36px; border-top: 1px solid var(--rule); scroll-margin-top: 96px; }
.block:first-child { border-top: 0; padding-top: 0; }
.block-head { display: flex; align-items: center; gap: 14px; }
.block-head h2 { font-size: clamp(1.9rem, 1.2vw + 1.4rem, 2.4rem); }
.block-body { display: grid; gap: 14px; max-width: 44rem; }
.block-body p { color: var(--slate); }
.block-body p strong { color: var(--navy); }
.block .text-link { justify-self: start; }
@media (min-width: 960px) {
  .block { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
}

.note { display: grid; gap: 4px; padding: 16px 18px; background: var(--mist); border-radius: var(--radius); color: var(--navy); }
.content.alt .note { background: var(--surface); border: 1px solid var(--rule); }
.note-label { font: 600 .75rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.data-table thead th { background: var(--navy); color: var(--white); font: 600 1.25rem/1.2 var(--display); letter-spacing: .01em; }
.data-table tbody th { width: 26%; font: 600 .8125rem/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
/* Narrow screens: one card per row, each value labeled with its column heading. */
@media (max-width: 639px) {
  .data-table { min-width: 0; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tr, .data-table th, .data-table td { display: block; width: auto; }
  .data-table tbody tr { border-bottom: 1px solid var(--rule); padding-block: 6px; }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table tbody th, .data-table td { border-bottom: 0; padding: 8px 18px; }
  .data-table tbody th { width: auto; padding-top: 12px; }
  .data-table td::before { content: attr(data-label); display: block; font: 600 1.05rem/1.2 var(--display); color: var(--navy); margin-bottom: 2px; }
}

.steps-light { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.steps-light li { counter-increment: step; display: grid; grid-template-columns: 2.75rem 1fr; gap: 4px 16px; padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.steps-light li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--navy); color: var(--white); font: 600 1.4rem/1 var(--display); }
.steps-light h3 { font-size: 1.4rem; }
.steps-light p { color: var(--slate); }
@media (min-width: 960px) { .steps-light.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.values { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.values li { display: grid; gap: 10px; align-content: start; padding: 28px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.values h3 { font-size: 1.6rem; }
.values p { color: var(--slate); }

/* ---------- Request form ---------- */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; } }
.form-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 24px; }
.form-card h2 { font-size: clamp(1.8rem, 1vw + 1.4rem, 2.2rem); }
.form-intro { color: var(--slate); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field.full, fieldset.full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, fieldset legend { font-weight: 600; font-size: 1rem; }
.req, .opt { font: 500 .8125rem/1 var(--body); margin-left: 6px; color: var(--slate); }
.req { color: var(--navy); }
.hint { font-size: .875rem; color: var(--slate); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; font: 400 1rem/1.4 var(--body); color: var(--navy);
  background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { display: flex; gap: 6px; align-items: baseline; color: var(--error); font-size: .9375rem; font-weight: 500; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--error); color: #fff; font-size: .75rem; font-weight: 700; transform: translateY(.1em); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
fieldset legend { padding: 0; margin-bottom: 6px; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: var(--radius); cursor: pointer; }
.check:hover { border-color: var(--border-strong); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.check:has(input:checked) { border-color: var(--navy); background: var(--white); }
fieldset[aria-invalid="true"] .check { border-color: var(--error); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .hint { max-width: 26rem; }

.alert { display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--radius); border: 2px solid; }
.alert h2, .alert h3 { font: 600 1.4rem/1.2 var(--display); }
.alert ul { padding-left: 1.2em; display: grid; gap: 4px; }
.alert a { color: inherit; font-weight: 600; }
.alert-error { background: var(--error-bg); border-color: var(--error); color: #7A1A10; }
.alert-success { background: var(--success-bg); border-color: var(--success-ink); color: var(--success-ink); }
.alert-info { background: #FDF3D7; border-color: #B8860B; color: #5C4300; }

.side-stack { display: grid; gap: 16px; }
.side-card { display: grid; gap: 12px; padding: 24px; background: var(--navy); color: var(--white); border-radius: 6px; }
.side-card h2 { font-size: 1.6rem; }
.side-card p { color: var(--steel); }
.side-card.light { background: var(--surface); color: var(--navy); border: 1px solid var(--rule); }
.side-card.light p, .side-card.light li { color: var(--slate); }
.side-card ol { padding-left: 1.2em; display: grid; gap: 6px; }

/* Draft notice (privacy) */
.draft-notice { background: var(--preview); color: var(--navy); }
.draft-notice .container { padding-block: 14px; }
.pending { display: block; padding: 10px 14px; background: #FDF3D7; border-left: 0; border-radius: var(--radius); color: #5C4300; font-size: .9375rem; }
.pending::before { content: "Pending: "; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
