@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/*
 * Generator Stron AI — home.css
 * Palette: białe tło + niebieskie / szare akcenty
 * Zgodność: WCAG 2.2 AA | RWD (320px – 1440px+)
 *
 * Contrast ratios (sprawdzone):
 *   #111827 na #fff  → 17.7:1  (AAA)
 *   #374151 na #fff  → 10.0:1  (AAA)  ← body text
 *   #4b5563 na #fff  →  7.5:1  (AAA)  ← secondary text small
 *   #6b7280 na #fff  →  4.6:1  (AA)   ← secondary text large (≥14px)
 *   #9ca3af na #fff  →  3.2:1  (-)    ← wyłącznie placeholder/dekoracje
 *   #1d4ed8 na #fff  →  7.0:1  (AAA)
 *   #fff    na #1d4ed8 →  7.0:1  (AAA) ← przyciski
 *   #b91c1c na #fff  →  5.9:1  (AA)   ← błędy
 */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* — Kolory — */
  --white:      #ffffff;

  --blue-50:    #eff6ff;
  --blue-100:   #dbeafe;
  --blue-600:   #2563eb;
  --blue-700:   #1d4ed8;   /* primary — 7:1 na białym */
  --blue-800:   #1e40af;   /* hover */
  --blue-900:   #1e3a8a;

  --grey-50:    #f9fafb;
  --grey-100:   #f3f4f6;
  --grey-200:   #e5e7eb;
  --grey-300:   #d1d5db;
  --grey-400:   #9ca3af;
  --grey-500:   #6b7280;   /* secondary text ≥14px  4.6:1 AA  */
  --grey-600:   #4b5563;   /* secondary text small  7.5:1 AAA */
  --grey-700:   #374151;   /* body text            10.0:1 AAA */
  --grey-900:   #111827;   /* headings    17.7:1 */

  --error:      #b91c1c;   /* 5.9:1 na białym */
  --focus-ring: #2563eb;

  /* — Typografia — */
  --font: 'Inter', sans-serif;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */

  /* — 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;

  /* — Układ — */
  --max-w:    72rem;       /* 1152px */
  --gutter:   1.5rem;

  /* — Promienie — */
  --r-sm: 0.375rem;
  --r:    0.5rem;
  --r-lg: 0.75rem;
  --r-xl: 1rem;
  --r-full: 9999px;

  /* — Cienie — */
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .05);
  --shadow:    0 1px 3px rgb(0 0 0 / .10), 0 1px 2px rgb(0 0 0 / .06);
  --shadow-md: 0 4px 6px  rgb(0 0 0 / .07), 0 2px 4px  rgb(0 0 0 / .06);
  --shadow-lg: 0 10px 15px rgb(0 0 0 / .08), 0 4px 6px  rgb(0 0 0 / .05);
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--grey-700);
  background-color: var(--white);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg  { display: block; max-width: 100%; }
a         { color: inherit; }
button    { font-family: inherit; cursor: pointer; }
ul, ol    { list-style: none; }

code, pre, kbd, samp, input, textarea, select {
  font-family: var(--font);
}

/* ============================================================
   3. DOSTĘPNOŚĆ
   ============================================================ */

/* Skip link — WCAG 2.4.1 */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-2) var(--sp-4);
  background: var(--blue-700);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: top 0.1s ease;
  white-space: nowrap;
}
.skip-link:focus { top: var(--sp-2); }

/* Globalne fokus (WCAG 2.4.11 Focus Appearance) */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ============================================================
   4. KONTENER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   5. HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-4);
}

/* Logo */
.logo {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
  line-height: 1;
}
.logo-word   { color: var(--grey-900); }
.logo-accent { color: var(--blue-700); }

/* Nav */
.nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--grey-600);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover {
  background: var(--grey-100);
  color: var(--grey-900);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--grey-700);
  text-decoration: none;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--r-sm);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.nav-cta:hover {
  background: var(--grey-50);
  border-color: var(--grey-400);
  color: var(--grey-900);
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  padding-block: var(--sp-10) var(--sp-6);
  text-align: center;
}

