/* Eli Check — Apple-inspired, calm and simple. */

:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --fill: rgba(118, 118, 128, 0.12);
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-tint: rgba(0, 113, 227, 0.07);
  --accent-ring: rgba(0, 113, 227, 0.18);
  --good: #1a7f37;
  --good-tint: rgba(26, 127, 55, 0.09);
  --warn: #b25e00;
  --warn-tint: rgba(178, 94, 0, 0.09);
  --muted-tint: rgba(118, 118, 128, 0.1);
  --header-bg: rgba(251, 251, 253, 0.72);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 14px 40px rgba(0, 0, 0, 0.07);
  --bloom: linear-gradient(100deg, #ff5f8f 0%, #ff9f45 45%, #8b5cf6 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI Variable Text",
    "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

/* index.html sets data-theme before the first paint (saved choice or system setting). */
:root[data-theme="dark"] {
  --bg: #000000;
  --surface: #1c1c1e;
  --surface-2: #161617;
  --fill: rgba(118, 118, 128, 0.24);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --line: #424245;
  --line-soft: #2c2c2e;
  --accent: #2997ff;
  --accent-hover: #47a6ff;
  --accent-tint: rgba(41, 151, 255, 0.12);
  --accent-ring: rgba(41, 151, 255, 0.28);
  --good: #32d74b;
  --good-tint: rgba(50, 215, 75, 0.12);
  --warn: #ffb340;
  --warn-tint: rgba(255, 179, 64, 0.12);
  --header-bg: rgba(22, 22, 23, 0.72);
  --shadow-sm: none;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; outline: none; overflow-x: clip; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; border-radius: 10px; }

.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;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 52px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 600;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }

.topbar-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--fill);
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.icon-btn:hover { color: var(--text); background: rgba(118, 118, 128, 0.2); }
.icon-btn svg { grid-area: 1 / 1; width: 17px; height: 17px; transition: opacity 0.3s, transform 0.4s var(--ease); }
.i-sun, [data-theme="dark"] .i-moon { opacity: 0; transform: rotate(-60deg) scale(0.6); }
[data-theme="dark"] .i-sun { opacity: 1; transform: none; }

.progress { height: 2px; background: transparent; overflow: hidden; }
.progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.5s var(--ease), opacity 0.3s;
  opacity: 0;
}
.progress.is-active .progress-bar { opacity: 1; }

/* ---------- Segmented control ---------- */

.seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 9px;
  background: var(--fill);
}
.seg button {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.seg button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
}
.seg-small button { padding: 3px 10px; font-size: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 980px;
  border: 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s var(--ease), opacity 0.2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.35; cursor: default; transform: none; }
.btn-secondary { background: var(--fill); color: var(--text); }
.btn-secondary:hover { background: rgba(118, 118, 128, 0.18); }
.btn-link {
  background: none;
  border: 0;
  padding: 8px 4px;
  color: var(--accent);
  cursor: pointer;
  font-size: 17px;
}
.btn-link:hover { text-decoration: underline; }
.btn-large { min-height: 56px; padding: 16px 34px; font-size: 18px; }

.chev { width: 9px; height: 15px; flex: none; }

/* ---------- Home ---------- */

.home { max-width: 1024px; margin: 0 auto; padding: 0 22px; }

.hero { text-align: center; padding: clamp(56px, 11vh, 120px) 0 40px; }
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.bloom-text {
  background: var(--bloom);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.38;
  color: var(--text-2);
  letter-spacing: -0.015em;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 14px; color: var(--text-3); }

.paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0 0;
}
.path {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  padding: 34px 32px 30px;
  min-height: 250px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* app.js sets --mx/--my (pointer position) and --rx/--ry (tilt) while the mouse is over a card. */
.path:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px); }
.path:active { transform: scale(0.99); }
.path::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
}
.path:hover::after { opacity: 1; }
.path-student { --glow: rgba(255, 95, 143, 0.14); }
.path-everyone { --glow: rgba(139, 92, 246, 0.16); }
.path .path-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 8px;
  transition: transform 0.4s var(--ease);
}
.path:hover .path-icon { transform: scale(1.08) rotate(-6deg); }
.path .path-cta .chev { transition: transform 0.25s var(--ease); }
.path:hover .path-cta .chev { transform: translateX(4px); }
.path .path-icon svg { width: 24px; height: 24px; }
.path-student .path-icon { background: linear-gradient(135deg, #ff5f8f, #ff9f45); }
.path-everyone .path-icon { background: linear-gradient(135deg, #5b8cff, #8b5cf6); }
.path h2 { font-size: 30px; letter-spacing: -0.025em; }
.path p { color: var(--text-2); font-size: 17px; max-width: 36ch; }
.path .path-cta {
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 88px 0 40px;
}
.feature svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 12px; transition: transform 0.35s var(--ease); }
.feature:hover svg { transform: translateY(-3px) rotate(-8deg); }
.feature h3 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 16px; }

.steps {
  margin: 40px 0 72px;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.steps h2 { font-size: clamp(28px, 4vw, 40px); text-align: center; margin-bottom: 36px; }
.steps ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  font-weight: 600; font-size: 15px;
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease);
}
.steps li:hover::before { transform: scale(1.12); }
.steps li strong { display: block; font-size: 19px; margin-bottom: 4px; letter-spacing: -0.015em; }
.steps li span { color: var(--text-2); font-size: 16px; }

/* ---------- Question flow ---------- */

.flow {
  max-width: 640px;
  margin: 0 auto;
  padding: 18px 22px 64px;
}

.flow-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: clamp(24px, 6vh, 64px);
}
.flow-nav .btn-link { display: inline-flex; align-items: center; gap: 6px; padding-left: 0; }
.flow-nav .btn-link .chev { transform: rotate(180deg); }
.step-count { font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; }

.q-section {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 12px;
}
.q-title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  outline: none;
}
.q-help {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--text-2);
}
.q-body { margin-top: 32px; }

.options { display: grid; gap: 12px; }
.option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 16px 20px;
  text-align: left;
  border-radius: var(--radius);
  border: 1.5px solid var(--line-soft);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.15s var(--ease);
}
.option:hover { border-color: var(--line); }
.option:active { transform: scale(0.99); }
.option[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent-tint);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.option-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.option-label { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.option-hint { font-size: 15px; color: var(--text-2); }
.radio {
  margin-left: auto;
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s;
}
.radio svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(0.6); transition: 0.2s var(--ease); }
.option[aria-checked="true"] .radio { background: var(--accent); border-color: var(--accent); }
.option[aria-checked="true"] .radio svg { opacity: 1; transform: none; }

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 76px;
  padding: 0 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--line-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.field .prefix, .field .suffix { font-size: 22px; color: var(--text-3); flex: none; }
.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.field input::placeholder { color: var(--line); }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  padding: 7px 14px;
  border-radius: 980px;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.chip:hover { background: var(--fill); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.steppers { display: grid; gap: 10px; }
.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 14px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--line-soft);
}
.stepper-row .label { font-size: 18px; font-weight: 500; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--fill);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s;
}
.stepper button:hover:not(:disabled) { background: rgba(118, 118, 128, 0.22); }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.stepper output { min-width: 36px; text-align: center; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }

