:root {
  color-scheme: light;
  --green: #1f6147;
  --green-dark: #0f2f24;
  --green-pressed: #174736;
  --mint: #dff3e8;
  --cream: #f6f4ed;
  --paper: #fffdf8;
  --ink: #11231b;
  --muted: #637168;
  --line: rgba(31, 97, 71, 0.14);
  --shadow: 0 24px 70px rgba(15, 47, 36, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(223, 243, 232, 0.9), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(31, 97, 71, 0.12), transparent 26rem),
    linear-gradient(180deg, #fbfaf5 0%, #f2f5ef 48%, #fbfaf7 100%);
  min-height: 100vh;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 50px rgba(15, 47, 36, 0.08);
  backdrop-filter: blur(20px);
}

.site-header.compact {
  margin-top: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 26px rgba(31, 97, 71, 0.28);
}

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.site-nav a,
.nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(17, 35, 27, 0.72);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--green);
  background: rgba(31, 97, 71, 0.08);
}

.nav-cta {
  color: white;
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: white;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.82fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: 74px 0 58px;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h1 {
  max-width: 690px;
  font-size: clamp(3.5rem, 7.2vw, 6.35rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-lede {
  max-width: 640px;
  margin: 26px 0 0;
  color: #52665a;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(31, 97, 71, 0.28);
}

.button.primary:hover {
  background: var(--green-pressed);
}

.button.secondary {
  color: var(--green);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #52665a;
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.2px);
  animation: float 7s ease-in-out infinite;
}

.orbit.one {
  width: 190px;
  height: 190px;
  top: 58px;
  right: 18px;
  background: rgba(31, 97, 71, 0.13);
}

.orbit.two {
  width: 132px;
  height: 132px;
  bottom: 84px;
  left: 22px;
  background: rgba(163, 231, 197, 0.5);
  animation-delay: -2.5s;
}

.hero-device-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 560px);
  min-height: 620px;
  border-radius: 56px;
  background:
    radial-gradient(circle at 18% 72%, rgba(163, 231, 197, 0.42), transparent 14rem),
    linear-gradient(145deg, rgba(255, 253, 248, 0.5), rgba(255, 255, 255, 0.12));
}

.phone-frame {
  position: relative;
  width: min(320px, 82vw);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 52px;
  background: #060807;
  box-shadow: var(--shadow), inset 0 0 0 8px #101412;
  transform: rotate(-2deg);
}

.phone-frame.real-screen {
  overflow: hidden;
  padding: 10px;
  aspect-ratio: 1170 / 2532;
}

.phone-frame.real-screen img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  object-fit: cover;
}

.main-screen {
  z-index: 2;
  transform: rotate(-3deg) translateX(-22px);
}

.secondary-screen {
  position: absolute;
  z-index: 3;
  right: 48px;
  bottom: 78px;
  width: min(205px, 38vw);
  opacity: 0.98;
  transform: rotate(5deg);
  box-shadow: 0 22px 54px rgba(15, 47, 36, 0.28), inset 0 0 0 7px #101412;
}

.floating-stat {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 44px rgba(15, 47, 36, 0.12);
  backdrop-filter: blur(18px);
}

.floating-stat span {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.floating-stat strong {
  color: rgba(17, 35, 27, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-stat {
  top: 86px;
  left: 28px;
}

.bottom-stat {
  right: 22px;
  bottom: 34px;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.logo-strip span {
  color: rgba(17, 35, 27, 0.58);
  font-weight: 850;
}

.split-section,
.showcase,
.health-section,
.final-cta {
  padding: 86px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 46px;
  align-items: start;
}

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

.feature-card,
.screen-card,
.health-card,
.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 18px 58px rgba(15, 47, 36, 0.08);
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: 238px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border-radius: 16px;
  color: white;
  background: var(--green);
  font-weight: 900;
}

.feature-card p {
  margin-bottom: 0;
}

.showcase {
  display: grid;
  gap: 38px;
  padding-top: 104px;
}

.showcase-copy {
  max-width: 820px;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screen-card {
  min-height: 470px;
  overflow: hidden;
  position: relative;
  display: grid;
  align-content: space-between;
  padding: 26px;
  border-radius: 38px;
}

.screen-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -38% 18%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 97, 71, 0.18), transparent 68%);
  pointer-events: none;
}

.screen-card span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.screen-card strong {
  display: block;
  max-width: 100%;
  margin-top: 12px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.screen-card p {
  max-width: 28ch;
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.screen-card-copy {
  position: relative;
  z-index: 2;
}

.screen-card img {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(68%, 230px);
  margin: 28px auto -112px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 60px rgba(15, 47, 36, 0.23);
}

.screen-card:nth-child(2) img {
  width: min(76%, 250px);
  margin-bottom: -126px;
}

.start-card {
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.9), rgba(227, 242, 234, 0.72));
}

.history-card {
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.82), rgba(255, 255, 255, 0.58));
  transform: translateY(28px);
}

