/* ==========================================================================
   AVW Skill Gallery — styles.css
   WCAG 2.1 AA compliant; responsive from 320 px; reduced-motion respected.
   ========================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  /* Palette — light mode */
  --bg:             #f7f5f2;
  --surface:        #ffffff;
  --text:           #1c2b3a;   /* ~14:1 on bg */
  --text-muted:     #4b5e6e;   /* ~6.3:1 on bg */
  --border:         #ccc9c4;
  --accent:         #1d4f7a;   /* ~8.3:1 on bg */
  --accent-hover:   #153a5c;
  --accent-fg:      #ffffff;
  --focus:          #005fcc;

  /* Energy gate — always color + label */
  --red:            #b91c1c;   /* ~7.1:1 on white */
  --red-bg:         #fef2f2;
  --red-border:     #fca5a5;
  --amber:          #854d0e;   /* ~6.8:1 on white */
  --amber-bg:       #fffbeb;
  --amber-border:   #fde68a;
  --blue:           #1e40af;   /* ~8.9:1 on white */
  --blue-bg:        #eff6ff;
  --blue-border:    #bfdbfe;

  /* Typography */
  --font-body:    Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: Georgia, 'Playfair Display', ui-serif, serif;
  --font-mono:    ui-monospace, 'Cascadia Code', Menlo, monospace;

  /* Scale */
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;

  /* Layout */
  --max-w: 900px;
  --max-prose: 65ch;
  --lh-body: 1.65;
  --lh-head: 1.2;

  /* Motion */
  --dur-fast: 150ms;
  --dur-base: 220ms;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
}

/* Dark mode overrides */
[data-theme="dark"] {
  --bg:           #111827;
  --surface:      #1f2937;
  --text:         #f0ede8;   /* ~16:1 on bg */
  --text-muted:   #9ca3af;
  --border:       #374151;
  --accent:       #60a5d9;   /* ~7.1:1 on bg */
  --accent-hover: #7bb8e2;
  --accent-fg:    #111827;
  --red-bg:       #2d1515;
  --red-border:   #7f1d1d;
  --amber-bg:     #2d2006;
  --amber-border: #78350f;
  --blue-bg:      #0f1f3d;
  --blue-border:  #1e3a8a;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── BASE ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: var(--lh-head);
  margin-top: 0;
  margin-bottom: var(--sp-4);
}
h1 { font-size: clamp(1.9rem, 5vw, var(--text-3xl)); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 4vw, var(--text-2xl)); letter-spacing: -0.01em; }
h3 { font-size: var(--text-xl); }

