:root {
  --ink: #14221f;
  --muted: #5a6762;
  --line: #d9ded9;
  --surface: #f8f6f1;
  --surface-2: #e8eee9;
  --forest: #1f5f4b;
  --teal: #0f766e;
  --amber: #d79c3c;
  --coral: #bd5d4d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 34, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--forest);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #203b34;
  font-size: 0.94rem;
}

.nav-links a {
  padding: 8px 0;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 760;
  letter-spacing: 0;
}

.header-cta,
.button.primary {
  background: var(--forest);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.58);
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #10251f;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 24, 20, 0.9), rgba(9, 24, 20, 0.6) 43%, rgba(9, 24, 20, 0.1) 74%),
    linear-gradient(0deg, rgba(9, 24, 20, 0.46), rgba(9, 24, 20, 0.08) 35%);
  z-index: -1;
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 126px 0 76px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  width: min(690px, 100%);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 52px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.trust-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.trust-strip dt {
  font-weight: 850;
}

.trust-strip dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  padding: 90px 0;
}

.section-band {
  background: var(--surface-2);
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.intro {
  padding: 34px 0;
}

.intro-grid,
.split-grid,
.join-grid,
.safety-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading.compact p {
  max-width: 680px;
}

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

.steps article,
.price-card,
.safety-points article,
.lead-form,
.signal-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(20, 34, 31, 0.06);
}

.steps article {
  min-height: 244px;
  padding: 22px;
}

.steps span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--coral);
  font-weight: 900;
}

.steps p,
.signal-list span,
.safety-points p {
  margin-bottom: 0;
}

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

.section-split p,
.section-split span {
  color: rgba(255, 255, 255, 0.74);
}

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

.signal-list div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.signal-list strong,
.signal-list span {
  display: block;
}

.signal-list span {
  margin-top: 6px;
}

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

.price-card {
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.4);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.plan-label {
  margin: 0 0 8px;
  color: var(--coral);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.price {
  margin: 18px 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 900;
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.45;
}

.price-card li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.pricing-note {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 0.95rem;
}

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

.safety-points article {
  padding: 20px;
}

.join-section {
  background: linear-gradient(180deg, #f8f6f1, #eef2ee);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.mini-metrics div {
  border-left: 3px solid var(--amber);
  padding-left: 12px;
}

.mini-metrics strong,
.mini-metrics span {
  display: block;
}

.mini-metrics strong {
  font-size: 1.45rem;
}

.mini-metrics span {
  color: var(--muted);
  font-size: 0.88rem;
}

.lead-form {
  padding: 24px;
  background: var(--white);
}

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

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #283f38;
  font-size: 0.92rem;
  font-weight: 760;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd4ce;
  border-radius: 8px;
  padding: 0 13px;
  background: #fbfcfa;
  color: var(--ink);
  font: inherit;
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--forest);
}

input:focus,
select:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.consent-line {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.consent-line a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bmi-output,
.form-disclaimer,
.form-status {
  margin: 0 0 14px;
  font-size: 0.88rem;
}

.form-disclaimer {
  margin: 14px 0 0;
}

.form-status {
  min-height: 1.4em;
  margin-top: 12px;
  color: var(--forest);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  padding: 34px max(16px, calc((100% - 1120px) / 2));
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 760;
}

.footer-links a {
  padding: 6px 0;
}

.legal-page {
  background: #f3f5f1;
}

.legal-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 128px 0 70px;
}

.legal-content {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(20, 34, 31, 0.08);
}

.legal-content h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.legal-content h2 {
  margin-top: 34px;
  font-family: inherit;
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 21px;
  color: var(--muted);
  line-height: 1.6;
}

.effective-date {
  margin-top: 12px;
  color: var(--forest);
  font-weight: 800;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(9, 24, 20, 0.86), rgba(9, 24, 20, 0.66) 52%, rgba(9, 24, 20, 0.35)),
      linear-gradient(90deg, rgba(9, 24, 20, 0.72), rgba(9, 24, 20, 0.1));
  }

  .hero-image {
    object-position: 63% center;
  }

  .intro-grid,
  .split-grid,
  .join-grid,
  .safety-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .steps,
  .pricing-grid,
  .safety-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 60px;
    padding: 9px 10px;
    gap: 8px;
  }

  .brand span:last-child {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .hero-content {
    width: calc(100% - 28px);
    padding: 116px 0 44px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-actions {
    display: grid;
  }

  .trust-strip,
  .steps,
  .pricing-grid,
  .safety-points,
  .mini-metrics,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .legal-main {
    padding-top: 102px;
  }

  .legal-content {
    padding: 24px;
  }

  .intro {
    padding: 28px 0;
  }

  .steps article {
    min-height: 0;
  }

  .steps span {
    margin-bottom: 24px;
  }
}
