/* Hearthleaf landing — ported from Ruslan's Figma Make export (docs/design/landing-figma-make,
   2026-11-15). The design rules below are the export's, kept as they were; changes for the real
   page (self-hosted fonts, no Tailwind, logo, footer, Early Access module theme, contrast, the
   neutral photo placeholders) are marked "landing:" or live in the section at the end. */

/* landing: fonts are self-hosted (SIL OFL 1.1, licenses in /fonts). No Google Fonts request. */
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Serif Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-serif-display-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* landing: the export imported Tailwind v4 only for its preflight (no utility classes are used).
   This is the part of that reset the design relies on. */
@layer base {
  *,
  ::before,
  ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  small {
    font-size: 80%;
  }
  img, svg, video {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, textarea {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    background-color: transparent;
    border-radius: 0;
  }
  button {
    cursor: pointer;
  }
  ol, ul, menu {
    list-style: none;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

:root {
  --forest: #123d2d;
  --forest-deep: #0a2d21;
  --forest-soft: #315d4d;
  --sage: #dfece3;
  --sage-pale: #f2f7f3;
  --sage-line: #cddfd3;
  --gold: #c6a769;
  --gold-pale: #f2ead8;
  --ink-soft: #61736b;
  --white: #ffffff;
}

@layer base {
  html {
    scroll-behavior: smooth;
    background: var(--white);
  }

  body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--forest);
    background: var(--white);
    font-family: "Manrope", sans-serif;
    -webkit-font-smoothing: antialiased;
  }

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

  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }

  ::selection {
    color: white;
    background: var(--forest);
  }
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100% - 64px, 1320px);
  height: 96px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  font-weight: 600;
  color: var(--forest-soft);
}

.site-header nav > a:not(.nav-cta) {
  transition: color 180ms ease;
}

.site-header nav > a:not(.nav-cta):hover {
  color: var(--forest-deep);
}

.site-header .brand {
  color: var(--forest);
}

.site-header nav {
  color: var(--forest-soft);
}

.site-header nav > a:not(.nav-cta):hover {
  color: var(--forest-deep);
}

.site-header .nav-cta {
  border-color: var(--forest);
  color: white;
  background: var(--forest);
  box-shadow: 0 12px 30px rgba(18, 61, 45, 0.13);
}

.site-header .nav-cta:hover {
  color: white;
  background: var(--forest-deep);
}

.nav-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: white;
  background: var(--forest);
  box-shadow: 0 12px 30px rgba(18, 61, 45, 0.13);
  transition:
    transform 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.hero .primary-button {
  border-color: var(--forest);
  color: white;
  background: var(--forest);
}

.hero .primary-button:hover {
  color: white;
  background: var(--forest-deep);
}

.nav-cta {
  min-height: 44px;
  padding: 0 19px 0 21px;
}

.nav-cta svg,
.primary-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms ease;
}

.nav-cta:hover,
.primary-button:hover {
  transform: translateY(-2px);
  background: var(--forest-deep);
  box-shadow: 0 16px 34px rgba(18, 61, 45, 0.2);
}

.nav-cta:hover svg,
.primary-button:hover svg {
  transform: translateX(3px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 860px;
  padding: 166px max(32px, calc((100vw - 1320px) / 2)) 100px;
  grid-template-columns: minmax(430px, 0.88fr) minmax(510px, 1.12fr);
  align-items: center;
  gap: 44px;
  color: var(--forest);
  background:
    linear-gradient(115deg, rgba(241, 247, 242, 0.94) 0%, rgba(251, 250, 246, 0) 48%), #fbfaf6;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(18, 61, 45, 0.08) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 62%);
}

.hero-ai-type {
  position: absolute;
  top: 47%;
  left: 35%;
  z-index: 0;
  color: #91ae9a;
  font-family: "Manrope", sans-serif;
  font-size: clamp(520px, 51vw, 820px);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.12em;
  opacity: 0.085;
  pointer-events: none;
  transform: translate(-50%, -50%);
  user-select: none;
  white-space: nowrap;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  top: 50px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(211, 227, 215, 0.55), rgba(237, 245, 239, 0) 68%);
}

.hero-glow-two {
  bottom: -190px;
  left: 29%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(237, 224, 193, 0.4), rgba(255, 255, 255, 0) 70%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding-bottom: 34px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #557265;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(198, 167, 105, 0.13);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: -0.036em;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(57px, 5.1vw, 78px);
  line-height: 0.98;
}

.hero h1 > span,
.hero h1 > em {
  display: block;
}

.hero h1 em,
.section-heading h2 em {
  color: var(--forest-soft);
  font-weight: 400;
}

.hero h1 {
  color: var(--forest-deep);
}

.hero h1 em {
  color: var(--forest-soft);
}

.hero .eyebrow {
  color: #557265;
}

.hero-intro {
  max-width: 575px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 22px;
}

.primary-button {
  min-height: 55px;
  padding: 0 24px 0 27px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}

.availability {
  max-width: 190px;
  color: #63726a;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}

.hero-visual {
  --pointer-x: 0;
  --pointer-y: 0;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 690px;
  height: 620px;
  justify-self: end;
  color: var(--forest);
  perspective: 1000px;
  transform-style: preserve-3d;
}

.home-image {
  position: absolute;
  top: 25px;
  right: 0;
  width: 78%;
  height: 520px;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 10px 70px 10px 70px;
  background: var(--sage);
  box-shadow: 0 38px 80px rgba(18, 61, 45, 0.14);
  opacity: 0;
  transform: translate3d(calc(var(--pointer-x) * 8px), calc(var(--pointer-y) * 8px + 18px), 0)
    scale(0.985); /* resting depth 0 (was -15px): text on the photo stays sharp (Ruslan, Nov 15) */
  animation: heroPhotoReveal 700ms 260ms cubic-bezier(0.22, 0.75, 0.25, 1) forwards;
  transition: transform 260ms cubic-bezier(0.22, 0.75, 0.25, 1);
  will-change: transform;
}

.home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 42, 29, 0.02) 45%, rgba(9, 42, 29, 0.5) 100%),
    linear-gradient(90deg, rgba(230, 239, 232, 0.12), transparent);
}

.image-caption {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.image-caption > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.image-caption div {
  display: flex;
  flex-direction: column;
}

.image-caption small {
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.image-caption strong {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
}

.product-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(203, 221, 209, 0.84);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(18, 61, 45, 0.12);
  backdrop-filter: blur(18px);
  opacity: 0;
  will-change: transform, opacity;
}

.score-card {
  top: 142px;
  left: 0;
  width: 280px;
  padding: 16px 17px 18px;
  transform: translate3d(-38px, 22px, 45px) scale(0.94);
  animation: scoreCardReveal 650ms 500ms cubic-bezier(0.22, 0.75, 0.25, 1) forwards;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5f736b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.12em;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #5c7468;
  letter-spacing: normal;
  text-transform: none;
}

.live-indicator::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #78a88b;
  content: "";
}

.score-content {
  display: flex;
  margin-top: 16px;
  align-items: center;
  gap: 15px;
}

.score-ring {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  place-items: center;
}

.score-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.score-ring circle {
  fill: none;
  stroke-width: 5;
}

.ring-track {
  stroke: #e4eee7;
}

.ring-value {
  stroke: var(--forest);
  stroke-dasharray: 188;
  stroke-dashoffset: 188;
  stroke-linecap: round;
  animation: scoreRingReveal 850ms 820ms cubic-bezier(0.22, 0.75, 0.25, 1) forwards;
}

