:root {
  --ink: #0b1b28;
  --muted: #52687a;
  --line: rgba(11, 27, 40, 0.14);
  --line-strong: rgba(11, 27, 40, 0.24);
  --accent: #087f91;
  --accent-light: #14becd;
  --paper: rgba(250, 254, 255, 0.76);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: #edf9fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
input,
select {
  outline-color: var(--accent);
  outline-offset: 3px;
}

.q-video {
  position: fixed;
  z-index: -5;
  inset: 0;
  overflow: hidden;
  background: #edf9fb;
}

.q-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  filter: saturate(1.04) brightness(1.13);
  transform: scale(1.025);
}

.q-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 253, 255, 0.94), rgba(244, 253, 255, 0.72) 46%, rgba(248, 253, 255, 0.36)),
    radial-gradient(circle at 79% 18%, rgba(20, 190, 205, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(237, 249, 251, 0.9));
}

.q-grid {
  position: fixed;
  z-index: -4;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 27, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 27, 40, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 92%);
}

.top {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px clamp(18px, 4vw, 58px);
  pointer-events: none;
}

.brand,
.contact-trigger {
  pointer-events: auto;
}

.brand {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.contact-trigger,
.contact-close {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.contact-trigger {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.contact-trigger:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.84);
  transform: translateY(-1px);
}

.quiz {
  display: grid;
  align-items: center;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  padding: 78px clamp(18px, 4vw, 58px) 22px;
}

.quiz-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(34px, 4.5vw, 74px);
  align-items: stretch;
  width: min(1280px, 100%);
  height: min(720px, calc(100dvh - 100px));
  margin: auto;
}