.hero-title {
  margin-bottom: var(--sp-5);
  font-size: clamp(var(--text-3xl), 5vw + 0.5rem, var(--text-5xl));
  font-weight: 800;
  color: var(--grey-900);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 22ch;
  margin-inline: auto;
}
.hero-accent { color: var(--blue-700); }

.hero-sub {
  font-size: clamp(var(--text-base), 1.5vw + 0.5rem, var(--text-lg));
  color: var(--grey-500);
  line-height: 1.75;
  max-width: 52ch;
  margin-inline: auto;
}
.hero-rotator {
  display: block;
  position: relative;
  min-height: 3.5em;
}
.hero-rotator-item {
  display: block;
  position: absolute;
  inset-inline: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-rotator-item.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   7. OPTIONS — accordion
   ============================================================ */
.options {
  padding-block: var(--sp-2) var(--sp-12);
}

.options-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 38rem;
  margin-inline: auto;
}

/* ---- Options tabs (3-button tab layout) ---- */
.opts {
  max-width: 52rem;
  margin-inline: auto;
}

.opts-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-3);
}

.opts-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-4);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--r-xl);
  cursor: pointer;
  text-align: center;
  font-family: var(--font);
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 5.5rem;
}
.opts-tab:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-md);
}
.opts-tab:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
.opts-tab[aria-selected="true"] {
  border-color: var(--blue-700);
  background: var(--blue-50);
  box-shadow: 0 4px 16px rgb(29 78 216 / .12);
}
.opts-tab--featured {
  background: var(--blue-50);
  border-color: var(--blue-600);
}
.opts-tab--featured[aria-selected="true"] {
  box-shadow: 0 4px 16px rgb(29 78 216 / .18);
}

.opts-tab-num {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--grey-400);
  letter-spacing: 0.05em;
  line-height: 1;
}
.opts-tab[aria-selected="true"] .opts-tab-num,
.opts-tab--featured .opts-tab-num {
  color: var(--blue-700);
}

.opts-tab-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--grey-700);
  line-height: 1.3;
}
.opts-tab[aria-selected="true"] .opts-tab-title {
  color: var(--grey-900);
}

.opts-tab-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-700);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: var(--r-full);
  white-space: nowrap;
  pointer-events: none;
}

.opts-panels {
  margin-top: var(--sp-3);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--r-xl);
}

.opts-panel {
  padding: var(--sp-6) var(--sp-8);
  animation: acc-open 0.22s ease;
}
.opts-panel[hidden] { display: none; }

/* ---- Card ---- */
.card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-7);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

/* Accordion-karta: hover tylko gdy zwinięta */
.card--acc:not(:has([aria-expanded="true"])):hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

/* ---- Card trigger (klikalna głowica) ---- */
.card-trigger {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  color: inherit;
}
.card-trigger:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

/* ---- Chevron ---- */
.card-chevron {
  flex-shrink: 0;
  display: block;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--grey-400);
  border-bottom: 2px solid var(--grey-400);
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 0.2s ease, border-color 0.15s;
  margin-left: auto;
}
.card-trigger[aria-expanded="true"] .card-chevron {
  transform: rotate(-135deg) translate(-1px, -2px);
}
.card--featured .card-chevron { border-color: var(--blue-700); opacity: 0.6; }
.card-trigger:hover .card-chevron { border-color: var(--grey-700); }

/* ---- Card body (rozwijana treść) ---- */
.card-body {
  padding-top: var(--sp-5);
  margin-top: var(--sp-5);
  border-top: 1px solid var(--grey-100);
  animation: acc-open 0.22s ease;
}
.card-body[hidden] { display: none; }
.card--featured .card-body { border-top-color: var(--blue-100); }

@keyframes acc-open {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Wyróżniona karta */
.card--featured {
  border-color: var(--blue-600);
  background: var(--blue-50);
  box-shadow: var(--shadow-md);
}
.card--featured:hover {
  box-shadow: 0 20px 25px rgb(29 78 216 / .12), 0 8px 10px rgb(29 78 216 / .06);
}

/* Badge "Najpopularniejsze" */
.card-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--sp-1) var(--sp-4);
  background: var(--blue-700);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--r-full);
  white-space: nowrap;
}

