:root {
  --paper: #f7fbf5;
  --paper-strong: #ffffff;
  --ink: #14211b;
  --muted: #5f6d65;
  --line: #dce7dd;
  --green: #1f7a4d;
  --green-dark: #0f5537;
  --mint: #dff4e3;
  --blue: #235f84;
  --gold: #b5841e;
  --rose: #a65352;
  --shadow: 0 24px 70px rgba(27, 49, 38, 0.14);
  --radius: 8px;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 251, 245, 0.98) 34rem),
    radial-gradient(circle at 12% 8%, rgba(223, 244, 227, 0.9), transparent 24rem),
    var(--paper);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 33, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 27, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  transition: padding 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-elevated {
  width: 100%;
  padding: 12px max(16px, calc((100vw - 1180px) / 2));
  background: rgba(247, 251, 245, 0.88);
  box-shadow: 0 10px 32px rgba(20, 33, 27, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions,
.trust-row,
.panel-topline,
.scan-card,
.ledger-list div,
.report-header,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31, 122, 77, 0.3);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #dff4e3);
  color: var(--green-dark);
  font-size: 0.86rem;
  box-shadow: 0 10px 22px rgba(31, 122, 77, 0.1);
}

.nav-links {
  justify-content: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a,
.ghost-link {
  transition: color 160ms ease;
}

.nav-links a:hover,
.ghost-link:hover {
  color: var(--green-dark);
}

.header-actions {
  justify-content: flex-end;
  gap: 0.9rem;
}

.ghost-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-dark);
  border-radius: 8px;
  background: var(--green-dark);
  color: white;
  padding: 0 1.2rem;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(15, 85, 55, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #0a472e;
  box-shadow: 0 20px 38px rgba(15, 85, 55, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-dark);
  border-color: rgba(31, 122, 77, 0.28);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.88rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 3.5rem;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(4.2rem, 8vw, 7.6rem);
  line-height: 0.88;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.02rem;
}

.hero-lede,
.section p,
.cta-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-lede {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.trust-row {
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-row span {
  border: 1px solid rgba(31, 122, 77, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  padding: 0.55rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.family-photo {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-panel {
  position: absolute;
  right: -1.5rem;
  bottom: 0;
  width: min(420px, 82%);
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  padding: 1rem;
  backdrop-filter: blur(22px);
}

.panel-topline {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.panel-topline strong {
  color: var(--green-dark);
}

.scan-card {
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdf9;
  padding: 0.8rem;
}

.scan-card p,
.scan-card strong {
  display: block;
  margin: 0;
}

.scan-card p {
  color: var(--muted);
  font-size: 0.82rem;
}

.scan-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green-dark);
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.status-pill {
  margin-left: auto;
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.good {
  background: #dff4e3;
  color: var(--green-dark);
}

.ledger-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.ledger-list div {
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(20, 33, 27, 0.08);
  padding: 0.55rem 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.ledger-list div:last-child {
  border-bottom: 0;
}

.ledger-list strong {
  color: var(--ink);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 32px));
  overflow: hidden;
  margin: -1.6rem auto 5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 48px rgba(20, 33, 27, 0.08);
}

.proof-strip div {
  background: rgba(255, 255, 255, 0.86);
  padding: 1.25rem;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 0.3rem;
  color: var(--green-dark);
  font-size: 1.55rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 4rem;
  align-items: start;
}

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

.step-card,
.workspace-grid article,
.fit-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 1.2rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.step-card:hover,
.workspace-grid article:hover,
.fit-grid article:hover,
.step-card.active {
  transform: translateY(-3px);
  border-color: rgba(31, 122, 77, 0.35);
  box-shadow: 0 18px 42px rgba(20, 33, 27, 0.08);
}

.step-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.step-card p,
.workspace-grid p,
.fit-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.workspace-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
  align-items: center;
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: #edf7ff;
  color: var(--blue);
  font-weight: 900;
}

.report-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 1.4rem;
  align-items: stretch;
}

.report-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.report-header {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(31, 122, 77, 0.22);
  border-radius: 8px;
  background: var(--mint);
  color: var(--green-dark);
  cursor: pointer;
}

.report-table {
  display: grid;
  gap: 0.6rem;
}

.report-table [role="row"] {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.52fr;
  gap: 1rem;
  align-items: center;
  border-radius: 8px;
  background: #f7fbf5;
  padding: 0.95rem 1rem;
  color: var(--muted);
}

.report-table [role="row"]:first-child {
  background: transparent;
  padding-top: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-table strong {
  color: var(--ink);
  text-align: right;
}

mark {
  border-radius: 999px;
  background: #dff4e3;
  color: var(--green-dark);
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 900;
}

mark.warn {
  background: #fff0cc;
  color: #76520f;
}

.report-photo-wrap {
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.report-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.fit-section h2 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 1rem auto 5rem;
  border: 1px solid rgba(31, 122, 77, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 244, 227, 0.95), rgba(255, 255, 255, 0.92)),
    #fff;
  padding: 2rem;
  box-shadow: 0 18px 48px rgba(20, 33, 27, 0.08);
}

.cta-section h2 {
  max-width: 700px;
}

.cta-section p {
  max-width: 700px;
  margin-bottom: 0;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav-links {
    display: none;
  }

  .hero,
  .split-section,
  .workspace-section,
  .report-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 560px;
  }

  .family-photo {
    height: 500px;
  }

  .product-panel {
    right: 1rem;
  }

  .workspace-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .header-actions .ghost-link {
    display: none;
  }

  .button-small {
    min-height: 38px;
    padding: 0 0.8rem;
  }

  .hero {
    width: min(100% - 24px, 1180px);
    gap: 2rem;
  }

  h1 {
    max-width: 11ch;
    font-size: 4rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .family-photo {
    height: 360px;
  }

  .product-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 18px);
    margin: -4rem auto 0;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 1180px);
    margin-top: 1.5rem;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 4rem 0;
  }

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

  .report-table [role="row"] {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .report-table strong {
    text-align: left;
  }

  .report-photo-wrap {
    min-height: 300px;
  }

  .cta-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
