:root {
  color-scheme: light;
  --ink: #172019;
  --muted: #5d6a62;
  --line: rgba(23, 32, 25, 0.14);
  --leaf: #1f8a55;
  --leaf-dark: #12613a;
  --sun: #ffb84d;
  --pink: #e962a5;
  --sky: #dff7ff;
  --cream: #fffdf6;
  --panel: rgba(255, 255, 255, 0.78);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f6fff8;
}

button,
a {
  font: inherit;
}

.hero {
  min-height: 86vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(26px, 5vw, 76px);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("/assets/unicorn-vegan-hero.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 38%, rgba(255,255,255,0.2) 100%),
    linear-gradient(0deg, rgba(246,255,248,0.96) 0%, rgba(246,255,248,0) 35%);
}

.hero-copy {
  max-width: 670px;
  padding-top: 3vh;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.language-switcher button {
  min-width: 44px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.language-switcher button.active {
  background: var(--leaf);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--leaf-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--leaf);
  color: white;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(31, 138, 85, 0.25);
}

.button.ghost {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(10px);
}

.hero-card {
  position: absolute;
  right: clamp(20px, 5vw, 74px);
  bottom: clamp(20px, 5vw, 58px);
  width: min(360px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 50px rgba(23, 32, 25, 0.16);
}

.hero-card strong,
.hero-card span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(255,255,255,0.82);
  text-align: center;
  font-weight: 850;
}

.hero-card strong {
  grid-column: 1 / -1;
  color: var(--leaf-dark);
  font-size: 22px;
}

.quiz-band,
.content-band {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 76px);
}

.quiz-band {
  background: linear-gradient(180deg, #f6fff8 0%, #effbf5 100%);
}

.quiz-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(23, 32, 25, 0.1);
}

.quiz-top {
  display: grid;
  gap: 12px;
  margin-bottom: 10px;
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9eee2;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--leaf), var(--pink), var(--sun));
  transition: width 260ms ease;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hint {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.answers {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.answer {
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
}

.answer:hover {
  border-color: rgba(31, 138, 85, 0.5);
  background: #f7fff9;
}

.result {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(31, 138, 85, 0.24);
  border-radius: 8px;
  background: #f4fff8;
}

.hidden { display: none; }

.content-band {
  background: var(--cream);
}

.section-head {
  max-width: 920px;
  margin-bottom: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

article span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  margin: 10px 0;
  font-size: 22px;
  letter-spacing: 0;
}

article p,
.result p {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .hero {
    min-height: 92vh;
    align-items: flex-start;
    padding-top: 42px;
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 30px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
