:root {
  color-scheme: light;
  --paper: #f1f4ee;
  --paper-warm: #faf9f4;
  --mint: #dce9d8;
  --mint-deep: #b7ceb7;
  --forest: #173d2c;
  --forest-bright: #285e42;
  --ink: #142019;
  --ink-soft: #556159;
  --line: rgba(20, 32, 25, 0.16);
  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body, button, a { font-synthesis: none; }
a { color: inherit; }
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--forest);
  font-weight: 700;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.8rem 1rem;
  overflow: visible;
  clip: auto;
}

:focus-visible {
  outline: 3px solid #4d8c68;
  outline-offset: 5px;
  border-radius: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: max(0.75rem, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 60px;
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 1.15rem;
  translate: -50% 0;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(20, 32, 25, 0.1);
  background: rgba(247, 249, 245, 0.82);
  box-shadow: 0 16px 40px rgba(20, 32, 25, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img { border-radius: 21%; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-left: auto;
}

.site-nav a,
.site-footer a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a { position: relative; }

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  scale: 0 1;
  transform-origin: right;
  transition: scale 180ms ease;
}

.site-nav a:hover::after {
  scale: 1 1;
  transform-origin: left;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--forest-bright);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(34rem, 1.2fr);
  align-items: center;
  min-height: 100svh;
  padding: clamp(7rem, 12vh, 10rem) var(--gutter) clamp(5rem, 9vh, 7rem);
  isolation: isolate;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.hero > * { min-width: 0; }

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(135deg, #e8f1e3 0%, var(--mint) 50%, #cadcc9 100%);
  content: "";
}

.hero__wash {
  position: absolute;
  z-index: -2;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 80vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(60px);
  rotate: -20deg;
}

.hero__copy {
  position: relative;
  z-index: 3;
  width: min(36rem, 100%);
  padding-left: max(0px, calc((100vw - var(--max)) / 2 - var(--gutter)));
}

.hero__eyebrow { margin-bottom: 1.4rem; }

.hero__eyebrow,
.hero h1,
.hero__lead {
  animation: hero-copy-in 900ms 100ms cubic-bezier(.2,.8,.2,1) both;
}

.hero h1 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7.7vw, 8.3rem);
  font-weight: 730;
  letter-spacing: -0.072em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero__lead {
  max-width: 32rem;
  margin: clamp(1.6rem, 3vw, 2.5rem) 0 0;
  color: #405046;
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.48;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.hero__actions p {
  max-width: 9rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.35;
}

.app-store-link {
  display: inline-block;
  min-width: 195px;
  min-height: 50px;
}

.app-store-link img {
  width: 195px;
  height: auto;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(62vw, 880px);
  margin-right: clamp(-12rem, -8vw, -4rem);
  justify-self: end;
  perspective: 1600px;
  animation: hero-visual-in 1100ms 180ms cubic-bezier(.16,.8,.24,1) both;
}

.hero__halo {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  filter: blur(30px);
}

.fold-plane {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: clamp(1.1rem, 2vw, 2rem);
  background: #eef3ed;
  box-shadow: 0 42px 90px rgba(27, 61, 43, 0.22), 0 8px 30px rgba(27, 61, 43, 0.12);
  overflow: hidden;
  transform: rotateX(var(--fold-x, 7deg)) rotateY(-6deg) rotateZ(1.5deg) translateY(var(--fold-y, 0px));
  transform-origin: 50% 100%;
  transition: transform 80ms linear;
  will-change: transform;
}

.fold-plane img { width: 100%; height: auto; }

.hero__hinge {
  position: absolute;
  z-index: 1;
  bottom: 5%;
  width: 70%;
  height: 12px;
  border-radius: 50%;
  background: rgba(19, 55, 37, 0.22);
  filter: blur(10px);
}

.hero__scroll {
  position: absolute;
  z-index: 5;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  left: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll span:last-child { animation: gentle-drop 1.8s ease-in-out 2; }

.manifesto {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(7rem, 15vw, 14rem) var(--gutter);
}

.manifesto__number {
  color: var(--mint-deep);
  font-family: var(--display);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.7;
}

.manifesto__copy { max-width: 56rem; }

.manifesto h2,
.feature h2,
.styles h2,
.privacy h2,
.compatibility h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 720;
  letter-spacing: -0.058em;
  line-height: 0.98;
  text-wrap: balance;
}

.manifesto h2 { font-size: clamp(3.4rem, 7.8vw, 7.2rem); }

.manifesto__copy > p:last-child {
  max-width: 34rem;
  margin: 2rem 0 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
  min-height: 90svh;
  padding: clamp(5rem, 9vw, 9rem) var(--gutter);
}

.feature--dark {
  background: #102b1f;
  color: #eff5ee;
}

.feature__media { position: relative; }

.feature__media img {
  width: 100%;
  border-radius: clamp(1rem, 2vw, 1.75rem);
  box-shadow: 0 35px 100px rgba(4, 18, 12, 0.22);
}

.feature--dark .feature__media img { box-shadow: 0 45px 110px rgba(0, 0, 0, 0.4); }
.feature__copy { max-width: 30rem; }
.feature h2 { font-size: clamp(3.1rem, 6vw, 6.4rem); }

.feature__copy > p:last-child {
  margin: 1.75rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.55;
}

.feature--dark .eyebrow { color: #8fc3a0; }
.feature--dark .feature__copy > p:last-child { color: #afc4b5; }

.styles {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 12rem) var(--gutter);
}

.styles__heading {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.styles__heading .eyebrow { margin-bottom: 0.75rem; }
.styles h2 { font-size: clamp(3rem, 7vw, 6.8rem); }

.styles__visual img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 30px 90px rgba(25, 55, 39, 0.12);
}

.styles__list {
  margin: clamp(3rem, 6vw, 6rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.styles__list li {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.styles__list > li > span {
  color: var(--forest-bright);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.styles__list strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  letter-spacing: -0.045em;
}

.styles__list p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.feature--controls {
  grid-template-columns: minmax(19rem, 0.6fr) minmax(0, 1.4fr);
  background: var(--paper-warm);
}

.feature--controls .feature__copy { justify-self: center; }

.privacy {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(3rem, 8vw, 9rem);
  min-height: 85svh;
  padding: clamp(7rem, 12vw, 12rem) var(--gutter);
  background: #0e261b;
  color: #f2f6f0;
}

.privacy__statement { align-self: start; }
.privacy .eyebrow { color: #91c3a1; }

.privacy h2 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 8vw, 8rem);
}

.privacy__details {
  align-self: end;
  max-width: 30rem;
  padding-bottom: 1rem;
}

.privacy__details > p {
  margin: 0 0 2rem;
  color: #b7cabe;
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  line-height: 1.55;
}

.privacy__details ul {
  margin: 0 0 2.5rem;
  padding: 0;
  border-top: 1px solid rgba(238, 247, 241, 0.18);
  list-style: none;
}

.privacy__details li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(238, 247, 241, 0.18);
  color: #e1ebe4;
}

.privacy__details a,
.compatibility a {
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.compatibility {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
}

.compatibility__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.compatibility h2 {
  max-width: 14ch;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
}

.compatibility__grid > div { align-self: end; }

.compatibility__grid p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.compatibility__grid a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--forest-bright);
}

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 82svh;
  padding: 7rem var(--gutter);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.9), transparent 25%),
    var(--mint);
  text-align: center;
}

