:root {
  --navy: #102638;
  --ink: #17242e;
  --muted: #5b6973;
  --green: #2f8a6b;
  --mint: #dff3ea;
  --amber: #d99b42;
  --coral: #b85c4b;
  --paper: #f7f4ee;
  --white: #ffffff;
  --line: #d8ddd7;
  --shadow: 0 24px 70px rgba(16, 38, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.lead-banner {
  position: fixed;
  z-index: 11;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding: 8px 20px;
  color: var(--navy);
  background: var(--mint);
  border-bottom: 1px solid rgba(16, 38, 56, 0.12);
  font-size: 0.88rem;
  font-weight: 680;
  text-align: center;
}

.lead-banner a {
  color: var(--navy);
  font-weight: 840;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 38px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(16, 38, 56, 0.82), rgba(16, 38, 56, 0));
}

.site-header.page-header {
  color: var(--navy);
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.page-header .brand-mark {
  color: var(--navy);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .logo-leaf {
  fill: var(--green);
  stroke-width: 2.5;
}

.nav-links {
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 142px clamp(20px, 6vw, 86px) 88px;
  color: var(--white);
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 38, 56, 0.94) 0%, rgba(16, 38, 56, 0.76) 42%, rgba(16, 38, 56, 0.18) 100%),
    linear-gradient(180deg, rgba(16, 38, 56, 0.2), rgba(16, 38, 56, 0.65));
}

.hero-content {
  position: relative;
  width: min(860px, 52vw);
}

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

.hero .eyebrow {
  color: #aee2cd;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 4.25vw, 4.25rem);
  font-weight: 830;
  overflow-wrap: normal;
  word-break: normal;
}

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

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: var(--navy);
  background: var(--white);
}

.button.primary.dark-button {
  color: var(--white);
  background: var(--navy);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

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

.trust-strip div {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px clamp(20px, 4vw, 56px);
  background: var(--white);
}

.metric {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 820;
}

.trust-strip span:last-child {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 86px);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-intro.compact {
  max-width: 640px;
}

.section-intro p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.scorecard-section,
.value-section {
  background: var(--white);
}

.scorecard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 28px;
  align-items: stretch;
}

.score-controls,
.score-result,
.checklist-grid article,
.value-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.score-controls {
  display: grid;
  gap: 0;
  padding: 8px;
}

.range-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 280px) 44px;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 720;
}

.range-row:last-child {
  border-bottom: 0;
}

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

output {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  border-radius: 6px;
  background: var(--navy);
  font-weight: 820;
}

.score-result {
  padding: 26px;
  background: var(--navy);
  color: var(--white);
}

.score-label {
  color: #aee2cd;
  font-weight: 760;
}

#alignmentScore {
  display: block;
  margin-top: 10px;
  font-size: clamp(3.4rem, 7vw, 5rem);
  line-height: 1;
}

.score-bar {
  height: 12px;
  margin: 22px 0;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.score-bar span {
  display: block;
  width: 33%;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), #73c6a3);
}

dl {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

dt {
  color: rgba(255, 255, 255, 0.7);
}

dd {
  margin: 0;
  font-weight: 820;
}

#recommendation {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.score-disclaimer {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.checklist-section {
  background: linear-gradient(180deg, var(--paper), #edf5ef);
}

.checklist-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-grid {
  grid-template-columns: repeat(4, 1fr);
}

.checklist-grid article,
.value-grid article {
  padding: 24px;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--navy);
  font-weight: 820;
}

.checklist-grid p,
.value-grid p,
.roadmap p {
  color: var(--muted);
}

.roadmap-section {
  background: var(--navy);
  color: var(--white);
}

.roadmap-section .eyebrow {
  color: #aee2cd;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
}

.roadmap li {
  min-height: 250px;
  padding: 28px;
  background: var(--navy);
}

.roadmap span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--amber);
  font-weight: 860;
}

.roadmap p {
  color: rgba(255, 255, 255, 0.72);
}

.tag {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 820;
  text-transform: uppercase;
}

.benchmark-section {
  background: var(--paper);
}

.comparison {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.comparison-row span:last-child {
  border-right: 0;
}

.comparison-row.heading {
  color: var(--white);
  background: var(--navy);
  font-weight: 820;
}

.comparison-row:not(.heading) span:first-child,
.comparison-row:not(.heading) span:last-child {
  font-weight: 760;
}

.comparison-row:not(.heading) span:last-child {
  color: var(--green);
}

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: clamp(58px, 7vw, 92px) clamp(20px, 6vw, 86px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #1f5849 72%, #6e5a2f);
}

.contact-section h2 {
  max-width: 820px;
}

.contact-section .eyebrow {
  color: #bcebd8;
}

.report-page,
.hub-page {
  padding-top: 112px;
}

.report-hero {
  padding: clamp(82px, 10vw, 142px) clamp(20px, 6vw, 86px) clamp(54px, 7vw, 88px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 38, 56, 0.98), rgba(31, 88, 73, 0.92)),
    var(--navy);
}

.report-hero .eyebrow {
  color: #bcebd8;
}

.report-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 6vw, 6rem);
}

.report-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.75fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.app-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.app-preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--navy);
  border-bottom: 3px solid var(--green);
}

