:root {
  --ink: #10232f;
  --muted: #5b6870;
  --paper: #f6f2ea;
  --surface: #ffffff;
  --line: rgba(16, 35, 47, 0.14);
  --teal: #2d8c7f;
  --gold: #f0b44c;
  --coral: #d86445;
  --green: #4d8b57;
  --violet: #6f5a9c;
  --shadow: 0 20px 60px rgba(16, 35, 47, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav a {
  color: var(--ink);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: conic-gradient(from 120deg, var(--gold), var(--teal), var(--ink), var(--gold));
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a:hover {
  background: rgba(16, 35, 47, 0.07);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(440px, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 64px clamp(24px, 6vw, 88px) 48px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 35, 47, 0.98), rgba(24, 61, 69, 0.94)),
    var(--ink);
  color: #fff;
}

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

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

.hero .eyebrow {
  color: #94d6cd;
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.16rem;
  line-height: 1.7;
}

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

.button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 780;
  cursor: pointer;
  text-decoration: none;
}

.button.primary {
  color: #172016;
  background: var(--gold);
}

.button.secondary {
  color: var(--ink);
  background: #e7ece8;
}

.button.ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
  max-width: 620px;
  margin: 56px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats dt {
  font-size: 1.8rem;
  font-weight: 850;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.orbit-one {
  inset: 58px 12px 40px 60px;
}

.orbit-two {
  inset: 120px 82px 110px 0;
  border-color: rgba(240, 180, 76, 0.28);
}

.pulse-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(52vw, 300px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.4), transparent 28%),
    linear-gradient(145deg, var(--teal), var(--gold));
  color: #10232f;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.signal-card {
  position: absolute;
  width: min(250px, 42vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.signal-card span {
  display: block;
  color: #94d6cd;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.signal-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.signal-card small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.card-a {
  top: 64px;
  right: 22px;
}

.card-b {
  bottom: 76px;
  left: 0;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.strip div {
  min-height: 170px;
  padding: 30px clamp(22px, 4vw, 44px);
  background: var(--surface);
}

.step-dot {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(45, 140, 127, 0.13);
  color: var(--teal);
  font-weight: 850;
}

.strip strong {
  display: block;
  font-size: 1.05rem;
}

.strip p {
  max-width: 320px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 88px clamp(22px, 6vw, 88px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-head p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.assessment {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
}

.question-group,
.planner,
.report-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.question-group {
  margin: 0;
  padding: 24px;
}

legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  font-size: 1.1rem;
  font-weight: 850;
}

legend span {
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

label {
  display: block;
}

.question-group label + label {
  margin-top: 24px;
}

label span {
  display: block;
  margin-bottom: 12px;
  color: #273946;
  font-weight: 680;
  line-height: 1.35;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 12px;
}

.range-value {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 50%;
  background: #edf5f3;
  color: var(--teal);
  font-weight: 850;
}

.report-section {
  background: #e8eee9;
}

.report-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
}

.report-summary {
  position: relative;
  min-height: 440px;
  padding: 36px;
  background: var(--ink);
  color: #fff;
}

.report-summary .eyebrow {
  color: #94d6cd;
}

.report-summary p:not(.eyebrow) {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.score-ring {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 12px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--gold);
  border-right-color: var(--teal);
  border-radius: 50%;
}

.score-ring span {
  font-size: 3rem;
  font-weight: 900;
}

.score-ring small {
  margin-top: -42px;
  color: rgba(255, 255, 255, 0.55);
}

.report-details {
  padding: 32px;
}

.bars {
  display: grid;
  gap: 16px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
}

.bar-track {
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: #e5e8e5;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.recommendation {
  margin-top: 28px;
  padding: 24px;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: #f7faf7;
}

.recommendation h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.recommendation p,
.recommendation li {
  color: var(--muted);
  line-height: 1.6;
}

.recommendation ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.planner {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 22px;
  padding: 28px;
}

.planner .wide,
.next-steps {
  grid-column: 1 / -1;
}

select,
input[type="text"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fbfaf7;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.pilot-plan {
  margin-top: 18px;
  padding: 20px;
  border-radius: 8px;
  background: #f6f7f3;
  color: var(--muted);
  line-height: 1.65;
}

.pilot-plan:empty {
  display: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 6vw, 88px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

@media (max-width: 920px) {
  .hero,
  .report-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    order: -1;
    min-height: 400px;
  }

  .strip,
  .assessment,
  .planner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 300px;
  }

  .signal-card {
    display: none;
  }

  .section {
    padding: 64px 18px;
  }

  .score-ring {
    position: static;
    margin-top: 32px;
  }

  .footer {
    flex-direction: column;
  }
}