/* Numer kroku */
.card-step {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--grey-900);
  line-height: 1.3;
  letter-spacing: -0.02em;
  flex: 1;
  margin: 0;
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--grey-500);
  line-height: 1.7;
  flex: 1;
}

/* ============================================================
   8. FORMULARZE W KARTACH
   ============================================================ */
.card-form { margin-top: auto; }

.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.field-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--grey-700);
}

.field-row {
  display: flex;
  gap: var(--sp-2);
}

/* Input */
.field-input {
  flex: 1;
  min-width: 0;
  height: 44px;          /* WCAG 2.5.8 Target Size */
  padding-inline: var(--sp-3);
  font-size: var(--text-sm);
  font-family: var(--font);
  color: var(--grey-900);
  background: var(--white);
  border: 1.5px solid var(--grey-300);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field-input::placeholder { color: var(--grey-400); }
.field-input:hover        { border-color: var(--grey-400); }
.field-input:focus        {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgb(37 99 235 / .18);
}
.field-input[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgb(185 28 28 / .12);
}

/* Error message */
.field-error {
  display: block;
  min-height: 1.2rem;
  font-size: var(--text-xs);
  color: var(--error);
  line-height: 1.4;
}

/* ============================================================
   9. PRZYCISKI
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;          /* WCAG 2.5.8 */
  padding-inline: var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font);
  line-height: 1;
  border: none;
  border-radius: var(--r-sm);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--blue-700);
  color: var(--white);       /* kontrast 7:1 ✓ WCAG AAA */
}
.btn--primary:hover        { background: var(--blue-800); }
.btn--primary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.btn[aria-busy="true"] {
  opacity: 0.65;
  pointer-events: none;
  cursor: not-allowed;
}

/* ============================================================
   9b. TEXTAREA — styl ChatGPT (opis projektu)
   ============================================================ */
.field-input--ta {
  min-height: 5.5rem;
  max-height: 20rem;
  padding-block: var(--sp-3);
  resize: none;
  overflow-y: hidden;
  line-height: 1.65;
  border-radius: var(--r);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field-input--ta:focus {
  overflow-y: auto;
}

/* Przycisk pod textarea — wyrównany do prawej */
.desc-btn-row {
  justify-content: flex-end;
  margin-top: var(--sp-2);
}
.card-form--desc .btn { width: auto; }

/* Podpowiedź pod polem */
.field-hint {
  font-size: var(--text-xs);
  color: var(--grey-400);
  line-height: 1.5;
  margin-top: calc(var(--sp-1) * -1);
}

/* ============================================================
   9c. URL EMAIL STEP (krok 2 po podaniu adresu)
   ============================================================ */
.url-email-step {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--grey-200);
  animation: slide-in 0.22s ease;
}
.url-email-step[hidden] { display: none; }

.url-email-hint {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: var(--sp-3);
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   10. TRUST STRIP
   ============================================================ */
.trust {
  background: var(--grey-50);
  border-top:    1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding-block: var(--sp-10);
}

.trust-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-6) var(--sp-10);
}

.trust-item { text-align: center; }

.trust-num {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -0.04em;
  line-height: 1;
}

.trust-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--grey-500);
  margin-top: var(--sp-1);
}

.trust-sep {
  width: 1px;
  height: 3rem;
  background: var(--grey-300);
  flex-shrink: 0;
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  padding-block: var(--sp-6);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--text-sm);
  color: var(--grey-500);
}

.footer-nav {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--grey-500);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover        { color: var(--blue-700); text-decoration: underline; }
.footer-link:focus-visible { color: var(--blue-700); }

/* ============================================================
   12. DIALOG — powiadomienie o wysłaniu
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: var(--sp-4);
}
.overlay[hidden] { display: none; }

.dialog {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  max-width: 26rem;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--blue-700);
}

.dialog-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--sp-3);
}

.dialog-msg {
  font-size: var(--text-base);
  color: var(--grey-500);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
}

/* ============================================================
   13. RWD — BREAKPOINTY
   ============================================================ */

