:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #566174;
  --surface: #ffffff;
  --soft: #f3f6f8;
  --accent: #ee6748;
  --accent-dark: #ba3d25;
  --mint: #c9f4df;
  --mint-dark: #075d48;
  --border: #d9e0e7;
  --focus: #1769e0;
  --shadow: 0 22px 60px rgb(16 24 39 / 10%);
  --radius: 1.25rem;
  --shell: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
}

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

h3 {
  font-size: 1.25rem;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.narrow {
  max-width: 52rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid rgb(217 224 231 / 80%);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-inner {
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 0.65rem;
  font-size: 0.7rem;
  letter-spacing: -0.04em;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  font-weight: 700;
  text-decoration: none;
}

nav a:not(.button):hover {
  color: var(--accent-dark);
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  background: #293346;
  border-color: #293346;
  transform: translateY(-2px);
}

.button-small {
  min-height: 2.65rem;
  padding: 0.55rem 0.9rem;
}

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

.button-secondary:hover {
  color: #fff;
}

.hero {
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background:
    radial-gradient(circle at 90% 15%, rgb(201 244 223 / 70%), transparent 26rem),
    linear-gradient(180deg, #fff, #fafbfc);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.text-link {
  font-weight: 800;
  text-underline-offset: 0.22em;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.trust-list li::before {
  margin-right: 0.45rem;
  color: var(--mint-dark);
  content: "✓";
  font-weight: 900;
}

.audit-preview {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #fff;
  transform: rotate(1.5deg);
}

.preview-label {
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.preview-score {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.8rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.preview-score > span {
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 900;
}

.preview-score strong {
  display: block;
  margin-bottom: 0.25rem;
}

.preview-score p,
.preview-note {
  margin: 0;
  color: #bdc6d3;
  font-size: 0.9rem;
}

.preview-note {
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.problem-section,
.how-section,
.pricing-section,
.order-section,
.faq-section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.problem-section {
  text-align: center;
}

.problem-section p:last-child,
.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.12rem;
}

.how-section,
.order-section {
  background: var(--soft);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  display: inline-grid;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 2rem;
  place-items: center;
  color: var(--mint-dark);
  background: var(--mint);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1rem;
}

.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.price-card.featured {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.popular-label {
  align-self: flex-start;
  margin: -0.75rem 0 1.5rem;
  padding: 0.35rem 0.65rem;
  color: var(--mint-dark);
  background: var(--mint);
  border-radius: 99rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier-name {
  margin-bottom: 0.2rem;
  font-weight: 900;
}

.price {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 900;
}

.price strong {
  font-size: 3.65rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.tier-summary {
  min-height: 3.5rem;
  color: var(--muted);
}

.price-card ul {
  flex: 1;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.5rem;
  border-top: 1px solid var(--border);
}

.price-card li::before {
  position: absolute;
  left: 0;
  color: var(--mint-dark);
  content: "✓";
  font-weight: 900;
}

.pricing-note {
  max-width: 48rem;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(22rem, 1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
}

.order-grid > div > p:not(.eyebrow) {
  color: var(--muted);
}

.selected-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  background: var(--mint);
  border-radius: 0.75rem;
}

.selected-summary span {
  color: var(--mint-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#intake {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field,
.field-row {
  margin-bottom: 1.15rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-row .field {
  margin-bottom: 0;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #aeb8c5;
  border-radius: 0.55rem;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #6d7786;
}

[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 1px #b42318;
}

small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  color: #7a271a;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 0.55rem;
}

.form-status.success {
  color: var(--mint-dark);
  background: #e9fbf2;
  border-color: #98e5be;
}

.submit-button {
  width: 100%;
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.faq-section details {
  border-top: 1px solid var(--border);
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-section summary {
  padding: 1.25rem 2rem 1.25rem 0;
  font-weight: 850;
  cursor: pointer;
}

.faq-section details p {
  max-width: 45rem;
  padding-bottom: 1.25rem;
  color: var(--muted);
}

footer {
  padding: 3rem 0;
  color: #d9e0e7;
  background: var(--ink);
}

.footer-brand {
  color: #fff;
}

.footer-inner p {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
}

.footer-inner > p {
  margin: 0;
}

.noscript {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 48rem;
  margin-inline: auto;
  padding: 1rem;
  color: #fff;
  background: #7a271a;
  border-radius: 0.6rem;
  text-align: center;
}

@media (max-width: 52rem) {
  nav > a:not(.button) {
    display: none;
  }

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

  .audit-preview {
    transform: none;
  }

  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    order: -1;
  }

  .tier-summary {
    min-height: auto;
  }
}

@media (max-width: 34rem) {
  .header-inner {
    min-height: 4.25rem;
  }

  .brand > span:last-child {
    font-size: 0.9rem;
  }

  .header-inner .button {
    padding-inline: 0.7rem;
    font-size: 0.82rem;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    padding: 0.6rem;
    text-align: center;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark conversion-lab art direction */
:root {
  color-scheme: dark;
  --ink: #f4f0e8;
  --muted: #aaa9a4;
  --surface: #0b0c0e;
  --soft: #111317;
  --accent: #ff5c35;
  --accent-dark: #ff7657;
  --mint: #c8ff3d;
  --mint-dark: #0b0c0e;
  --border: #292c31;
  --focus: #c8ff3d;
  --shadow: 0 28px 80px rgb(0 0 0 / 48%);
}

body {
  background:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px),
    var(--surface);
  background-size: 48px 48px;
}

.site-header {
  background: rgb(11 12 14 / 86%);
  border-color: rgb(255 255 255 / 9%);
}

.brand-mark {
  color: #0b0c0e;
  background: var(--mint);
  border-radius: 0.25rem;
  box-shadow: 0 0 28px rgb(200 255 61 / 18%);
}

.button {
  color: #0b0c0e;
  background: var(--mint);
  border-color: var(--mint);
  border-radius: 0.35rem;
  box-shadow: 0 0 0 1px rgb(200 255 61 / 15%);
}

.button:hover {
  color: #0b0c0e;
  background: #dcff80;
  border-color: #dcff80;
  box-shadow: 0 10px 35px rgb(200 255 61 / 16%);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: #555960;
}

.button-secondary:hover {
  color: var(--ink);
  background: #1b1e23;
  border-color: var(--mint);
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at 78% 25%, rgb(200 255 61 / 9%), transparent 24rem),
    radial-gradient(circle at 15% 0%, rgb(255 92 53 / 10%), transparent 28rem),
    linear-gradient(180deg, #0b0c0e, #0e1013);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 45%, rgb(255 255 255 / 2%) 45.1%, transparent 45.3%);
  content: "";
  pointer-events: none;
}

.eyebrow {
  color: var(--mint);
}

.audit-preview {
  color: var(--ink);
  background: #15181c;
  border: 1px solid #353941;
  border-radius: 0.5rem;
  box-shadow: var(--shadow), inset 0 1px rgb(255 255 255 / 5%);
}

.audit-preview::after {
  position: absolute;
  top: -0.6rem;
  right: 1rem;
  padding: 0.28rem 0.55rem;
  color: #0b0c0e;
  background: var(--accent);
  content: "LIVE DIAGNOSTIC";
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.preview-label,
.preview-score > span {
  color: var(--mint);
}

.preview-score,
.preview-note {
  border-color: rgb(255 255 255 / 11%);
}

.preview-score p,
.preview-note {
  color: #999da5;
}

.problem-section,
.pricing-section,
.faq-section {
  background: rgb(11 12 14 / 78%);
}

.how-section,
.order-section {
  background: #111317;
  border-block: 1px solid var(--border);
}

.steps li,
.price-card,
#intake {
  background: #15181c;
  border-color: #30343b;
  border-radius: 0.55rem;
  box-shadow: inset 0 1px rgb(255 255 255 / 4%);
}

.steps li:hover,
.price-card:hover {
  border-color: #565c65;
}

.step-number,
.popular-label,
.selected-summary {
  color: #0b0c0e;
  background: var(--mint);
}

.price-card.featured {
  border-color: var(--mint);
  box-shadow: 0 22px 70px rgb(0 0 0 / 35%), 0 0 0 1px rgb(200 255 61 / 10%);
}

.price-card li,
.faq-section details {
  border-color: var(--border);
}

.price-card li::before,
.trust-list li::before {
  color: var(--mint);
}

input,
select,
textarea {
  color: var(--ink);
  background: #0c0e11;
  border-color: #454a53;
  border-radius: 0.35rem;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #777e89;
}

.form-status {
  color: #ffb4a4;
  background: #291511;
  border-color: #683225;
}

.form-status.success {
  color: var(--mint);
  background: #19210b;
  border-color: #4d6418;
}

footer {
  color: #999da5;
  background: #070809;
  border-top: 1px solid #24272c;
}
