:root {
  --cream: #f8efe4;
  --cream-light: #fff9f1;
  --ivory: #fffdf8;
  --ink: #17120e;
  --muted: #75665b;
  --rose: #ef7d73;
  --rose-dark: #dc625a;
  --peach: #f7b5a5;
  --line: #e7c9bf;
  --shadow: 0 28px 70px rgb(116 82 65 / 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgb(236 226 214 / 0.54), transparent 34rem),
    linear-gradient(110deg, #f4ede4 0%, #f2e8dc 48%, #e8d3c7 100%);
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans", "Noto Sans Georgian", "Noto Sans Arabic", "Noto Sans Hebrew", Arial, sans-serif;
}

button,
select {
  font: inherit;
}

.quiz-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.quiz-layout {
  display: grid;
  flex: 1 0 auto;
  gap: 0;
  min-height: calc(100vh - 2rem);
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-panel {
  border-radius: 0;
  box-shadow: none;
  min-height: 24rem;
  margin: -1rem -1rem 0;
  overflow: visible;
  position: relative;
}

.hero-panel::after {
  background:
    linear-gradient(90deg, rgb(244 237 228 / 0.18), transparent 12%, transparent 67%, #f2e8dc 96%),
    linear-gradient(0deg, #f4ede4 0%, transparent 10%, transparent 86%, rgb(244 237 228 / 0.5));
  content: "";
  inset: -1px;
  pointer-events: none;
  position: absolute;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 44%;
  position: absolute;
  width: 100%;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 5%, #000 74%, transparent 100%),
    linear-gradient(0deg, transparent 0%, #000 4%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 5%, #000 74%, transparent 100%),
    linear-gradient(0deg, transparent 0%, #000 4%, #000 94%, transparent 100%);
  mask-composite: intersect;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgb(255 248 240 / 0), rgb(255 248 240 / 0.22)),
    linear-gradient(0deg, rgb(35 25 17 / 0.05), transparent 42%);
  inset: 0;
  position: absolute;
}

.content-panel {
  align-content: center;
  display: grid;
  gap: 1.15rem;
  position: relative;
}

.top-bar {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
  margin-inline: auto;
  max-width: 100%;
  width: 100%;
}

.language-picker {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--muted);
  display: inline-flex;
  gap: 0.7rem;
  justify-self: end;
  padding: 0;
  position: relative;
}

.language-icon {
  align-items: center;
  background: #fff6ee;
  border: 1px solid rgb(231 201 191 / 0.74);
  border-radius: 0.85rem;
  box-shadow: 0 12px 28px rgb(116 82 65 / 0.08);
  color: var(--rose-dark);
  display: inline-flex;
  flex: 0 0 2.7rem;
  height: 2.7rem;
  justify-content: center;
  width: 2.7rem;
}

.language-icon svg {
  height: 1.7rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 1.7rem;
}

.language-button {
  align-items: center;
  background: #fff6ee;
  border: 1px solid rgb(231 201 191 / 0.74);
  border-radius: 0.85rem;
  box-shadow: 0 12px 28px rgb(116 82 65 / 0.08);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  gap: 0.52rem;
  font-weight: 800;
  font-size: 1rem;
  min-height: 2.7rem;
  min-width: 10.8rem;
  padding: 0 0.75rem;
}

.language-button i {
  color: var(--rose-dark);
  font-size: 0.76rem;
  margin-inline-start: auto;
}

.language-menu {
  background: #fffaf4;
  border: 1px solid rgb(231 201 191 / 0.78);
  border-radius: 0.95rem;
  box-shadow: 0 18px 42px rgb(116 82 65 / 0.14);
  display: grid;
  gap: 0.18rem;
  inset-inline-end: 0;
  min-width: 13.9rem;
  padding: 0.35rem;
  position: absolute;
  top: calc(100% + 0.45rem);
  z-index: 10;
}

.language-menu button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.7rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  gap: 0.58rem;
  min-height: 2.45rem;
  padding: 0 0.65rem;
  text-align: start;
}

.language-menu button:hover,
.language-menu button[aria-selected="true"] {
  background: #fff0e9;
}

.flag {
  border-radius: 0.2rem;
  box-shadow: inset 0 0 0 1px rgb(90 64 52 / 0.14);
  display: inline-block;
  flex: 0 0 1.22rem;
  height: 0.9rem;
  overflow: hidden;
  width: 1.22rem;
}

.flag-image {
  background: #fff;
  object-fit: fill;
}

.quiz-card {
  background: rgb(255 253 248 / 0.92);
  border: 1px solid rgb(231 201 191 / 0.58);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: clamp(1.35rem, 4vw, 3.4rem);
}

.progress-wrap {
  background: rgb(255 253 248 / 0.74);
  border: 1px solid rgb(231 201 191 / 0.55);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgb(116 82 65 / 0.1);
  padding: 0.85rem 1rem;
}

.progress-meta {
  color: var(--muted);
  display: flex;
  font-size: 0.72rem;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.progress-track {
  background: #f1ddd5;
  border-radius: 999px;
  height: 0.45rem;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--peach), var(--rose));
  border-radius: inherit;
  height: 100%;
  transition: width 500ms ease;
  width: 0;
}

.eyebrow {
  color: var(--rose-dark);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.headline,
.question-title {
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans", "Noto Sans Georgian", "Noto Sans Arabic", "Noto Sans Hebrew", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0;
}

.headline {
  font-size: clamp(2.3rem, 8vw, 4.65rem);
  line-height: 1.03;
}

.question-title {
  font-size: clamp(1.55rem, 5vw, 2.7rem);
  line-height: 1.13;
}

.lead {
  color: #332821;
  font-size: clamp(1.06rem, 3vw, 1.42rem);
  line-height: 1.5;
  margin: 1.4rem 0 0;
  max-width: 40rem;
}

.mobile-start-photo {
  display: none;
}

.answer-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.answer-button {
  align-items: center;
  background: #fffaf4;
  border: 1px solid #ead4c9;
  border-radius: 1.15rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 4.25rem;
  padding: 1rem 1.1rem;
  text-align: start;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 180ms ease;
  width: 100%;
}

.answer-button:hover {
  background: #fff3ed;
  border-color: var(--rose);
  box-shadow: 0 14px 34px rgb(239 125 115 / 0.18);
  transform: translateY(-2px);
}

.answer-button:active {
  box-shadow: 0 8px 18px rgb(239 125 115 / 0.14);
  transform: translateY(0);
}

.answer-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.answer-icon {
  align-items: center;
  background: #f7ded6;
  border-radius: 999px;
  color: var(--rose-dark);
  display: flex;
  flex: 0 0 2.25rem;
  height: 2.25rem;
  justify-content: center;
  transition: background-color 220ms ease, color 220ms ease;
}

.answer-button:hover .answer-icon {
  background: var(--rose);
  color: white;
}

.primary-button,
.secondary-button {
  align-items: center;
  border: 0;
  border-radius: 0.55rem;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  gap: 0.65rem;
  justify-content: center;
  letter-spacing: 0.06em;
  min-height: 3.8rem;
  padding: 1rem 1.7rem;
  text-transform: uppercase;
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 180ms ease;
}

.primary-button {
  background: linear-gradient(180deg, #fb8d82, var(--rose));
  box-shadow: 0 20px 38px rgb(239 125 115 / 0.32);
  color: white;
}

.primary-button:hover {
  background: linear-gradient(180deg, #f77970, var(--rose-dark));
  box-shadow: 0 24px 46px rgb(239 125 115 / 0.38);
  transform: translateY(-2px);
}

.secondary-button {
  background: #fff3ed;
  color: var(--rose-dark);
}

.secondary-button:hover {
  background: #f9ddd4;
  transform: translateY(-2px);
}

.mt-7 {
  margin-top: 1.75rem;
}

.mt-8 {
  margin-top: 2rem;
}

.w-full {
  width: 100%;
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.messenger-button:focus-visible,
.order-copy-button:focus-visible,
.answer-button:focus-visible,
.field-group input:focus-visible,
.language-button:focus-visible,
.language-menu button:focus-visible {
  outline: 3px solid rgb(239 125 115 / 0.35);
  outline-offset: 3px;
}

.result-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.65rem;
}

.result-block {
  background: linear-gradient(180deg, #fffdf8, #fff6ee);
  border: 1px solid #ead4c9;
  border-radius: 1.15rem;
  box-shadow: 0 16px 36px rgb(116 82 65 / 0.08);
  padding: 1.1rem;
}

.result-block h3 {
  color: var(--rose-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.result-block p {
  color: #44372e;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  white-space: pre-line;
}

.result-copy {
  display: grid;
  gap: 0.75rem;
}

.result-actions {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
  margin-top: 1.8rem;
}

.order-main-button {
  max-width: 31rem;
}

.order-step {
  margin: 0 auto;
  max-width: 43rem;
}

.order-lead {
  color: #5d4a40;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 1rem 0 0;
}

.order-template {
  background: linear-gradient(180deg, #fffdf8, #fff6ee);
  border: 1px solid #ead4c9;
  border-radius: 1.15rem;
  box-shadow: 0 16px 36px rgb(116 82 65 / 0.08);
  margin-top: 1.45rem;
  padding: 1.1rem;
}

.order-template-head {
  align-items: center;
  margin-bottom: 0.7rem;
}

.order-template-head span {
  color: var(--rose-dark);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-template p {
  color: #44372e;
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.order-template-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
}

.order-buttons {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.messenger-button {
  align-items: center;
  border: 0;
  border-radius: 0.75rem;
  color: white;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  gap: 0.65rem;
  justify-content: center;
  min-height: 3.75rem;
  padding: 1rem 1.4rem;
  text-decoration: none;
  transition: box-shadow 220ms ease, transform 180ms ease, filter 220ms ease;
  width: 100%;
}

.messenger-button:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
}

.messenger-button i {
  font-size: 1.25rem;
}

.telegram-button {
  background: linear-gradient(180deg, #38a7e6, #2389c9);
  box-shadow: 0 18px 34px rgb(35 137 201 / 0.24);
}

.whatsapp-button {
  background: linear-gradient(180deg, #35d36f, #20a955);
  box-shadow: 0 18px 34px rgb(32 169 85 / 0.22);
}

.order-copy-button {
  align-items: center;
  background: #fff3ed;
  border: 0;
  border-radius: 999px;
  color: var(--rose-dark);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 850;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  text-transform: none;
  transition: background-color 220ms ease, transform 180ms ease;
}

.order-copy-button:hover {
  background: #f9ddd4;
  transform: translateY(-1px);
}

.order-back-button {
  margin-top: 1.25rem;
}

.loading-screen {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: clamp(24rem, 58vh, 36rem);
  padding: 1rem;
}

.loading-content {
  align-items: center;
  display: grid;
  justify-items: center;
  max-width: 34rem;
  text-align: center;
}

.loading-icon {
  animation: breatheIcon 1.8s ease-in-out infinite;
  display: block;
  filter: drop-shadow(0 18px 34px rgb(185 86 78 / 0.18));
  height: clamp(8rem, 28vw, 13rem);
  margin-bottom: 1.6rem;
  object-fit: contain;
  width: clamp(8rem, 28vw, 13rem);
}

.loading-content p {
  color: #5d4a40;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 750;
  line-height: 1.42;
  margin: 0;
  max-width: 31rem;
}

.contact-step {
  margin: 0 auto;
  max-width: 42rem;
}

.notice-step {
  align-items: center;
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: 40rem;
  text-align: center;
}

.notice-icon {
  align-items: center;
  background: #fff3ed;
  border: 1px solid #ead4c9;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgb(239 125 115 / 0.16);
  color: var(--rose-dark);
  display: flex;
  font-size: 1.5rem;
  height: 4.25rem;
  justify-content: center;
  margin-bottom: 1.35rem;
  width: 4.25rem;
}

.notice-step .contact-title span {
  color: var(--rose-dark);
  overflow-wrap: anywhere;
}

.contact-title {
  color: var(--ink);
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  font-weight: 650;
  line-height: 1.2;
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-group span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-group input {
  background: #fffaf4;
  border: 1px solid #ead4c9;
  border-radius: 1rem;
  color: var(--ink);
  min-height: 3.75rem;
  padding: 0 1rem;
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
  width: 100%;
}

.field-group input::placeholder {
  color: #a8968a;
}

.field-group input:focus {
  background: #fffdf8;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgb(239 125 115 / 0.14);
  outline: none;
}

.field-group input[aria-invalid="true"] {
  border-color: var(--rose-dark);
  box-shadow: 0 0 0 4px rgb(185 86 78 / 0.12);
}

.field-error {
  color: var(--rose-dark);
  display: none;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.field-error.is-visible {
  display: block;
}

.consent-field {
  display: grid;
  gap: 0.35rem;
}

.consent-check {
  align-items: flex-start;
  color: #5d4a40;
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  line-height: 1.45;
  padding: 0.1rem 0.15rem;
}

.consent-check input {
  accent-color: var(--rose);
  flex: 0 0 auto;
  height: 1.15rem;
  margin-top: 0.1rem;
  width: 1.15rem;
}

.consent-check span {
  font-size: 0.82rem;
  font-weight: 400;
}

.legal-note {
  color: #7c6b60;
  font-size: 0.76rem;
  line-height: 1.45;
  margin: -0.08rem 0 0 1.95rem;
}

.legal-note a,
.site-footer a,
.legal-footer a {
  color: #a58f82;
  font-weight: 400;
  text-decoration: none;
}

.legal-note a:hover,
.site-footer a:hover,
.legal-footer a:hover {
  text-decoration: underline;
}

.site-footer {
  align-items: center;
  color: #a58f82;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 0.45rem;
  justify-content: center;
  margin: auto auto 0;
  padding-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.footer-separator {
  color: rgb(165 143 130 / 0.62);
}

.legal-page {
  min-height: 100vh;
  padding: 1rem;
}

.legal-shell {
  margin: 0 auto;
  max-width: 58rem;
  padding: 1rem 0 2.5rem;
}

.legal-card {
  background: rgb(255 253 248 / 0.95);
  border: 1px solid rgb(231 201 191 / 0.74);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 3rem);
}

.legal-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.legal-home {
  color: var(--rose-dark);
  font-weight: 850;
  text-decoration: none;
}

.legal-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.legal-switcher button {
  background: #fff6ee;
  border: 1px solid rgb(231 201 191 / 0.8);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.45rem 0.72rem;
}

.legal-switcher button[aria-pressed="true"] {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.legal-content[hidden] {
  display: none;
}

.legal-content h1 {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.legal-content h2 {
  color: var(--rose-dark);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin: 2rem 0 0.6rem;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: #493b32;
  font-size: 1rem;
  line-height: 1.72;
}

.legal-content ul {
  margin: 0.4rem 0 0;
  padding-inline-start: 1.2rem;
}

.legal-muted {
  color: #7c6b60;
  font-size: 0.92rem;
}

.legal-footer {
  color: #8a786d;
  font-size: 0.84rem;
  margin-top: 1rem;
  text-align: center;
}

.fade-in {
  animation: fadeIn 420ms ease both;
}

.hidden {
  display: none;
}

.soft-line {
  border: 1px solid rgb(202 139 126 / 0.28);
  border-color: rgb(202 139 126 / 0.28) transparent transparent rgb(202 139 126 / 0.28);
  border-radius: 50%;
  height: 24rem;
  pointer-events: none;
  position: absolute;
  width: 34rem;
}

.line-one {
  right: -13rem;
  top: -12rem;
  transform: rotate(15deg);
}

.line-two {
  bottom: -15rem;
  right: 5%;
  transform: rotate(-18deg);
}

.line-three {
  height: 18rem;
  left: -9rem;
  top: 18%;
  transform: rotate(28deg);
  width: 25rem;
}

.line-four {
  bottom: 16%;
  height: 16rem;
  left: 44%;
  transform: rotate(9deg);
  width: 28rem;
}

.line-five {
  height: 14rem;
  right: 18%;
  top: 42%;
  transform: rotate(-34deg);
  width: 21rem;
}

[dir="rtl"] .answer-icon i,
[dir="rtl"] .primary-button i {
  transform: scaleX(-1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breatheIcon {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 759px) {
  .quiz-shell {
    padding: 0.85rem;
  }

  .quiz-layout {
    gap: 0.85rem;
    min-height: auto;
  }

  .quiz-shell.is-start {
    min-height: 100vh;
    padding: 0.85rem;
  }

  .quiz-shell.is-start .quiz-layout {
    align-content: start;
    gap: 0.75rem;
    grid-template-areas:
      "topbar"
      "content";
    min-height: calc(100vh - 1.7rem);
  }

  .hero-panel {
    min-height: clamp(15.5rem, 39vh, 21rem);
    margin: -0.85rem -0.85rem 0;
  }

  .quiz-shell.is-start .hero-panel {
    display: none;
  }

  .quiz-shell.is-start .hero-panel::after {
    background:
      linear-gradient(180deg, transparent 0%, rgb(248 239 228 / 0.06) 62%, rgb(248 239 228 / 0.34) 100%),
      linear-gradient(90deg, rgb(255 249 241 / 0.22), transparent 44%, rgb(255 249 241 / 0.18));
  }

  .hero-image {
    object-position: center 39%;
  }

  .quiz-shell.is-start .hero-image {
    object-position: center 31%;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
      linear-gradient(0deg, transparent 0%, #000 8%, #000 96%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
      linear-gradient(0deg, transparent 0%, #000 8%, #000 96%, transparent 100%);
  }

  .content-panel {
    align-content: start;
    gap: 0.85rem;
  }

  .quiz-shell.is-start .content-panel {
    align-content: start;
    display: contents;
    min-height: auto;
    padding: 0;
    position: relative;
    z-index: 2;
  }

  .top-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .quiz-shell.is-start .top-bar {
    grid-area: topbar;
    justify-self: stretch;
    order: -1;
    position: relative;
    width: 100%;
  }

  .language-picker {
    margin-inline-end: 0;
    justify-content: space-between;
    width: 100%;
  }

  .quiz-shell.is-start .language-picker {
    justify-self: stretch;
    width: 100%;
  }

  .language-icon {
    flex-basis: 2.7rem;
    height: 2.7rem;
    width: 2.7rem;
  }

  .language-button {
    flex: 1;
    min-height: 2.7rem;
  }

  .quiz-card {
    padding: clamp(1.25rem, 5vw, 1.8rem);
  }

  .quiz-shell.is-start .quiz-card {
    background: rgb(255 253 248 / 0.82);
    border-color: rgb(255 253 248 / 0.56);
    border-radius: 1.35rem;
    box-shadow: 0 18px 42px rgb(116 82 65 / 0.12);
    grid-area: content;
    margin-top: 0;
    padding: clamp(1.1rem, 5vw, 1.55rem);
  }

  .quiz-shell.is-start .mobile-start-photo {
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 18px 46px rgb(116 82 65 / 0.12);
    display: block;
    margin: 0.85rem auto 1rem;
    max-width: 16.5rem;
    overflow: hidden;
    position: relative;
    width: min(72vw, 16.5rem);
  }

  .quiz-shell.is-start .mobile-start-photo::after {
    background:
      linear-gradient(180deg, transparent 0%, rgb(248 239 228 / 0.06) 62%, rgb(248 239 228 / 0.34) 100%),
      linear-gradient(90deg, rgb(255 249 241 / 0.22), transparent 44%, rgb(255 249 241 / 0.18));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
  }

  .quiz-shell.is-start .mobile-start-photo img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center 31%;
    width: 100%;
  }

  .eyebrow {
    font-size: 0.72rem;
    margin-bottom: 0.65rem;
  }

  .headline {
    font-size: clamp(2.05rem, 12vw, 3.2rem);
    line-height: 1.02;
  }

  .quiz-shell.is-start .headline {
    max-width: 24rem;
    text-shadow: none;
  }

  .lead {
    font-size: 1.02rem;
    line-height: 1.42;
    margin-top: 1rem;
  }

  .quiz-shell.is-start .lead {
    max-width: 22rem;
    text-shadow: none;
  }

  .primary-button {
    min-height: 3.45rem;
  }

  .mt-8 {
    margin-top: 1.4rem;
  }
}

@media (min-width: 760px) {
  .quiz-shell {
    padding: 1.4rem;
  }

  .sm\:w-auto {
    width: auto;
  }

  .quiz-layout {
    grid-template-columns: minmax(20rem, 0.82fr) minmax(24rem, 1fr);
    min-height: calc(100vh - 2.8rem);
  }

  .quiz-shell.is-start .quiz-layout {
    min-height: calc(100vh - 2.8rem);
  }

  .hero-panel {
    margin: -1.4rem 0 -1.4rem -1.4rem;
  }

  .quiz-shell:not(.is-start) .quiz-layout {
    grid-template-columns: minmax(28rem, 52rem);
    justify-content: center;
  }

  .quiz-shell:not(.is-start) .hero-panel {
    display: none;
  }

  .quiz-card {
    border-radius: 2rem;
  }

  .content-panel {
    justify-self: center;
    padding: 1rem;
    width: min(100%, 52rem);
  }

  .language-picker {
    min-width: fit-content;
  }

  .language-icon {
    inset-inline-end: calc(100% + 0.7rem);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .top-bar,
  .progress-wrap,
  .quiz-card {
    width: 100%;
  }

  .top-bar {
    justify-self: stretch;
  }

  .quiz-shell.is-start .site-footer {
    bottom: 0.75rem;
    left: 50%;
    margin: 0;
    padding-top: 0;
    position: absolute;
    transform: translateX(-50%);
    width: max-content;
  }
}

@media (max-width: 759px) {
  .quiz-shell:not(.is-start) .hero-panel {
    display: none;
  }
}

@media (min-width: 1120px) {
  .quiz-layout {
    grid-template-columns: minmax(35rem, 0.98fr) minmax(34rem, 1fr);
  }

  .hero-panel {
    min-height: auto;
  }
}
