:root {
  --bg: #F6F2EA;
  --surface: #FFFCF7;
  --acento: #4D7C8A;
  --acento-hover: #3F6975;
  --acento-suave: #D9E8E5;
  --alerta: #D89C45;
  --pre-alerta: #C97B3A;
  --crise: #B85C5C;
  --colapso: #8E3B46;
  --texto: #1F2933;
  --texto-suave: #667085;
  --borda: rgba(31, 41, 51, 0.12);
  --borda-hover: rgba(31, 41, 51, 0.24);
  --sombra-sm: 0 2px 12px rgba(31, 41, 51, 0.08);
  --sombra-md: 0 8px 32px rgba(31, 41, 51, 0.12);
  --sombra-lg: 0 20px 60px rgba(31, 41, 51, 0.16);
  --serif: 'Lora', Georgia, serif;
  --sans: 'Nunito Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 50px;
  --category-color: var(--acento);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 232, 229, 0.9), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0%, #f2eadf 100%);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  color: var(--texto-suave);
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.35rem;
}

:focus-visible {
  outline: 3px solid rgba(77, 124, 138, 0.35);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-140%);
  background: var(--texto);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  z-index: 1000;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4.75rem 0;
}

.section-alt {
  background: rgba(255, 252, 247, 0.46);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head h2,
.cta-card h2 {
  color: var(--texto);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.section-head p,
.cta-card p {
  font-size: 1.05rem;
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(77, 124, 138, 0.18);
  background: rgba(217, 232, 229, 0.72);
  color: var(--acento-hover);
  border-radius: var(--r-2xl);
  padding: 0.38rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.25rem;
  border-radius: var(--r-2xl);
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--acento);
  color: #fff;
  box-shadow: 0 10px 30px rgba(77, 124, 138, 0.22);
}

.btn-primary:hover {
  background: var(--acento-hover);
  box-shadow: var(--sombra-md);
}

.btn-ghost {
  background: transparent;
  border-color: var(--borda-hover);
  color: var(--texto);
}

.btn-ghost:hover {
  border-color: var(--category-color);
  color: var(--category-color);
  background: rgba(255, 252, 247, 0.5);
}

.btn-soft {
  background: rgba(217, 232, 229, 0.72);
  color: var(--acento-hover);
  border-color: rgba(77, 124, 138, 0.1);
}

.btn-soft:hover {
  background: var(--acento);
  color: #fff;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(246, 242, 234, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31, 41, 51, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--sombra-sm);
  background: rgba(246, 242, 234, 0.94);
}

.header-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--texto);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: var(--sombra-sm);
}

.desktop-nav,
.header-cta {
  display: none;
}

.desktop-nav {
  align-items: center;
  gap: 1.35rem;
  color: var(--texto-suave);
  font-size: 0.94rem;
  font-weight: 800;
}

.desktop-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--acento-hover);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 99px;
  background: var(--acento);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 50%;
  border: 1px solid var(--borda);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--texto);
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0.5rem;
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  border-top: 1px solid transparent;
  transition: max-height 0.28s ease, padding 0.28s ease, border-color 0.28s ease;
}

.mobile-nav.open {
  max-height: 440px;
  padding: 0.85rem 1rem 1.25rem;
  border-color: var(--borda);
}

.mobile-nav a:not(.btn) {
  padding: 0.85rem 0;
  color: var(--texto);
  font-weight: 800;
  border-bottom: 1px solid var(--borda);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 5rem auto auto 50%;
  width: min(60rem, 100vw);
  height: min(60rem, 100vw);
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(90deg, rgba(77, 124, 138, 0.08) 0 1px, transparent 1px 70px),
    repeating-linear-gradient(0deg, rgba(77, 124, 138, 0.05) 0 1px, transparent 1px 70px);
  mask-image: radial-gradient(circle, #000 0%, transparent 67%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  opacity: 0.76;
  pointer-events: none;
}

.hero-orb-one {
  width: 16rem;
  height: 16rem;
  left: -5rem;
  top: 10rem;
  background: rgba(217, 232, 229, 0.78);
}

.hero-orb-two {
  width: 14rem;
  height: 14rem;
  right: -4rem;
  bottom: 4rem;
  background: rgba(216, 156, 69, 0.18);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 1rem;
  color: var(--texto);
  font-family: var(--serif);
  font-size: clamp(2.55rem, 9vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 660px;
  margin: 0 auto 1.55rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-actions .btn {
  width: min(100%, 270px);
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
  color: var(--texto-suave);
  font-size: 0.94rem;
  font-weight: 700;
}

.scale-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid var(--borda);
  border-radius: var(--r-xl);
  box-shadow: var(--sombra-lg);
  padding: 1.25rem;
}

.scale-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--acento), var(--alerta), var(--crise), var(--colapso));
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.panel-top strong {
  font-family: var(--mono);
  color: var(--texto);
}