.intro {
  display: grid;
  align-content: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(32px, 3.25vw, 48px);
  font-weight: 430;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.intro-copy {
  max-width: 650px;
  margin: 20px 0 0;
  color: #3e596d;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.58;
}

.intro-line {
  max-width: 650px;
  margin-top: 27px;
  border-top: 1px solid var(--line);
}

.intro-line > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.line-number {
  padding-top: 2px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.intro-line strong,
.intro-line small {
  display: block;
}

.intro-line strong {
  font-size: 14px;
  font-weight: 520;
  line-height: 1.3;
}

.intro-line small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.q-stage {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(25, 74, 86, 0.13);
  backdrop-filter: blur(22px) saturate(1.08);
}

.progress {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 28px;
  left: 28px;
  height: 2px;
  overflow: hidden;
  background: rgba(11, 27, 40, 0.08);
}

.progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.42s var(--ease);
}

.step,
.complete {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  min-width: 0;
  padding: 34px 34px 74px;
}

.step.active,
.complete.active {
  display: grid;
  animation: rise 0.34s var(--ease);
}

.step-content,
.complete > div {
  width: 100%;
  min-width: 0;
}

.step small,
.complete small {
  display: block;
  color: #61788a;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.step h2,
.complete h2 {
  max-width: 680px;
  margin: 11px 0 22px;
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 430;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.step-note {
  max-width: 540px;
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.start-content .navs {
  margin-top: 28px;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.12);
  text-align: left;
  cursor: pointer;
  transition: color 0.22s var(--ease), background 0.22s var(--ease), padding 0.22s var(--ease);
}

.choice.wide {
  grid-column: 1 / -1;
}

.choice:hover,
.choice.selected {
  padding-left: 18px;
  color: #056d7d;
  background: rgba(255, 255, 255, 0.56);
}

.choice span {
  font-size: clamp(14px, 1.18vw, 17px);
  line-height: 1.3;
}

.choice em {
  flex: none;
  color: #6f8392;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.btn.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #0b1b28, #087f91 72%, #14becd);
}

.btn.primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #102837, #096f7f 72%, #12aebd);
}

.btn.calculate {
  min-width: 190px;
  border-color: rgba(8, 127, 145, 0.3);
  color: #0b3540;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(31, 101, 113, 0.12);
}

.btn.calculate:hover {
  border-color: rgba(8, 127, 145, 0.52);
  background: rgba(255, 255, 255, 0.98);
}

.model-note {
  margin-bottom: 22px;
}

.model-fields {
  display: grid;
  gap: 16px;
}

.model-fields .field input {
  height: 46px;
  font-size: 16px;
}

.step-error {
  min-height: 16px;
  margin: 9px 0 -3px;
  color: #9f2f2f;
  font-size: 11px;
  line-height: 1.35;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 5px;
  color: #61788a;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  height: 42px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(11, 27, 40, 0.25);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.field input:focus,
.field select:focus {
  border-bottom-color: var(--accent);
  outline: 0;
}

.field input.invalid,
.field select.invalid {
  border-bottom-color: #b53434;
}

.agreement {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 15px;
  color: #5d7282;
  font-size: 10px;
  line-height: 1.45;
}

.agreement input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.agreement a {
  color: inherit;
  text-underline-offset: 2px;
}

.agreement.invalid {
  color: #9f2f2f;
}

.form-status {
  min-height: 16px;
  margin: 8px 0 -4px;
  color: #9f2f2f;
  font-size: 11px;
  line-height: 1.35;
}

.form-navs {
  margin-top: 10px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.summary {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 21px;
  left: 34px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #607687;
  font-size: 10px;
  line-height: 1.35;
}

.summary-label {
  color: var(--ink);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.summary-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-backdrop {
  position: fixed;
  z-index: 39;
  inset: 0;
  visibility: hidden;
  background: rgba(7, 24, 33, 0.22);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.contact-panel {
  position: fixed;
  z-index: 40;
  top: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 24px));
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: rgba(246, 253, 254, 0.94);
  box-shadow: 0 24px 90px rgba(5, 31, 42, 0.24);
  visibility: hidden;
  opacity: 0;
  transform: translateX(calc(100% + 30px));
  backdrop-filter: blur(24px);
  transition: transform 0.36s var(--ease), opacity 0.3s var(--ease), visibility 0.36s var(--ease);
}

body.contact-open .contact-backdrop,
body.contact-open .contact-panel {
  visibility: visible;
  opacity: 1;
}

body.contact-open .contact-panel {
  transform: translateX(0);
}

.contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-head span,
.contact-head small {
  display: block;
}

.contact-head span {
  font-size: 20px;
  font-weight: 430;
  letter-spacing: -0.025em;
}

.contact-head small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.contact-close {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 10px;
}

.contact-links {
  display: grid;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-links a {
  display: flex;
  align-items: center;
  min-height: 57px;
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.22s var(--ease), background 0.22s var(--ease), padding 0.22s var(--ease);
}

.contact-links a:hover {
  padding-left: 20px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
}

.company-details {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #526979;
  font-size: 11px;
  line-height: 1.4;
}

.company-details span:first-child {
  color: var(--ink);
  font-size: 13px;
}

html.legal-root,
body.legal-page {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.legal {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 106px 0 132px;
}

.legal article {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 28px;
  background: rgba(250, 254, 255, 0.78);
  box-shadow: 0 24px 80px rgba(25, 74, 86, 0.13);
  backdrop-filter: blur(22px);
}

.legal h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 430;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.legal h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 520;
  line-height: 1.35;
}

.legal h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.4;
}

.legal p {
  margin: 0;
  color: #435d70;
  font-size: 14px;
  line-height: 1.7;
}

.legal p + p {
  margin-top: 12px;
}

.legal a {
  color: var(--accent);
  overflow-wrap: anywhere;
  text-underline-offset: 2px;
}

.legal-lead {
  max-width: 760px;
  font-size: 15px !important;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-nav a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #445f71;
  background: rgba(255, 255, 255, 0.36);
  font-size: 11px;
  text-decoration: none;
}

.legal-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.legal-nav + .legal-section {
  margin-top: 0;
  border-top: 0;
}

.legal-details {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  color: #435d70;
  background: rgba(255, 255, 255, 0.34);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.legal-details span,
.legal-details b {
  display: block;
}

.legal-details b,
.legal-cards b {
  color: var(--ink);
  font-weight: 520;
}

.legal-cards {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.legal-cards > div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.3);
}

.legal-cards p {
  font-size: 13px;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: #435d70;
  font-size: 14px;
  line-height: 1.6;
}

.legal-return {
  margin-top: 38px;
}

.legal-compact {
  width: min(820px, calc(100% - 36px));
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(520px, calc(100vw - 36px));
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(247, 253, 254, 0.95);
  box-shadow: 0 18px 60px rgba(5, 31, 42, 0.2);
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
  backdrop-filter: blur(22px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.cookie-banner p {
  margin: 0;
  color: #4d6475;
  font-size: 11px;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--ink);
  text-underline-offset: 2px;
}

.cookie-banner button {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(8, 127, 145, 0.3);
  border-radius: 999px;
  color: #0b3540;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  cursor: pointer;
}

.cookie-banner button:hover {
  border-color: rgba(8, 127, 145, 0.56);
  background: #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 981px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }
}

@media (min-width: 981px) and (max-height: 720px) {
  .quiz {
    min-height: 560px;
    padding-top: 70px;
    padding-bottom: 14px;
  }

  .quiz-shell {
    height: calc(100dvh - 84px);
  }

  .intro h1 {
    font-size: clamp(29px, 3vw, 41px);
  }

  .intro-copy {
    margin-top: 14px;
    font-size: 14px;
  }

  .intro-line {
    margin-top: 18px;
  }

  .intro-line > div {
    padding: 8px 0;
  }

  .step,
  .complete {
    padding: 25px 28px 65px;
  }

  .step h2,
  .complete h2 {
    margin-bottom: 16px;
    font-size: clamp(26px, 2.5vw, 35px);
  }

  .choice {
    min-height: 53px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .summary {
    right: 28px;
    bottom: 16px;
    left: 28px;
  }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .quiz-shell {
    grid-template-columns: minmax(0, 0.78fr) minmax(530px, 1.22fr);
    gap: 28px;
  }

  .intro h1 {
    font-size: 34px;
  }

  .intro-line small {
    display: none;
  }
}

@media (max-width: 980px) {
  body {
    min-height: 100%;
  }

  body.contact-open {
    overflow: hidden;
  }

  .top {
    position: absolute;
    padding: 16px 18px;
  }

  .quiz {
    display: block;
    height: auto;
    min-height: 100svh;
    padding: 88px 18px 30px;
  }

  .quiz-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    height: auto;
  }

  .intro h1 {
    max-width: 720px;
    font-size: clamp(31px, 7.5vw, 46px);
  }

  .intro-copy {
    max-width: 720px;
  }

  .intro-line {
    max-width: 720px;
  }

  .q-stage {
    height: auto;
    min-height: 0;
    overflow: visible;
    border-radius: 24px;
  }

  .step,
  .complete {
    position: relative;
    inset: auto;
    min-height: 470px;
    padding: 34px 26px 24px;
  }

  .summary {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 0 26px;
    padding: 15px 0 22px;
  }
}

@media (max-width: 620px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .brand {
    font-size: 15px;
  }

  .contact-trigger {
    min-height: 38px;
    padding: 8px 14px;
  }

  .quiz {
    padding-right: 14px;
    padding-left: 14px;
  }

  .eyebrow {
    margin-bottom: 11px;
    font-size: 9px;
  }

  .intro h1 {
    font-size: clamp(29px, 9vw, 38px);
    line-height: 1.08;
  }

  .intro-copy {
    margin-top: 16px;
    font-size: 14px;
  }

  .intro-line {
    margin-top: 20px;
  }

  .intro-line > div {
    padding: 10px 0;
  }

  .q-stage {
    border-radius: 20px;
  }

  .progress {
    right: 18px;
    left: 18px;
  }

  .step,
  .complete {
    min-height: 0;
    padding: 31px 18px 17px;
  }

  .step h2,
  .complete h2 {
    margin: 10px 0 18px;
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.08;
  }

  .step-note {
    font-size: 13px;
  }

  .choices,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .choice.wide {
    grid-column: auto;
  }

  .choice {
    min-height: 54px;
    padding: 10px 12px;
  }

  .choice span {
    font-size: 14px;
  }

  .choice em {
    font-size: 8px;
  }

  .navs {
    margin-top: 16px;
  }

  .start-content .navs {
    margin-top: 22px;
  }

  .btn {
    min-height: 43px;
  }

  .form-grid {
    gap: 10px;
  }

  .agreement {
    font-size: 9px;
  }

  .summary {
    grid-template-columns: 1fr;
    gap: 5px;
    margin: 0 18px;
    padding-bottom: 18px;
  }

  .summary-text {
    white-space: normal;
  }

  .contact-panel {
    top: auto;
    right: 7px;
    bottom: 7px;
    left: 7px;
    width: auto;
    max-height: calc(100svh - 14px);
    padding: 20px;
    border-radius: 24px;
    overflow-y: auto;
    transform: translateY(calc(100% + 20px));
  }

  body.contact-open .contact-panel {
    transform: translateY(0);
  }

  .contact-links a {
    min-height: 52px;
    font-size: 13px;
  }

  .company-details {
    margin-top: 22px;
  }

  .legal {
    width: min(100% - 20px, 920px);
    padding-top: 82px;
    padding-bottom: 130px;
  }

  .legal article {
    padding: 24px 17px;
    border-radius: 20px;
  }

  .legal h1 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .legal-section {
    margin-top: 26px;
    padding-top: 26px;
  }

  .legal-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-nav a {
    text-align: center;
  }

  .legal-details,
  .legal-cards > div {
    padding: 14px;
  }

  .cookie-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
    grid-template-columns: 1fr;
    gap: 11px;
    width: auto;
    padding: 14px;
    border-radius: 18px;
  }

  .cookie-banner button {
    width: 100%;
  }
}

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