/* Can I Afford to Cut Back? — Building Out
   Brand tokens per brief §1. 8px spacing grid. 5px radius. Cabin only.
   Type scale: 12 / 14 / 16 / 18 / 20 / 28 / 40, plus 56 for the single hero figure. */

:root {
  --blue: #3A7BC8;
  --accent: #1a5fa8;
  --ink: #0f2340;
  --body: #0a0a0a;
  --bg: #ffffff;
  --border: #b8cfe8;
  --rule: rgba(58, 123, 200, 0.3);
  --hairline: #dde7f3;
  --muted: #3e4f66;          /* 8.3:1 on white — AA for helper text */
  --tint: #f4f8fd;
  --track: #e8eff8;

  --green: #1b7a4e; --green-bg: #eef7f2; --green-line: #bfe0cd;
  --amber: #9a6b00; --amber-bg: #fffcf5; --amber-line: #efdcae;
  --red: #a12828;   --red-bg: #fcf1f1;   --red-line: #ecc5c5;

  --radius: 5px;
  --font: 'Cabin', 'Helvetica Neue', Arial, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

h1, h2, h3, p { margin: 0; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

[hidden] { display: none !important; }

.money, .hero-number, .total-figure, td { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: var(--s2); top: -48px;
  background: var(--ink); color: #fff; padding: var(--s1) var(--s2);
  border-radius: var(--radius); z-index: 10; text-decoration: none;
}
.skip-link:focus { top: var(--s2); color: #fff; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s2); }
.narrow { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 var(--s2); }

/* ------------------------------------------------------------------ Header */
.site-header {
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s2); min-height: 72px;
}
.brand { display: inline-flex; border-radius: var(--radius); }
/* Horizontal lockup built from two unmodified crops of the official stacked logo
   (assets/logo-official.png): mark on the left, wordmark on the right. */
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lockup img { display: block; width: auto; }
.lockup-mark { height: 36px; }
.lockup-word { height: 18px; }

.progress { display: grid; justify-items: end; gap: var(--s1); }
.progress-label { font-size: 14px; font-weight: 600; color: var(--accent); line-height: 1; }
.progress-track {
  display: block; width: 120px; height: 4px; border-radius: 2px;
  background: var(--track); overflow: hidden;
}
.progress-fill {
  display: block; height: 100%; width: 25%;
  background: var(--blue); border-radius: 2px;
  transition: width 400ms var(--ease);
}

.header-link {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--accent);
  background: none; border: 0; padding: var(--s1) 0; min-height: 44px; cursor: pointer;
  border-radius: var(--radius);
}
.header-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ Steps */
.step { padding-top: var(--s5); padding-bottom: var(--s8); }
.step > *:focus, h1:focus { outline: none; }
h1[tabindex="-1"]:focus-visible { outline: none; }

.step.is-entering { animation: enter 320ms var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Step 1 */
.step-1 { display: grid; gap: var(--s5); }
.display {
  font-size: 28px; line-height: 1.15; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; max-width: 14ch;
}
.subhead {
  margin-top: var(--s3);
  padding-left: var(--s2);
  border-left: 4px solid var(--blue);
  color: var(--accent); font-weight: 600; font-size: 18px; line-height: 1.5;
}
.intro { margin-top: var(--s3); display: grid; gap: var(--s2); font-size: 18px; line-height: 1.65; }
.intro .trust { font-weight: 600; color: var(--ink); }

.picker { display: grid; gap: var(--s3); align-content: start; }
.paytype { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s2); min-width: 0; }
.label-strong { font-weight: 600; color: var(--ink); font-size: 16px; padding: 0; margin-bottom: var(--s1); }

.choice {
  position: relative; display: flex; gap: var(--s2); align-items: flex-start;
  padding: var(--s2) var(--s3) var(--s2) var(--s2);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); cursor: pointer;
  transition: border-color 150ms, background-color 150ms, box-shadow 150ms;
}
.choice::before {
  content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px;
  background: var(--blue); border-radius: var(--radius) 0 0 var(--radius);
  opacity: 0; transition: opacity 150ms;
}
.choice:hover { border-color: var(--blue); }
.choice:active { background: var(--tint); }
.choice input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 24px; height: 24px; margin: 2px 0 0; border-radius: 50%;
  border: 1.5px solid var(--border); background: #fff; display: grid; place-content: center;
  transition: border-color 150ms;
}
.choice input::after {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); transform: scale(0); transition: transform 150ms var(--ease);
}
.choice input:checked { border-color: var(--blue); }
.choice input:checked::after { transform: scale(1); }
.choice input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.choice:has(input:checked)::before { opacity: 1; }
.choice-body { display: grid; gap: 2px; }
.choice-title { font-weight: 700; color: var(--ink); font-size: 18px; line-height: 1.4; }
.choice-help { color: var(--muted); font-size: 16px; line-height: 1.45; }

