:root {
  --bg: #f5f7f6;
  --bg-mint: #e8f6ee;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #5b6b7c;
  --green: #088c4c;
  --green-accent: #08bc90;
  --green-dark: #067a43;
  --border: #e2e8e6;
  --shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  --radius: 22px;
  --header: 64px;
  --page-wash:
    radial-gradient(1100px 720px at 6% -8%, rgba(8, 188, 144, 0.38), transparent 58%),
    radial-gradient(900px 620px at 108% 12%, rgba(6, 122, 67, 0.22), transparent 52%),
    radial-gradient(780px 520px at 72% 108%, rgba(125, 211, 252, 0.28), transparent 58%),
    radial-gradient(640px 420px at 20% 78%, rgba(250, 204, 21, 0.1), transparent 60%),
    linear-gradient(165deg, #eefbf6 0%, #e4f3ec 32%, #eaf4f8 68%, #f6f3ea 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070c14;
    --bg-mint: #0c1a1c;
    --card: #121c2b;
    --text: #f8fafc;
    --muted: #94a3b8;
    --green: #34d399;
    --green-accent: #2ee6b8;
    --green-dark: #6ee7b7;
    --border: #243044;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    --page-wash:
      radial-gradient(1000px 680px at 0% 0%, rgba(8, 188, 144, 0.28), transparent 52%),
      radial-gradient(860px 640px at 100% 18%, rgba(14, 116, 144, 0.32), transparent 54%),
      radial-gradient(720px 480px at 42% 100%, rgba(6, 122, 67, 0.24), transparent 52%),
      linear-gradient(165deg, #061018 0%, #0a1620 48%, #0b1a16 100%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--page-wash);
}
a { color: var(--green-dark); }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--text);
  color: var(--bg) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: scale(1.03); }
.btn.secondary {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 14px;
}

.hero {
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  background:
    radial-gradient(820px 460px at 88% 8%, rgba(8, 188, 144, 0.2), transparent 62%);
  padding: 32px 0 48px;
  text-align: left;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0 0 16px;
  max-width: 12ch;
  font-weight: 800;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--green-dark), var(--green-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 24px;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.store-badge img {
  height: 48px;
  width: auto;
}
.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 16px 0 6px;
  background: #000;
  border: 1.2px solid #a1a1a6;
  border-radius: 10px;
  text-decoration: none;
  color: #fff !important;
}
.store-badge-btn img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.store-badge-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #fff;
}
.store-badge-copy small {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.info-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.info-links a {
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--green-accent);
  padding-bottom: 2px;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-phone {
  position: relative;
  width: min(280px, 100%);
  min-height: 560px;
}
.hero-phone .phone {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.45s ease;
}
.hero-phone .phone.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 1;
}
.platform-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.platform-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 700 14px/1 Manrope, sans-serif;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.platform-switch button.is-active {
  background: var(--text);
  color: var(--bg);
}
.phone-light {
  border-color: #e8edf0;
  background: #fff;
}
.android-story {
  background:
    linear-gradient(180deg, rgba(8, 188, 144, 0.1), transparent 38%),
    radial-gradient(900px 480px at 12% 80%, rgba(6, 122, 67, 0.12), transparent 60%);
}

.phone {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  border: 10px solid #10151c;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.06);
  background: #10151c;
  aspect-ratio: 9 / 19.5;
}
.phone img,
.phone .screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-sticky {
  width: min(280px, 100%);
  margin: 0 auto;
}
.phone-sticky .screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone-sticky .screen.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.story {
  padding: 40px 0 20px;
}
.story-head {
  text-align: center;
  margin-bottom: 28px;
}
.story-head h2,
.section h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 auto 10px;
  max-width: 16ch;
}
.story-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 64px;
  align-items: start;
}
.story-stage {
  position: sticky;
  top: calc(var(--header) + 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.story-dots {
  display: flex;
  gap: 8px;
}
.story-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--border);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.story-dots button.is-active {
  width: 22px;
  background: var(--green-accent);
}

.story-panel {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.28;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.story-panel.is-active {
  opacity: 1;
  transform: none;
}
.story-panel h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 14px;
}
.story-panel p,
.story-panel li {
  color: var(--muted);
  font-size: 17px;
}
.story-panel ul { padding-left: 18px; margin: 8px 0 0; }
.story-panel li { margin: 10px 0; }
.story-panel strong { color: var(--text); }

.step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.section {
  padding: 88px 0;
  background: radial-gradient(720px 380px at 50% 0%, rgba(8, 188, 144, 0.1), transparent 70%);
}
.section .intro {
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 560px;
  font-size: 18px;
}
.glossary { text-align: center; }
.glossary .intro, .glossary h2 { margin-left: auto; margin-right: auto; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.contact-card { text-align: center; padding: 36px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
}
.pillar {
  padding: 28px 22px;
  text-align: center;
}
.pillar + .pillar { border-left: 1px solid var(--border); }
.pillar strong { display: block; margin-bottom: 6px; }
.pillar span { color: var(--muted); font-size: 14px; }

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.legal {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 80px;
}
.legal header { margin-bottom: 28px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.04em; }
.meta { color: var(--muted); font-size: 14px; margin-top: 8px; }
.legal h2 {
  font-size: 20px;
  color: var(--green-dark);
  margin: 32px 0 8px;
}
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 18px; }
.highlights { display: grid; gap: 10px; margin: 20px 0 8px; }
.highlight {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.highlight strong { display: block; color: var(--text); }

.footer {
  border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 188, 144, 0.08));
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer a { text-decoration: none; font-weight: 600; }

.reveal {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero .reveal:nth-child(1) { animation-delay: 0.05s; }
.hero .reveal:nth-child(2) { animation-delay: 0.14s; }
.hero .reveal:nth-child(3) { animation-delay: 0.22s; }
.hero .reveal:nth-child(4) { animation-delay: 0.3s; }
.hero .reveal:nth-child(5) { animation-delay: 0.42s; }

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

@media (max-width: 880px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .story-layout { grid-template-columns: 1fr; gap: 8px; }
  .story-stage {
    top: var(--header);
    padding: 12px 0 4px;
    background: linear-gradient(color-mix(in srgb, var(--bg) 72%, transparent) 70%, transparent);
    z-index: 5;
  }
  .android-story .story-stage {
    background: linear-gradient(color-mix(in srgb, var(--bg-mint) 55%, transparent) 70%, transparent);
  }
  .phone-sticky { width: 168px; }
  .story-panel {
    min-height: auto;
    padding: 28px 0 72px;
    opacity: 1;
    transform: none;
  }
  .pillars, .terms-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--border); }
  .hero-phone { min-height: 430px; width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-phone, .phone-sticky .screen, .story-panel {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