.panel-kicker {
  color: var(--texto-suave);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.scale-list {
  display: grid;
  gap: 0.75rem;
}

.scale-list div {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--borda);
  background: rgba(246, 242, 234, 0.62);
  border-radius: var(--r-lg);
  padding: 0.8rem;
}

.scale-list span,
.guide-card span {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acento-suave);
  color: var(--acento-hover);
  font-family: var(--mono);
  font-weight: 900;
}

.scale-list p {
  margin: 0;
  color: var(--texto);
  font-weight: 800;
}

.mini-thermo {
  margin: 1.25rem 0 0.85rem;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--acento) 0 22%, var(--alerta) 22% 44%, var(--pre-alerta) 44% 62%, var(--crise) 62% 82%, var(--colapso) 82% 100%);
  box-shadow: inset 0 0 0 1px rgba(31, 41, 51, 0.12);
}

.panel-foot {
  margin: 0;
  font-size: 0.94rem;
}

.score-guide {
  display: grid;
  gap: 1rem;
}

.guide-card,
.notice,
.question-card,
.protocol-card,
.summary-table-wrap,
.cta-card {
  background: rgba(255, 252, 247, 0.86);
  border: 1px solid var(--borda);
  border-radius: var(--r-xl);
  box-shadow: var(--sombra-sm);
}

.guide-card {
  padding: 1.25rem;
}

.guide-card h3 {
  margin: 1rem 0 0.25rem;
  color: var(--texto);
  font-size: 1.1rem;
}

.guide-card p {
  margin: 0;
}

.notice {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 1.1rem;
  border-left: 5px solid var(--acento);
}

.notice strong {
  color: var(--texto);
}

.notice p {
  margin: 0;
}

.assessment-layout {
  display: grid;
  gap: 1.25rem;
}

.questions-wrap {
  display: grid;
  gap: 1rem;
}

.question-card {
  position: relative;
  overflow: hidden;
  padding: 1.1rem;
}

.question-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--acento-suave);
}

.question-card.has-answer::before {
  background: var(--category-color);
}

.question-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 1rem;
}

.question-number {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--texto);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 900;
}

.question-title {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.25;
}

.question-title small {
  display: block;
  margin-top: 0.15rem;
  color: var(--texto-suave);
  font-size: 0.88rem;
  font-weight: 800;
}

.question-example {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.85rem;
  border-radius: var(--r-md);
  background: rgba(217, 232, 229, 0.42);
  color: var(--texto-suave);
  font-size: 0.95rem;
}

.question-card fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.question-card legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.option-grid {
  display: grid;
  gap: 0.65rem;
}

.option-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border: 1.5px solid var(--borda);
  border-radius: var(--r-lg);
  background: rgba(246, 242, 234, 0.46);
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.option-card:hover {
  transform: translateY(-1px);
  border-color: var(--borda-hover);
  box-shadow: var(--sombra-sm);
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-number {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--borda);
  color: var(--texto);
  font-family: var(--mono);
  font-weight: 900;
}

.option-text {
  color: var(--texto);
  font-weight: 700;
  line-height: 1.42;
}

.option-card.selected {
  border-color: var(--category-color);
  background: rgba(217, 232, 229, 0.62);
  box-shadow: 0 10px 28px rgba(31, 41, 51, 0.08);
}

.option-card.selected .option-number {
  background: var(--category-color);
  color: #fff;
  border-color: var(--category-color);
}

.result-card {
  position: sticky;
  top: 88px;
  align-self: start;
  border-radius: var(--r-xl);
  border: 1px solid var(--borda);
  background: rgba(255, 252, 247, 0.9);
  box-shadow: var(--sombra-lg);
  overflow: hidden;
}

.result-card::before {
  content: '';
  display: block;
  height: 6px;
  background: var(--category-color);
}

.result-card-inner {
  padding: 1.15rem;
}

.score-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.score-number {
  color: var(--texto);
  font-family: var(--mono);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
}

.score-max {
  color: var(--texto-suave);
  font-family: var(--mono);
  font-weight: 900;
}