.app-preview-top span {
  font-weight: 820;
}

.app-preview-top button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--white);
  border: 0;
  border-radius: 6px;
  background: var(--green);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 780;
}

.app-preview-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
}

.app-preview aside,
.app-preview section {
  background: #fbfaf7;
}

.app-preview aside {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.preview-score {
  color: var(--navy);
  font-size: 3rem;
  line-height: 1;
  font-weight: 860;
}

.preview-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5de;
}

.preview-bar span {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--green));
}

.app-preview small {
  color: var(--muted);
  font-weight: 720;
}

.app-preview section {
  padding: 16px;
}

.app-preview nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.app-preview nav span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 760;
}

.app-preview nav .active {
  color: var(--green);
  border-color: rgba(47, 138, 107, 0.34);
  background: var(--mint);
}

.preview-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.preview-row b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  border-radius: 6px;
  background: var(--navy);
}

.method-app-shell {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 6vw, 86px);
  background: var(--paper);
}

.method-workbench-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
}

.method-workbench-header h2 {
  max-width: 760px;
}

.workbench-status {
  display: grid;
  gap: 3px;
  min-width: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.workbench-status span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.workbench-status strong {
  color: var(--navy);
}

.method-tabs {
  position: sticky;
  z-index: 4;
  top: 112px;
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 1px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(16, 38, 56, 0.12);
  overflow-x: auto;
}

.method-tab {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 780;
  text-align: left;
  cursor: pointer;
}

.method-tab span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--navy);
  border-radius: 6px;
  background: var(--paper);
  font-size: 0.76rem;
  font-weight: 860;
}

.method-tab:hover,
.method-tab:focus-visible {
  color: var(--navy);
  background: #f3f7f1;
  outline: 0;
}

.method-tab.is-active {
  color: var(--green);
  border-color: rgba(47, 138, 107, 0.3);
  background: var(--mint);
}

.method-tab.is-active span {
  color: var(--white);
  background: var(--green);
}

.method-panel-frame {
  margin-top: 18px;
}

.method-panel {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.method-panel[hidden] {
  display: none;
}

.method-panel.is-active {
  animation: panelFade 180ms ease-out;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--amber);
  font-weight: 860;
}

.method-panel h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.method-panel p {
  color: var(--muted);
}

.stat-grid,
.method-grid,
.band-table,
.hub-grid,
.module-grid,
.output-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.stat-grid div,
.method-grid article,
.band-table div,
.hub-grid article,
.news-list article,
.rubric-list article,
.module-grid article,
.output-flow article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.stat-grid div,
.band-table div {
  display: grid;
  gap: 4px;
  padding: 22px;
}

.stat-grid strong,
.band-table strong {
  color: var(--navy);
  font-size: 2rem;
}

.stat-grid span,
.band-table span {
  color: var(--muted);
}

.rubric-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.rubric-list article {
  display: grid;
  grid-template-columns: 52px minmax(160px, 0.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.rubric-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  border-radius: 6px;
  background: var(--green);
  font-weight: 860;
}

.method-grid article,
.hub-grid article,
.news-list article,
.module-grid article,
.output-flow article {
  padding: 24px;
}

.module-grid {
  grid-template-columns: repeat(4, 1fr);
}

.module-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--amber);
  font-weight: 860;
}

.module-grid p,
.output-flow p {
  color: var(--muted);
}

.data-schema {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.data-schema span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf7;
  color: var(--navy);
  font-weight: 760;
}

.output-flow {
  grid-template-columns: repeat(3, 1fr);
}

.app-roadmap li {
  margin-bottom: 12px;
}

.method-steps {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.band-table {
  grid-template-columns: repeat(4, 1fr);
}

.hub-section {
  background: var(--paper);
}

.feature-resource {
  color: var(--white);
  background: var(--navy) !important;
}

.feature-resource p {
  color: rgba(255, 255, 255, 0.76);
}

.feature-resource .tag {
  color: #bcebd8;
}

.news-section {
  background: var(--white);
}

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

.news-list article {
  display: grid;
  grid-template-columns: 150px minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.news-list time {
  color: var(--green);
  font-weight: 820;
}

.news-list p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    top: 38px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 98px;
  }

  .hero-content {
    width: min(680px, 100%);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(16, 38, 56, 0.95), rgba(16, 38, 56, 0.64));
  }

  .trust-strip,
  .scorecard-layout,
  .checklist-grid,
  .value-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .range-row {
    grid-template-columns: 1fr 42px;
  }

  .range-row input {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .comparison {
    overflow-x: auto;
  }

  .comparison-row {
    min-width: 720px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .lead-banner {
    position: absolute;
    flex-direction: column;
    gap: 2px;
  }

  .stat-grid,
  .method-grid,
  .band-table,
  .hub-grid,
  .app-hero,
  .module-grid,
  .output-flow,
  .data-schema {
    grid-template-columns: 1fr;
  }

  .app-preview-body {
    grid-template-columns: 1fr;
  }

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

  .method-tabs {
    position: static;
    grid-template-columns: repeat(6, minmax(150px, 1fr));
  }

  .rubric-list article,
  .news-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.85rem;
  }

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

  .hero {
    min-height: 88vh;
  }
}
