/* Quaerion — Solution builder
 * Redesign: split layout (form left, brand panel right)
 * Style: near-black surfaces, squared corners, high contrast, editorial
 */

:root {
  /* Quaerion brand tokens — neutral dark grays */
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-2: #1C1C1C;
  --surface-3: #262626;
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.18);
  --ink: #FAFAFA;
  --ink-dim: #C7CBD3;
  --ink-mute: #A3A3A3;
  --purple: #8B5CF6;
  --purple-2: #A78BFA;
  --purple-strong: #7B61FF;
  --accent: var(--purple);
  --accent-ink: #FAFAFA;
  --danger: #ef4444;
  --success: #22c55e;
  --focus: var(--purple-2);
  --radius: 2px;
  --radius-lg: 2px;
  --shadow-panel: 0 40px 100px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter Tight", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

/* Force typography app-wide (override any inherited quaerion legacy CSS) */
body,
.experience,
.experience input,
.experience textarea,
.experience button,
.experience select {
  font-family: var(--font-body);
}
.experience h1,
.experience h2,
.experience h3,
.hero-kicker,
.progress-kicker,
.form-step,
.button,
.eyebrow,
.question-number,
.result-index,
.confidence-badge,
#intro-title,
#question-title,
#processing-title,
#result-title,
.photo-panel__quote,
.form-heading h2,
.result-heading h2 {
  font-family: var(--font-display) !important;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { min-width: 320px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: manipulation;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, textarea, select { font: inherit; color: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { color: var(--accent-ink); background: var(--accent); }

.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 {
  position: fixed; z-index: 1000; top: 12px; left: 12px;
  padding: 10px 14px; color: var(--accent-ink); background: var(--accent);
  font-weight: 600; text-decoration: none; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Layout ------------------------------------------------------------- */
.experience {
  display: grid;
  place-items: center;
  height: 100vh;
  padding: clamp(16px, 3vw, 40px);
  background: var(--bg);
  overflow: hidden;
}

/* Top brand navbar (outside card) --------------------------------- */
.brand-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(14px, 2vw, 22px) 16px;
  pointer-events: none;
}
.brand-nav__logo {
  height: clamp(24px, 2.4vw, 32px);
  width: auto;
  object-fit: contain;
  pointer-events: auto;
}
.experience { padding-top: clamp(64px, 8vh, 96px); }

/* Hero copy moved inside card — external aside removed */
.hero-kicker {
  margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple-2); font-weight: 500;
}
.pulse-dot {
  width: 6px; height: 6px; background: var(--purple-2);
  display: inline-block;
  box-shadow: 0 0 12px var(--purple-2);
}
.hero-lead {
  margin: 0;
  font-size: 14px; color: var(--ink-dim); line-height: 1.6;
}
.card-intro { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }

/* Combined card (right) — form + photo joined ----------------------- */
.combined-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(1180px, 100%);
  height: min(760px, calc(100vh - clamp(32px, 6vw, 80px)));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}
.workspace {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 48px);
  height: 100%;
  overflow: hidden;
  min-width: 0;
}

/* Photo panel (right half of combined card) ------------------------- */
.photo-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-left: 1px solid var(--line);
}
.photo-panel picture,
.photo-panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(0.9) contrast(1.02);
}
.photo-panel__logo {
  position: absolute !important;
  inset: auto !important;
  top: clamp(20px, 2vw, 28px); right: clamp(20px, 2vw, 28px);
  width: clamp(110px, 12vw, 150px) !important; height: auto !important;
  z-index: 3; filter: none !important;
  object-fit: contain !important;
}
.photo-panel__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.85) 100%);
  mix-blend-mode: normal;
}
.photo-panel__quote {
  position: absolute; z-index: 2;
  left: clamp(20px, 2vw, 32px);
  right: clamp(20px, 2vw, 32px);
  bottom: clamp(20px, 2.5vw, 32px);
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.4; letter-spacing: -0.02em;
  color: #fff;
  font-weight: 500;
}
.photo-panel__quote::before {
  content: ""; display: block;
  width: 24px; height: 2px;
  background: var(--purple-2);
  margin-bottom: 12px;
}

