:root {
  --cream: #f7f3eb;
  --cream-2: #efe8dc;
  --ink: #14241f;
  --ink-soft: #5a6b64;
  --forest: #0b3d34;
  --forest-deep: #062821;
  --leaf: #2f8f5b;
  --leaf-bright: #5cb87a;
  --mist: rgba(11, 61, 52, 0.08);
  --line: rgba(20, 36, 31, 0.12);
  --white: #ffffff;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --phone-w: 334px;
  --phone-h: 700px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
}

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

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(47, 143, 91, 0.16), transparent 55%),
    radial-gradient(700px 480px at 92% 12%, rgba(11, 61, 52, 0.12), transparent 50%),
    linear-gradient(180deg, #faf7f1 0%, #f3eee4 48%, #ebe4d8 100%);
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 235, 0.9);
  border-bottom: 1px solid var(--line);
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 14px clamp(16px, 3vw, 24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
}

.brand img {
  width: 34px;
  height: auto;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}

.topnav nav {
  display: flex;
  gap: 22px;
}

.topnav nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.topnav nav a:hover { color: var(--forest); }

.topnav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-testflight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.btn-testflight .btn-apple,
.btn-android .btn-android-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-android {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}
.btn {
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 20px;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn:active { transform: scale(0.98); }

.btn.primary {
  background: var(--forest);
  color: var(--white);
}

.btn.primary:hover { background: var(--forest-deep); }

.btn.ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.ghost:hover { background: var(--cream-2); }

.btn.tiny {
  padding: 8px 12px;
  min-width: 42px;
}

.text-link {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 61, 52, 0.25);
}

.text-link:hover { border-bottom-color: var(--forest); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 26rem) auto;
  gap: clamp(28px, 3vw, 48px);
  align-items: center;
  justify-content: center;
  justify-items: start;
  width: 100%;
  margin: 0;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 32px) 72px;
  box-sizing: border-box;
  overflow: visible;
  background: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  background:
    url("assets/hero-valley.jpg") center / cover no-repeat;
  opacity: 0.42;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(247, 243, 235, 0.94) 0%,
      rgba(247, 243, 235, 0.82) 36%,
      rgba(239, 232, 220, 0.48) 68%,
      rgba(239, 232, 220, 0.62) 100%
    );
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 26rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-mark {
  width: min(180px, 48vw);
  height: auto;
  display: block;
  background: transparent;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 22px rgba(6, 40, 33, 0.12));
}

.slogan {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--forest-deep);
  font-weight: 600;
  max-width: 18ch;
}

.positioning {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 28rem;
}

.principle {
  margin: 0 0 22px;
  color: var(--leaf);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest-deep);
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-btn:hover,
.store-btn:focus,
.store-btn:visited {
  text-decoration: none !important;
  background: #fff;
  border-color: rgba(47, 143, 91, 0.45);
  transform: translateY(-1px);
  color: var(--forest-deep);
}

.store-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--forest);
}

.store-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-eyebrow,
.store-title {
  text-decoration: none !important;
}

.store-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.store-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.descriptor {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: rise 1.05s var(--ease) 0.1s both;
  width: 100%;
  max-width: 420px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.device-unit {
  position: relative;
  filter: drop-shadow(0 28px 50px rgba(6, 40, 33, 0.28));
}

.phone {
  width: var(--phone-w);
  height: var(--phone-h);
}

.phone-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  padding: 5px;
  background:
    linear-gradient(145deg, #2a2a2e 0%, #0a0a0c 42%, #1c1c1f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 22px 48px rgba(6, 40, 33, 0.22);
}

.phone-bezel::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 40px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 1;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  background: #f7f3eb;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.demo-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.screen-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  padding: 0 6px;
}

.screen-index {
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.screen-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
  text-align: center;
}

.filmstrip {
  display: flex;
  gap: 8px;
  max-width: min(100%, 420px);
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}

.filmstrip button {
  flex: 0 0 auto;
  width: 44px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  opacity: 0.72;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.filmstrip button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filmstrip button.on,
.filmstrip button:hover {
  opacity: 1;
  border-color: var(--leaf);
  transform: translateY(-2px);
}

.band {
  padding: 64px clamp(16px, 4vw, 40px);
  max-width: var(--page-max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.band h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 0 0 10px;
  color: var(--forest-deep);
}

.band-lede {
  margin: 0 0 28px;
  color: var(--ink-soft);
  max-width: 58ch;
}

.journey-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.journey-card {
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
  transition: transform 0.18s var(--ease), border-color 0.18s ease, box-shadow 0.18s ease;
}

.journey-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 143, 91, 0.45);
  box-shadow: 0 14px 30px rgba(6, 40, 33, 0.08);
}

.journey-stage {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 8px;
}

.journey-quote {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--forest-deep);
  margin-bottom: 8px;
}

.journey-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.module {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.module h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  color: var(--forest);
}

.module p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.support-chip {
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.support-chip.on {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}

.support-chip.muted {
  opacity: 0.7;
  font-weight: 500;
}

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

.triage {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.triage strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.triage span {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.triage.green { border-top: 3px solid #2f8f5b; }
.triage.yellow { border-top: 3px solid #d4a017; }
.triage.orange { border-top: 3px solid #e07a2f; }
.triage.red { border-top: 3px solid #c0392b; }

.integrity-list {
  margin: 0 0 18px;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.integrity-list li { margin-bottom: 8px; }

.disclaimer {
  margin: 0;
  max-width: 62ch;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(11, 61, 52, 0.06);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 40px) 40px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 34px;
  height: auto;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}

.site-footer strong {
  font-family: var(--serif);
  color: var(--forest);
}

.site-footer p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-meta {
  margin-left: auto !important;
  font-size: 0.8rem !important;
}

@media (max-width: 1100px) {
  .topnav nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: auto;
  }
  .hero-copy {
    max-width: 32rem;
  }
  .hero-brand {
    display: flex;
    justify-content: center;
  }
  .slogan { max-width: none; }
  .cta-row { justify-content: center; }
  .phone-stage { order: -1; max-width: none; }
  .triage-row { grid-template-columns: 1fr 1fr; }
  .footer-meta { margin-left: 0 !important; width: 100%; }
}

.hero-compact {
  grid-template-columns: 1fr;
  min-height: min(78vh, 720px);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero-copy-wide {
  max-width: 40rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-compact .hero-brand {
  display: flex;
  justify-content: center;
}

.hero-compact .slogan,
.hero-compact .positioning,
.hero-compact .principle,
.hero-compact .descriptor {
  text-align: center;
}

.store-links-center,
.cta-row-center {
  justify-content: center;
  width: 100%;
}

.hero-page {
  min-height: min(62vh, 560px);
}

.howto-steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 52rem;
}

.howto-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  animation: rise 0.7s var(--ease) both;
}

.howto-step:nth-child(2) { animation-delay: 0.06s; }
.howto-step:nth-child(3) { animation-delay: 0.12s; }
.howto-step:nth-child(4) { animation-delay: 0.18s; }
.howto-step:nth-child(5) { animation-delay: 0.24s; }

.howto-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 0;
}

.howto-step h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--forest-deep);
}

.howto-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: start;
}

.sim-grid-narrow {
  max-width: 280px;
}

.sim-phone {
  margin: 0;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.sim-phone img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(20, 36, 31, 0.08);
  background: #111;
}

.sim-phone figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.35;
}

.sim-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(52vw, 520px);
}

.sim-nav a {
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .sim-nav { display: none; }
}