.status-pill {
  display: inline-flex;
  border-radius: var(--r-2xl);
  background: rgba(217, 232, 229, 0.62);
  color: var(--acento-hover);
  padding: 0.42rem 0.62rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
}

.score-progress {
  margin: 0 0 1.25rem;
}

.score-progress-track {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(77, 124, 138, 0.2), rgba(216, 156, 69, 0.22), rgba(184, 92, 92, 0.22), rgba(142, 59, 70, 0.24));
  box-shadow: inset 0 0 0 1px rgba(31, 41, 51, 0.12);
}

.score-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--category-color);
  transition: width 0.28s ease, background 0.28s ease;
}

.score-marker {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--category-color);
  box-shadow: var(--sombra-sm);
  transition: left 0.28s ease, border-color 0.28s ease;
}

.score-marker span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--category-color);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  color: var(--texto-suave);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
}

.result-card h3 {
  margin-bottom: 0.35rem;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.result-state,
.result-message {
  margin-bottom: 0.65rem;
}

.result-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--borda);
}

.result-detail h4 {
  margin: 0.8rem 0 0.35rem;
  color: var(--texto);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-detail ul {
  color: var(--texto-suave);
}

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

.result-actions .btn {
  width: 100%;
}

.protocol-grid {
  display: grid;
  gap: 1rem;
}

.protocol-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.protocol-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--protocol-color, var(--acento));
}

.protocol-card.active {
  border-color: var(--protocol-color, var(--acento));
  box-shadow: var(--sombra-lg);
  transform: translateY(-3px);
}

.protocol-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.protocol-range,
.protocol-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-2xl);
  background: rgba(217, 232, 229, 0.58);
  color: var(--texto);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
}

.protocol-range {
  padding: 0.38rem 0.7rem;
}

.protocol-icon {
  width: 2.35rem;
  height: 2.35rem;
  color: #fff;
  background: var(--protocol-color, var(--acento));
}

.protocol-title {
  margin-bottom: 0.1rem;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.protocol-subtitle {
  margin-bottom: 1rem;
  color: var(--texto-suave);
  font-family: var(--mono);
  font-size: 0.77rem;
  font-weight: 900;
}

.protocol-section {
  margin-top: 1rem;
}

.protocol-section h4 {
  margin-bottom: 0.35rem;
  color: var(--texto);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.protocol-section ul {
  color: var(--texto-suave);
}

.summary-table-wrap {
  overflow-x: auto;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.summary-table th,
.summary-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--borda);
  text-align: left;
  vertical-align: top;
}

.summary-table th {
  color: var(--texto);
  background: rgba(217, 232, 229, 0.44);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-table td:first-child,
.summary-table td:nth-child(2) {
  color: var(--texto);
  font-weight: 900;
}

.summary-table td:first-child {
  font-family: var(--mono);
}

.cta-section {
  padding-top: 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  text-align: center;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(77, 124, 138, 0.12), transparent 22rem),
    radial-gradient(circle at bottom right, rgba(216, 156, 69, 0.12), transparent 20rem);
  pointer-events: none;
}

.cta-card > * {
  position: relative;
}

.cta-card .eyebrow,
.center-actions {
  margin-inline: auto;
}

.cta-card p {
  margin: 0 auto 1.5rem;
}

.site-footer {
  padding: 2.5rem 0;
  background: var(--texto);
  color: #fff;
}

.site-footer p,
.site-footer small,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  margin-bottom: 0.85rem;
  color: #fff;
}

.footer-grid nav {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.footer-grid nav a {
  width: fit-content;
  font-weight: 800;
}

.footer-grid nav a:hover {
  color: #fff;
}

.footer-note p {
  margin-bottom: 0.65rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 200;
  width: min(calc(100% - 2rem), 440px);
  padding: 0.9rem 1rem;
  border-radius: var(--r-lg);
  background: var(--texto);
  color: #fff;
  box-shadow: var(--sombra-lg);
  text-align: center;
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (min-width: 560px) {
  .score-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .hero-content {
    text-align: left;
  }

  .hero h1,
  .hero p {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.66fr);
  }

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

  .assessment-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    align-items: start;
  }

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

  .protocol-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .desktop-nav,
  .header-cta {
    display: inline-flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none;
  }

  .hero {
    padding-top: 7rem;
  }

  .question-card {
    padding: 1.35rem;
  }

  .result-card-inner {
    padding: 1.35rem;
  }
}

@media (min-width: 1280px) {
  .container {
    width: min(1180px, calc(100% - 2rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
