@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B2F5B;
  --navy-2: #185A91;
  --copper: #BE7437;
  --ink: #0B2147;
  --text: #494949;
  --muted: #607995;
  --bg: #ffffff;
  --border: #e6e6e6;
  --soft: #EEF5FA;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius-btn: 4px;
  --radius-option: 5px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Manrope, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}
.hidden { display: none !important; }
.w-full { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background-color 150ms var(--ease-out), opacity 150ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(180deg, #14406F 0%, var(--navy) 100%);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
}

/* ===== START (Marquiz split / full-bleed) ===== */
.start {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}
.start__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.start__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.start__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 36, 0.82) 0%, rgba(8, 18, 36, 0.55) 42%, rgba(8, 18, 36, 0.28) 100%);
}
.start__layout {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.start__media-slot { display: none; }
.start__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100dvh;
  padding: 1.25rem 1.5rem 1.5rem;
  max-width: 34rem;
}
.start__org {
  margin: 0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.start__main { padding: 2.5rem 0 1.5rem; }
.start__h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 1.875rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.start__lead {
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  font-weight: 500;
  line-height: 1.33;
  max-width: 26.5rem;
}
.start__cta { min-width: 12.9rem; }
.start__bottom { padding-top: 1rem; }
.start__phone {
  display: inline-block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}
.start__phone:hover { color: #dbe7f5; }
.start__details {
  margin: 0.55rem 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 28rem;
}
.start__anon {
  margin: 0.85rem 0 0;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .start__layout {
    flex-direction: row;
  }
  .start__media-slot {
    display: block;
    flex: 1 1 0;
    min-width: 0;
  }
  .start__panel {
    flex: 0 0 500px;
    width: 500px;
    max-width: none;
    padding: 1.5rem 2rem 1.75rem;
    order: -1;
  }
  .start__media img { object-position: 70% center; }
  .start__veil {
    background:
      linear-gradient(90deg, rgba(8, 18, 36, 0.88) 0%, rgba(8, 18, 36, 0.72) 38%, rgba(8, 18, 36, 0.2) 62%, rgba(8, 18, 36, 0.08) 100%);
  }
}

@media (max-width: 767px) {
  .start__media {
    position: relative;
    height: 42vw;
    min-height: 11rem;
    max-height: 16rem;
  }
  .start {
    display: flex;
    flex-direction: column;
    background: #0a1628;
  }
  .start__layout { min-height: 0; flex: 1; }
  .start__panel {
    min-height: auto;
    flex: 1;
    background: linear-gradient(180deg, rgba(8,18,36,0.96), rgba(8,18,36,1));
  }
  .start__main { padding-top: 1.25rem; }
  .start__cta { width: 100%; }
}

/* ===== FLOW (white quiz) ===== */
.flow {
  min-height: 100dvh;
  background: #fff;
  padding: 0 1.25rem 5.5rem;
}
.flow__inner {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding-top: 1.25rem;
}
.flow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  min-height: 2.5rem;
}
.flow__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.flow__back:disabled { opacity: 0.3; cursor: default; }
.flow__back:hover:not(:disabled) { background: var(--soft); }
.flow__progress-label {
  margin: 0;
  margin-left: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.flow__question {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.flow__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 900px) {
  .flow__options {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
  }
}
.flow__option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-option);
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.flow__option:hover { border-color: #c5d3e0; }
.flow__option:has(input:checked) {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(11, 47, 91, 0.12);
}
.flow__option input[type="radio"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.flow__option > span,
.flow__other-label {
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
}
.flow__other-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}
.flow__other-input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
}
.flow__other-input:focus {
  outline: none;
  border-color: var(--navy-2);
  box-shadow: 0 0 0 3px rgba(24, 90, 145, 0.14);
}

.flow__footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.flow__hint-enter {
  margin: 0;
  margin-right: auto;
  color: var(--muted);
  font-size: 0.875rem;
}
.flow__hint-enter kbd {
  font: inherit;
  font-weight: 700;
  color: var(--navy);
}
.flow__next { min-width: 6.5rem; min-height: 2.7rem; font-size: 1rem; }
.flow__error {
  margin: 0.75rem 0 0;
  color: #b42318;
  font-size: 0.875rem;
}

/* ===== FINISH FORM ===== */
.finish {
  min-height: 100dvh;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}
.finish__inner {
  width: min(100%, 34rem);
}
.finish__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.finish__lead {
  margin: 0.85rem 0 1.35rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}
.finish__form { display: grid; gap: 0.95rem; }
.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.form-field {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #CFDDE9;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.form-field:focus {
  outline: none;
  border-color: var(--navy-2);
  box-shadow: 0 0 0 4px rgba(24, 90, 145, 0.14);
}
.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}
.consent input { margin-top: 0.15rem; accent-color: var(--navy); }
.finish__success {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--soft);
  color: var(--navy);
  font-size: 0.9rem;
}

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