p { margin-top: 0; margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
a:hover { color: var(--accent-hover); }
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol { margin-top: 0; margin-bottom: var(--sp-4); padding-left: var(--sp-6); }
li { margin-bottom: var(--sp-2); }

textarea, input, button { font-family: inherit; font-size: inherit; }

/* ── UTILITIES ───────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── SKIP LINK ───────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: var(--sp-3); left: var(--sp-3);
  padding: var(--sp-2) var(--sp-4);
  background: var(--accent); color: var(--accent-fg);
  border-radius: 4px; font-weight: 600; text-decoration: none;
  z-index: 9999;
  transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--focus); outline-offset: 2px; }

/* ── LAYOUT ──────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
@media (max-width: 480px) { .container { padding-inline: var(--sp-4); } }

.prose { max-width: var(--max-prose); }

.section { padding-block: var(--sp-16); }
@media (max-width: 600px) { .section { padding-block: var(--sp-10); } }

/* ── HEADER ──────────────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-4);
}
.site-name {
  font-family: var(--font-display);
  font-size: var(--text-base); font-weight: 700;
  color: var(--text); text-decoration: none;
  letter-spacing: -0.01em;
}
.site-name:hover { color: var(--accent); }

.theme-btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: transparent; border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; color: var(--text);
  font-size: var(--text-sm);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.theme-btn:hover { background: var(--surface); border-color: var(--text-muted); }
.theme-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: 6px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.btn--primary {
  background: var(--accent); color: var(--accent-fg); border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-fg); }

.btn--ghost {
  background: transparent; color: var(--accent); border-color: var(--accent);
}
.btn--ghost:hover { background: var(--surface); }

.btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--text-sm); }

.reset-btn {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4); margin-top: var(--sp-4);
  background: transparent; border: 1px solid var(--border);
  border-radius: 4px; color: var(--text-muted);
  font-size: var(--text-sm); cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.reset-btn:hover { background: var(--surface); border-color: var(--text-muted); color: var(--text); }
.reset-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  padding-block: var(--sp-20);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 55ch;
  margin-bottom: var(--sp-8);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ── ABOUT ───────────────────────────────────────────────────────────────── */
.about { background: var(--bg); }
.about h2 { margin-bottom: var(--sp-6); }

.principles {
  list-style: none; padding: 0;
  margin: var(--sp-6) 0;
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.principles li {
  margin: 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* ── DEMO SECTIONS ───────────────────────────────────────────────────────── */
.demo-section { border-top: 1px solid var(--border); background: var(--bg); }
.demo-section--alt { background: var(--surface); }

.demo-header {
  display: flex; align-items: baseline; gap: var(--sp-4);
  margin-bottom: var(--sp-2);
}
.demo-header h2 { margin-bottom: 0; }
.demo-number {
  font-family: var(--font-mono); font-size: var(--text-sm);
  color: var(--text-muted); flex-shrink: 0; padding-top: 0.2em;
}

.demo-pitch {
  font-size: var(--text-lg); color: var(--text-muted);
  max-width: var(--max-prose); margin-bottom: var(--sp-8);
}

/* ── DEMO CARD ───────────────────────────────────────────────────────────── */
.demo-card {
  border: 1px solid var(--border); border-radius: 8px;
  padding: var(--sp-8); background: var(--surface);
  margin-bottom: var(--sp-8);
}
@media (max-width: 600px) { .demo-card { padding: var(--sp-5) var(--sp-4); } }

/* ── FORM FIELDS ─────────────────────────────────────────────────────────── */
.field-label {
  display: block; font-weight: 600; margin-bottom: var(--sp-2);
  font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.04em;
}
.field-hint {
  font-size: var(--text-sm); color: var(--text-muted);
  margin-top: var(--sp-2); margin-bottom: 0;
}
.field-textarea {
  width: 100%; min-height: 80px; padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); background: var(--bg);
  line-height: var(--lh-body); resize: vertical;
  transition: border-color var(--dur-fast);
}
.field-textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,79,122,0.2);
}
.field-input {
  width: 100%; padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); background: var(--bg);
  transition: border-color var(--dur-fast);
}
.field-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,79,122,0.2);
}
.demo-input-group { margin-bottom: var(--sp-6); }
.field-group { display: flex; flex-direction: column; gap: var(--sp-2); }

/* ── ENERGY GATE BUTTONS ─────────────────────────────────────────────────── */
.energy-buttons {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.energy-btn {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  border: 2px solid transparent; border-radius: 6px;
  font-weight: 600; cursor: pointer; color: #fff;
  transition: opacity var(--dur-fast);
}
.energy-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.energy-btn[aria-pressed="true"] { outline: 3px solid var(--focus); outline-offset: 2px; }
.energy-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.65); flex-shrink: 0;
}
.energy-btn--red    { background: var(--red); }
.energy-btn--yellow { background: var(--amber); }
.energy-btn--blue   { background: var(--blue); }
.energy-btn:hover   { opacity: 0.86; }

/* ── OUTPUT REGION ───────────────────────────────────────────────────────── */
.demo-output {
  padding: var(--sp-6); border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg);
  min-height: 80px;
}
.demo-output:focus {
  outline: 3px solid var(--focus); outline-offset: 2px;
}

