/* Mobile-first black, white and red theme layered on local Bootstrap 5.3.8. */
:root {
  --black: #09090a;
  --black-soft: #141416;
  --black-raised: #1c1c1f;
  --red: #e31e24;
  --red-dark: #b81118;
  --red-soft: #fff0f1;
  --paper: #ffffff;
  --surface: #f5f5f6;
  --surface-dark: #ececef;
  --text: #171719;
  --muted: #67676e;
  --border: #dedee2;
  --border-dark: #343438;
  --success: #18794e;
  --danger: #b42318;
  --radius: 0.35rem;
  --radius-lg: 0.7rem;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a { color: var(--red); }
a:hover { color: var(--red-dark); }
button, input, select { font: inherit; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 3000;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--black);
  font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: relative; z-index: 100; background: var(--black); color: var(--paper); }
.header-utility { border-bottom: 1px solid rgba(255, 255, 255, 0.11); }
.utility-inner { display: flex; min-height: 4.7rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-mark { display: inline-flex; min-width: 0; flex-direction: column; color: var(--paper); }
.brand-mark:hover { color: var(--paper); }
.brand-wordmark {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28em;
  color: var(--paper);
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}
.brand-accent { color: var(--red); }
.brand-mark small { margin-top: 0.35rem; overflow: hidden; color: #a9a9ad; font-size: 0.63rem; text-overflow: ellipsis; white-space: nowrap; }
.header-actions { display: none; align-items: center; gap: 1.25rem; }
.availability { display: inline-flex; align-items: center; gap: 0.5rem; color: #d0d0d3; font-size: 0.82rem; }
.availability > span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0.25rem rgba(227, 30, 36, 0.13); }
.nav-toggle {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.65rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  place-content: center;
  gap: 0.3rem;
  background: var(--black-soft);
}
.nav-toggle span { display: block; width: 1.25rem; height: 2px; background: var(--paper); }
.header-navigation { background: #101011; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.3rem; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.site-nav a { color: #d1d1d4; font-size: 0.78rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--paper); }
.site-nav.is-collapsible { display: none; }
.site-nav.is-collapsible.is-open { display: flex; flex-direction: column; padding-top: 1rem; padding-bottom: 1rem; }
.site-nav.is-collapsible.is-open a { padding: 0.65rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

/* Shared components */
.btn { border-radius: var(--radius); font-weight: 800; }
.btn-lg { min-height: 3.15rem; padding: 0.72rem 1.25rem; }
.btn-primary {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 10px 24px rgba(227, 30, 36, 0.23);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  border-color: var(--red-dark) !important;
  background: var(--red-dark) !important;
}
.btn-dark { border-color: var(--black); background: var(--black); }
.btn-dark:hover, .btn-dark:focus { border-color: var(--red); background: var(--red); }
.btn-outline-light { border-color: var(--black); color: var(--black); }
.btn-outline-light:hover, .btn-outline-light:focus { border-color: var(--black); background: var(--black); color: var(--paper); }
.eyebrow, .card-kicker, .step-label {
  display: inline-block;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow-light { color: #ff5459; }
.section-space { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.section-heading { max-width: 47rem; margin-bottom: 2rem; }
.section-heading h2 {
  margin: 0.55rem 0 0.65rem;
  color: var(--black);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.section-heading p { margin: 0; color: var(--muted); }
.section-heading-row { display: flex; max-width: none; flex-direction: column; gap: 1rem; }
.section-link { color: var(--red); font-size: 0.82rem; font-weight: 800; text-decoration: none; }

/* Hero */
.hero-section { position: relative; min-height: 39rem; overflow: hidden; background: var(--black); color: var(--paper); }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.92) 47%, rgba(0, 0, 0, 0.45) 76%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 55%);
}
.hero-layout { position: relative; z-index: 1; display: grid; min-height: 39rem; align-items: center; gap: 2.25rem; padding-top: 4.5rem; padding-bottom: 6.5rem; }
.hero-copy { max-width: 43rem; }
.display-hero {
  margin: 0.9rem 0 1.25rem;
  color: var(--paper);
  font-size: clamp(2.4rem, 10vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.display-hero span { color: var(--red); }
.hero-lead { max-width: 37rem; margin-bottom: 1.75rem; color: #d2d2d5; font-size: clamp(1rem, 3vw, 1.2rem); }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.hero-actions > span { color: #b5b5b9; font-size: 0.78rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 0.65rem 1.2rem; margin: 1.5rem 0 0; padding: 0; color: #c6c6c9; font-size: 0.78rem; list-style: none; }
.trust-list li::before { margin-right: 0.5rem; color: var(--red); content: "✓"; font-weight: 900; }
.hero-stats { display: grid; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(9, 9, 10, 0.84); backdrop-filter: blur(8px); }
.hero-stats div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.8rem; padding: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.hero-stats div:last-child { border-bottom: 0; }
.hero-stats strong { color: var(--red); font-size: 1.8rem; font-weight: 900; }
.hero-stats span { color: #dedee0; font-size: 0.78rem; }

/* Quick picker */
.quick-picker-section { position: relative; z-index: 4; margin-top: -3.1rem; }
.quick-picker-shell {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.quick-picker-shell h2 { margin: 0.35rem 0 0; color: var(--black); font-size: clamp(1.2rem, 5vw, 1.65rem); font-weight: 900; }
.quick-picker { display: grid; gap: 0.9rem; }
.picker-field label { display: block; margin-bottom: 0.35rem; color: var(--black); font-size: 0.76rem; font-weight: 800; }
.quick-picker .form-select { min-height: 3.15rem; }
.quick-picker-fallback { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.quick-picker-fallback a { font-weight: 700; }

/* Assistant promotion and questionnaire */
.assistant-promo-section { padding-top: 3.5rem; padding-bottom: 0; background: var(--paper); }
.assistant-promo {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-left: 4px solid var(--red);
  background: var(--black);
  color: var(--paper);
  box-shadow: var(--shadow);
}
.assistant-promo h2 { margin: 0.55rem 0 0.75rem; color: var(--paper); font-size: clamp(1.7rem, 6vw, 2.8rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1.04; }
.assistant-promo p { max-width: 48rem; margin: 0; color: #bdbdc2; }
.assistant-promo .btn { justify-self: start; white-space: nowrap; }
.assistant-page { background: var(--surface); }
.assistant-container { max-width: 62rem; }
.assistant-heading { max-width: 48rem; margin: 2rem 0; }
.assistant-heading h1, .assistant-result h1 { margin: 0.55rem 0 0.8rem; color: var(--black); font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.assistant-heading p { color: var(--muted); font-size: 1.05rem; }
.assistant-shell, .assistant-result { margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--border); border-top: 4px solid var(--red); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.assistant-progress { height: 0.35rem; overflow: hidden; border-radius: 2rem; background: var(--surface-dark); }
.assistant-progress span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--red); transition: width 0.2s ease; }
.assistant-progress-text { margin: 0.55rem 0 1.5rem; color: var(--muted); font-size: 0.75rem; font-weight: 800; text-align: right; text-transform: uppercase; }
.assistant-step { min-width: 0; padding: 0; border: 0; }
.assistant-step legend { margin-bottom: 1.5rem; color: var(--black); font-size: 1.35rem; font-weight: 900; }
.assistant-step legend span { margin-right: 0.45rem; color: var(--red); font-size: 0.75rem; letter-spacing: 0.1em; }
.assistant-options { display: grid; gap: 0.65rem; }
.assistant-option { display: flex; min-width: 0; align-items: center; gap: 0.75rem; padding: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); cursor: pointer; font-size: 0.88rem; font-weight: 700; }
.assistant-option:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.assistant-option .form-check-input { flex: 0 0 auto; margin: 0; }
.assistant-step-actions, .assistant-result-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.assistant-next { margin-top: 1rem; }
.assistant-result { padding-top: 2rem; padding-bottom: 2rem; }
.assistant-result-source { margin: 1rem 0 0.5rem; color: var(--red); font-size: 0.82rem; font-weight: 900; text-transform: uppercase; }
.assistant-result-card { margin: 1.5rem 0; padding: 1.25rem; border-left: 4px solid var(--red); background: var(--surface); }
.assistant-result-card > span { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.assistant-result-card > strong { display: block; margin: 0.35rem 0 0.8rem; color: var(--black); font-size: clamp(1.4rem, 5vw, 2rem); }
.assistant-result-card p, .assistant-disclaimer { color: var(--muted); }
.assistant-context-note { background: var(--surface); }

/* Direction cards */
.directions-section { background: var(--paper); }
.direction-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.direction-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-dark); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.direction-card:hover .card-media img { transform: scale(1.025); }
.card-media > span { position: absolute; top: 0.85rem; left: 0.85rem; padding: 0.35rem 0.55rem; border-radius: 0.2rem; background: var(--red); color: var(--paper); font-size: 0.65rem; font-weight: 900; text-transform: uppercase; }
.card-content { padding: 1.2rem; }
.direction-card h3 { margin: 0.55rem 0 1rem; color: var(--black); font-size: 1.3rem; font-weight: 900; line-height: 1.15; }
.salary { margin-bottom: 0.2rem; color: var(--black); font-size: 1.08rem; font-weight: 900; }
.highlight { min-height: 2.7em; color: var(--red); font-size: 0.82rem; font-weight: 800; }
.card-description { color: var(--muted); font-size: 0.88rem; }
.benefit-list { display: grid; gap: 0.55rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.benefit-list li { position: relative; padding-left: 1.25rem; color: #404045; font-size: 0.82rem; }
.benefit-list li::before { position: absolute; left: 0; color: var(--red); content: "✓"; font-weight: 900; }

/* Process and benefits */
.process-section { position: relative; overflow: hidden; background: var(--black); color: var(--paper); }
.process-section::after { position: absolute; right: -10rem; bottom: -16rem; width: 28rem; height: 28rem; border: 1px solid rgba(227, 30, 36, 0.26); border-radius: 50%; content: ""; }
.process-section .container { position: relative; z-index: 1; }
.section-heading-inverse h2 { color: var(--paper); }
.section-heading-inverse p { color: #a9a9ae; }
.process-grid { display: grid; gap: 1rem; margin: 0; padding: 0; counter-reset: process; list-style: none; }
.process-grid li { min-height: 13rem; padding: 1.4rem; border: 1px solid var(--border-dark); border-top: 3px solid var(--red); background: var(--black-soft); }
.process-number { color: var(--red); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; }
.process-grid h3 { margin: 2.2rem 0 0.7rem; color: var(--paper); font-size: 1.25rem; font-weight: 900; }
.process-grid p { margin: 0; color: #a9a9ae; font-size: 0.86rem; }
.benefits-section { background: var(--paper); }
.benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.benefits-grid article { min-width: 0; padding: 1.25rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.benefits-grid article > span { display: grid; width: 2.8rem; height: 2.8rem; margin: 0 auto 0.9rem; border: 1px solid var(--black); border-radius: 50%; place-items: center; color: var(--red); font-size: 0.7rem; font-weight: 900; }
.benefits-grid h3 { min-height: 2.4em; margin: 0 0 0.5rem; color: var(--black); font-size: 0.95rem; font-weight: 900; }
.benefits-grid p { margin: 0; color: var(--muted); font-size: 0.76rem; }

/* FAQ */
.faq-section { background: var(--surface); }
.faq-section .section-heading-row > p { max-width: 25rem; }
.faq-grid { display: grid; gap: 0.75rem; }
.faq-grid details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); }
.faq-grid summary { position: relative; padding: 1.15rem 3rem 1.15rem 1.15rem; color: var(--black); cursor: pointer; font-weight: 900; list-style: none; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { position: absolute; top: 50%; right: 1.1rem; color: var(--red); content: "+"; font-size: 1.5rem; transform: translateY(-50%); }
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid details[open] summary { border-bottom: 1px solid var(--border); }
.faq-grid details p { margin: 0; padding: 1rem 1.15rem 1.2rem; color: var(--muted); font-size: 0.9rem; }

/* Application, privacy and result pages */
.application-section, .legal-section, .result-section { background: var(--surface); }
.application-container { max-width: 70rem; }
.back-link { display: inline-block; color: var(--red); font-size: 0.85rem; font-weight: 800; text-decoration: none; }
.application-context { padding: 1rem 0; }
.application-context h1 { color: var(--black); font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1.03; }
.application-context > p:not(.salary) { color: var(--muted); }
.context-note { margin-top: 1.5rem; padding: 1rem; border-left: 4px solid var(--red); background: var(--red-soft); color: var(--text); font-size: 0.88rem; }
.form-panel { padding: 1.25rem; border: 1px solid var(--border); border-top: 4px solid var(--red); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.form-panel h2, .legal-section h1, .legal-section h2, .result-container h1 { color: var(--black); }
.form-intro, .form-text, .submit-note { color: var(--muted); }
.form-label { margin-bottom: 0.4rem; color: var(--black); font-size: 0.85rem; font-weight: 800; }
.form-control, .form-select { min-height: 3.1rem; border-color: #bdbdc2; border-radius: var(--radius); background-color: var(--paper); color: var(--text); }
.form-control::placeholder { color: #8c8c92; }
.form-control:focus, .form-select:focus { border-color: var(--red); background-color: var(--paper); color: var(--text); box-shadow: 0 0 0 0.22rem rgba(227, 30, 36, 0.14); }
.form-select { --bs-form-select-bg-img: none; }
.invalid-feedback { color: var(--danger); }
.invalid-feedback span { display: block; }
.form-check-input { border-color: #a9a9ae; background-color: var(--paper); }
.form-check-input:checked { border-color: var(--red); background-color: var(--red); }
.form-check-input:focus { border-color: var(--red); box-shadow: 0 0 0 0.2rem rgba(227, 30, 36, 0.14); }
.consent-check { padding: 1rem 1rem 1rem 2.7rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.consent-check .form-check-input { margin-left: -1.7rem; }
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.error-summary { display: grid; gap: 0.25rem; }
.result-container, .legal-container { max-width: 49rem; }
.result-container { padding-top: 4rem; padding-bottom: 4rem; }
.success-mark { display: grid; width: 4.8rem; height: 4.8rem; margin: 0 auto 1.5rem; border: 2px solid var(--success); border-radius: 50%; place-items: center; background: var(--paper); color: var(--success); font-size: 2.3rem; font-weight: 900; }
.result-lead { color: var(--text); font-size: 1.2rem; }
.error-code { color: var(--red); font-size: 4rem; font-weight: 900; letter-spacing: -0.05em; }
.legal-section h2 { margin-top: 2rem; font-size: 1.2rem; font-weight: 900; }

/* Footer */
.site-footer { border-top: 4px solid var(--red); background: var(--black); color: #aaaab0; font-size: 0.8rem; }
.footer-grid { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 2.5rem; }
.footer-brand p { max-width: 18rem; margin: 0.8rem 0 0; color: #8f8f95; }
.site-footer h2 { margin-bottom: 0.9rem; color: var(--paper); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.site-footer p { margin: 0 0 0.45rem; }
.site-footer a { color: #c8c8cc; text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom { padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #74747a; font-size: 0.7rem; }

[hidden] { display: none !important; }

@media (min-width: 576px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .quick-picker { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .quick-picker .btn { min-width: 13rem; }
  .assistant-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assistant-options-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .section-space { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .section-heading-row { flex-direction: row; align-items: end; justify-content: space-between; }
  .quick-picker-shell { grid-template-columns: 0.8fr 1.5fr; align-items: end; padding: 1.65rem; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.35fr repeat(3, 1fr); }
  .form-panel { padding: 2rem; }
  .assistant-promo { grid-template-columns: minmax(0, 1fr) auto; padding: 2rem; }
  .assistant-shell, .assistant-result { padding: 2rem; }
}

@media (min-width: 992px) {
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-collapsible { display: flex; min-height: 3rem; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 0; padding-bottom: 0; }
  .site-nav.is-collapsible a { padding: 0; border: 0; }
  .hero-layout { grid-template-columns: minmax(0, 1.65fr) minmax(15rem, 0.65fr); padding-top: 5.5rem; padding-bottom: 7.5rem; }
  .hero-stats { justify-self: end; width: min(100%, 18rem); }
  .application-context { position: sticky; top: 2rem; }
}

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