.final-cta__mark { margin-bottom: 2rem; }

.final-cta__mark img {
  border-radius: 22%;
  box-shadow: 0 22px 50px rgba(24, 67, 44, 0.2);
}

.final-cta h2 {
  margin-bottom: 2.5rem;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
}

.store-text-link {
  color: var(--forest);
  font-size: 1rem;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: #0a1a12;
  color: #dce7df;
}

.brand--footer { color: #f1f5f2; }

.site-footer > div > p {
  margin: 1rem 0 0;
  color: #91a498;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
}

.site-footer a { color: #c4d2c8; }
.site-footer a:hover { color: #fff; }

.site-footer__legal {
  grid-column: 1 / -1;
  max-width: 70rem;
  margin: 1rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(238, 247, 241, 0.15);
  color: #7e9185;
  font-size: 0.72rem;
  line-height: 1.55;
}

[data-reveal].is-reveal-ready {
  opacity: 0;
  translate: 0 2rem;
  transition: opacity 700ms ease, translate 700ms cubic-bezier(.2,.8,.2,1);
}

[data-reveal].is-reveal-ready.is-visible {
  opacity: 1;
  translate: 0;
}

@keyframes hero-copy-in {
  from { opacity: 0; translate: 0 2rem; }
  to { opacity: 1; translate: 0; }
}

@keyframes hero-visual-in {
  from { opacity: 0; translate: 6rem 2rem; scale: 0.96; }
  to { opacity: 1; translate: 0; scale: 1; }
}

@keyframes gentle-drop {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 0.35rem; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 3.5rem;
    min-height: auto;
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
  }

  .hero__copy { padding-left: 0; }
  .hero h1 { font-size: clamp(4.4rem, 14vw, 7rem); }

  .hero__visual {
    width: min(100%, 760px);
    margin-right: 0;
    transform: translateX(6%);
  }

  .hero__scroll { display: none; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto__number { font-size: 5rem; }
  .manifesto__copy > p:last-child { margin-left: 0; }

  .feature,
  .feature--controls {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .feature--controls .feature__copy { justify-self: start; }
  .feature--controls .feature__media { grid-row: 1; }

  .styles__heading,
  .privacy,
  .compatibility__grid {
    grid-template-columns: 1fr;
  }

  .privacy { min-height: auto; }
  .privacy__details { justify-self: end; }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 1rem);
    max-width: calc(100vw - 1rem);
  }
  .site-nav { gap: 0.9rem; }
  .site-nav a:not(:last-child) { display: none; }

  .hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .hero__copy {
    width: 100%;
    min-width: 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.85rem, 18vw, 5.5rem);
  }
  .hero__lead { font-size: 1.05rem; }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__actions p { max-width: none; }

  .hero__visual {
    width: 100%;
    margin-right: 0;
    transform: translateX(16%) scale(1.18);
    transform-origin: center;
  }

  .manifesto,
  .feature,
  .styles,
  .privacy,
  .compatibility,
  .final-cta {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .manifesto h2,
  .feature h2,
  .styles h2,
  .privacy h2,
  .final-cta h2 {
    letter-spacing: -0.052em;
  }

  .styles__list li {
    grid-template-columns: 3rem 1fr;
    gap: 0.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .site-footer nav { justify-content: flex-start; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .fold-plane { transform: rotateX(5deg) rotateY(-4deg) rotateZ(1deg); }

  [data-reveal].is-reveal-ready {
    opacity: 1;
    translate: 0;
  }
}
