/* Component layer on top of Flow's compiled utilities (flow.css).
   Only the bits their CSS bundle doesn't already ship. */

@font-face { font-family: "neue Serie57"; font-style: normal; font-weight: 400; src: url("/fonts/neueSerie57-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "neue Serie57"; font-style: italic; font-weight: 400; src: url("/fonts/neueSerie57-Italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "neue Serie57"; font-style: normal; font-weight: 450; src: url("/fonts/neueSerie57-Book.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "neue Serie57"; font-style: italic; font-weight: 450; src: url("/fonts/neueSerie57-BookItalic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "neue Serie57"; font-style: normal; font-weight: 500; src: url("/fonts/neueSerie57-Medium.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "neue Serie57"; font-style: italic; font-weight: 500; src: url("/fonts/neueSerie57-MediumItalic.woff2") format("woff2"); font-display: swap; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "neue Serie57", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--color-warm-grey-100, #1f1f1e);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---- Navbar ---- */
#navigation-bar-container {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  height: 64px; background: #fff;
  border-bottom: 1px solid var(--color-neutral-grey-10, #eee);
}
@media (min-width: 672px) { #navigation-bar-container { height: 80px; } }
#navigation-bar-container nav { padding: 0 16px; align-items: center; }
#navigation-bar-container .logo { height: 16px; object-fit: contain; }
.nav-close {
  margin-left: auto;
  background: var(--color-warm-grey-100, #1f1f1e); color: #fff;
  border-radius: var(--radius-md_v3, 12px);
  padding: 9px 16px; font-size: .8125rem; font-weight: 450;
}

/* ---- Progress (1px line, like Flow) ---- */
.progress-track { height: 1px; width: 100%; background: var(--color-neutral-grey-10, #eee); }
.progress-fill { height: 1px; width: 0; background: var(--color-warm-grey-100, #1f1f1e); transition: width .4s ease; }

/* ---- Page content ---- */
#page-content { padding-top: 64px; min-height: 100dvh; }
@media (min-width: 672px) { #page-content { padding-top: 80px; } }
.slides-area { padding: 0 16px 160px; }
.slide { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- Answer options (not in the compiled bundle) ---- */
.response-button {
  display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px;
  justify-content: space-between; align-items: center;
  padding: 20px 16px;
  border-radius: var(--radius-md_v3, 12px);
  background: #fff; border: 1px solid var(--color-neutral-grey-10, #eee);
  color: var(--color-warm-grey-100, #1f1f1e);
  font-size: .875rem; line-height: 1.25rem;
  cursor: pointer; transition: border-color .2s, background .2s;
}
.response-button:hover { border-color: var(--color-warm-grey-60, #757370); }
.response-button.selected { background: var(--color-warm-grey-10, #f9f8f5); border-color: var(--color-neutral-grey-20, #e0e0e0); }
.response-button .check {
  flex: 0 0 auto; width: 16px; height: 16px; position: relative; visibility: hidden;
}
.response-button.selected .check { visibility: visible; }
.response-button .check::after {
  content: ""; position: absolute; left: 4px; top: 2px;
  width: 7px; height: 11px;
  border-right: 2px solid var(--color-green-60, #1c9c7c);
  border-bottom: 2px solid var(--color-green-60, #1c9c7c);
  transform: rotate(45deg);
}

/* ---- Email form ---- */
.quiz-input {
  width: 100%; padding: 16px; font-family: inherit; font-size: 1rem;
  border: 1px solid var(--color-neutral-grey-10, #eee);
  border-radius: var(--radius-md_v3, 12px); background: #fff;
  color: var(--color-warm-grey-100, #1f1f1e);
}
.quiz-input:focus { outline: none; border-color: var(--color-warm-grey-100, #1f1f1e); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; line-height: 1.45; color: var(--color-warm-grey-60, #757370); }
.consent input { margin-top: 2px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--color-warm-grey-100, #1f1f1e); }
.consent a { text-decoration: underline; }
.consent-text { display: flex; flex-direction: column; gap: 12px; font-size: .8125rem; line-height: 1.5; color: var(--color-warm-grey-60, #757370); }
.consent-text p { margin: 0; }
.consent-text a { text-decoration: underline; color: var(--color-warm-grey-100, #1f1f1e); }

/* ---- Interstitial stats + references ---- */
.int-stats p { margin: 0 0 6px; }
.int-stats p:last-child { margin-bottom: 0; }
.int-stats a { text-decoration: underline; color: inherit; }
.ref-marker { font-size: .6em; vertical-align: super; color: var(--color-warm-grey-60, #757370); }
.refs { border-top: 1px solid var(--color-neutral-grey-10, #eee); padding-top: 14px; }
.refs-title { font-size: .875rem; font-weight: 500; color: var(--color-warm-grey-100, #1f1f1e); }
.ref-list { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ref-list li { display: flex; gap: 10px; font-size: .75rem; line-height: 1.5; color: var(--color-warm-grey-60, #757370); }
.ref-num { flex: 0 0 auto; font-weight: 500; color: var(--color-warm-grey-100, #1f1f1e); }

/* ---- Final ---- */
.media { border-radius: var(--radius-md_v3, 12px); overflow: hidden; }
.final-ctas { display: flex; flex-direction: column; gap: 12px; }
.btn-next.outlined { background: #fff; color: var(--color-warm-grey-100, #1f1f1e); border: 1px solid var(--color-warm-grey-100, #1f1f1e); }
.quote { font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--color-warm-grey-80, #4e4d4b); }
.quote cite { display: block; font-style: normal; font-size: .875rem; color: var(--color-warm-grey-60, #757370); margin-top: 8px; }

/* ---- Footer / bottom button (matches Flow's floating bottom bar) ---- */
.quiz-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: #fff; border-top: 1px solid var(--color-neutral-grey-10, #eee);
  padding: 16px;
}
.footer-row { display: flex; gap: 16px; padding: 0 16px; align-items: center; }
.footer-left { display: flex; align-items: center; }
.footer-right { flex: 1; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 672px) { .footer-left { flex: 1; } .footer-right { flex: 1; } }
.btn-back {
  flex: 0 0 auto; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--color-warm-grey-100, #1f1f1e);
  border: 1px solid var(--color-neutral-grey-10, #eee);
  border-radius: var(--radius-md_v3, 12px); font-size: 1.25rem; cursor: pointer;
}
.btn-back:hover { border-color: var(--color-warm-grey-60, #757370); }
.btn-next {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: var(--color-warm-grey-100, #1f1f1e); color: #fff;
  border: none; border-radius: var(--radius-md_v3, 12px);
  padding: 18px 22px; font-family: inherit; font-size: 1rem; font-weight: 450; cursor: pointer;
  transition: opacity .15s;
}
.btn-next[disabled] { opacity: .35; cursor: not-allowed; }
.btn-next .arrow { font-size: 1.1rem; }
.btn-skip { background: none; border: none; color: var(--color-warm-grey-60, #757370); font-family: inherit; font-size: .875rem; cursor: pointer; padding: 6px; }

/* ---- Cookie modal (dark, centered — matches Flow) ---- */
.cookie-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(31, 31, 30, .45);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.cookie-overlay.hidden { display: none; }
.cookie-modal {
  background: var(--color-warm-grey-100, #1f1f1e); color: #fff;
  border-radius: var(--radius-lg_v3, 16px);
  max-width: 600px; width: 100%; padding: 32px;
}
.cookie-modal h2 { margin: 0 0 16px; font-size: 1.5rem; font-weight: 500; }
.cookie-modal p { margin: 0 0 14px; font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.cookie-modal a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cookie-btn {
  background: #fff; color: var(--color-warm-grey-100, #1f1f1e);
  border: 1px solid #fff; border-radius: 999px;
  padding: 11px 22px; font-family: inherit; font-size: .875rem; font-weight: 450; cursor: pointer;
}
.cookie-btn.outline { background: transparent; color: #fff; }

/* "Let me choose" categories */
.cookie-cat { border-top: 1px solid rgba(255, 255, 255, .15); padding: 16px 0; }
.cookie-cat:first-child { border-top: none; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: 6px; }
.cookie-cat p { margin: 0; font-size: .8125rem; line-height: 1.5; color: rgba(255, 255, 255, .7); }

.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: rgba(255, 255, 255, .25); border-radius: 999px; transition: .2s; cursor: pointer; }
.switch .slider::before { content: ""; position: absolute; height: 16px; width: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: var(--color-green-60, #1c9c7c); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch input:disabled + .slider { opacity: .55; cursor: not-allowed; }

.hidden { display: none !important; }