/* Tablet (do 1024px) */
@media (max-width: 1024px) {
  .card--featured { order: -1; }
}

/* Mobile (do 640px) */
@media (max-width: 640px) {
  :root { --gutter: 1rem; }

  .hero { padding-block: var(--sp-10) var(--sp-6); }

  .hero-sub { font-size: var(--text-base); }

  .card { padding: var(--sp-6); }

  /* Tabs: stack vertically on mobile */
  .opts-tabs { grid-template-columns: 1fr; gap: var(--sp-2); }
  .opts-tab  { min-height: 3.5rem; flex-direction: row; justify-content: flex-start; padding: var(--sp-3) var(--sp-4); text-align: left; }
  .opts-tab-badge { top: 50%; transform: translateY(-50%); left: auto; right: var(--sp-3); }
  .opts-panel { padding: var(--sp-5) var(--sp-4); }

  /* Stack przycisków pionowo */
  .field-row  { flex-direction: column; }
  .btn        { width: 100%; }
  .card-form--desc .btn { width: 100%; }
  .desc-btn-row { justify-content: stretch; }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8) var(--sp-6);
    align-items: start;
  }

  .trust-sep { display: none; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-2);
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-3);
  }
}

/* ============================================================
   14. INTAKE FORM PAGE (/start)
   ============================================================ */
.intake-main {
  flex: 1;
  padding-block: var(--sp-12) var(--sp-16);
}

.intake-panel {
  max-width: 38rem;
  margin-inline: auto;
}

.intake-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  color: var(--grey-900);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}

.intake-desc {
  font-size: var(--text-base);
  color: var(--grey-500);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.intake-status {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-bottom: var(--sp-5);
  border: 1px solid transparent;
}
.intake-status[data-kind="success"] {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.intake-status[data-kind="error"] {
  background: #fef2f2;
  color: var(--error);
  border-color: #fecaca;
}
.intake-status[data-kind="info"] {
  background: var(--blue-50);
  color: var(--blue-800);
  border-color: var(--blue-100);
}

.intake-form {
  display: grid;
  gap: var(--sp-5);
}

.intake-fields {
  display: grid;
  gap: var(--sp-4);
}

.intake-submit-row {
  padding-top: var(--sp-2);
}

/* File input */
.intake-file-input {
  display: block;
  width: 100%;
  padding: var(--sp-3);
  font-size: var(--text-sm);
  font-family: var(--font);
  color: var(--grey-700);
  background: var(--grey-50);
  border: 1.5px dashed var(--grey-300);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color 0.15s;
}
.intake-file-input:hover { border-color: var(--blue-600); }
.intake-file-input:focus { border-color: var(--blue-600); outline: none; box-shadow: 0 0 0 3px rgb(37 99 235 / .18); }

.file-list {
  margin: var(--sp-1) 0 0;
  padding-left: var(--sp-5);
  font-size: var(--text-sm);
  color: var(--grey-500);
  line-height: 1.8;
}

.file-list--existing {
  color: var(--blue-600, #2563eb);
}

.intake-legend {
  font-size: var(--text-xs);
  color: var(--grey-500);
  margin: 0;
  padding-top: var(--sp-1);
}

.submission-notice {
  background: var(--blue-50, #eff6ff);
  border: 1px solid var(--blue-200, #bfdbfe);
  border-radius: var(--radius-md, 8px);
  padding: var(--sp-4, 1rem);
  margin-bottom: var(--sp-4, 1rem);
  font-size: var(--text-sm);
  color: var(--blue-800, #1e40af);
  line-height: 1.6;
}

/* ============================================================
   15. PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   15. HIGH CONTRAST MODE (Windows)
   ============================================================ */
@media (forced-colors: active) {
  .card           { border: 2px solid ButtonText; }
  .card--featured { border: 2px solid Highlight; }
  .card-badge     { forced-color-adjust: none; }
  .btn--primary   { forced-color-adjust: none; }
}
