:root {
  --navy: #052b6c;
  --blue: #1c78f5;
  --teal: #08a49e;
  --white: #ffffff;
  --ink: #1a3158;
  --muted: #4d617d;
  --surface: #f3f6fb;
  --line: #d5deec;
  --navy-hover: #08368a;
  --header-h: 5.25rem;
  --wrap: 70rem;
  --radius: 0.9rem;
  --shadow: 0 10px 30px rgba(5, 43, 108, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 1.1rem;
}

h1 span {
  color: var(--teal);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.12rem;
  margin: 0 0 0.35rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--white);
}

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

section,
#how,
#top {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-decoration: none;
}

.logo img {
  height: 3.25rem;
  width: auto;
}

.header-tagline {
  margin: 0;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

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

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

.btn-ghost {
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-on-dark {
  background: var(--white);
  color: var(--navy);
}

.btn-on-dark:hover {
  background: #e8eef8;
  color: var(--navy);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(36rem, 88vh, 48rem);
  overflow: hidden;
  padding: 0;
}

.hero .wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding: 2.5rem 0 3.25rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34rem;
}

.pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.6rem;
  padding: 0;
}

.pills li {
  background: rgba(232, 243, 255, 0.92);
  color: var(--blue);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.88);
}

.hero-photo {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 38%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #ffffff 0%,
    #ffffff 36%,
    rgba(255, 255, 255, 0.88) 50%,
    rgba(255, 255, 255, 0.28) 68%,
    rgba(255, 255, 255, 0) 86%
  );
}

.problem,
.journey,
.practice {
  background: var(--surface);
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
}

.trust,
.closer {
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
}

.how {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(70rem 22rem at 8% -10%, rgba(8, 164, 158, 0.28), transparent 58%),
    radial-gradient(50rem 24rem at 92% 118%, rgba(28, 120, 245, 0.32), transparent 52%),
    var(--navy);
  color: var(--white);
  padding: clamp(3.75rem, 8vw, 6.25rem) 0;
}

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

.how .section-intro {
  color: rgba(255, 255, 255, 0.78);
}

.how .eyebrow {
  color: #7fe0db;
}

.section-intro {
  max-width: 42rem;
  color: var(--muted);
}

.problem-layout {
  display: grid;
  gap: 1.75rem;
}

.stats {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
}

.stats li {
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 0.9rem;
}

.stats li:not(.stat-highlight) {
  background: var(--surface);
}

.stat-label {
  margin: 0 0 0.3rem;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-value {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 0 0 0.4rem;
}

.stats p:last-child {
  margin: 0;
  color: var(--muted);
}

.stat-highlight {
  background: var(--navy);
  padding: 1.35rem 1.3rem 1.4rem;
}

.stat-highlight .stat-label {
  color: #7fe0db;
}

.stat-highlight .stat-value,
.stat-highlight p:last-child {
  color: var(--white);
}

.stat-highlight p:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.stat-meter {
  height: 0.45rem;
  margin: 0.15rem 0 0.85rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.stat-meter span {
  display: block;
  width: 84%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.sources {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1.15rem 0 0;
}

.steps {
  list-style: none;
  display: grid;
  gap: 1.35rem;
  margin: 2.35rem 0 0;
  padding: 0;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  column-gap: 1.05rem;
  align-items: start;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 1.62rem;
  top: 3.4rem;
  bottom: -1.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.steps li:last-child::after {
  display: none;
}

.step-index {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  z-index: 1;
}

.step-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 1rem;
  padding: 1.3rem 1.25rem 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.85rem;
  border-radius: 0.8rem;
  background: #e7f7f6;
  color: var(--teal);
}

.step-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.step-card h3 {
  margin-bottom: 0.4rem;
}

.program {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 0;
}

.program li {
  position: relative;
  padding: 0 0 1.75rem 4.25rem;
}

.program li:last-child {
  padding-bottom: 0;
}

.program li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  z-index: 1;
}

.program li::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.program li:last-child::after {
  display: none;
}

.program-marker {
  display: none;
}

.program h3 {
  margin: 0.15rem 0 0.3rem;
}

.step-card p,
.program p,
.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.pullquote {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  color: var(--white);
  max-width: 38rem;
  margin: 2.5rem auto 0;
  text-align: center;
  line-height: 1.4;
}

.pullquote::before {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 0 auto 1.25rem;
  background: var(--teal);
}

.how-patent {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.practice-grid {
  display: grid;
  gap: 2.5rem;
}

.feature-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.45rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.9rem;
  border-radius: 0.85rem;
  background: #e7f7f6;
  color: var(--teal);
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.closer .feature-icon {
  background: #e7eefb;
  color: var(--navy);
}

.closer .feature-list li {
  border-top: 4px solid var(--navy);
}

.trust-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: 1.1rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
}

.trust-banner h2,
.trust-banner p {
  color: var(--white);
}

.trust-banner h2 {
  margin-bottom: 0.5rem;
}

.trust-remain {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.25rem;
  margin: 1rem 0 0;
}

.final-cta {
  background:
    radial-gradient(46rem 22rem at 50% -20%, rgba(8, 164, 158, 0.22), transparent 62%),
    #e7f4f3;
  color: var(--ink);
  padding: clamp(3.75rem, 8vw, 6.25rem) 0;
  text-align: center;
  border-top: 6px solid var(--teal);
}

.final-cta .eyebrow {
  color: #067a76;
}

.final-cta h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.85rem);
  max-width: 22ch;
  margin: 0 auto 1rem;
}

