:root {
  --ink: #17252d;
  --muted: #62717a;
  --paper: #f3f0e8;
  --paper-2: #ebe5d8;
  --white: #fffdfa;
  --line: #d8d1c3;
  --green: #2d6a61;
  --green-2: #16443e;
  --blue: #2f5f98;
  --coral: #d96f5d;
  --gold: #d9a441;
  --violet: #766a9f;
  --mint: #dbece1;
  --rose: #f1d9cf;
  --shadow: 0 28px 70px rgba(23, 37, 45, .16);
  --soft-shadow: 0 18px 46px rgba(23, 37, 45, .11);
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -42px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 232, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 209, 195, .8);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(216, 209, 195, .85);
  box-shadow: 0 8px 22px rgba(23, 37, 45, .1);
}
.brand-mark img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #35434b;
}
.nav-links a:hover { color: var(--green-2); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 9px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 9% 16%, rgba(217, 164, 65, .22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(45, 106, 97, .18), transparent 28%),
    linear-gradient(145deg, #f6f0e5 0%, #eef2e7 52%, #f0e2d9 100%);
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23,37,45,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,37,45,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 84%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr .98fr;
  gap: 58px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  color: var(--green-2);
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: 0;
}
h1 { font-size: clamp(44px, 6.2vw, 76px); max-width: 820px; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 24px; }
p { color: var(--muted); }
.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 20px;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.store-button {
  min-width: 208px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  background: var(--ink);
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 14px 36px rgba(23, 37, 45, .18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(23, 37, 45, .22);
}
.play-store { background: var(--green-2); }
.store-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  font-weight: 900;
}
.store-button small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, .72);
  line-height: 1;
}
.store-button span:last-child {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}
.safety-note {
  width: fit-content;
  margin-top: 18px;
  padding: 10px 13px;
  border: 1px solid rgba(22, 68, 62, .22);
  border-radius: 999px;
  background: rgba(255, 253, 250, .58);
  font-size: 13px;
  color: #4f5d63;
}

.hero-visual {
  min-height: 620px;
  position: relative;
}
.life-collage {
  position: absolute;
  inset: 0;
}
.life-img {
  position: absolute;
  object-fit: cover;
  border: 8px solid rgba(255,253,250,.75);
  box-shadow: var(--soft-shadow);
}
.img-main {
  right: 0;
  top: 8px;
  width: 72%;
  height: 330px;
  border-radius: 32px;
}
.img-small {
  width: 34%;
  height: 180px;
  border-radius: 24px;
}
.img-small.top { left: 0; top: 44px; }
.img-small.bottom { right: 18px; bottom: 20px; }
.logo-device-card {
  position: absolute;
  right: 4%;
  bottom: 178px;
  z-index: 2;
  width: min(190px, 32vw);
  margin: 0;
  border: 8px solid rgba(255, 253, 250, .82);
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(23, 37, 45, .16);
  transform: rotate(3deg);
}
.logo-device-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.phone {
  width: min(310px, 72vw);
  height: 560px;
  border: 12px solid #111b21;
  border-radius: 44px;
  background: #111b21;
  box-shadow: var(--shadow);
  position: absolute;
  left: 8%;
  bottom: 0;
}
.phone-top {
  width: 92px;
  height: 24px;
  background: #111b21;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 32px;
  background:
    radial-gradient(circle at 15% 12%, rgba(217, 164, 65, .28), transparent 25%),
    linear-gradient(160deg, #f8f4ea 0%, #e3efe8 56%, #d8e0f0 100%);
  padding: 42px 22px 24px;
  overflow: hidden;
}
.screen-head span {
  font-size: 12px;
  color: var(--muted);
}
.screen-head strong {
  display: block;
  font-size: 21px;
  margin-top: 4px;
}
.score-ring {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  margin: 28px auto 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, #fffdfa 50%, transparent 52%),
    conic-gradient(var(--green) 0 78%, #d9d1c5 78% 100%);
}
.score-ring span {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--green-2);
  line-height: 1;
}
.score-ring small {
  display: block;
  margin-top: -42px;
  font-weight: 800;
  color: var(--muted);
}
.metric-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.metric-list div, .mini-card {
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 16px;
  padding: 13px;
}
.metric-list span, .floating-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.metric-list strong, .floating-card strong { display: block; margin-top: 3px; }
.mini-card {
  margin-top: 12px;
  color: var(--green-2);
  font-weight: 800;
}
.floating-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 18px 50px rgba(23, 37, 45, .14);
  min-width: 185px;
}
.card-one { left: 0; top: 262px; border-left: 5px solid var(--coral); }
.card-two { right: 0; bottom: 118px; border-left: 5px solid var(--blue); }

.intro-band {
  background: var(--ink);
  color: var(--white);
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.band-grid p {
  margin: 0;
  min-height: 138px;
  padding: 28px;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.045);
  font-weight: 700;
}