/* Progress header --------------------------------------------------- */
.progress-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 24px;
}
.progress-value {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-2) 100%);
  transition: width 0.4s ease;
}
.progress-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.progress-kicker {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}
.progress-label { font-size: 13px; color: var(--ink-dim); }
.progress-track {
  position: relative; flex: 0 0 160px; height: 2px;
  background: var(--line); overflow: hidden;
}

/* View stack -------------------------------------------------------- */
.view-stack { flex: 1; display: flex; flex-direction: column; }
.view { display: none; flex: 1; flex-direction: column; }
.view--active { display: flex; }

/* Home / Identity view --------------------------------------------- */
.home-view { justify-content: flex-start; overflow: auto; }
.home-atmosphere { display: none; }
.home-shell { display: flex; flex-direction: column; gap: 0; width: 100%; }
.logo-stage { display: none; }
.home-logo { display: none; }
.home-kicker {
  margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 600;
}
#intro-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
#intro-title span {
  display: block;
  background: linear-gradient(90deg, var(--ink) 0%, var(--purple-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-copy {
  margin: 0;
  font-size: 14px; color: var(--ink-dim); line-height: 1.6;
  max-width: 480px;
}
.home-facts {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  font-size: 12px; color: var(--ink-mute);
}
.home-facts i { width: 3px; height: 3px; background: var(--line-strong); display: inline-block; }

/* Form fields ------------------------------------------------------- */
.home-form { display: flex; flex-direction: column; gap: 18px; }
.form-heading { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.form-step {
  margin: 0; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 600;
}
.form-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.form-heading p { margin: 0; font-size: 13px; color: var(--ink-dim); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.field-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-group label {
  font-family: var(--font-display);
  font-size: 11px; color: var(--ink-dim); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.input-shell {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.input-shell:focus-within {
  border-color: var(--focus);
  background: var(--surface-3);
}
.field-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.5; }
.field-icon--person {
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12a4 4 0 100-8 4 4 0 000 8zm0 2c-4 0-8 2-8 6v2h16v-2c0-4-4-6-8-6z'/></svg>") center/contain no-repeat;
  color: var(--ink-dim);
}
.field-icon--phone {
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8a15 15 0 006.6 6.6l2.2-2.2a1 1 0 011-.24 11 11 0 003.5.56 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11 11 0 00.56 3.5 1 1 0 01-.24 1z'/></svg>") center/contain no-repeat;
  color: var(--ink-dim);
}
.input-shell input,
.input-shell textarea {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: none;
  color: var(--ink); font-size: 16px; font-family: var(--font-body);
}
.input-shell input::placeholder { color: var(--ink-mute); }
.field-hint { font-size: 11px; color: var(--ink-mute); }
.field-error {
  min-height: 16px; margin: 0;
  font-size: 12px; color: var(--danger);
}
[aria-invalid="true"] { }
.input-shell:has([aria-invalid="true"]) { border-color: var(--danger); }

/* Consent ----------------------------------------------------------- */
.consent-box {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px; color: var(--ink-dim); line-height: 1.5;
  cursor: pointer;
}
.consent-box input { position: absolute; opacity: 0; pointer-events: none; }
.consent-check {
  width: 18px; height: 18px; margin-top: 1px;
  border: 1px solid var(--line-strong); background: transparent;
  display: grid; place-items: center;
  transition: background 0.15s, border-color 0.15s;
}
.consent-box input:checked ~ .consent-check {
  background: var(--accent); border-color: var(--accent);
}
.consent-box input:checked ~ .consent-check::after {
  content: ""; width: 10px; height: 6px;
  border-left: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(-45deg) translate(1px, -1px);
}
.consent-error { padding-left: 0; }

/* Buttons ----------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: transform 0.05s, background 0.15s, color 0.15s, border-color 0.15s;
}
.button:disabled { opacity: 0.5; cursor: not-allowed; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button--start,
.button--primary {
  background: #FFFFFF;
  color: #0A0A0A;
  border-color: #FFFFFF;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.5);
  padding: 16px 22px;
  width: 100%;
}
.button--start:hover:not(:disabled),
.button--primary:hover:not(:disabled) {
  background: var(--purple);
  color: #FFFFFF;
  border-color: var(--purple);
}
.button--start .button-arrow,
.button--primary .button-arrow { letter-spacing: 0; }
.button-arrow { transition: transform 0.15s; }
.button--start:hover .button-arrow { transform: translateX(3px); }
.button--quiet {
  background: transparent; color: var(--ink-dim);
  border-color: var(--line);
}
.button--quiet:hover { color: var(--ink); border-color: var(--line-strong); }

/* Consent — override accent to purple */
.consent-box input:checked ~ .consent-check {
  background: var(--purple) !important; border-color: var(--purple) !important;
}
.consent-box input:checked ~ .consent-check::after {
  border-left-color: #fff !important; border-bottom-color: #fff !important;
}

/* Mobile — stack card ----------------------------------------------- */
@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    height: 100svh;
    overflow: hidden;
    overscroll-behavior: none;
  }
  .experience {
    height: 100svh;
    min-height: 100svh;
    padding: 0;
    padding-top: 42px;
    place-items: start stretch;
    overflow: hidden;
  }
  .brand-nav { padding: 14px 16px; }
  .brand-nav__logo { height: 22px; }
  .combined-card {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    height: calc(100svh - 42px);
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }
  /* Photo becomes the full card background */
  .photo-panel {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-left: 0;
  }
  .photo-panel img {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100svh;
  }
  .photo-panel__overlay {
    position: fixed;
    inset: 0;
  }
  .photo-panel__overlay {
    background:
      linear-gradient(180deg,
        rgba(10,10,10,0.55) 0%,
        rgba(10,10,10,0.75) 45%,
        rgba(10,10,10,0.95) 100%);
  }
  .photo-panel__quote { display: none; }
  /* Form workspace overlays the photo */
  .workspace {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    padding: 6px clamp(16px, 4vw, 24px) 14px;
    background: transparent;
    overflow: hidden;
  }
  .card-intro { margin-bottom: 12px; }
  .brand-nav { padding: 8px 16px; }
  #intro-title { font-size: clamp(24px, 7vw, 30px); }
  .hero-lead { font-size: 13px; }
  .contact-grid { grid-template-columns: 1fr; }
  .input-shell {
    background: rgba(20,20,20,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .consent-box {
    background: rgba(20,20,20,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
.text-button {
  background: none; border: 0; padding: 0;
  color: var(--ink-dim); font-size: 13px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.text-button:hover { color: var(--ink); }

.form-privacy {
  margin: 0; font-size: 11px; color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 6px;
}
.lock-icon {
  width: 10px; height: 10px; display: inline-block;
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 10V7a6 6 0 1112 0v3h1a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V11a1 1 0 011-1zm2 0h8V7a4 4 0 10-8 0z'/></svg>") center/contain no-repeat;
}

/* Question view ----------------------------------------------------- */
#question-view form { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
#question-view form.is-swapping {
  animation: q-swap 320ms ease-out;
}
@keyframes q-swap {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.question-number {
  margin: 0; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 600;
}
#question-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
}
.question-helper { margin: 0; color: var(--ink-dim); font-size: 14px; }
#answer-field {
  width: 100%;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink); resize: vertical;
  min-height: 160px;
  font-size: 16px;
}
#answer-field:focus { outline: none; border-color: var(--focus); background: var(--surface-3); }
.answer-meta { font-size: 11px; color: var(--ink-mute); }
.form-actions {
  display: flex; gap: 10px; margin-top: 8px;
}
.form-actions .button { width: auto; flex: 1; }
.form-actions .button--quiet { flex: 0 0 auto; padding: 14px 18px; }

/* Processing -------------------------------------------------------- */
.processing-view {
  align-items: center; justify-content: center; text-align: center; gap: 16px;
}
.processing-symbol {
  display: grid; grid-template-columns: repeat(2, 12px); gap: 4px;
  margin-bottom: 12px;
}
.processing-symbol span {
  width: 12px; height: 12px; background: var(--accent);
  animation: dot-pulse 1.2s infinite ease-in-out;
}
.processing-symbol span:nth-child(2) { animation-delay: 0.15s; }
.processing-symbol span:nth-child(3) { animation-delay: 0.3s; }
.processing-symbol span:nth-child(4) { animation-delay: 0.45s; }
@keyframes dot-pulse {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}
.eyebrow {
  margin: 0; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 600;
}
#processing-title {
  margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600;
  letter-spacing: -0.01em;
}
#processing-message { margin: 0; color: var(--ink-dim); font-size: 14px; }

/* Result view ------------------------------------------------------- */
.result-view { gap: 20px; max-width: 720px; }
.result-heading {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.result-heading h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
}
.confidence-badge {
  padding: 6px 10px; background: var(--surface-3);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 600;
  flex-shrink: 0;
}
.result-disclaimer {
  margin: 0; padding: 10px 12px;
  background: var(--surface-2); border-left: 2px solid var(--line-strong);
  font-size: 12px; color: var(--ink-dim);
}
.result-label {
  margin: 0 0 6px; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 600;
}
.result-lead p:last-child { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.6; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result-card {
  position: relative;
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 8px;
}
.result-card--accent { background: var(--surface-3); border-color: var(--line-strong); }
.result-index {
  font-family: var(--font-display);
  font-size: 11px; color: var(--ink-mute); font-weight: 600;
  letter-spacing: 0.1em;
}
.result-card p:last-child { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.55; }
.result-next-step {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.result-next-step p:last-child { margin: 0; font-size: 14px; color: var(--ink); }
.result-next-step .button { width: auto; flex: 0 0 auto; }
.result-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px;
}
.result-placeholder-note { margin: 0; font-size: 11px; color: var(--ink-mute); }

/* Entry transition -------------------------------------------------- */
.entry-transition {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.entry-transition.is-visible { opacity: 1; pointer-events: auto; }
.transition-field { display: none; }
.transition-content {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.transition-content img { width: 160px; height: auto; }
.transition-content p { color: var(--ink-dim); font-size: 14px; }

/* Noscript ---------------------------------------------------------- */
.noscript-message {
  margin-top: 40px; padding: 16px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--ink-dim); font-size: 14px;
}

.consent-box input:checked ~ .consent-check {
  background: var(--purple); border-color: var(--purple);
}
.consent-box input:checked ~ .consent-check::after {
  border-left-color: #fff;
  border-bottom-color: #fff;
}

/* Responsive -------------------------------------------------------- */
@media (min-width: 901px) and (max-width: 960px) {
  .experience {
    grid-template-columns: 1fr;
    padding: 12px;
    height: auto;
    overflow: auto;
  }
  body { height: auto; overflow: auto; }
  .hero-copy { order: 1; }
  .combined-card {
    order: 2;
    grid-template-columns: 1fr;
    height: auto;
  }
  .photo-panel { min-height: 220px; border-left: 0; border-top: 1px solid var(--line); }
  .workspace { padding: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .result-next-step { flex-direction: column; align-items: stretch; }
  .result-heading { flex-direction: column; }
}

@media (max-width: 480px) {
  .progress-header { flex-direction: column; align-items: flex-start; }
  .progress-track { width: 100%; flex: 1 1 auto; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