.achievements-card {
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.9), rgba(229, 239, 233, 0.78));
}

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

.screenshot-gallery {
  padding: 30px 0 86px;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.gallery-track figure {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 18px 52px rgba(15, 47, 36, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-track figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(15, 47, 36, 0.14);
}

.gallery-track img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.gallery-track figcaption {
  padding: 12px 4px 4px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
}

.health-card {
  min-height: 340px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-xl);
}

.health-card.dark {
  color: white;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
}

.health-card.dark h2,
.health-card.dark .eyebrow {
  color: white;
}

.health-card.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.final-cta {
  margin-bottom: 48px;
  padding: clamp(42px, 7vw, 76px);
  border-radius: 46px;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 20rem),
    linear-gradient(145deg, var(--green), var(--green-dark));
  box-shadow: var(--shadow);
}

.final-cta h2,
.final-cta .eyebrow {
  color: white;
}

.final-cta .hero-actions {
  justify-content: center;
}

.final-cta .button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 750;
}

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

.legal-page {
  padding-bottom: 64px;
}

.legal-hero,
.legal-layout {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.legal-hero {
  padding: 78px 0 36px;
}

.legal-hero h1 {
  max-width: 900px;
}

.legal-hero p {
  max-width: 760px;
  font-size: 1.16rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.7);
  backdrop-filter: blur(16px);
}

.legal-toc a {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
}

.legal-toc a:hover {
  color: var(--green);
  background: rgba(31, 97, 71, 0.08);
}

.legal-card {
  padding: clamp(24px, 4vw, 52px);
  border-radius: var(--radius-xl);
}

.legal-card h2 {
  margin-top: 44px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.legal-card h3 {
  margin-top: 28px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.legal-card ul {
  color: var(--muted);
  line-height: 1.75;
  padding-left: 1.2rem;
}

.legal-card a {
  color: var(--green);
  font-weight: 850;
}

.last-updated {
  color: var(--green);
  font-weight: 850;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--green);
  font-size: 1.25rem;
}

details[open] summary::after {
  content: "–";
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}

@media (max-width: 920px) {
  .site-header {
    border-radius: 26px;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  body.menu-open .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 18px 44px rgba(15, 47, 36, 0.12);
  }

  body.menu-open .site-nav a {
    padding: 14px;
  }

  .hero,
  .split-section,
  .health-section,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

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

  .hero-device-stage {
    min-height: 640px;
  }

  .main-screen {
    transform: rotate(-3deg) translateX(-28px);
  }

  .secondary-screen {
    right: 5%;
    bottom: 58px;
  }

  .feature-grid,
  .gallery-track {
    grid-template-columns: 1fr;
  }

  .screen-row {
    grid-template-columns: 1fr;
  }

  .history-card {
    transform: none;
  }

  .screen-card {
    min-height: 410px;
  }

  .screen-card img,
  .screen-card:nth-child(2) img {
    width: min(48%, 220px);
    margin-bottom: -118px;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 560px) {
  .site-header,
  .section-shell,
  .legal-hero,
  .legal-layout,
  .logo-strip,
  .site-footer {
    width: min(100% - 22px, var(--max));
  }

  h1 {
    font-size: 3.15rem;
  }

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

  .phone-frame {
    width: min(320px, 78vw);
  }

  .secondary-screen {
    display: none;
  }

  .hero-visual,
  .hero-device-stage {
    min-height: 500px;
  }

  .main-screen {
    transform: rotate(-2deg);
  }

  .floating-stat {
    display: none;
  }

  .screen-card {
    min-height: 470px;
  }

  .screen-card img,
  .screen-card:nth-child(2) img {
    width: min(70%, 230px);
    margin-bottom: -120px;
  }

  .logo-strip {
    border-radius: 28px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }
}
