:root {
  color-scheme: light;
  --ink: #111512;
  --coal: #171c18;
  --moss: #1f3d32;
  --teal: #4eb6a9;
  --signal: #a6f06a;
  --amber: #d9973d;
  --paper: #f4f6f0;
  --white: #fffdfa;
  --muted: #667268;
  --line: rgba(17, 21, 18, 0.12);
  --line-dark: rgba(255, 253, 250, 0.16);
  --shadow: 0 24px 80px rgba(10, 18, 14, 0.24);
  --radius: 8px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.lock-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--signal);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(17, 21, 18, 0.78);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(166, 240, 106, 0.52);
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      rgba(166, 240, 106, 0.28),
      rgba(78, 182, 169, 0.18)
    ),
    rgba(17, 21, 18, 0.68);
  color: var(--signal);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.9rem);
  color: rgba(255, 253, 250, 0.76);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a,
.nav-cta,
.button,
.result-link,
.hero-hint {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-cta {
  min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.05rem;
  border: 1px solid rgba(255, 253, 250, 0.22);
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  background: rgba(255, 253, 250, 0.08);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 253, 250, 0.16);
}

.section-dark {
  background: var(--coal);
  color: var(--white);
}

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

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

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 5rem;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 6.8rem 0 5.4rem;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 58% 50%;
  opacity: 0.9;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(10, 13, 11, 0.94) 0%,
      rgba(10, 13, 11, 0.78) 34%,
      rgba(10, 13, 11, 0.32) 68%,
      rgba(10, 13, 11, 0.56) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 13, 11, 0.42) 0%,
      rgba(10, 13, 11, 0.1) 42%,
      rgba(10, 13, 11, 0.78) 100%
    );
}

.hero-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 1.8rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--moss);
}

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

h1 {
  overflow-wrap: normal;
  word-break: normal;
}

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

h1 {
  max-width: 11ch;
  color: var(--white);
  font-size: clamp(4.2rem, 11vw, 9.8rem);
  font-weight: 930;
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 5.35rem);
  font-weight: 890;
}

h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 830;
  line-height: 1.12;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 253, 250, 0.84);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  white-space: nowrap;
}

.button::after {
  content: "→";
  line-height: 1;
}

.button-primary {
  background: var(--signal);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(166, 240, 106, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: #b9ff80;
}

.button-ghost {
  border-color: rgba(255, 253, 250, 0.3);
  background: rgba(255, 253, 250, 0.08);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 253, 250, 0.15);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(45rem, 100%);
  margin: 2.8rem 0 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-dark);
}

.hero-proof div {
  padding: 1rem;
  background: rgba(17, 21, 18, 0.58);
}

.hero-proof dt {
  color: var(--signal);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.hero-proof dd {
  margin: 0.45rem 0 0;
  color: rgba(255, 253, 250, 0.74);
  font-size: 0.86rem;
}

.hero-hint {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 253, 250, 0.76);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-hint::after {
  content: "";
  width: 1px;
  height: 2rem;
  background: linear-gradient(var(--signal), rgba(255, 253, 250, 0));
}

.assessment,
.pain,
.work,
.approval,
.faq {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.assessment-shell,
.work-shell,
.approval-shell,
.offer-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(21rem, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.section-intro p,
.section-heading p,
.offer-copy p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(15rem, 0.7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.6rem);
}

.heading-light p {
  color: rgba(255, 253, 250, 0.68);
}

.artifact-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.artifact-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #2d3830;
  font-weight: 720;
}

.artifact-list li::before {
  content: "";
  position: absolute;
  top: 0.68rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--amber);
}

.fit-card {
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.form-heading p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.signal-dot {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0.45rem rgba(166, 240, 106, 0.16);
}

label {
  display: block;
  margin: 1rem 0 0.35rem;
  color: #28322b;
  font-size: 0.88rem;
  font-weight: 820;
}

input,
select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(17, 21, 18, 0.16);
  border-radius: var(--radius);
  background: #fbfcf7;
  color: var(--ink);
  padding: 0 0.8rem;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 4px rgba(78, 182, 169, 0.14);
}

.form-button {
  width: 100%;
  margin-top: 1.25rem;
  border: none;
}

.fit-result {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 820;
}

.score-row strong {
  color: var(--moss);
  font-size: 1.6rem;
  line-height: 1;
}

.score-meter {
  width: 100%;
  height: 0.65rem;
  margin: 0.8rem 0 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 21, 18, 0.1);
}

.score-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--signal));
  transition: width 520ms ease;
}

#score-copy {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.result-link {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--moss);
  font-weight: 860;
}

.result-link:hover,
.result-link:focus-visible {
  color: #0f5f50;
}

