:root {
  color-scheme: light;
  --ink: #12211c;
  --muted: #53645e;
  --mist: #eef5f2;
  --paper: #fbfaf4;
  --line: rgba(18, 33, 28, 0.14);
  --pine: #123f34;
  --pine-2: #0a2a24;
  --aqua: #47c7b2;
  --river: #2f7f9d;
  --ember: #e15d38;
  --gold: #f0be54;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(13, 31, 27, 0.18);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(110deg, rgba(71, 199, 178, 0.16), transparent 34%),
    linear-gradient(180deg, #f7fbf8 0%, #eef5f2 52%, #fff9ec 100%);
  font-family: var(--font-display);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(18, 33, 28, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 33, 28, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header,
main,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.site-header.compact {
  width: min(920px, calc(100% - 40px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(18, 63, 52, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 9px 12px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(18, 63, 52, 0.08);
  outline: none;
}

.nav-cta {
  color: var(--white);
  background: var(--pine);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--pine-2);
}

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

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.9rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.9;
}

h2 {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.12;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: var(--white);
  background: var(--ember);
  box-shadow: 0 14px 28px rgba(225, 93, 56, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #c94d2d;
  box-shadow: 0 18px 32px rgba(225, 93, 56, 0.28);
}

.button.ghost {
  border-color: var(--line);
  color: var(--pine);
  background: rgba(255, 255, 255, 0.72);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: rgba(18, 63, 52, 0.28);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(13, 31, 27, 0.08);
}

.microcopy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 52, 0.12);
  border-radius: 8px;
  background: var(--pine);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 46%, rgba(10, 42, 36, 0.72)),
    linear-gradient(90deg, rgba(10, 42, 36, 0.18), transparent 44%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.live-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  width: min(320px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 18px;
  color: var(--white);
  background: rgba(8, 30, 26, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(3, 13, 11, 0.32);
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #cff8ed;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 6px rgba(71, 199, 178, 0.15);
}

.live-panel dl {
  margin: 0;
}

.live-panel div:not(.panel-status) {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 0;
}

.live-panel div:last-child {
  padding-bottom: 0;
}

.live-panel dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.live-panel dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 42px rgba(13, 31, 27, 0.08);
}

.signal-strip div {
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.signal-strip strong {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.9;
}

.signal-strip span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  padding: 96px 0;
}

.text-stack p,
.board-copy p,
.options-hero p,
.message-shell p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
  padding: 56px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(71, 199, 178, 0.18), transparent 36%),
    linear-gradient(135deg, var(--pine), var(--pine-2));
  box-shadow: var(--shadow);
}

.feature-band .eyebrow {
  color: var(--gold);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.feature-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--aqua);
  font-weight: 800;
}

.feature-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.leaderboard-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 42px;
  align-items: center;
  padding: 96px 0;
}

.board {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.board li {
  min-height: 84px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(13, 31, 27, 0.08);
}

.board span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--pine);
  background: #dff6ef;
  font-weight: 800;
}

.board strong {
  font-size: 1.1rem;
}

.board em {
  color: var(--ember);
  font-style: normal;
  font-weight: 800;
}

.final-cta {
  margin-bottom: 80px;
  padding: 52px;
  border: 1px solid rgba(18, 63, 52, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(240, 190, 84, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 54px rgba(13, 31, 27, 0.08);
}

.final-cta h2 {
  max-width: 820px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 0 38px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.survey-body {
  background:
    radial-gradient(circle at top left, rgba(225, 93, 56, 0.12), transparent 26rem),
    linear-gradient(180deg, #f7fbf8 0%, #eff6f2 100%);
}

.survey-shell {
  width: min(920px, calc(100% - 40px));
  padding: 28px 0 70px;
}

.survey-intro {
  margin-bottom: 26px;
}

.survey-intro h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 7vw, 5rem);
  line-height: 0.96;
}

.survey-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.survey-form {
  display: grid;
  gap: 18px;
}

.botcheck {
  display: none;
}

.survey-progress {
  display: grid;
  gap: 10px;
}

.step-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.survey-progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 33, 28, 0.1);
}