/* Fade-in animation triggered when content is set */
@keyframes sg-fadein {
  from { opacity: 0.1; }
  to   { opacity: 1; }
}
.demo-output[data-fresh] {
  animation: sg-fadein var(--dur-base) var(--ease-out) both;
}

.output-placeholder {
  color: var(--text-muted); font-style: italic; margin: 0;
}
.output-mode-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: 4px; font-weight: 700; font-size: var(--text-sm);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: var(--sp-3);
}
.badge-red    { background: var(--red-bg);   border: 1px solid var(--red-border);   color: var(--red); }
.badge-yellow { background: var(--amber-bg); border: 1px solid var(--amber-border); color: var(--amber); }
.badge-blue   { background: var(--blue-bg);  border: 1px solid var(--blue-border);  color: var(--blue); }

.output-definition {
  color: var(--text-muted); font-size: var(--text-sm);
  margin-bottom: var(--sp-4);
}
.output-steps {
  padding-left: var(--sp-6); margin-bottom: var(--sp-4);
}
.output-steps li { margin-bottom: var(--sp-3); }
.output-stop-line {
  font-style: italic; font-size: var(--text-sm); color: var(--text-muted);
  padding-top: var(--sp-3); border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.output-framing {
  font-style: italic; font-size: var(--text-sm); color: var(--text-muted);
  margin-bottom: var(--sp-4); padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}

/* Decision output */
.output-scores {
  display: flex; flex-direction: column; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.score-row { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--text-sm); }
.score-label { min-width: 90px; font-weight: 600; flex-shrink: 0; }
.score-bar-track { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.score-bar-fill { height: 100%; background: var(--accent); border-radius: 4px; }
.score-value { min-width: 90px; text-align: right; color: var(--text-muted); }
.output-threshold {
  font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--sp-4);
}
.output-winner { font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--sp-3); }
.output-advice {
  font-size: var(--text-sm); padding: var(--sp-4);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; margin-bottom: 0;
}
.output-error { color: var(--red); font-weight: 600; }

/* ── DECISION SCAFFOLD ───────────────────────────────────────────────────── */
.option-names-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-2);
}
@media (max-width: 500px) { .option-names-row { grid-template-columns: 1fr; } }

.criteria-container { display: flex; flex-direction: column; gap: var(--sp-5); }

.criterion-row {
  padding: var(--sp-5); border: 1px solid var(--border);
  border-radius: 6px; background: var(--bg);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.criterion-name-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.criterion-sliders { display: flex; flex-direction: column; gap: var(--sp-4); }

.slider-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.slider-label-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--text-sm); font-weight: 600;
}
.slider-value { color: var(--accent); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }

input[type="range"] {
  width: 100%; height: 6px; accent-color: var(--accent); cursor: pointer;
}
input[type="range"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.criterion-footer { display: flex; justify-content: flex-end; padding-top: var(--sp-2); }
.remove-criterion-btn {
  padding: var(--sp-1) var(--sp-3); background: transparent;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: var(--text-sm); color: var(--text-muted); cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.remove-criterion-btn:hover { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.remove-criterion-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.decision-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-4); margin-top: var(--sp-6);
}
.count-badge { font-weight: 400; color: var(--text-muted); }

/* ── TASK DECOMPOSER ─────────────────────────────────────────────────────── */
.granularity-buttons {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.gran-btn {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--sp-4) var(--sp-6);
  border: 2px solid var(--border); border-radius: 6px;
  font-weight: 700; cursor: pointer; background: var(--surface); color: var(--text);
  min-width: 100px;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.gran-btn:hover { border-color: var(--accent); }
.gran-btn[aria-pressed="true"] {
  border-color: var(--accent); background: var(--accent); color: var(--accent-fg);
}
.gran-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.gran-sub { font-size: var(--text-sm); font-weight: 400; opacity: 0.75; margin-top: var(--sp-1); }

/* ── WHEN TO USE ─────────────────────────────────────────────────────────── */
.when-to-use h3 { font-size: var(--text-lg); margin-bottom: var(--sp-3); }
.when-to-use ul { max-width: var(--max-prose); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--sp-10);
  background: var(--surface);
}
.footer-inner { display: flex; flex-direction: column; gap: var(--sp-4); }
.footer-note, .footer-legal {
  font-size: var(--text-sm); color: var(--text-muted);
  max-width: var(--max-prose); margin: 0;
}
.footer-links {
  display: flex; flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4); align-items: center;
  font-size: var(--text-sm);
}