.note {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s2) var(--s3); color: var(--muted); font-size: 16px; line-height: 1.6;
}
.result .note { margin-top: var(--s3); }

.muted { color: var(--muted); font-size: 16px; line-height: 1.6; }
.small { font-size: 14px; line-height: 1.6; }
.muted.small { margin-top: var(--s2); }

/* ------------------------------------------------------------------ Buttons */
.btn {
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.25;
  padding: 13px 30px; min-height: 48px;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background-color 150ms, border-color 150ms, color 150ms, transform 80ms;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
.btn:active { transform: translateY(1px); }
/* Primary buttons use the accent blue: white on #1a5fa8 is 6.47:1 (AA at 16px).
   #3A7BC8 is kept for non-text accents only (top bar, progress, selected states, bars). */
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-primary:active { background: #0a1a30; }
.btn-primary[aria-disabled="true"] { background: #8fb0d6; cursor: not-allowed; }
.btn-primary[aria-disabled="true"]:active { transform: none; }
.btn-secondary { background: #fff; color: var(--accent); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--blue); color: var(--ink); background: var(--tint); }
.btn-secondary:active { background: #e9f1fb; }
.btn-block { width: 100%; }
.picker .btn-primary { justify-self: stretch; }

.link {
  font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer;
  font-weight: 600; border-radius: 2px;
}
.link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.actions { display: flex; gap: var(--s2); margin-top: var(--s5); }
.actions .btn-primary { flex: 1; }

/* ------------------------------------------------------------------ Forms */
.title { font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.title-sm { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.lede-muted { margin-top: var(--s1); color: var(--muted); }
.section-title { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--ink); margin-top: var(--s5); }
.section-help { margin-top: var(--s1); color: var(--muted); font-size: 16px; }

.grid-2 { display: grid; gap: var(--s3); margin-top: var(--s3); }
.field { display: grid; gap: var(--s1); align-content: start; min-width: 0; }
.field > label, .field > .label { font-weight: 600; color: var(--ink); font-size: 16px; line-height: 1.4; }
.optional { font-weight: 400; color: var(--muted); }
.helper { color: var(--muted); font-size: 14px; line-height: 1.5; }
.derived { color: var(--accent); font-size: 14px; font-weight: 600; line-height: 1.5; }

input[type="text"], input[type="email"], input:not([type]), select {
  font: inherit; font-size: 16px; color: var(--body);
  width: 100%; min-height: 48px; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  transition: border-color 150ms, box-shadow 150ms;
}
input::placeholder { color: #6b7a8f; }
input:hover, select:hover { border-color: var(--blue); }
input:focus, select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent);
}
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }
input[aria-invalid="true"]:focus { box-shadow: 0 0 0 2px var(--red); }

select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a5fa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
select:invalid, select.is-placeholder { color: #5b6b80; }

.money-input { position: relative; }
.money-input > span {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--ink); font-weight: 600; pointer-events: none;
}
.money-input input { padding-left: 34px; font-variant-numeric: tabular-nums; }
input[data-count] { font-variant-numeric: tabular-nums; }

.field-error { color: var(--red); font-size: 14px; font-weight: 600; line-height: 1.4; }
.field-error:empty { display: none; }

/* Segmented Yes / No */
.segmented { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; width: max-content; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 80px; min-height: 48px; padding: 0 var(--s3);
  font-weight: 600; color: var(--muted); transition: background-color 150ms, color 150ms;
}
.segmented label + label span { border-left: 1px solid var(--border); }
.segmented label:hover span { color: var(--ink); background: var(--tint); }
.segmented input:checked + span { background: var(--tint); color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -3px; }

.inline-note { margin-top: var(--s3); }

/* Essentials */
.essentials { display: grid; gap: var(--s3); margin-top: var(--s4); }
.total-row {
  margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--hairline);
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2);
}
.total-row .label-strong { margin: 0; }
.total-figure { font-size: 28px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.per { color: var(--muted); font-size: 16px; }

/* ------------------------------------------------------------------ Result */
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 2px var(--s1);
  background: var(--tint); margin-bottom: var(--s2);
}
.result-lead { display: grid; gap: var(--s1); font-weight: 700; color: var(--ink); }
#headline-pre { font-size: 20px; line-height: 1.3; }
.hero-number { font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.result-sub { font-size: 20px; line-height: 1.3; }

.verdict {
  margin-top: var(--s4); padding: var(--s2) var(--s3);
  border: 1px solid var(--amber-line); border-left: 4px solid var(--amber);
  border-radius: var(--radius); background: var(--amber-bg);
}
.verdict-label { font-weight: 700; font-size: 14px; color: var(--amber); margin-bottom: var(--s1); }
.verdict-text { line-height: 1.6; }
.verdict[data-verdict="room"] { border-color: var(--green-line); border-left-color: var(--green); background: var(--green-bg); }
.verdict[data-verdict="room"] .verdict-label { color: var(--green); }
.verdict[data-verdict="notyet"] { border-color: var(--red-line); border-left-color: var(--red); background: var(--red-bg); }
.verdict[data-verdict="notyet"] .verdict-label { color: var(--red); }

.result .section-title { margin-top: var(--s5); }

/* SVG bar chart */
.chart { position: relative; margin-top: var(--s2); }
.bar-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.bar-row .money { color: var(--ink); font-weight: 700; font-size: 16px; }
.bar-svg { display: block; width: 100%; height: 8px; margin: var(--s1) 0 var(--s3); overflow: visible; }
.bar-svg rect.bar { transform-box: fill-box; transform-origin: left center; transition: transform 700ms var(--ease); }
.chart.is-pre rect.bar { transform: scaleX(0); }
.chart-overlay { position: absolute; inset: 0 0 32px 0; width: 100%; height: calc(100% - 32px); pointer-events: none; overflow: visible; }
.chart-key { font-size: 12px; color: var(--muted); margin-top: calc(-1 * var(--s1)); }

table.ruled { width: 100%; border-collapse: collapse; margin-top: var(--s4); }
.ruled th, .ruled td { padding: var(--s2) 0; border-bottom: 1px solid var(--hairline); font-size: 16px; }
.ruled tr:first-child th, .ruled tr:first-child td { border-top: 0; }
.ruled th { text-align: left; font-weight: 400; color: var(--muted); }
.ruled td { text-align: right; color: var(--ink); font-weight: 600; white-space: nowrap; padding-left: var(--s2); }
.ruled tr.strong th { color: var(--ink); font-weight: 700; }
.ruled tr.strong td { font-weight: 700; }
.ruled tr.is-short td { color: var(--red); }

.boxed {
  margin-top: var(--s5); padding: var(--s3); border: 1px solid var(--border); border-radius: var(--radius);
  display: grid; gap: var(--s1);
}
.box-title { font-weight: 700; color: var(--ink); }
.aside {
  margin-top: var(--s3); padding: var(--s1) 0 var(--s1) var(--s2); border-left: 3px solid var(--border);
  display: grid; gap: var(--s1);
}
.prompt { margin-top: var(--s4); display: grid; gap: var(--s1); }
.prompt-title { font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--ink); }

.assumptions { margin-top: var(--s4); }
.assumptions summary {
  cursor: pointer; color: var(--accent); font-weight: 600; font-size: 16px;
  list-style: none; display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px;
  border-radius: var(--radius);
}
.assumptions summary::-webkit-details-marker { display: none; }
.assumptions summary::after {
  content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 150ms;
}
.assumptions[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.assumptions summary:hover { color: var(--ink); }
.assumptions ul { margin: var(--s1) 0 0; padding-left: var(--s3); color: var(--muted); font-size: 14px; display: grid; gap: var(--s1); }

.rule { border: 0; border-top: 1px solid var(--hairline); margin: var(--s5) 0; }

.check { display: flex; gap: var(--s2); align-items: flex-start; cursor: pointer; font-size: 16px; line-height: 1.5; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 1px 0 0;
  width: 22px; height: 22px; border: 1.5px solid var(--border); border-radius: 4px; background: #fff;
  display: grid; place-content: center; cursor: pointer; transition: border-color 150ms, background-color 150ms;
}
.check input::after {
  content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform 120ms var(--ease);
}
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.check:hover input { border-color: var(--blue); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Enlarge the hit area to 44px without changing the visual */
.check { min-height: 44px; padding: var(--s1) 0; }

.fineprint { font-size: 14px; color: var(--muted); line-height: 1.6; }


.disclaimer { margin-top: var(--s4); font-size: 16px; line-height: 1.6; color: var(--body); }
/* One-line reminder directly under the verdict: smaller and muted (still 8.3:1 contrast). */
.disclaimer.disclaimer-short { margin-top: var(--s1); font-size: 14px; line-height: 1.5; color: var(--muted); }
.next-step { margin-top: var(--s3); }
.result-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }

/* Results opt-in: directly under the verdict. The breakdown and plan below it stay
   hidden until a valid email is submitted. */
.optin {
  margin-top: var(--s4); padding: var(--s3);
  border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius);
  background: var(--tint);
}
.optin .section-title { margin-top: 0; }
.optin form { display: grid; gap: var(--s2); margin-top: var(--s2); }
.optin input[type="email"] { background: #fff; }
.optin .fineprint { margin: 0; }
.optin-done { display: grid; gap: var(--s1); margin-top: var(--s2); }
.optin-done:focus { outline: none; }
.optin-done:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.optin .check { margin: 0; }
.optin-disclaimer { margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--rule); }

.unlocked { margin-top: var(--s5); }
.unlocked > .section-title:first-child { margin-top: 0; }
#h-breakdown:focus, #h-plan:focus { outline: none; }
#h-breakdown, #h-plan { scroll-margin-top: var(--s3); }
.jump-plan { margin-top: var(--s1); font-weight: 600; }
.confirm-signup { display: grid; gap: var(--s2); justify-items: start; margin-top: var(--s2); padding: var(--s3); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--tint); }
.confirm-signup .btn { text-decoration: none; }
.jump-plan a, .optin-done a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.subsection-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-top: var(--s3); }

