:root {
  --ink: #0a1420;
  --navy: #081827;
  --navy-2: #10263a;
  --steel: #667481;
  --muted: #74808b;
  --line: #dce4e2;
  --paper: #f5f6f1;
  --paper-2: #ebe7dc;
  --white: #ffffff;
  --gold: #c28a42;
  --gold-2: #f0b85f;
  --teal: #08776d;
  --teal-soft: #e3f2ef;
  --danger: #dc6539;
  --shadow: 0 24px 80px rgba(7, 21, 34, 0.2);
  --radius: 8px;
  --max: 1160px;
  --body-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono-font: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.48;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

::selection {
  background: rgba(194, 138, 66, 0.28);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono-font);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
}

.brand img {
  width: 136px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.header-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.header-nav a:hover {
  color: var(--white);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button {
  border: 0;
  padding: 0 18px;
}

.button-primary,
.button-submit {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 40px rgba(8, 119, 109, 0.24);
}

.button-primary:hover,
.button-submit:hover,
.header-cta:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.button-secondary {
  width: auto;
  background: var(--teal);
  color: var(--white);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button svg,
.header-cta svg {
  width: 18px;
  height: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(194, 138, 66, 0.2), transparent 26%),
    radial-gradient(circle at 8% 88%, rgba(8, 119, 109, 0.24), transparent 28%),
    linear-gradient(135deg, #06111d 0%, #0d2235 54%, #06111d 100%);
  color: var(--white);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.82), rgba(6, 17, 29, 0.55)),
    url("assets/hero-diagnostico-brado.jpg") 84% center / cover no-repeat;
  opacity: 0.24;
}

.hero-layout {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.82fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
  padding-top: 118px;
  padding-bottom: 70px;
}

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

.hero h1 {
  margin: 0;
  max-width: 13ch;
  font-family: var(--display-font);
  font-size: clamp(3.1rem, 6.1vw, 6.7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 750;
}

.trust-row svg {
  width: 15px;
  height: 15px;
  color: var(--gold-2);
}

.diagnostic-board {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    rgba(8, 24, 39, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.board-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.board-top span:first-child {
  color: var(--gold-2);
}

.board-top strong {
  display: block;
  margin-top: 5px;
  color: var(--white);
  font-size: 1.02rem;
}

.status-pill {
  border: 1px solid rgba(8, 119, 109, 0.5);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(8, 119, 109, 0.2);
  color: #8df0e1;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.matrix {
  display: grid;
  gap: 8px;
}

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: 0.62fr 1.45fr 0.72fr;
  gap: 10px;
  align-items: center;
}

.matrix-head {
  padding: 0 12px 4px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono-font);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.matrix-row {
  width: 100%;
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  text-align: left;
}

.matrix-row:hover {
  border-color: rgba(240, 184, 95, 0.58);
  background: rgba(194, 138, 66, 0.12);
}

.matrix-row strong {
  color: var(--gold-2);
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 900;
}

.matrix-row span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
}

.matrix-row em {
  color: #9eece2;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 850;
}

.board-footer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
}

.board-footer svg {
  width: 18px;
  height: 18px;
  color: var(--gold-2);
  flex: 0 0 auto;
}

.board-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.cred-strip {
  border-bottom: 1px solid rgba(10, 20, 32, 0.08);
  background: #101d2a;
  color: var(--white);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}

.cred-grid div {
  min-height: 88px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.035);
}

.cred-grid strong {
  display: block;
  color: var(--gold-2);
  font-family: var(--display-font);
  font-size: 1.35rem;
  font-weight: 900;
}

.cred-grid span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.results-section {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 104px) 0;
  background:
    linear-gradient(135deg, rgba(8, 119, 109, 0.16), transparent 48%),
    linear-gradient(180deg, #071522, #0f2233);
  color: var(--white);
}

.results-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.48;
}

.results-section .container {
  position: relative;
  z-index: 1;
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.62fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.results-copy {
  max-width: 760px;
}

.results-copy h2 {
  margin: 0;
  max-width: 11ch;
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 5.4vw, 5.7rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.results-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
}

.scan-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(7, 21, 34, 0.72);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.scan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scan-card-top .mono {
  color: var(--gold-2);
}

.scan-card-top strong {
  color: #9eece2;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.scan-body {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 22px;
}

.radar-orb {
  position: relative;
  width: 152px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(158, 236, 226, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(158, 236, 226, 0.24) 0 2px, transparent 3px),
    repeating-radial-gradient(circle at center, transparent 0 27px, rgba(158, 236, 226, 0.18) 28px 29px),
    conic-gradient(from 160deg, rgba(8, 119, 109, 0.1), rgba(240, 184, 95, 0.38), rgba(8, 119, 109, 0.1));
  box-shadow: inset 0 0 36px rgba(158, 236, 226, 0.16);
}

.radar-orb::before,
.radar-orb::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 50%;
  height: 2px;
  transform-origin: left center;
}