/* ── OUTPUT ACTIONS (copy + reset row) ───────────────────────────────────── */
.output-actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--sp-3); margin-top: var(--sp-4);
}

/* reset-btn lives inside output-actions; remove its standalone top margin */
.output-actions .reset-btn { margin-top: 0; }

.copy-btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: transparent; border: 1px solid var(--border);
  border-radius: 4px; color: var(--text-muted);
  font-size: var(--text-sm); cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.copy-btn:hover { background: var(--surface); border-color: var(--text-muted); color: var(--text); }
.copy-btn:disabled { opacity: 0.6; cursor: default; }
.copy-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ── PRINT ───────────────────────────────────────────────────────────────── */
@media print {
  .site-header { position: static; box-shadow: none; }
  .skip-link, .theme-btn, .hero-ctas, .energy-buttons, .granularity-buttons,
  .decision-actions, .output-actions, .demo-input-group, .when-to-use,
  .option-names-row, #option-names-hint, .criteria-container,
  .demo-nav, .scroll-top-btn,
  .demo-pitch { display: none !important; }
  .demo-section { break-inside: avoid; page-break-inside: avoid; }
  .demo-output { border: 1px solid #aaa; }
  .demo-card { border: none; box-shadow: none; padding: 0; }
}

/* ── DEMO NAV ────────────────────────────────────────────────────────────── */
/*
  Stacks below the sticky site-header (~57 px tall).
  top value = header padding-block (2 × 1rem) + text line-height (~1rem) + border (1px).
*/
.demo-nav {
  position: sticky;
  top: 57px;
  z-index: 40;                        /* below site-header (z-index:100) */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.demo-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;              /* Firefox */
}
.demo-nav-inner::-webkit-scrollbar { display: none; }

.demo-nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.demo-nav-link:hover { color: var(--text); }
.demo-nav-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -2px;
}
.demo-nav-link[aria-current="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.demo-nav-num {
  font-size: 0.65rem;
  color: inherit;
  /* No opacity dimming. The previous 0.6 opacity stacked on the parent's
     muted text color and dropped the demo-nav-num below WCAG 1.4.3 (4.5:1).
     Visual differentiation between current and non-current still happens via
     the parent .demo-nav-link[aria-current="true"] color + border. */
}

@media (max-width: 480px) {
  .demo-nav-link { padding: var(--sp-3); }
  .demo-nav-num  { display: none; }
}

/*
  Offset demo sections from the combined sticky header + demo-nav height
  so anchor jumps don't hide the section heading behind the bars.
  ~57 px (header) + ~45 px (demo-nav) + 8 px breathing room = 110 px.
*/
.demo-section { scroll-margin-top: 110px; }

/* ── SCROLL TO TOP ───────────────────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 50;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.scroll-top-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.scroll-top-btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-top-btn { transition: none; }
}

/* ── OUTPUT ERROR ────────────────────────────────────────────────────────── */
.output-error {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--red);
}
[data-theme="dark"] .output-error { color: #fca5a5; }

/* ── NOSCRIPT NOTICE ─────────────────────────────────────────────────────── */
.noscript-notice {
  background: var(--accent);
  color: var(--accent-fg);
  text-align: center;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
}