.final-cta p {
  max-width: 34rem;
  margin: 0 auto 1.85rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.final-cta .btn {
  min-height: 3.6rem;
  padding: 0.9rem 2.2rem;
  font-size: 1.15rem;
  box-shadow: 0 14px 28px rgba(5, 43, 108, 0.22);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.footer-inner p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
}

.patent-note {
  font-weight: 600;
  color: var(--navy);
}

.footer-name {
  font-weight: 700;
  color: var(--navy);
}

.site-footer .header-tagline {
  color: var(--muted);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-highlight {
    grid-column: 1 / -1;
  }
}

@media (min-width: 720px) {
  .logo img {
    height: 3.85rem;
  }

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

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

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

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

@media (min-width: 980px) {
  .hero {
    justify-content: center;
    min-height: clamp(34rem, 74vh, 44rem);
  }

  .problem-layout {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 25.5rem);
    gap: 3.25rem;
    align-items: center;
  }

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

  .stat-highlight {
    grid-column: auto;
  }

  .hero-copy {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  }

  .hero-photo img {
    object-position: 72% 42%;
  }

  .hero-photo::after {
    background: linear-gradient(
      to right,
      #ffffff 0%,
      #ffffff 32%,
      rgba(255, 255, 255, 0.94) 44%,
      rgba(255, 255, 255, 0.45) 58%,
      rgba(255, 255, 255, 0.08) 74%,
      rgba(255, 255, 255, 0) 86%
    );
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }

  .steps li {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .step-index {
    margin: 0 auto 1.3rem;
  }

  .step-card {
    flex: 1;
  }

  .steps li::after {
    left: calc(50% + 1.85rem);
    right: calc(-50% + 1.85rem);
    top: 1.7rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
  }

  .program {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .program li {
    padding: 0 0.4rem;
    text-align: center;
  }

  .program li::before {
    position: relative;
    left: auto;
    margin: 0 auto 0.85rem;
  }

  .program li::after {
    left: calc(50% + 1.35rem);
    right: calc(-50% + 1.35rem);
    top: 1.2rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
  }

  .program li:last-child::after {
    display: none;
  }

  .program-marker {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: #e7f7f6;
    color: var(--teal);
  }

  .program-marker svg {
    width: 1.3rem;
    height: 1.3rem;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 2.85rem;
  }

  .header-inner .btn {
    padding-inline: 0.9rem;
    font-size: 0.95rem;
  }
}

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

  .btn {
    transition: none;
  }
}