.survey-progress-fill {
  width: 20%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--ember));
  transition: width 220ms ease;
}

.survey-form fieldset {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(13, 31, 27, 0.1);
}

.survey-form legend {
  margin-bottom: 16px;
  padding: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 650;
  line-height: 1.06;
}

.survey-form label {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(18, 33, 28, 0.11);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.survey-form label:has(input:checked) {
  border-color: rgba(225, 93, 56, 0.54);
  background: #fff1e9;
}

.survey-form input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--ember);
}

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

.survey-nav .button {
  min-width: 180px;
  cursor: pointer;
}

.survey-submit[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.survey-error {
  margin: 0;
  border: 1px solid rgba(225, 93, 56, 0.3);
  border-radius: 8px;
  padding: 12px 14px;
  color: #aa3d23;
  background: rgba(225, 93, 56, 0.1);
  font-weight: 800;
}

.survey-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.survey-disclaimer a {
  color: var(--pine);
  font-weight: 800;
}

.options-shell {
  padding-bottom: 80px;
}

.options-hero {
  max-width: 820px;
  padding: 56px 0 32px;
}

.options-hero h1 {
  font-size: clamp(2.7rem, 7vw, 6rem);
}

.option-grid {
  display: grid;
  gap: 22px;
}

.option-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(280px, 0.98fr);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(13, 31, 27, 0.08);
}

.mini-site {
  min-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  padding: 18px;
}

.mini-nav {
  width: 42%;
  height: 18px;
  border-radius: 999px;
  margin-bottom: 52px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-hero {
  display: grid;
  gap: 12px;
  max-width: 380px;
}

.mini-hero span {
  width: 86px;
  height: 12px;
  border-radius: 999px;
  background: currentColor;
}

.mini-hero strong {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.92;
}

.mini-hero em {
  max-width: 320px;
  font-style: normal;
  font-weight: 800;
  opacity: 0.76;
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 42px;
}

.mini-bars i {
  height: 56px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.32);
}

.option-a .mini-site {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(71, 199, 178, 0.22), transparent 36%),
    linear-gradient(135deg, #123f34, #0a2a24);
}

.option-b .mini-site {
  color: #352411;
  background:
    linear-gradient(120deg, rgba(62, 124, 102, 0.24), transparent 42%),
    #f4dfae;
}

.option-b .mini-nav,
.option-b .mini-bars i {
  background: rgba(79, 55, 27, 0.16);
}

.option-c .mini-site {
  color: #fff8e5;
  background:
    linear-gradient(115deg, rgba(225, 93, 56, 0.92) 0 34%, transparent 34%),
    linear-gradient(135deg, #151716, #30352e);
}

.option-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--ember);
  font-weight: 800;
  text-transform: uppercase;
}

.option-copy p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.58;
}

.simple-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.message-shell {
  width: min(760px, calc(100% - 40px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 6vw, 56px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.message-shell h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
}

.message-shell.policy {
  margin: 48px auto;
}

.policy h2 {
  margin-top: 32px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.policy-date {
  font-weight: 800;
}

@media (max-width: 840px) {
  .site-header,
  main,
  .site-footer,
  .site-header.compact,
  .survey-shell {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  nav a {
    white-space: nowrap;
  }

  .hero,
  .section-grid,
  .feature-band,
  .leaderboard-preview,
  .option-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding-top: 12px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .leaderboard-preview {
    padding: 64px 0;
  }

  .feature-band,
  .final-cta {
    padding: 28px;
  }

  .board li {
    grid-template-columns: 42px 1fr;
  }

  .board em {
    grid-column: 2;
  }

  .survey-form fieldset {
    padding: 18px 14px;
  }

  .survey-nav {
    flex-direction: column-reverse;
  }

  .survey-nav .button,
  .hero-actions .button {
    width: 100%;
  }

  .option-card {
    padding: 14px;
  }

  .mini-site {
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .brand span {
    font-size: 1rem;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  .live-panel {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .final-cta {
    margin-bottom: 52px;
  }
}