.radar-orb::before {
  background: rgba(158, 236, 226, 0.24);
}

.radar-orb::after {
  background: linear-gradient(90deg, rgba(240, 184, 95, 0.95), transparent);
  animation: radarSweep 4.2s linear infinite;
}

.radar-orb span {
  position: absolute;
  top: 31%;
  left: 64%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 7px rgba(240, 184, 95, 0.13);
}

.scan-readout {
  display: grid;
  gap: 10px;
}

.scan-readout div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
}

.scan-readout span {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scan-readout strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 0.95rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.result-grid article {
  min-height: 166px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.075);
}

.result-grid span {
  color: #9eece2;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--gold-2);
  font-family: var(--display-font);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 0.88;
}

.result-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

.symptoms-section,
.method-section,
.segments-section,
.flow-section,
.proof-section,
.knowledge-section,
.faq-section,
.final-cta {
  padding: clamp(60px, 8vw, 102px) 0;
}

.section-head {
  max-width: 800px;
  margin-bottom: 34px;
}

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

.section-head h2,
.method-copy h2,
.flow-layout h2,
.proof-layout h2,
.knowledge-copy h2,
.faq-layout h2,
.final-card h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display-font);
  font-size: clamp(2.25rem, 4.4vw, 4.7rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head p,
.method-copy p,
.proof-layout p,
.knowledge-copy p {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.symptom-card {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 16px 46px rgba(16, 36, 54, 0.06);
}

.symptom-card:hover {
  border-color: rgba(220, 101, 57, 0.4);
  transform: translateY(-3px);
}

.symptom-card > span {
  color: var(--danger);
  font-family: var(--mono-font);
  font-size: 0.78rem;
  font-weight: 800;
}

.symptom-card svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.symptom-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
}

.symptom-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.method-section {
  background:
    radial-gradient(circle at 82% 24%, rgba(194, 138, 66, 0.16), transparent 24%),
    linear-gradient(180deg, #f0eee6, #e7ece7);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.method-copy .button {
  margin-top: 26px;
}

.point-stack {
  display: grid;
  gap: 12px;
}

.point-stack article {
  border: 1px solid rgba(10, 20, 32, 0.09);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(16, 36, 54, 0.06);
}

.point-stack span {
  color: var(--teal);
}

.point-stack h3 {
  margin: 9px 0 6px;
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 2rem;
  line-height: 1;
}

.point-stack p {
  margin: 0;
  color: var(--muted);
}

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

.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.segment-grid article {
  min-height: 196px;
  border: 1px solid rgba(10, 20, 32, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
}

.segment-grid svg {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  color: var(--gold);
}

.segment-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.segment-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.flow-layout,
.proof-layout,
.knowledge-layout,
.faq-layout,
.final-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

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

.flow-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.flow-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(194, 138, 66, 0.14);
  color: var(--gold);
  font-weight: 900;
}

.flow-steps strong {
  color: var(--navy);
  font-size: 1.04rem;
  font-weight: 900;
}

.flow-steps p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.proof-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(220, 101, 57, 0.22), transparent 22%),
    radial-gradient(circle at 84% 72%, rgba(8, 119, 109, 0.24), transparent 24%),
    var(--navy);
  color: var(--white);
}

.proof-layout h2 {
  color: var(--white);
}

.proof-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.proof-list strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.08rem;
}

.proof-list span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.knowledge-section {
  background:
    linear-gradient(90deg, rgba(8, 119, 109, 0.08), transparent 58%),
    var(--paper);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.topic-grid article {
  min-height: 154px;
  border: 1px solid rgba(16, 36, 54, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 44px rgba(16, 36, 54, 0.06);
}

.topic-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
}

.topic-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.18;
}

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

.faq-list {
  display: grid;
  gap: 8px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
}

summary::after {
  content: "+";
  color: var(--gold);
  font-weight: 900;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.final-cta {
  background: var(--navy);
}

.final-card {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.final-card h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
}

.modal-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 21, 34, 0.64);
}

.modal-backdrop[hidden] {
  display: none;
}

