:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #152019;
  background: #f7f0df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(241, 79, 65, 0.18), transparent 34rem),
    linear-gradient(135deg, #f8f0df 0%, #e8f2d7 58%, #faf1e8 100%);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 28px;
  align-items: center;
}

.hero-copy,
.panel {
  border: 2px solid #16271b;
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.88);
  box-shadow: 8px 8px 0 #16271b;
}

.hero-copy {
  padding: clamp(28px, 5vw, 54px);
}

.eyebrow {
  margin: 0 0 10px;
  color: #d8362d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 12vw, 8.8rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 560px;
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.45;
}

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

.actions {
  margin-top: 30px;
}

.primary,
.secondary,
.name-row button,
.next,
.result-card button {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
}

.primary,
.name-row button,
.next,
.result-card button {
  background: #1d7f3a;
  color: #fffdf4;
}

.secondary {
  background: #f04d3f;
  color: #fffdf4;
}

.video-panel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid #16271b;
  border-radius: 8px;
  background: #16271b;
  box-shadow: 8px 8px 0 #16271b;
}

.video-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.panel {
  margin-top: 30px;
  padding: clamp(22px, 4vw, 38px);
}

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.is-hidden {
  display: none !important;
}

.name-form {
  margin-top: 24px;
}

.name-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.name-row input {
  min-width: min(100%, 320px);
  flex: 1;
  min-height: 48px;
  border: 2px solid #16271b;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
}

.quiz-card,
.result-card,
.text-guide {
  margin-top: 24px;
  border: 2px solid #16271b;
  border-radius: 8px;
  padding: 22px;
  background: #fffdf4;
}

.quiz-progress {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: #47624d;
  font-weight: 900;
}

.quiz-card h3,
.result-card h3,
.text-guide h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.08;
}

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

.answer {
  width: 100%;
  min-height: 48px;
  border: 2px solid #16271b;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f8f0df;
  color: #152019;
  text-align: left;
  font-weight: 800;
}

.answer.correct {
  background: #a8d66d;
}

.answer.wrong {
  background: #ff8f82;
}

.feedback {
  min-height: 26px;
  margin: 16px 0 0;
  font-weight: 900;
}

.next {
  margin-top: 12px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.guide-grid article {
  min-height: 230px;
  border: 2px solid #16271b;
  border-radius: 8px;
  padding: 18px;
  background: #fffdf4;
}

.guide-grid span {
  color: #d8362d;
  font-size: 0.82rem;
  font-weight: 900;
}

.guide-grid h3 {
  margin: 22px 0 10px;
  font-size: 1.28rem;
}

.guide-grid p,
.text-guide p {
  margin: 0;
  line-height: 1.5;
}

.text-guide a {
  display: inline-flex;
  margin-top: 18px;
  color: #1d7f3a;
  font-weight: 900;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 14px;
  }

  .hero-copy {
    order: 2;
  }

  .video-panel {
    order: 1;
  }

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

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .hero-copy,
  .panel,
  .video-panel {
    box-shadow: 5px 5px 0 #16271b;
  }

  .actions button,
  .name-row button {
    width: 100%;
  }

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