:root {
  --green-dark: #205C1C;
  --green-main: #458E2C;
  --green-light: #85BB39;
  --yellow: #FDE436;
  --bg: #F6FAF5;
  --card: #FFFFFF;
  --text: #102018;
  --muted: #5F6F64;
  --border: #DDEBDD;
  --shadow: 0 24px 70px rgba(16, 32, 24, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(253, 228, 54, 0.24), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(133, 187, 57, 0.2), transparent 26%),
    linear-gradient(135deg, #F9FCF8 0%, var(--bg) 55%, #EEF7ED 100%);
  min-height: 100vh;
}

button,
a {
  font-family: inherit;
}

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

.brand-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 10px 28px rgba(16, 32, 24, 0.06);
}

.brand-logo {
  display: block;
  width: 156px;
  height: auto;
}


.hero {
  padding: 18px 0 24px;
}

.hero-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  width: fit-content;
  background: rgba(253, 228, 54, 0.7);
  color: #334100;
  border: 1px solid rgba(32, 92, 28, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  margin: 0 0 18px;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  color: var(--green-dark);
}

.lead {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.24;
  font-weight: 750;
  color: #263b29;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions,
.result-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 850;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 12px 26px rgba(32, 92, 28, 0.22);
}

.btn-primary:hover {
  background: #184B16;
}

.btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  box-shadow: 0 10px 24px rgba(16, 32, 24, 0.08);
}

.hero-card,
.diagnostic-card,
.result-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(221, 235, 221, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 32px;
  min-height: 370px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -72px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(253, 228, 54, 0.42);
}

.score-orbit {
  width: 136px;
  height: 136px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3.3rem;
  font-weight: 900;
  position: relative;
  margin-bottom: 24px;
  box-shadow: 0 20px 40px rgba(32, 92, 28, 0.22);
}

.orbit-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
}

.dot-a {
  width: 18px;
  height: 18px;
  right: -8px;
  top: 24px;
}

.dot-b {
  width: 12px;
  height: 12px;
  left: 18px;
  bottom: -6px;
  background: var(--green-light);
}

.dot-c {
  width: 9px;
  height: 9px;
  right: 24px;
  bottom: 16px;
  background: #fff;
}

.hero-card h2 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.65;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mini-list span {
  border: 1px solid var(--border);
  background: #F7FBF6;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.83rem;
  font-weight: 750;
}

.diagnostic-card,
.result-card {
  margin: 34px auto 0;
  padding: clamp(22px, 4vw, 38px);
  max-width: 920px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.progress-label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.progress {
  height: 10px;
  width: 100%;
  border-radius: 999px;
  background: #E8F1E6;
  overflow: hidden;
}

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

.question-area {
  padding: 24px 0 10px;
}

.question-kicker {
  color: var(--green-main);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 10px;
}

.question-area h2,
.result-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.answers {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.answer {
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  color: var(--text);
  transition: border 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.answer:hover {
  border-color: rgba(69, 142, 44, 0.46);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(16, 32, 24, 0.07);
}

.answer.is-selected {
  border-color: var(--green-main);
  background: #F1F9EF;
  box-shadow: inset 0 0 0 1px var(--green-main);
}

.answer strong {
  display: block;
  color: var(--green-dark);
  margin-bottom: 5px;
}

.answer span {
  color: var(--muted);
  line-height: 1.55;
}

.nav-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.ghost-link {
  background: transparent;
  border: 0;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  font-weight: 750;
  padding: 0;
}

.result-card {
  text-align: center;
}

.result-badge {
  display: inline-flex;
  background: var(--yellow);
  color: #3D4300;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.result-copy {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-line;
}

.recommendation-box {
  margin: 24px auto 0;
  max-width: 780px;
  text-align: left;
  background: #F4FAF2;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.recommendation-box h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
}

.recommendation-box p {
  margin: 0;
  color: #314535;
  line-height: 1.7;
  white-space: pre-line;
}

.result-actions {
  justify-content: center;
}

.reset-bottom {
  display: inline-flex;
  margin-top: 22px;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 34px 0 0;
  font-size: 0.92rem;
}

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

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 0;
  }
}

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

  .hero-grid {
    margin-top: 30px;
  }

  .hero-actions,
  .result-actions,
  .nav-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .diagnostic-card,
  .result-card {
    border-radius: 22px;
    margin-top: 24px;
  }
}