.diagnostic-modal {
  position: relative;
  width: min(560px, 100%);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 30px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 2px 48px 22px 0;
}

.modal-progress span {
  height: 5px;
  border-radius: 999px;
  background: #e4e9e8;
}

.modal-progress span.is-active {
  background: var(--teal);
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.wizard-step h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display-font);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.wizard-step p:not(.eyebrow) {
  color: var(--muted);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.option-grid button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fbfaf6;
  color: var(--navy);
  font-weight: 800;
  text-align: left;
}

.option-grid button:hover,
.option-grid button.is-selected {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal);
}

label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 820;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fbfaf6;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 119, 109, 0.12);
}

.wizard-step .button-submit {
  width: 100%;
  margin-top: 18px;
}

#summary-copy {
  border-left: 4px solid var(--teal);
  padding: 12px 14px;
  background: var(--teal-soft);
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-nav {
    display: none;
  }

  .hero-layout,
  .method-layout,
  .results-layout,
  .flow-layout,
  .proof-layout,
  .knowledge-layout,
  .faq-layout,
  .final-card {
    grid-template-columns: 1fr;
  }

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

  .diagnostic-board {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding: 14px;
  }

  .brand img {
    width: 104px;
    height: 50px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero-layout {
    min-height: auto;
    max-width: 390px;
    padding-top: 108px;
    padding-bottom: 38px;
    gap: 22px;
  }

  .hero-copy,
  .diagnostic-board,
  .section-head,
  .method-copy,
  .flow-layout > div:first-child,
  .proof-layout > div:first-child,
  .knowledge-copy,
  .faq-layout > div:first-child {
    max-width: 362px;
    margin-inline: auto;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(2.15rem, 10.8vw, 3rem);
    line-height: 0.98;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .trust-row,
  .board-footer,
  .cred-strip,
  .section-head > p:not(.eyebrow),
  .method-copy p,
  .proof-layout p,
  .knowledge-copy p {
    display: none;
  }

  .hero-actions,
  .final-card {
    align-items: stretch;
  }

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

  .matrix-head {
    display: none;
  }

  .diagnostic-board {
    padding: 14px;
    border-radius: 10px;
  }

  .board-top {
    margin-bottom: 12px;
  }

  .status-pill {
    display: none;
  }

  .matrix-row {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: auto;
    padding: 11px;
  }

  .matrix-row span {
    display: none;
  }

  .results-section,
  .symptoms-section,
  .method-section,
  .segments-section,
  .flow-section,
  .proof-section,
  .knowledge-section,
  .faq-section,
  .final-cta {
    padding: 46px 0;
  }

  .results-layout {
    gap: 18px;
  }

  .results-copy {
    max-width: 362px;
    margin-inline: auto;
  }

  .results-copy h2,
  .section-head h2,
  .method-copy h2,
  .flow-layout h2,
  .proof-layout h2,
  .knowledge-copy h2,
  .faq-layout h2 {
    font-size: clamp(1.9rem, 8.8vw, 2.5rem);
    line-height: 1;
  }

  .results-copy p:not(.eyebrow) {
    display: none;
  }

  .scan-card {
    max-width: 362px;
    margin-inline: auto;
    padding: 16px;
  }

  .scan-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .radar-orb {
    width: 128px;
    margin-inline: auto;
  }

  .scan-readout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .scan-readout div {
    padding: 8px;
  }

  .scan-readout strong {
    font-size: 0.78rem;
  }

  .result-grid article,
  .symptom-card,
  .segment-grid article,
  .point-stack article,
  .topic-grid article {
    min-height: auto;
    padding: 16px;
  }

  .result-grid strong {
    font-size: 2rem;
  }

  .result-grid p,
  .symptom-card p,
  .segment-grid p,
  .point-stack p,
  .flow-steps p,
  .proof-list span,
  details p {
    font-size: 0.9rem;
  }

  .cred-grid,
  .symptom-grid,
  .segment-grid,
  .topic-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    align-items: center;
    padding: 14px;
  }

  .diagnostic-modal {
    max-height: calc(100svh - 28px);
    overflow: auto;
  }

  .wizard-step h2 {
    font-size: clamp(1.7rem, 8vw, 2rem);
  }

  .wizard-step[data-step="1"] > p:not(.eyebrow),
  .wizard-step[data-step="2"] > p:not(.eyebrow),
  .wizard-step[data-step="3"] > p:not(.eyebrow) {
    display: none;
  }
}