.score-ring > strong {
  color: var(--forest);
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  font-weight: 400;
}

.score-content > div:last-child {
  display: flex;
  flex-direction: column;
}

.score-content small,
.terra-card small,
.record-card small {
  color: #63716b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.11em;
}

.score-content div > strong {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.score-content div > span {
  margin-top: 4px;
  color: #64726b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
}

.terra-card {
  right: 24px;
  bottom: 15px;
  display: flex;
  width: 348px;
  padding: 16px 18px;
  align-items: flex-start;
  gap: 12px;
  transform: translate3d(34px, 28px, 55px) scale(0.95);
  animation: terraCardReveal 650ms 820ms cubic-bezier(0.22, 0.75, 0.25, 1) forwards;
}

.terra-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--forest);
  background: var(--gold-pale);
}

.terra-card p {
  margin: 4px 0 0;
  color: #314e42;
  font-size: 11px;
  line-height: 1.5;
}

.record-card {
  bottom: 53px;
  left: 40px;
  display: flex;
  width: 255px;
  padding: 13px 14px;
  align-items: center;
  gap: 10px;
  transform: translate3d(-30px, 24px, 60px) scale(0.95);
  animation: recordCardReveal 650ms 680ms cubic-bezier(0.22, 0.75, 0.25, 1) forwards;
}

.record-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--forest);
  background: var(--sage-pale);
}

.record-card > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.record-card strong {
  font-size: 10px;
}

.record-count {
  display: grid;
  width: 27px;
  height: 27px;
  margin-left: auto;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--gold-pale);
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
}

.hero-connections {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-connections path {
  fill: none;
  stroke: rgba(18, 61, 45, 0.25);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: heroConnectionReveal 700ms 1120ms ease forwards;
}

@keyframes heroPhotoReveal {
  to {
    opacity: 1;
    transform: translate3d(calc(var(--pointer-x) * 8px), calc(var(--pointer-y) * 8px), 0)
      scale(1);
  }
}

@keyframes scoreCardReveal {
  to {
    opacity: 1;
    transform: translate3d(calc(var(--pointer-x) * -15px), calc(var(--pointer-y) * -15px), 45px)
      scale(1);
  }
}

@keyframes recordCardReveal {
  to {
    opacity: 1;
    transform: translate3d(calc(var(--pointer-x) * -22px), calc(var(--pointer-y) * -22px), 60px)
      scale(1);
  }
}

@keyframes terraCardReveal {
  to {
    opacity: 1;
    transform: translate3d(calc(var(--pointer-x) * -28px), calc(var(--pointer-y) * -28px), 55px)
      scale(1);
  }
}

@keyframes scoreRingReveal {
  to {
    stroke-dashoffset: 34;
  }
}

@keyframes heroConnectionReveal {
  to {
    stroke-dashoffset: 0;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
  color: #63726b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  width: 20px;
  height: 30px;
  border: 1px solid #b8c9bf;
  border-radius: 999px;
}

.scroll-cue span::after {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--forest);
  content: "";
  transform: translateX(-50%);
}

.hero-enter {
  opacity: 0;
  transform: translateY(18px);
  animation: heroReveal 650ms cubic-bezier(0.22, 0.75, 0.25, 1) forwards;
}

.hero-enter-one {
  animation-delay: 80ms;
}
.hero-enter-two {
  animation-delay: 150ms;
}
.hero-enter-three {
  animation-delay: 240ms;
}
.hero-enter-four {
  animation-delay: 320ms;
}
.hero-enter-visual {
  animation-delay: 240ms;
  transform: translateY(20px) scale(0.98);
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section {
  position: relative;
  padding: 132px max(32px, calc((100vw - 1180px) / 2));
}

.reality {
  background: var(--sage-pale);
}

.reality::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--sage-line), transparent);
  content: "";
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 70px;
}

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(43px, 4.1vw, 62px);
  line-height: 1.04;
}

.section-intro {
  max-width: 420px;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.reality-flow {
  position: relative;
  display: grid;
  max-width: 1120px;
  margin: 72px auto 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.reality-card {
  position: relative;
  display: flex;
  min-height: 218px;
  padding: 23px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--sage-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(18, 61, 45, 0.04);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.reality-card:hover,
.reality-card[data-hover="true"] {
  z-index: 2;
  border-color: #b2ccba;
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(18, 61, 45, 0.08);
}

.module-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.module-meta > span {
  color: #63726b;
  font-family: "DM Serif Display", serif;
  font-size: 15px;
}

.icon-box,
.connected-icon {
  display: grid;
  place-items: center;
  color: var(--forest);
  background: var(--sage-pale);
}

.icon-box {
  width: 48px;
  height: 48px;
  border: 1px solid #d8e7dc;
  border-radius: 13px;
}

.reality-card h3,
.connected-card h3 {
  margin: 0;
  color: var(--forest-deep);
  letter-spacing: -0.025em;
}

.reality-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: 23px;
  font-weight: 400;
}

.reality-card p,
.connected-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.reality-card p {
  max-width: 285px;
  margin: 8px 0 0;
  font-size: 11px;
}

.organizing-line {
  position: absolute;
  top: 50%;
  right: 20px;
  left: 20px;
  z-index: 0;
  height: 1px;
  background: #c4d8ca;
  transform: scaleX(var(--line-progress, 0));
  transform-origin: center;
  will-change: transform, opacity;
}

.organizing-line span {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(198, 167, 105, 0.13);
}

.reality-motion {
  position: relative;
  z-index: 1;
  will-change: transform, opacity;
}

.clarity-note {
  max-width: 570px;
  margin: 32px auto 0;
}

.clarity-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  will-change: transform, opacity;
}

.clarity-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--gold-pale);
}

.clarity-note p {
  margin: 0;
  color: #62736b;
  font-size: 11px;
}

.clarity-note strong {
  color: var(--forest);
}

.connected {
  min-height: 900px;
  background: white;
}