.section { padding: 104px 0; }
.section.muted { background: var(--paper-2); }
.two-col {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.section-copy p {
  margin-top: 24px;
  font-size: 18px;
}
.section-copy p + p { margin-top: 16px; }
.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}
.section-head.compact p {
  max-width: 720px;
  font-size: 18px;
}
.image-card {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid rgba(216, 209, 195, .8);
  box-shadow: var(--soft-shadow);
}
.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.image-card figcaption {
  padding: 18px 20px 22px;
  color: var(--muted);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  min-height: 270px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,253,250,.88));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--soft-shadow);
  border-color: rgba(45, 106, 97, .35);
}
.feature-card p { margin-bottom: 0; }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  font-weight: 900;
}
.feature-icon.mood { background: linear-gradient(135deg, var(--gold), var(--coral)); }
.feature-icon.journal { background: linear-gradient(135deg, var(--blue), var(--violet)); }
.feature-icon.habit { background: linear-gradient(135deg, var(--green), var(--gold)); }
.feature-icon.breath { background: linear-gradient(135deg, #77a9b8, var(--green)); }
.feature-icon.sleep { background: linear-gradient(135deg, #52607d, var(--blue)); }
.feature-icon.balance { background: linear-gradient(135deg, var(--green-2), var(--gold)); }

.image-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 14px;
}
.image-strip img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(23, 37, 45, .1);
}

.mission-section {
  background:
    linear-gradient(135deg, rgba(22,68,62,.94), rgba(47,95,152,.82)),
    var(--green-2);
  color: var(--white);
}
.mission-layout {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.mission-image {
  min-height: 420px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(23,37,45,.02), rgba(23,37,45,.42)),
    url("https://images.unsplash.com/photo-1765896387377-e293914d1e69?q=80&w=800&auto=format&fit=crop") center / cover;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}
.mission-card {
  background: rgba(255,253,250,.92);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}
.mission-card.dark {
  background: rgba(23,37,45,.7);
  color: var(--white);
}
.mission-card.dark p,
.mission-card.dark .eyebrow { color: rgba(255,255,255,.78); }
.mission-card h2 {
  font-size: clamp(30px, 3vw, 42px);
}
.mission-card p:last-child {
  font-size: 18px;
  color: inherit;
}
.card-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 20px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.stats-section {
  background: #fff7ed;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.stat-card {
  grid-column: span 2;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid rgba(216, 209, 195, .85);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 34px rgba(23, 37, 45, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--soft-shadow);
}
.stat-card.wide { grid-column: span 3; }
.stat-card strong {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  color: var(--green-2);
  letter-spacing: 0;
}
.stat-card span {
  display: block;
  margin-top: 22px;
  font-size: 18px;
  font-weight: 800;
}
.stat-card small {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 700;
}
.verification-note {
  margin-top: 18px;
  font-size: 13px;
  color: #715f3b;
}

.parameter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.parameter-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.parameter-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(var(--green), var(--gold), var(--coral));
}
.parameter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--soft-shadow);
}
.parameter-card strong {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green-2);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
}
.parameter-card p { margin-bottom: 0; }

.human-story {
  background:
    linear-gradient(90deg, rgba(243,240,232,.92), rgba(243,240,232,.76)),
    url("https://images.unsplash.com/photo-1758798471100-a98fc12bc76c?q=80&w=1600&auto=format&fit=crop") center / cover fixed;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  align-items: stretch;
}
.quote-panel,
.story-card {
  background: rgba(255,253,250,.86);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--soft-shadow);
}
blockquote {
  margin: 26px 0;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}
.story-cards {
  display: grid;
  gap: 14px;
}
.story-card {
  padding: 26px;
}
.story-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}
.story-card span { color: var(--muted); }

.trust {
  background: linear-gradient(135deg, #dfe8e0, #e9edf7);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 64px;
  align-items: start;
}
.trust-grid p { font-size: 18px; }
.trust-list {
  display: grid;
  gap: 14px;
}
.trust-list div {
  position: relative;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  padding: 22px 22px 22px 68px;
  box-shadow: 0 12px 34px rgba(23, 37, 45, .06);
}
.trust-list div::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.3), transparent),
    var(--green-2);
}
.trust-list strong { display: block; margin-bottom: 6px; }
.trust-list span { color: var(--muted); }

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
}
summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 900;
}
details p {
  margin-top: 0;
  padding-bottom: 20px;
}

.download-section { padding: 82px 0; }
.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(23,37,45,.92), rgba(22,68,62,.88)),
    var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.download-panel h2 { color: var(--white); }
.download-panel p { color: rgba(255,255,255,.76); }
.download-panel .eyebrow { color: #a7d8ce; }
.vertical { flex-direction: column; margin-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 56px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--soft-shadow);
}
.contact-card span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
}
.contact-card a {
  display: inline-block;
  margin: 12px 0 16px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--green-2);
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}

.footer {
  padding: 42px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.footer p {
  margin: 0;
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  font-weight: 800;
  font-size: 14px;
  color: var(--green-2);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 13px; }
  .mission-layout { grid-template-columns: 1fr 1fr; }
  .mission-image { grid-column: 1 / -1; min-height: 300px; }
}

@media (max-width: 980px) {
  .hero-grid, .two-col, .trust-grid, .contact-grid, .story-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 640px; }
  .parameter-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-panel { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; }
  .band-grid p { min-height: auto; }
  .stat-card, .stat-card.wide { grid-column: span 3; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { min-height: 66px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 18px 44px rgba(23, 37, 45, .14);
  }
  .nav-links.open {
    display: grid;
    gap: 4px;
  }
  .nav-links a {
    padding: 12px;
    border-radius: 8px;
  }
  .nav-links a:hover { background: var(--paper); }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  .store-button { width: 100%; }
  .hero-visual { min-height: 560px; }
  .img-main {
    width: 100%;
    height: 230px;
  }
  .img-small {
    width: 43%;
    height: 140px;
  }
  .img-small.top { top: 210px; }
  .logo-device-card {
    right: 2px;
    bottom: 178px;
    width: 120px;
    border-width: 5px;
    border-radius: 18px;
  }
  .phone {
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(300px, 82vw);
    height: 500px;
  }
  .floating-card { display: none; }
  .section { padding: 72px 0; }
  .feature-grid, .parameter-grid, .stats-grid, .mission-layout, .image-strip {
    grid-template-columns: 1fr;
  }
  .stat-card, .stat-card.wide { grid-column: auto; }
  .image-strip img { height: 170px; }
  .mission-card, .quote-panel, .download-panel { padding: 28px; border-radius: 20px; }
  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-links { flex-wrap: wrap; }
}
