@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #20343b;
  --ink-deep: #0c252d;
  --muted: #62737a;
  --subtle: #e6efed;
  --line: #d1dfdc;
  --paper: #fbfdfb;
  --wash: #eef5f1;
  --teal: #087f82;
  --teal-dark: #075c61;
  --teal-soft: #d9eeea;
  --amber: #c47b3b;
  --coral: #df765f;
  --shadow: 0 22px 60px rgba(12, 37, 45, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  color: var(--ink-deep);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -.035em;
}

p {
  line-height: 1.68;
}

.navbar {
  padding: 1rem 0;
  background: rgba(251, 253, 251, .92) !important;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  font-size: 1.08rem;
}

.navbar-brand i {
  color: var(--teal);
}

.navbar .nav-link {
  margin: 0 .4rem;
  color: var(--muted) !important;
  font-weight: 600;
}

.navbar .nav-link:hover {
  color: var(--teal) !important;
}

.navbar-toggler {
  border-color: var(--line);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(8, 127, 130, .15);
}

.navbar-toggler-icon {
  filter: invert(25%) sepia(19%) saturate(1014%) hue-rotate(159deg);
}

.btn {
  padding: .72rem 1.15rem;
  border-radius: 7px;
  font-weight: 700;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff !important;
  background: var(--teal);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn-outline-light {
  color: var(--ink) !important;
  background: transparent;
  border-color: var(--line);
}

.btn-outline-light:hover {
  color: var(--teal) !important;
  background: var(--wash);
  border-color: var(--teal);
}

.hero-section {
  position: relative;
  padding: 10.7rem 0 7rem;
  overflow: hidden;
}

.hero-section::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto auto;
  width: 47%;
  height: 88%;
  background: linear-gradient(135deg, transparent 15%, #e6f2ec 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  pointer-events: none;
}

.hero-section::after {
  position: absolute;
  top: 18%;
  right: 9%;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(8, 127, 130, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(8, 127, 130, .035), 0 0 0 56px rgba(8, 127, 130, .025);
  content: "";
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.35rem;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.hero-section h1 {
  max-width: 780px;
  margin-bottom: 1.45rem;
  font-size: clamp(2.7rem, 5.3vw, 5rem);
  line-height: 1.02;
}

.hero-section h1 .grad {
  color: var(--teal);
}

.hero-section p.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-note {
  color: var(--muted);
  font-size: .87rem;
}

.governance-panel {
  position: relative;
  padding: 1.75rem;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.panel-kicker {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.panel-status {
  padding: .3rem .5rem;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.panel-title {
  margin-bottom: .45rem;
  font-size: 1.55rem;
}

.panel-caption {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: .88rem;
}

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

.lifecycle-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .78rem 0;
  border-bottom: 1px solid var(--line);
}

.lifecycle-item small {
  display: block;
  margin-bottom: .12rem;
  color: var(--teal-dark);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lifecycle-item strong {
  display: block;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 600;
}

.lifecycle-marker {
  display: inline-flex;
  flex: 0 0 1.8rem;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
}

.stat-band {
  padding: 2.8rem 0;
  background: var(--ink-deep);
}

.stat-num {
  color: #fff;
  font-family: 'Space Grotesk';
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -.06em;
}

.stat-label {
  color: #b8cbd2;
  font-size: .87rem;
}

.section {
  padding: 7.2rem 0;
}

.section-alt {
  background: var(--wash);
}

.section-heading {
  max-width: 690px;
}

.section-heading .kicker,
.kicker {
  color: var(--teal-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
}

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-card {
  height: 100%;
  padding: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.25rem;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 7px;
}

.feature-card h3,
.feature-card h5 {
  font-size: 1.12rem;
  letter-spacing: -.02em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .93rem;
}

.governance-grid .feature-card {
  border-top: 3px solid var(--teal);
}

.cta-card {
  padding: 4.2rem 2rem;
  background: var(--teal);
  border-radius: 12px;
  text-align: center;
}

.cta-card h2,
.cta-card p {
  color: #fff;
}

.cta-card p {
  opacity: .86;
}

.cta-card .btn-light {
  color: var(--teal-dark) !important;
  border: 0;
}

.eyebrow-rule {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--amber);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow-rule::after {
  width: 3.5rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: .55;
}

.signal-card {
  position: relative;
  min-height: 100%;
  padding: 2rem;
  overflow: hidden;
  color: #dce9e4;
  background: var(--ink-deep);
  border-radius: 12px;
}

.signal-card::after {
  position: absolute;
  right: -5rem;
  bottom: -6rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(217, 238, 234, .25);
  border-radius: 50%;
  content: "";
}

.signal-card h3 {
  color: #f4faf7;
  font-size: 1.45rem;
}

.signal-card p {
  color: #a9c0ba;
}

.signal-line {
  display: flex;
  justify-content: space-between;
  padding: .9rem 0;
  border-top: 1px solid rgba(217, 238, 234, .16);
  font-size: .86rem;
}

.signal-line strong {
  color: #f4faf7;
  font-weight: 600;
}

.value-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .8rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.value-list i {
  margin-top: .25rem;
  color: var(--teal);
}

.quote-panel {
  padding: 1.2rem 1.5rem;
  background: var(--wash);
  border-left: 3px solid var(--coral);
}

.quote-panel p {
  color: var(--ink-deep);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.footer {
  color: var(--muted);
  background: #eaf2ef;
  border-top: 1px solid var(--line);
}

.footer h5 {
  color: var(--ink-deep);
  font-size: 1rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--teal);
}

.footer hr {
  border-color: var(--line);
  opacity: 1;
}

.footer-mark {
  color: var(--teal);
  font-size: 1.25rem;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 8.5rem 0 4.5rem;
    text-align: center;
  }

  .hero-section::before {
    width: 100%;
    height: 55%;
    opacity: .65;
  }

  .hero-section::after {
    top: 28%;
    right: -7rem;
    opacity: .55;
  }

  .hero-section p.lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-section .d-flex {
    justify-content: center;
  }

  .section {
    padding: 4.5rem 0;
  }

  .step {
    margin-left: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* Posture panel and numbered steps.
   The landing page still uses these; the styling refactor dropped the rules
   while the markup that needs them stayed. */
.posture-score { color: var(--ink-deep); font-family: 'Space Grotesk'; font-size: 3.35rem; font-weight: 700; letter-spacing: -.07em; }
.panel-list { border-top: 1px solid var(--line); margin-top: 1.35rem; padding-top: .8rem; }
.panel-list div { display: flex; justify-content: space-between; padding: .52rem 0; color: var(--muted); font-size: .86rem; }
.panel-list strong { color: var(--ink); font-weight: 600; }
.step-num { position: absolute; left: -1.1rem; top: 1.35rem; display: flex; align-items: center; justify-content: center; width: 2.15rem; height: 2.15rem; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 700; }