.connected .section-heading {
  display: block;
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.centered .section-intro {
  max-width: 610px;
  margin: 21px auto 0;
}

.connected-grid {
  position: relative;
  display: grid;
  width: min(100%, 1040px);
  margin: 60px auto 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.connected-motion {
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

.connected-card {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 178px;
  padding: 24px;
  grid-template-columns: 54px 1fr 30px;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid #dbe8df;
  border-radius: 16px;
  background: rgba(251, 253, 251, 0.96);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.connected-card::after {
  position: absolute;
  right: -35px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(205, 223, 211, 0.58);
  border-radius: 50%;
  content: "";
}

.connected-card:hover,
.connected-card[data-hover="true"] {
  border-color: #bcd2c3;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(18, 61, 45, 0.07);
}

.connected-icon {
  width: 54px;
  height: 54px;
  border: 1px solid #e0eae3;
  border-radius: 14px;
}

.connected-copy > span {
  color: #64736c;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.15em;
}

.connected-card h3 {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
}

.connected-card p {
  max-width: 320px;
  margin: 7px 0 0;
  font-size: 10px;
}

.card-arrow {
  display: grid;
  width: 29px;
  height: 29px;
  z-index: 1;
  place-items: center;
  border: 1px solid #d6e4da;
  border-radius: 50%;
  color: #547064;
  background: white;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.card-arrow svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connected-card:hover .card-arrow,
.connected-card[data-hover="true"] .card-arrow {
  color: white;
  background: var(--forest);
  transform: translateX(2px);
}

.network-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.network-lines path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.network-line-base {
  stroke: #bfd4c5;
  stroke-width: 1;
  stroke-dasharray: 1;
  transition: stroke-dashoffset 50ms linear;
}

.network-line-highlight {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0.12 0.88;
  filter: drop-shadow(0 0 3px rgba(198, 167, 105, 0.34));
  transition:
    stroke-dashoffset 50ms linear,
    opacity 50ms linear;
}

.mobile-network-line {
  display: none;
}

.connection-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 5px solid white;
  border-radius: 50%;
  color: var(--forest);
  background: var(--gold-pale);
  box-shadow: 0 10px 28px rgba(18, 61, 45, 0.13);
  will-change: transform, opacity;
}

.connected-orbit {
  position: absolute;
  border: 1px solid rgba(223, 235, 226, 0.62);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 65px;
  left: -210px;
  width: 480px;
  height: 480px;
}

.orbit-two {
  right: -170px;
  bottom: -90px;
  width: 420px;
  height: 420px;
}

.stage-end {
  display: flex;
  max-width: 600px;
  margin: 42px auto 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #64736c;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  will-change: transform, opacity;
}

.stage-end i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.early-access-anchor {
  display: flex;
  min-height: 110px;
  padding: 25px max(32px, calc((100vw - 1180px) / 2));
  align-items: center;
  justify-content: space-between;
  color: white;
  background: var(--forest-deep);
}

.early-access-anchor p {
  margin: 0;
  color: #bdd0c7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 620ms cubic-bezier(0.22, 0.75, 0.25, 1),
    transform 620ms cubic-bezier(0.22, 0.75, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.terra-showcase,
.health-score,
.ecosystem,
.early-access-section {
  min-height: 860px;
}

.terra-showcase h2,
.score-section-heading h2,
.ecosystem h2,
.early-access-intro h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: "DM Serif Display", serif;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.036em;
}

.section-body {
  max-width: 520px;
  margin: 24px 0 0;
  color: #65726c;
  font-size: 12px;
  line-height: 1.7;
}

.terra-showcase {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 74px;
  background:
    radial-gradient(circle at 82% 32%, rgba(238, 230, 207, 0.48), transparent 26%),
    linear-gradient(180deg, #fff, #fbfdfb);
}

.terra-copy-column {
  position: relative;
  z-index: 2;
}

.terra-principles {
  display: flex;
  margin-top: 38px;
  flex-direction: column;
  gap: 13px;
}

.terra-principles > li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest-soft);
  font-size: 10px;
  font-weight: 600;
}

.terra-principles svg {
  color: var(--gold);
}

.terra-interface {
  position: relative;
  width: min(100%, 760px);
  padding: 14px;
  justify-self: end;
  border: 1px solid #d7e5db;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 38px 90px rgba(18, 61, 45, 0.12),
    0 0 0 8px rgba(243, 247, 244, 0.8);
}

.terra-interface::before {
  position: absolute;
  top: -34px;
  right: 60px;
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.terra-interface-header {
  display: flex;
  min-height: 72px;
  padding: 0 16px 0 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5ede7;
}

.terra-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.terra-identity > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #e5dcc3;
  border-radius: 12px;
  color: var(--forest);
  background: var(--gold-pale);
}

.terra-identity > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.terra-identity strong {
  color: var(--forest-deep);
  font-family: "DM Serif Display", serif;
  font-size: 18px;
  font-weight: 400;
}

.terra-identity small,
.illustrative-label {
  color: #65726c;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.14em;
}

.illustrative-label {
  padding: 7px 10px;
  border: 1px solid #e0e9e3;
  border-radius: 999px;
  background: #fafcfa;
  text-transform: uppercase;
}

.scenario-selectors {
  display: grid;
  padding: 12px 14px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-bottom: 1px solid #e5ede7;
  background: white;
}

.scenario-selectors button {
  display: flex;
  min-height: 42px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dfe9e2;
  border-radius: 10px;
  color: #61736a;
  background: #fbfcfb;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 600;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.scenario-selectors button .scenario-index {
  color: #7f6c49;
  font-family: "DM Serif Display", serif;
  font-size: 10px;
}

.scenario-label-mobile {
  display: none;
}

.scenario-selectors button:hover,
.scenario-selectors button.is-active {
  border-color: #c9dccc;
  color: var(--forest);
  background: var(--sage-pale);
}

.scenario-selectors button.is-active {
  box-shadow: inset 0 -2px 0 rgba(198, 167, 105, 0.72);
}

.scenario-selectors button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.conversation-canvas {
  min-height: 448px;
  padding: 30px 28px;
  background:
    radial-gradient(circle at 100% 100%, rgba(222, 235, 226, 0.62), transparent 34%), #fbfdfb;
}

.conversation-time {
  margin-bottom: 22px;
  color: #66716c;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.17em;
  text-align: center;
}

.message-author {
  display: block;
  margin-bottom: 6px;
  color: #64716a;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.14em;
}

.homeowner-message {
  width: min(86%, 480px);
  margin-left: auto;
  padding: 20px 22px;
  border: 1px solid rgba(198, 167, 105, 0.52);
  border-radius: 17px 17px 5px 17px;
  background: #edf5ef;
  box-shadow:
    0 12px 28px rgba(18, 61, 45, 0.06),
    0 0 0 3px rgba(228, 214, 181, 0.18);
}

.homeowner-message p {
  margin: 0;
  color: var(--forest-deep);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.question-attachment {
  display: flex;
  width: fit-content;
  margin-top: 14px;
  padding: 7px 10px 7px 7px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(164, 188, 172, 0.72);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
}

.faucet-photo-attachment {
  width: 158px;
  padding: 5px;
  border-color: rgba(151, 176, 160, 0.7);
  background: rgba(255, 255, 255, 0.88);
}

.faucet-photo-attachment img {
  display: block;
  width: 146px;
  height: 88px;
  border-radius: 7px;
  object-fit: cover;
  object-position: center 54%;
}

.attachment-thumbnail {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: #5d7468;
  background: #e4eee7;
}

.attachment-thumbnail svg {
  width: 27px;
  height: 27px;
}

.attachment-thumbnail rect,
.attachment-thumbnail path,
.attachment-thumbnail circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.question-attachment > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.question-attachment strong {
  color: var(--forest);
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
}

.question-attachment small {
  color: #64736b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
}

.attachment-row {
  display: flex;
  width: min(84%, 480px);
  margin: 12px 0 0 auto;
  padding: 9px;
  align-items: center;
  gap: 13px;
  border: 1px solid #dce8df;
  border-radius: 15px 5px 15px 15px;
  background: white;
}

.attachment-visual {
  position: relative;
  width: 126px;
  height: 78px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
  color: #5d7469;
  background: #eef4ef;
}

.attachment-visual svg {
  width: 100%;
  height: 100%;
}

.attachment-visual rect,
.attachment-visual path,
.attachment-visual circle {
  fill: none;
  stroke: #a9beb0;
  stroke-width: 1.4;
}

.attachment-visual span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 5px;
  color: #5e746a;
  background: rgba(255, 255, 255, 0.86);
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.attachment-meta {
  display: flex;
  flex-direction: column;
}

.attachment-meta span {
  color: #65726b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.13em;
}

.attachment-meta strong {
  margin-top: 4px;
  color: var(--forest);
  font-size: 10px;
}

.attachment-meta small {
  margin-top: 4px;
  color: #65726c;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
}

.terra-response {
  display: grid;
  width: min(88%, 530px);
  margin-top: 30px;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}

.response-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e4dbc3;
  border-radius: 11px;
  color: var(--forest);
  background: var(--gold-pale);
}

.terra-response > div:last-child {
  padding: 17px 18px;
  border: 1px solid #dce8df;
  border-radius: 5px 17px 17px 17px;
  background: rgba(255, 255, 255, 0.9);
}

.terra-response p {
  margin: 0;
  color: #496057;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
}

.guidance-summary {
  display: grid;
  margin-top: 14px;
  padding: 11px 12px;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  align-items: center;
  border: 1px solid #e2ebe5;
  border-radius: 11px;
  background: var(--sage-pale);
}

.guidance-summary span {
  color: #64736c;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.14em;
}

.guidance-summary strong {
  grid-column: 1;
  color: var(--forest);
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
}

.guidance-summary svg {
  width: 15px;
  grid-row: 1 / span 2;
  grid-column: 2;
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.5;
}

.conversation-composer {
  display: flex;
  min-height: 62px;
  padding: 0 14px 0 19px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5ede7;
  color: #66726c;
  font-size: 10px;
}

.conversation-composer > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.composer-attach,
.composer-send {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
}

.composer-attach {
  border: 1px solid #dce6df;
  color: var(--forest);
  background: white;
  font-size: 18px;
  font-weight: 300;
}

.composer-send {
  color: white;
  background: var(--forest);
}

.composer-send svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.health-score {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  background: var(--sage-pale);
}

.score-section-heading {
  position: relative;
  z-index: 2;
}

.score-stage {
  position: relative;
  width: min(100%, 760px);
  height: 650px;
  justify-self: end;
}

.score-stage::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 70%);
  content: "";
  transform: translate(-50%, -50%);
}

.score-stage-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(179, 203, 187, 0.52);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.score-stage-orbit-outer {
  width: 580px;
  height: 580px;
}

.score-stage-orbit-inner {
  width: 390px;
  height: 390px;
}

.score-primary {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  text-align: center;
  transform: translate(-50%, -50%);
}

.large-score-ring {
  position: relative;
  display: grid;
  width: 270px;
  height: 270px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 70px rgba(18, 61, 45, 0.1);
}

.large-score-ring svg {
  position: absolute;
  inset: 5px;
  width: 260px;
  height: 260px;
  transform: rotate(-90deg);
}

.large-score-ring circle {
  fill: none;
}

.large-ring-track {
  stroke: #dce8df;
  stroke-width: 8;
}

.large-ring-value {
  stroke: var(--forest);
  stroke-width: 8;
  stroke-dasharray: 704;
  stroke-dashoffset: 127;
  stroke-linecap: round;
}

.large-ring-inner {
  stroke: #eef3ef;
  stroke-width: 1;
}

.large-score-value {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.large-score-value span {
  color: #64736b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.15em;
}

.large-score-value strong {
  margin-top: 3px;
  color: var(--forest-deep);
  font-family: "DM Serif Display", serif;
  font-size: 82px;
  font-weight: 400;
  line-height: 1;
}

.large-score-value small {
  margin-top: 4px;
  color: #64736b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
}

.score-primary > p {
  margin: 16px 0 0;
  color: #64716b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.16em;
}

.score-detail {
  position: absolute;
  z-index: 3;
  width: 214px;
  padding: 17px;
  border: 1px solid #d8e5dc;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(18, 61, 45, 0.08);
}

.score-detail-condition {
  top: 68px;
  right: 20px;
}

.score-detail-verification {
  bottom: 62px;
  left: 2px;
}

.score-detail-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 10px;
  color: var(--forest);
  background: var(--sage-pale);
}

.score-detail-icon.gold {
  background: var(--gold-pale);
}

.score-detail > span {
  color: #64716b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.15em;
}

.score-detail > h3 {
  display: block;
  margin-top: 6px;
  color: var(--forest);
  font-size: 10px;
}

.score-detail > p {
  margin: 5px 0 0;
  color: #64736b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  line-height: 1.5;
}

.score-detail-history {
  position: absolute;
  right: 0;
  bottom: 57px;
  z-index: 3;
  width: 244px;
}

.ecosystem {
  min-height: 1020px;
  padding-bottom: 80px;
  background: white;
}

.ecosystem .section-heading {
  display: flex;
  max-width: 960px;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  text-align: left;
}

.ecosystem .section-heading .eyebrow {
  justify-content: flex-start;
}

.ecosystem .section-heading h2 {
  max-width: 620px;
}

.ecosystem .section-body {
  max-width: 280px;
  margin-bottom: 8px;
}

.ecosystem-explorer {
  display: grid;
  width: min(100%, 1180px);
  margin: 18px auto 0;
  grid-template-columns: minmax(0, 800px) 330px;
  align-items: center;
  gap: 42px;
}

.ecosystem-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
}

.ecosystem-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(224, 204, 155, 0.26),
    rgba(244, 237, 219, 0.1) 42%,
    transparent 72%
  );
  transform: translate(-50%, -50%);
}