.q-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.q-error { margin-top: 12px; color: #d70015; font-size: 15px; min-height: 1em; }

/* ---------- Review ---------- */

.review-list {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.review-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.review-item:last-child { border-bottom: 0; }
.review-item:hover { background: var(--surface-2); }
.review-item .k { flex: 1; color: var(--text-2); font-size: 15px; }
.review-item .v { font-weight: 500; text-align: right; }
.review-item .chev { color: var(--text-3); }

/* ---------- Results ---------- */

.results { max-width: 980px; margin: 0 auto; padding: 18px 22px 72px; }

.summary {
  text-align: center;
  padding: clamp(40px, 8vh, 80px) 0 48px;
}
.summary .eyebrow { margin-bottom: 10px; }
.summary .big {
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.summary .big small { font-size: 0.28em; font-weight: 600; letter-spacing: -0.01em; color: var(--text-2); margin-left: 6px; }
.summary .sub { margin-top: 16px; font-size: 19px; color: var(--text-2); }
.summary .hint { margin: 18px auto 0; max-width: 560px; font-size: 15px; color: var(--text-3); }

.group { margin-top: 48px; }
.group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.group-head h2 { font-size: 28px; }
.group-head .count { font-size: 15px; color: var(--text-3); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
  animation: rise 0.6s var(--ease) both;
}
.card-head { display: flex; align-items: flex-start; gap: 14px; }
.card-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
}
.card-icon svg { width: 22px; height: 22px; }
.tone-good .card-icon { background: var(--good-tint); color: var(--good); }
.tone-check .card-icon { background: var(--warn-tint); color: var(--warn); }
.tone-muted .card-icon { background: var(--muted-tint); color: var(--text-2); }
.card-titles { min-width: 0; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.card .official { font-size: 14px; color: var(--text-3); margin-top: 3px; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--accent-tint);
  color: var(--accent);
  margin-left: 6px;
  vertical-align: 2px;
}
.card .amount {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.card .amount small { font-size: 16px; font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-left: 4px; }
.card .why { color: var(--text-2); font-size: 16px; }
.card .card-actions { margin-top: auto; padding-top: 6px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.card .card-actions a { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.ext { width: 12px; height: 12px; }
.not-item a { font-size: 15px; white-space: nowrap; }
.card .amount small.up-to { margin: 0 6px 0 0; }
a.help-item { color: inherit; text-decoration: none; transition: background 0.15s; }
a.help-item:hover { background: var(--surface-2); text-decoration: none; }
a.help-item strong .ext { color: var(--accent); margin-left: 2px; }

.not-list {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.not-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.not-item:last-child { border-bottom: 0; }
.not-item .card-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--muted-tint); color: var(--text-2); }
.not-item .card-icon svg { width: 18px; height: 18px; }
.not-item strong { display: block; font-weight: 500; }
.not-item span { color: var(--text-2); font-size: 15px; }

.disclaimer {
  margin-top: 56px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 15px;
}
.disclaimer strong { color: var(--text); }

.results-actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.give {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 620px;
  margin: 44px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  color: var(--text-2);
}
.give-icon {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 95, 143, 0.12);
  color: #ff5f8f;
}
.give-icon svg { width: 16px; height: 16px; }
.give > div { display: grid; gap: 6px; }
.give-title { color: var(--text); font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.give strong { color: var(--text); font-weight: 600; }
.give a { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-weight: 500; justify-self: start; }

.loading { text-align: center; padding: 22vh 22px; color: var(--text-2); }
.spinner {
  width: 28px; height: 28px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid var(--fill);
  border-top-color: var(--text-2);
  animation: spin 0.9s linear infinite;
}

.error-box {
  max-width: 560px;
  margin: 18vh auto;
  padding: 0 22px;
  text-align: center;
}
.error-box h1 { font-size: 34px; margin-bottom: 12px; }
.error-box p { color: var(--text-2); }
.error-box .q-actions { justify-content: center; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.footer p { max-width: 760px; margin: 0 auto; }
.footer .footer-links { margin-top: 8px; }
.footer a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.footer a:hover { color: var(--text); }

/* ---------- Background ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Aurora lights in the top-right corner: a plain-CSS port of the "AuroraBackground" component.
   Stripes over a blue-violet band, blurred, with a slowly sliding copy blended on top. */
.aurora {
  --stripes: repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%);
  --aurora: repeating-linear-gradient(100deg, #3b82f6 10%, #a5b4fc 15%, #93c5fd 20%, #ddd6fe 25%, #60a5fa 30%);
  position: absolute;
  inset: -10px;
  background-image: var(--stripes), var(--aurora);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(10px) invert(1);
  opacity: 0.5;
  will-change: transform;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 70%);
}
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--stripes), var(--aurora);
  background-size: 200%, 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
  animation: aurora 60s linear infinite;
}
:root[data-theme="dark"] .aurora {
  --stripes: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%);
  filter: blur(10px);
}
@keyframes aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to { background-position: 350% 50%, 350% 50%; }
}

/* ---------- Motion ---------- */

.screen { animation: enter-fwd 0.5s var(--ease) both; }
.screen.back { animation-name: enter-back; }

@keyframes enter-fwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes enter-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  /* An infinite animation at 0.01ms would flicker; keep the aurora still instead. */
  .aurora::after { animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .paths, .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 26px; padding-top: 64px; }
  .steps { padding: 36px 24px; }
  .steps ol { grid-template-columns: 1fr; }
  .path { min-height: 0; padding: 28px 24px; }
  .field { height: 68px; padding: 0 18px; }
  .field input { font-size: 28px; }
  .q-actions .btn-primary { flex: 1; }
}

@media print {
  .backdrop, .topbar, .footer, .results-actions, .card-actions, .give { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; break-inside: avoid; }
}
