:root {
  color-scheme: light;
  --ink: #172d38;
  --muted: #405964;
  --brand: #177ea6;
  --brand-dark: #125571;
  --brand-tint: #eaf6fa;
  --brand-light: #cde8f3;
  --surface: #fff;
  --border: #d5e5ec;
  font-family: Lato, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #f4f9fb;
  font-size: 16px;
  line-height: 1.5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
button, input { font: inherit; }
h1, h2, p { margin: 0; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.header { background: var(--brand-dark); color: white; }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { flex: 0 0 auto; }
.brand img { display: block; width: auto; height: 54px; }
.program { font-size: .88rem; color: var(--brand-light); }
main.shell { padding-block: clamp(30px, 7vh, 82px); }
.layout, .result { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: 0 20px 64px #12557112; }
.layout { display: grid; grid-template-columns: .85fr 1.15fr; }
.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: linear-gradient(150deg, var(--brand), var(--brand-dark));
  padding: clamp(32px, 5vw, 68px);
}
.intro::before, .intro::after {
  content: "";
  pointer-events: none;
  position: absolute;
  width: 550px;
  height: 270px;
  right: -335px;
  bottom: -160px;
  border: 1px solid #fff4;
  transform: rotate(-37deg);
  border-radius: 50%;
  z-index: -1;
}
.intro::after { bottom: -130px; right: -340px; }
.intro h1, .result h1 { font-size: clamp(2.25rem, 4.25vw, 3.65rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 750; }
.intro p { margin-top: 18px; color: white; max-width: 28ch; }
.quiz-card { display: flex; flex-direction: column; padding: clamp(24px, 4.5vw, 56px); min-height: 540px; }
.progress { display: grid; gap: 9px; font-size: .875rem; font-weight: 700; color: var(--brand-dark); }
progress { width: 100%; appearance: none; height: 5px; border: 0; border-radius: 99px; background: var(--brand-light); color: var(--brand); }
progress::-webkit-progress-bar { background: var(--brand-light); border-radius: 99px; }
progress::-webkit-progress-value { background: var(--brand); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--brand); border-radius: 99px; }
.quiz-card h2, .booking h2 { font-size: clamp(1.4rem, 2.7vw, 2rem); line-height: 1.18; letter-spacing: -.025em; }
.quiz-card h2 { margin-block: 26px 18px; }
.answers { display: grid; gap: 8px; }
.choice {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
}
.choice:hover { border-color: var(--brand); background: #f4f9fb; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.choice input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--brand); margin: 0; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 25px; }
.validation { margin-top: 12px; color: #9b2848; font-size: .9rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
}
.button:hover { background: var(--brand-dark); }
.actions .button { margin-left: auto; }
.text-button { background: transparent; border: 0; color: var(--brand-dark); min-height: 44px; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.result { padding: clamp(24px, 5vw, 60px); }
.result h1 { max-width: 24ch; margin-bottom: clamp(18px, 3.2vw, 32px); }
.eyebrow { color: var(--brand-dark); font-weight: 700; margin-bottom: 9px; }
.result-layout { display: grid; grid-template-columns: 1.85fr 1fr; align-items: start; gap: clamp(18px, 3.5vw, 38px); }
video { width: 100%; display: block; aspect-ratio: 16 / 9; border-radius: 13px; background: var(--ink); }
.booking { align-self: stretch; padding: clamp(19px, 2.3vw, 28px); background: var(--brand-tint); border-radius: 13px; }
.booking p { margin: 11px 0 18px; color: var(--muted); }
.booking .booking-gift { color: var(--brand-dark); font-size: .9rem; font-weight: 650; }
.booking .button { display: flex; }
.booking .text-button { margin-top: 5px; }
#analytics-footer { margin-top: auto; padding-bottom: 12px; }
.cookie-settings { font-size: .875rem; }
.cookie-banner {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-block: 18px max(18px, env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px #12557115;
}
.cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.cookie-copy h2 { font-size: 1.0625rem; line-height: 1.3; }
.cookie-copy p { margin-top: 4px; color: var(--muted); font-size: .875rem; }
.cookie-copy a { color: var(--brand-dark); text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .button { flex: 1 1 auto; padding-inline: 16px; font-size: .875rem; }
.cookie-actions .cookie-reject { background: var(--surface); color: var(--brand-dark); border-color: var(--brand); }
.cookie-actions .cookie-reject:hover { background: var(--brand-tint); }
@media (max-width: 740px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 60px; }
  .brand img { height: 48px; }
  main.shell { padding-block: 20px 35px; }
  .layout, .result-layout { grid-template-columns: 1fr; }
  .intro { padding: 27px 24px; }
  .intro p { max-width: 37ch; margin-top: 10px; }
  .quiz-card { min-height: 0; }
  .result { padding: 23px; }
}
@media (max-width: 420px) {
  .program { max-width: 13ch; text-align: right; font-size: .78rem; }
  .layout, .result { border-radius: 16px; }
  .cookie-actions { width: 100%; }
}