.plan { display: grid; gap: var(--s2); }
.plan .section-title { margin-top: 0; }
.plan-steps { margin: 0; padding-left: var(--s3); display: grid; gap: var(--s2); }
.plan-steps li { padding-left: var(--s1); }
.plan-steps li::marker { color: var(--accent); font-weight: 700; }
.plan-steps strong { display: block; color: var(--ink); }
.plan-steps span { display: block; color: var(--body); }
.plan .fineprint { margin-top: calc(-1 * var(--s1)); }
#pdf-download { text-decoration: none; }
#pdf-download[aria-disabled="true"] { background: #8fb0d6; cursor: progress; }
.plan .btn-secondary { justify-self: stretch; }
.plan-disclaimer { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--hairline); }
.rule + .boxed, .rule + .aside, .rule + .prompt { margin-top: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ Footer */
.site-footer { border-top: 1px solid var(--hairline); }
.footer-inner { display: grid; gap: var(--s1); padding-top: var(--s4); padding-bottom: var(--s4); }
.brand-line { font-weight: 700; color: var(--ink); }
.footer-meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s1); }
.footer-meta .link { min-height: 44px; }

/* ------------------------------------------------------------------ Dialog */
.how {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 0;
  width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  color: var(--body); box-shadow: 0 8px 32px rgba(15, 35, 64, 0.12);
}
.how::backdrop { background: rgba(15, 35, 64, 0.4); }
.how-inner { padding: var(--s3); display: grid; gap: var(--s1); }
.how-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s1); }
.how .h-sm { font-size: 16px; font-weight: 700; color: var(--ink); margin-top: var(--s2); }
.how .disclaimer { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--hairline); }
.btn-close {
  width: 44px; height: 44px; display: grid; place-content: center; border: 1px solid transparent;
  background: none; color: var(--ink); border-radius: var(--radius); cursor: pointer; margin-right: -12px;
}
.btn-close:hover { background: var(--tint); border-color: var(--border); }

.print-report { display: none; }
.noscript { padding: var(--s4) var(--s2); }

/* ------------------------------------------------------------------ Breakpoints */
@media (max-width: 639px) {
  .result-actions .btn { flex: 1 1 100%; }
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2 .span-2 { grid-column: 1 / -1; }
  .step { padding-top: var(--s6); }
  .wrap, .narrow { padding: 0 var(--s4); }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-meta { justify-content: flex-end; }
  .hero-number { font-size: 64px; }
  .lockup-mark { height: 40px; }
  .lockup-word { height: 20px; }
  .lockup { gap: 12px; }
  .progress-track { width: 188px; }
}

@media (min-width: 960px) {
  .step-1 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s10);
    padding-top: var(--s8);
    align-items: start;
  }
  .display { font-size: 40px; }
  .picker .btn-primary { justify-self: start; }
  .header-inner { min-height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