.ecosystem-geometry {
  position: absolute;
  inset: 2.5%;
  width: 95%;
  height: 95%;
}

.ecosystem-geometry circle {
  fill: none;
  stroke: #dce8df;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.ecosystem-geometry circle:first-child {
  stroke: #cbded1;
}

.ecosystem-geometry line {
  stroke: #dfeae2;
  stroke-width: 1;
  stroke-dasharray: 3 6;
  vector-effect: non-scaling-stroke;
}

.ecosystem-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  border: 1px solid #e3e9df;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(151, 126, 70, 0.1);
  transform: translate(-50%, -50%);
}

.ecosystem-node {
  position: absolute;
  z-index: 4;
  display: flex;
  width: 176px;
  min-height: 62px;
  padding: 12px 15px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce8df;
  border-radius: 14px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(18, 61, 45, 0.06);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.ecosystem-node:hover,
.ecosystem-node.is-active {
  border-color: rgba(164, 140, 88, 0.66);
  background: #f4f8f5;
  box-shadow:
    0 15px 34px rgba(18, 61, 45, 0.1),
    0 0 0 3px rgba(232, 220, 190, 0.24);
}

.ecosystem-node.is-active::after {
  position: absolute;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(198, 167, 105, 0.15);
  content: "";
}

.ecosystem-node:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ecosystem-node span {
  color: #7f6c49; /* landing: the export's gold, darkened for AA */
  font-family: "DM Serif Display", serif;
  font-size: 12px;
}

.ecosystem-node strong {
  color: var(--forest);
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 600;
}

.ecosystem-node-1 {
  top: 10.5%;
  left: 50%;
  transform: translateX(-50%);
}

.ecosystem-node-2 {
  top: 27%;
  right: 2%;
}

.ecosystem-node-3 {
  right: 2%;
  bottom: 27%;
}

.ecosystem-node-4 {
  bottom: 10.5%;
  left: 50%;
  transform: translateX(-50%);
}

.ecosystem-node-5 {
  bottom: 27%;
  left: 2%;
}

.ecosystem-node-6 {
  top: 27%;
  left: 2%;
}

.ecosystem-panel {
  min-height: 550px;
  overflow: hidden;
  border: 1px solid #d8e6dc;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 65px rgba(18, 61, 45, 0.1);
}

.ecosystem-mobile-nav {
  display: none;
}

.ecosystem-panel-heading {
  padding: 24px 24px 20px;
  border-bottom: 1px solid #e2ebe5;
  background:
    radial-gradient(circle at 100% 0, rgba(238, 228, 201, 0.48), transparent 42%), #fbfdfb;
}

.ecosystem-panel-heading span,
.ecosystem-panel-content span {
  color: #64716b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ecosystem-panel-heading h3 {
  margin: 7px 0 0;
  color: var(--forest-deep);
  font-family: "DM Serif Display", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ecosystem-panel-content {
  padding: 5px 24px;
}

.ecosystem-panel-content > div {
  padding: 16px 0;
  border-bottom: 1px solid #e8eee9;
}

.ecosystem-panel-content > div:last-child {
  border-bottom: 0;
}

.ecosystem-panel-content strong {
  display: block;
  margin-top: 6px;
  color: var(--forest);
  font-size: 11px;
  line-height: 1.45;
}

.ecosystem-panel-content p {
  margin: 6px 0 0;
  color: #63736b;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  line-height: 1.55;
}

.ecosystem-benefit {
  margin: 0 -12px;
  padding: 16px 12px !important;
  border-bottom-color: transparent !important;
  background: linear-gradient(90deg, rgba(236, 245, 239, 0.9), rgba(247, 250, 248, 0.5));
}

.ecosystem-benefit span {
  color: #5b7669;
}

.ecosystem-benefit p {
  color: var(--forest);
  font-weight: 600;
}

.ecosystem-use-case {
  position: relative;
  margin: 8px -12px;
  padding: 15px 12px !important;
  border: 1px solid #e0e9e3 !important;
  border-radius: 11px;
  background: var(--sage-pale);
}

.ecosystem-use-case p {
  color: #4e675b;
  font-family: "DM Serif Display", serif;
  font-size: 12px;
  line-height: 1.45;
}

.ecosystem-panel-note {
  margin: 0;
  padding: 14px 24px 18px;
  border-top: 1px solid #e4ece6;
  color: #67716c;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  line-height: 1.5;
}

.early-access-section {
  position: relative;
  display: grid;
  min-height: 900px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 84px;
  overflow: hidden;
  color: white;
  background: var(--forest-deep);
}

.early-access-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.early-access-backdrop::before {
  position: absolute;
  top: -240px;
  right: -150px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(209, 226, 215, 0.12);
  border-radius: 50%;
  content: "";
}

.early-access-backdrop span {
  position: absolute;
  border: 1px solid rgba(209, 226, 215, 0.1);
  border-radius: 50%;
}

.early-access-backdrop span:nth-child(1) {
  top: 24%;
  right: 22%;
  width: 180px;
  height: 180px;
}

.early-access-backdrop span:nth-child(2) {
  right: -90px;
  bottom: -210px;
  width: 500px;
  height: 500px;
}

.early-access-backdrop span:nth-child(3) {
  bottom: -180px;
  left: -260px;
  width: 500px;
  height: 500px;
}

.early-access-intro,
.waitlist-panel {
  position: relative;
  z-index: 2;
}

.early-access-intro .eyebrow {
  color: #a9c0b4;
}

.early-access-intro h2 {
  color: white;
}

.early-access-supporting {
  max-width: 470px;
  margin: 26px 0 0;
  color: #c2d0c9;
  font-size: 14px;
  line-height: 1.75;
}

.access-note {
  display: flex;
  margin-top: 38px;
  align-items: center;
  gap: 10px;
  color: #9db2a7;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  letter-spacing: 0.04em;
}

.access-note-line {
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.waitlist-panel {
  width: min(100%, 680px);
  min-height: 590px;
  justify-self: end;
  border: 1px solid rgba(213, 228, 219, 0.25);
  border-radius: 26px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 42px 100px rgba(0, 0, 0, 0.2),
    0 0 0 8px rgba(255, 255, 255, 0.04);
}

.invitation-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid #e5dcc3;
  border-radius: 15px;
  color: var(--forest);
  background: var(--gold-pale);
  box-shadow: 0 14px 30px rgba(151, 126, 70, 0.12);
}

.waitlist-kicker {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #63726a;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
  font-weight: 700;
  letter-spacing: 0.17em;
}

.waitlist-locality {
  position: relative;
  z-index: 1;
  display: flex;
  margin: 24px 0 0;
  align-items: center;
  gap: 7px;
  color: #64716a;
  font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
}

.waitlist-locality svg {
  color: var(--gold);
}


@media (max-width: 1100px) {
  .site-header {
    width: calc(100% - 48px);
  }

  .hero {
    min-height: 780px;
    padding-top: 140px;
    grid-template-columns: minmax(370px, 0.9fr) minmax(440px, 1.1fr);
    gap: 10px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-visual {
    height: 550px;
  }

  .home-image {
    width: 75%;
    height: 455px;
  }

  .score-card {
    top: 115px;
    width: 255px;
  }

  .terra-card {
    right: 0;
    width: 320px;
  }

  .record-card {
    bottom: 40px;
    left: 5px;
  }

  .section {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .terra-showcase,
  .health-score,
  .early-access-section {
    gap: 44px;
  }

  .terra-showcase {
    grid-template-columns: 0.62fr 1.38fr;
  }

  .score-stage {
    transform: scale(0.9);
    transform-origin: right center;
  }

  .ecosystem-explorer {
    grid-template-columns: minmax(0, 690px) 290px;
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 80px;
  }

  .site-header nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    display: flex;
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 90px;
    flex-direction: column;
    gap: 54px;
  }

  .hero-copy {
    max-width: 680px;
    padding: 0;
    align-self: flex-start;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(54px, 8vw, 68px);
  }

  .hero-visual {
    width: min(100%, 680px);
    height: 580px;
    align-self: center;
  }

  .home-image {
    width: 74%;
    height: 490px;
  }

  .score-card {
    top: 125px;
  }

  .terra-card {
    bottom: 10px;
  }

  .record-card {
    bottom: 48px;
    left: 35px;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    display: block;
  }

  .section-intro {
    margin-top: 20px;
  }

  .reality-flow {
    grid-template-columns: 1fr;
  }

  .reality-card {
    min-height: 188px;
  }

  .organizing-line {
    top: 25px;
    bottom: 25px;
    left: 50%;
    width: 1px;
    height: auto;
    transform: scaleY(var(--line-progress, 0));
  }

  .organizing-line span {
    top: 50%;
    left: -3px;
  }

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

  .network-lines {
    display: none;
  }

  .mobile-network-line {
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 50%;
    z-index: 0;
    display: block;
    height: auto;
    width: 1px;
    background: linear-gradient(transparent, #bfd4c5 12%, #bfd4c5 88%, transparent);
    transform-origin: top;
  }

  .terra-showcase,
  .health-score,
  .early-access-section {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 60px;
  }

  .terra-interface,
  .waitlist-panel {
    width: 100%;
    justify-self: auto;
  }

  .health-score {
    align-items: stretch;
  }

  .score-stage {
    width: min(100%, 720px);
    align-self: center;
    transform: none;
  }

  .ecosystem .section-heading {
    display: block;
  }

  .ecosystem .section-body {
    max-width: 520px;
    margin-top: 20px;
  }

  .ecosystem-visual {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .ecosystem-explorer {
    display: flex;
    margin-top: 40px;
    flex-direction: column;
    gap: 34px;
  }

  .ecosystem-panel {
    width: min(100%, 680px);
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .brand {
    font-size: 17px;
  }

  .nav-cta {
    min-height: 44px; /* landing: export had 40px; 44px touch target */
    padding: 0 15px;
    font-size: 12px; /* landing: export had 10px */
  }

  .nav-cta svg {
    display: none;
  }

  .hero {
    padding: 112px 18px 72px;
    gap: 40px;
  }

  .hero-ai-type {
    top: 255px;
    left: 45%;
    font-size: clamp(320px, 105vw, 430px);
    opacity: 0.075;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 58px);
    line-height: 0.98;
  }

  .hero-intro {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .availability {
    max-width: none;
    padding-left: 3px;
  }

  .hero-visual {
    height: 525px; /* room so the Home Record and Terra cards don't overlap (Ruslan, Nov 15) */
  }

  .home-image {
    top: 0;
    width: 88%;
    height: 375px;
    border-width: 6px;
    border-radius: 8px 40px 8px 40px;
  }

  .image-caption {
    right: 16px;
    bottom: 17px;
    left: 16px;
  }

  .score-card {
    top: 80px;
    left: 0;
    width: 222px;
    padding: 13px;
  }

  .score-ring {
    width: 59px;
    height: 59px;
  }

  .score-content {
    gap: 10px;
  }

  .terra-card {
    right: 0;
    bottom: 15px;
    width: min(94%, 330px);
  }

  .record-card {
    bottom: 132px;
    left: 12px;
    width: 225px;
  }

  .hero-connections {
    display: none;
  }

  .section {
    padding: 86px 18px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .section-intro {
    font-size: 12px;
  }

  .reality-flow {
    margin-top: 45px;
  }

  .reality-card {
    min-height: 194px;
    padding: 21px;
  }

  .clarity-note > div {
    align-items: flex-start;
  }

  .connected {
    min-height: auto;
  }

  .connected-grid {
    margin-top: 43px;
  }

  .connected-card {
    min-height: 172px;
    padding: 21px;
    grid-template-columns: 46px 1fr;
    gap: 15px;
  }

  .connected-icon {
    width: 46px;
    height: 46px;
  }

  .card-arrow {
    display: none;
  }

  .connected-card h3 {
    font-size: 14px;
  }

  .stage-end > div {
    align-items: center;
    flex-direction: column;
    gap: 7px;
  }

  .early-access-anchor {
    min-height: 125px;
    padding: 25px 18px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .terra-showcase h2,
  .score-section-heading h2,
  .ecosystem h2,
  .early-access-intro h2 {
    font-size: 45px;
  }

  .terra-showcase,
  .health-score,
  .early-access-section {
    gap: 42px;
  }

  .terra-interface {
    padding: 8px;
    border-radius: 18px;
  }

  .terra-interface-header {
    min-height: 62px;
    padding: 0 9px;
  }

  .illustrative-label {
    display: none;
  }

  .conversation-canvas {
    min-height: 530px;
    padding: 22px 13px;
  }

  .homeowner-message {
    width: 92%;
  }

  .attachment-row {
    width: 96%;
    align-items: flex-start;
    flex-direction: column;
  }

  .attachment-visual {
    width: 100%;
    height: 128px;
  }

  .attachment-meta {
    padding: 3px 5px 7px;
  }

  .terra-response {
    width: 100%;
    grid-template-columns: 32px 1fr;
    gap: 8px;
  }

  .response-mark {
    width: 32px;
    height: 32px;
  }

  .conversation-composer {
    padding-left: 13px;
  }

  .score-stage {
    height: 690px;
  }

  .score-stage-orbit-outer {
    width: 350px;
    height: 350px;
  }

  .score-stage-orbit-inner {
    width: 280px;
    height: 280px;
  }

  .large-score-ring {
    width: 230px;
    height: 230px;
  }

  .large-score-ring svg {
    inset: 0;
    width: 230px;
    height: 230px;
  }

  .large-score-value strong {
    font-size: 70px;
  }

  .score-detail {
    width: 185px;
    padding: 14px;
  }

  .score-detail-condition {
    top: 4px;
    right: 0;
  }

  .score-detail-verification {
    bottom: 145px;
    left: 0;
  }

  .score-detail-history {
    right: 0;
    bottom: 12px;
    width: 190px;
  }

  .ecosystem {
    min-height: auto;
  }

  .ecosystem-visual {
    width: 100%;
    min-height: 620px;
    aspect-ratio: auto;
  }

  .ecosystem-explorer {
    gap: 22px;
  }

  .ecosystem-geometry {
    top: 120px;
    left: 50%;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    transform: translateX(-50%);
  }

  .ecosystem-center {
    top: 48%;
    width: 140px;
    height: 140px;
  }

  .ecosystem-node {
    width: 142px;
    min-height: 53px;
    padding: 9px 10px;
  }

  .ecosystem-node.is-active::after {
    right: 8px;
  }

  .ecosystem-panel {
    width: 100%;
  }

  .ecosystem-node-1 {
    top: 76px;
  }

  .ecosystem-node-2 {
    top: 180px;
    right: -2px;
  }

  .ecosystem-node-3 {
    right: -2px;
    bottom: 170px;
  }

  .ecosystem-node-4 {
    bottom: 66px;
  }

  .ecosystem-node-5 {
    bottom: 170px;
    left: -2px;
  }

  .ecosystem-node-6 {
    top: 180px;
    left: -2px;
  }

  .terra-interface,
  .terra-interface-header,
  .scenario-selectors,
  .scenario-selectors button,
  .conversation-canvas,
  .homeowner-message,
  .terra-response,
  .terra-response > div:last-child,
  .conversation-composer {
    min-width: 0;
    max-width: 100%;
  }

  .scenario-selectors {
    display: grid;
    margin: 0;
    padding: 10px 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
  }

  .scenario-selectors button {
    min-width: 0;
    min-height: 46px;
    padding: 0 6px;
    gap: 4px;
    font-size: 13px;
    white-space: nowrap;
  }

  .scenario-selectors button .scenario-index {
    font-size: 11px;
  }

  .scenario-label-full {
    display: none;
  }

  .scenario-label-mobile {
    display: inline;
  }

  .conversation-canvas {
    min-height: 0;
    padding: 22px 13px 20px;
    overflow: visible;
  }

  .homeowner-message {
    width: 100%;
    padding: 18px;
  }

  .homeowner-message p {
    font-size: 16px;
  }

  .faucet-photo-attachment {
    width: min(190px, 100%);
  }

  .faucet-photo-attachment img {
    width: 100%;
    height: auto;
    aspect-ratio: 73 / 44;
  }

  .terra-response {
    width: 100%;
    margin-top: 22px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
  }

  .terra-response > div:last-child {
    padding: 15px;
  }

  .terra-response p {
    font-size: 16px;
    line-height: 1.58;
  }

  .response-mark {
    width: 34px;
    height: 34px;
  }

  .conversation-composer {
    min-height: 52px;
    padding-left: 13px;
  }

  .score-section-heading .section-body {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.62;
  }

  .score-stage {
    display: flex;
    width: 100%;
    height: auto;
    padding-top: 14px;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .score-stage::before {
    top: 132px;
    width: min(320px, 90vw);
    height: min(320px, 90vw);
  }

  .score-stage-orbit {
    top: 139px;
  }

  .score-stage-orbit-outer {
    width: min(320px, 88vw);
    height: min(320px, 88vw);
  }

  .score-stage-orbit-inner {
    width: min(260px, 72vw);
    height: min(260px, 72vw);
  }

  .score-primary {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
    margin: 0 auto 28px;
    transform: none;
  }

  .large-score-ring {
    width: min(250px, 76vw);
    height: auto;
    aspect-ratio: 1;
  }

  .large-score-ring svg {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .large-score-value strong {
    font-size: 72px;
  }

  .score-detail,
  .score-detail-condition,
  .score-detail-verification,
  .score-detail-history {
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    min-height: 108px;
    padding: 16px;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    column-gap: 14px;
  }

  .score-detail-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    grid-row: 1 / span 3;
  }

  .score-detail > span {
    font-size: 12px;
  }

  .score-detail > h3 {
    margin-top: 4px;
    font-size: 18px;
    line-height: 1.25;
  }

  .score-detail > p {
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.5;
  }

  .ecosystem {
    min-height: auto;
  }

  .ecosystem .section-body {
    font-size: 16px;
    line-height: 1.6;
  }

  .ecosystem-explorer {
    gap: 20px;
  }

  .ecosystem-visual {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1;
  }

  .ecosystem-geometry {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    transform: none;
  }

  .ecosystem-center {
    top: 50%;
    width: clamp(112px, 36vw, 140px);
    height: clamp(112px, 36vw, 140px);
  }

  .ecosystem-node {
    width: clamp(96px, 28vw, 110px);
    min-height: 52px;
    padding: 8px 9px;
    justify-content: flex-start;
    gap: 6px;
    transform: translate(-50%, -50%);
  }

  .ecosystem-node span {
    font-size: 11px;
  }

  .ecosystem-node strong {
    font-size: 10px; /* landing: export had a smaller size; 10px floor for legibility */
    line-height: 1.2;
  }

  .ecosystem-node.is-active::after {
    right: 7px;
    width: 5px;
    height: 5px;
  }

  .ecosystem-node-1 {
    top: 12.4%;
    left: 50%;
  }

  .ecosystem-node-2 {
    top: 31.2%;
    right: auto;
    left: 82.6%;
  }

  .ecosystem-node-3 {
    right: auto;
    bottom: auto;
    top: 68.8%;
    left: 82.6%;
  }

  .ecosystem-node-4 {
    bottom: auto;
    top: 87.6%;
    left: 50%;
  }

  .ecosystem-node-5 {
    bottom: auto;
    top: 68.8%;
    left: 17.4%;
  }

  .ecosystem-node-6 {
    top: 31.2%;
    left: 17.4%;
  }

  .ecosystem-panel {
    width: 100%;
    min-height: 0;
    scroll-margin-top: 18px;
  }

  .ecosystem-mobile-nav {
    display: grid;
    min-height: 70px;
    padding: 10px 14px;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e2ebe5;
    background: #fbfdfb;
  }

  .ecosystem-mobile-nav button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #d9e5dc;
    border-radius: 50%;
    color: var(--forest);
    background: white;
  }

  .ecosystem-mobile-nav button:first-child svg {
    transform: rotate(180deg);
  }

  .ecosystem-mobile-nav button svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }

  .ecosystem-mobile-nav > div {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3px;
    text-align: center;
  }

  .ecosystem-mobile-nav span {
    color: #7b6e50;
    font-size: 12px;
    font-weight: 700;
  }

  .ecosystem-mobile-nav strong {
    color: var(--forest-deep);
    font-family: "DM Serif Display", serif;
    font-size: 20px;
    font-weight: 400;
  }

  .ecosystem-panel-heading {
    display: none;
  }

  .ecosystem-panel-content {
    padding: 8px 20px;
  }

  .ecosystem-panel-content > div {
    padding: 18px 0;
  }

  .ecosystem-panel-content > div > span {
    display: none;
  }

  .ecosystem-panel-content strong {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
  }

  .ecosystem-panel-content p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.55;
  }

  .ecosystem-benefit {
    margin: 0 -10px;
    padding: 18px 10px !important;
  }

  .ecosystem-benefit p {
    margin: 0;
    font-size: 16px;
  }

  .ecosystem-use-case {
    margin: 8px -10px 4px;
    padding: 16px 10px !important;
  }

  .ecosystem-use-case p {
    margin: 0;
    font-size: 16px;
  }

  .ecosystem-panel-note {
    padding: 13px 20px 16px;
    font-size: 11px;
  }

  .waitlist-panel {
    min-height: 620px;
  }


  .early-access-supporting {
    font-size: 13px;
  }
}

@media (min-width: 861px) {
  .site-header nav {
    font-size: 14px;
  }

  .nav-cta,
  .primary-button {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .hero-intro {
    font-size: 18px;
    line-height: 1.68;
  }

  .availability {
    max-width: 220px;
    font-size: 13px;
    line-height: 1.5;
  }

  .image-caption small {
    font-size: 10px;
  }

  .image-caption strong {
    font-size: 14px;
  }

  .card-topline {
    font-size: 11px;
  }

  .score-content small,
  .terra-card small,
  .record-card small {
    font-size: 10px;
  }

  .score-content div > strong {
    font-size: 15px;
  }

  .score-content div > span {
    font-size: 12px;
  }

  .terra-card p {
    font-size: 14px;
    line-height: 1.55;
  }

  .record-card strong {
    font-size: 13px;
  }

  .record-count {
    font-size: 11px;
  }

  .section-intro,
  .section-body {
    font-size: 17px;
    line-height: 1.68;
  }

  .reality-card h3 {
    font-size: 24px;
  }

  .reality-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .clarity-note p {
    font-size: 14px;
  }

  .connected-copy > span {
    font-size: 12px;
  }

  .connected-card h3 {
    font-size: 20px;
  }

  .connected-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .stage-end {
    font-size: 12px;
  }

  .terra-principles > li {
    font-size: 14px;
  }

  .terra-identity small,
  .illustrative-label {
    font-size: 11px;
  }

  .terra-identity strong {
    font-size: 20px;
  }

  .scenario-selectors button {
    min-height: 46px;
    font-size: 14px;
  }

  .scenario-selectors button .scenario-index {
    font-size: 13px;
  }

  .conversation-time,
  .message-author {
    font-size: 11px;
  }

  .homeowner-message p {
    font-size: 18px;
  }

  .terra-response p {
    font-size: 17px;
    line-height: 1.6;
  }

  .conversation-composer {
    font-size: 13px;
  }

  .large-score-value span {
    font-size: 11px;
  }

  .large-score-value small {
    font-size: 12px;
  }

  .score-primary > p {
    font-size: 10px;
  }

  .score-detail > span {
    font-size: 11px;
  }

  .score-detail > h3 {
    font-size: 17px;
    line-height: 1.3;
  }

  .score-detail > p {
    font-size: 14px;
    line-height: 1.5;
  }

  .ecosystem-node span {
    font-size: 13px;
  }

  .ecosystem-node strong {
    font-size: 11px;
    line-height: 1.25;
  }

  .ecosystem-panel-heading span,
  .ecosystem-panel-content span {
    font-size: 11px;
  }

  .ecosystem-panel-content strong {
    font-size: 17px;
    line-height: 1.35;
  }

  .ecosystem-panel-content p {
    font-size: 15px;
    line-height: 1.55;
  }

  .ecosystem-use-case p {
    font-size: 15px;
  }

  .ecosystem-panel-note {
    font-size: 11px;
  }

  .early-access-supporting {
    font-size: 18px;
    line-height: 1.65;
  }

  .access-note {
    font-size: 13px;
  }

  .waitlist-kicker {
    font-size: 12px;
  }

  .waitlist-locality {
    font-size: 13px;
  }

}

@media (max-width: 340px) {
  .scenario-selectors button {
    padding: 0 4px;
    gap: 0;
  }

  .scenario-selectors button .scenario-index {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-enter,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================================================
   landing: additions for the real page (t113 part 2). Everything above is the export.
   ===================================================================================== */

:root {
  --focus-ring: #c6a769;
  --muted-aa: #5a6d64; /* secondary text on white/sage, ≥ 4.5:1 */
}

html {
  scroll-padding-top: 16px;
}

/* Keyboard focus, everywhere (the export had none). */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 6px;
}
.early-access-section :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible {
  outline-color: var(--focus-ring);
}
main:focus,
.waitlist-mount:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--forest-deep);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}

/* Header: logo mark + wordmark, Sign in */
.brand {
  gap: 10px;
}
.brand-mark {
  flex: 0 0 auto;
}
.site-header .nav-sign-in {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.site-header {
  padding-top: env(safe-area-inset-top);
}

/* Hero: neutral stand-in until an approved photo is set (content.json → photos.hero) */
.home-image.is-placeholder {
  display: grid;
  place-items: center;
  color: rgba(18, 61, 45, 0.28);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.75), transparent 46%),
    radial-gradient(circle at 80% 85%, rgba(198, 167, 105, 0.22), transparent 40%),
    linear-gradient(160deg, #e7f0e9 0%, #d3e3d8 55%, #b9cfc0 100%);
}
.photo-placeholder-art {
  width: 72%;
  max-width: 380px;
  height: auto;
  margin-bottom: 18%;
}
.hero-illustrative {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
}

.illustrative-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--sage-line);
  border-radius: 999px;
  color: var(--muted-aa);
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Terra: photo attachment placeholder */
.attachment-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 96px;
  place-items: center;
  color: var(--forest-soft);
  background: linear-gradient(150deg, #eef4f0, #dbe8df);
}

.section-fineprint {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted-aa);
  font-size: 12px;
  line-height: 1.6;
}

/* Ecosystem: the Hearthleaf mark in the center */
.ecosystem-center img {
  width: 46%;
  height: auto;
}

/* Coming soon strip (below the ecosystem) */
.coming-soon {
  max-width: 1120px;
  margin: 72px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--sage-line);
}
.coming-soon-heading {
  margin: 0 0 20px;
  color: var(--muted-aa);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.coming-soon ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.coming-soon li {
  display: flex;
  padding: 20px 22px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px dashed var(--sage-line);
  border-radius: 15px;
  background: var(--sage-pale);
}
.coming-soon-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #6b5524;
  background: var(--gold-pale);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.coming-soon strong {
  color: var(--forest-deep);
  font-size: 15px;
}
.coming-soon p {
  color: var(--muted-aa);
  font-size: 13px;
  line-height: 1.55;
}

/* Early Access: launch line, perk, and the part-1 form module themed to the design */
.early-access-launch {
  margin: 26px 0 0;
  color: white;
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  line-height: 1.2;
}
.early-access-launch + .early-access-supporting {
  margin-top: 12px;
}
.waitlist-panel {
  display: flex;
  min-height: 0;
  padding: 44px 48px 36px;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.waitlist-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.waitlist-head .invitation-mark {
  margin: 0;
}
.waitlist-head .waitlist-kicker {
  margin: 0;
}
.waitlist-mount {
  scroll-margin-top: 24px;
}
.waitlist-panel .waitlist-locality {
  margin: 0;
  justify-content: flex-start;
  text-align: left;
}
.waitlist-panel .noscript {
  color: var(--forest);
  font-size: 15px;
}
.waitlist-panel .hl-wl {
  --hl-wl-primary: var(--forest);
  --hl-wl-primary-hover: var(--forest-deep);
  --hl-wl-tint: var(--sage);
  --hl-wl-tint-light: var(--sage-pale);
  --hl-wl-card: transparent;
  --hl-wl-text: var(--forest-deep);
  --hl-wl-text-2: var(--muted-aa);
  --hl-wl-border: var(--sage-line);
  --hl-wl-radius: 14px;
  --hl-wl-font: "Manrope", sans-serif;
  max-width: none;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.waitlist-panel .hl-wl-title {
  font-family: "DM Serif Display", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Network highlight starts hidden; site.js drives it on scroll. */
.network-line-highlight {
  opacity: 0;
}

/* Footer (the export ends at Early Access; same deep forest) */
.site-footer {
  padding: 56px max(32px, calc((100vw - 1180px) / 2)) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c2d0c9;
  background: var(--forest-deep);
  font-size: 13px;
  line-height: 1.6;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.site-footer .brand {
  color: white;
  font-size: 19px;
}
.footer-tagline {
  margin-top: 10px;
  color: #dbe6e0;
  font-family: "DM Serif Display", serif;
  font-size: 20px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: white;
  font-weight: 600;
}
.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-fine {
  display: grid;
  margin-top: 36px;
  padding-top: 24px;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b3c4bb;
  font-size: 12px;
}
.footer-fine .footer-legal {
  color: #dbe6e0;
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header nav > a.nav-sign-in {
    display: inline-flex;
  }
  .coming-soon ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header nav {
    gap: 14px;
  }
  .site-header .nav-sign-in {
    font-size: 14px;
  }
  .brand-mark {
    width: 26px;
    height: 26px;
  }
  .waitlist-panel {
    padding: 28px 20px 24px;
  }
  .waitlist-panel .hl-wl-title {
    font-size: 28px;
  }
  .early-access-launch {
    font-size: 21px;
  }
  .coming-soon {
    margin-top: 48px;
  }
  .site-footer {
    padding: 44px 16px calc(32px + env(safe-area-inset-bottom));
  }
}

/* The export typed these labels in capitals; the copy in content.json is in sentence case. */
.card-topline > span:first-child,
.score-content small,
.terra-card small,
.record-card small,
.image-caption small,
.terra-identity small,
.conversation-time,
.message-author,
.score-detail > span,
.large-score-value span,
.score-primary p,
.ecosystem-panel-heading span,
.ecosystem-panel-content span,
.waitlist-kicker,
.connected-copy span,
.stage-end span {
  text-transform: uppercase;
}
.score-detail > h3 {
  font-weight: 700;
}

/* Photo caption: on a pill so it reads on any photo (and the placeholder), at the top of the
   picture where the product cards don't cover it. */
.image-caption {
  top: 20px;
  right: 20px;
  bottom: auto;
  left: auto;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: #00522c; /* solid brand emerald so it reads on any photo (Ruslan, Nov 15) */
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.image-caption,
.image-caption small,
.image-caption strong {
  color: #ffffff;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
  text-shadow: none;
}

.image-caption small {
  font-weight: 600;
}

.image-caption strong {
  font-size: 13px;
  font-weight: 700;
}

/* "Illustrative example" for the score: under the ring on phones (stacked layout); along the
   bottom of the stage on wider screens, where the detail cards would cover it under the ring. */
.score-note-stage {
  display: none;
}
@media (min-width: 561px) {
  .score-primary > p.score-note-inline {
    display: none;
  }
  .score-note-stage {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: block;
    margin: 0;
    color: #64716b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
  }
}
@media (max-width: 560px) {
  .image-caption {
    top: 12px;
    right: 12px;
  }
}