.problem-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.problem-card,
.work-item {
  min-height: 16rem;
  padding: clamp(1.1rem, 2.4vw, 1.45rem);
  background: var(--white);
}

.problem-card span {
  display: inline-flex;
  margin-bottom: 2.8rem;
  color: var(--amber);
  font-weight: 900;
}

.problem-card p,
.work-item p,
.loop-track p,
.assurance-list span,
.faq-list p {
  color: var(--muted);
}

.loop {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.loop-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(12rem, 1fr));
  gap: 1px;
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
  scrollbar-color: var(--signal) rgba(255, 253, 250, 0.12);
}

.loop-track article {
  min-height: 19rem;
  padding: 1.25rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 253, 250, 0.05),
      rgba(255, 253, 250, 0.02)
    ),
    #151a17;
}

.loop-track span {
  display: inline-flex;
  margin-bottom: 4.2rem;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loop-track h3 {
  color: var(--white);
}

.loop-track p {
  color: rgba(255, 253, 250, 0.62);
}

.work-shell {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

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

.work-item {
  min-height: 12.25rem;
}

.work-item h3 {
  margin-bottom: 1rem;
}

.approval-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.approval-visual {
  min-height: 30rem;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(
      135deg,
      rgba(78, 182, 169, 0.18),
      rgba(166, 240, 106, 0.08)
    ),
    #eef4ed;
}

.preview-window {
  width: min(34rem, 100%);
  overflow: hidden;
  border: 1px solid rgba(17, 21, 18, 0.14);
  border-radius: var(--radius);
  background: #101411;
  box-shadow: 0 26px 70px rgba(17, 21, 18, 0.22);
}

.window-bar {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  height: 2.4rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--line-dark);
}

.window-bar span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.28);
}

.preview-body {
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.preview-body h3 {
  margin-bottom: 1.25rem;
  color: var(--white);
}

.mini-label {
  margin: 0 0 0.55rem;
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diff-row {
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  margin-top: 0.55rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 253, 250, 0.1);
  border-radius: var(--radius);
  color: rgba(255, 253, 250, 0.78);
  background: rgba(255, 253, 250, 0.06);
}

.diff-row.add {
  border-color: rgba(166, 240, 106, 0.22);
}

.diff-row.mod {
  border-color: rgba(217, 151, 61, 0.28);
}

.diff-row.safe {
  margin-top: 1.2rem;
  color: var(--signal);
}

.assurance-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.assurance-list div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.assurance-list strong {
  color: var(--moss);
}

.offer {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.offer-shell {
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
}

.offer-copy p {
  color: rgba(255, 253, 250, 0.7);
  margin-top: 0;
}

.faq-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq-shell .section-heading {
  display: block;
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 860;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--moss);
}

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

details p {
  margin: 0;
  padding: 0 2.8rem 1.35rem 0;
}

.site-footer {
  padding: 2rem 0;
  background: #0f1310;
  color: var(--white);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-shell p {
  margin: 0;
  color: rgba(255, 253, 250, 0.65);
}

.footer-shell a:last-child {
  color: var(--signal);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .assessment-shell,
  .work-shell,
  .approval-shell,
  .offer-shell,
  .faq-shell,
  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .approval-visual {
    min-height: 25rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.75rem 1rem;
  }

  .nav-cta {
    min-height: 2.4rem;
    padding: 0 0.85rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 82svh;
    padding: 4.8rem 0 2.2rem;
  }

  .hero-media img {
    object-position: 68% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(10, 13, 11, 0.96) 0%,
        rgba(10, 13, 11, 0.84) 58%,
        rgba(10, 13, 11, 0.54) 100%
      ),
      linear-gradient(
        180deg,
        rgba(10, 13, 11, 0.36) 0%,
        rgba(10, 13, 11, 0.16) 42%,
        rgba(10, 13, 11, 0.82) 100%
      );
  }

  h1 {
    font-size: clamp(3.05rem, 14vw, 4.2rem);
  }

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

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

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.55rem;
  }

  .hero-proof div {
    padding: 0.8rem 0.65rem;
  }

  .hero-proof dt {
    font-size: 1.3rem;
  }

  .hero-proof dd {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .hero-hint {
    display: none;
  }

  .problem-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .work-item {
    min-height: auto;
  }

  .problem-card span {
    margin-bottom: 1.5rem;
  }

  .loop-track {
    grid-template-columns: repeat(6, minmax(13rem, 80vw));
  }

  .approval-visual {
    min-height: 21rem;
    padding: 1rem;
  }

  .assurance-list div,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 680px) and (max-height: 760px) {
  .hero-proof {
    display: none;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .button {
    min-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
