:root {
  --mint: #dff6ea;
  --mint-2: #cfeee0;
  --ink: #0f3d32;
  --ink-2: #1a5c48;
  --green: #1a7a62;
  --green-hover: #146351;
  --paper: #ffffff;
  --muted: #4a6b60;
  --line: #d7ebe2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--mint);
  line-height: 1.55;
}

a { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.langs { font-size: 0.9rem; color: var(--muted); white-space: nowrap; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 12px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 12px;
}
.hero .tag { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 24px; max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 12px;
}
.cta:hover { background: var(--green-hover); color: #fff; }
.cta-note { color: var(--muted); font-size: 0.92rem; margin: 0; }
.hero-shot {
  justify-self: center;
  width: min(220px, 58vw);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 61, 50, 0.16);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 36px 0 8px;
}
.feature {
  background: var(--paper);
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.feature h2 { font-size: 1.05rem; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

.shots { padding: 36px 0 8px; }
.shots h2 { font-size: 1.4rem; margin: 0 0 16px; text-align: center; }
.shot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.shot-grid img {
  width: 160px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 61, 50, 0.12);
}

.site-footer {
  padding: 48px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 10px; }
.site-footer a { color: var(--ink-2); }

.legal {
  background: var(--paper);
  border-radius: 18px;
  padding: 28px 22px 36px;
  margin: 12px 0 28px;
  box-shadow: 0 8px 24px rgba(15, 61, 50, 0.06);
}
.legal h1 { font-size: 1.8rem; margin: 0 0 4px; }
.legal h2 { font-size: 1.15rem; margin-top: 2rem; }
.muted { color: var(--muted); font-size: 0.9rem; }
.legal table { border-collapse: collapse; width: 100%; margin-top: 0.5rem; }
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}
.legal th { background: #f7fbf8; }
.legal code { background: #f3f3f3; padding: 1px 4px; border-radius: 4px; }
.box { background: #f7fbf8; border-radius: 12px; padding: 16px 20px; margin: 1rem 0; }
.legal ol li, .legal ul li { margin-bottom: 0.4rem; }

.beta-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 36px 22px 40px;
  margin: 18px 0 28px;
  text-align: center;
}
.beta-card .cta { margin-top: 2rem; }
.beta-card .logo { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 1rem; }
.beta-card h1 { font-size: 2rem; margin: 0 0 0.2rem; }
.beta-card .tag { color: var(--ink-2); font-size: 1.1rem; max-width: 480px; margin: 0.6rem auto 0; }
.steps { text-align: left; max-width: 480px; margin: 2.5rem auto 0; background: #f7fbf8; border-radius: 12px; padding: 20px 24px; }
.steps h2 { font-size: 1rem; margin-top: 0; }
.steps ol { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 1.4rem; }

@media (min-width: 800px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; padding: 48px 0 20px; }
  .hero-shot { width: 240px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .shot-grid img { width: 180px; }
  .legal { padding: 36px 40px 48px; }
}

/* —— Home landing —— */
body.home {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f4faf7;
  color: #16352c;
}
body.home .wrap { width: min(1120px, calc(100% - 48px)); overflow: visible; }

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.store-badge { display: inline-flex; line-height: 0; }
.store-badge img { height: 52px; width: auto; }
.home-actions .store-row { flex-wrap: nowrap; gap: 8px; }
.home-actions .store-badge img { height: 40px; }

.home-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 8px;
}
.home-nav { display: none; gap: 28px; }
.home-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.home-nav a:hover { color: var(--ink); }
.home-actions { display: flex; align-items: center; gap: 14px; }

.home-hero { padding: 28px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow.center { text-align: center; }
.hero-copy h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 800;
  color: #122c25;
}
.hero-copy .tag {
  font-size: 1.08rem;
  color: var(--ink-2);
  margin: 0 0 26px;
  max-width: 34rem;
  line-height: 1.6;
}
.hero-copy .trust {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 28rem;
}

.phone-stage {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}
.phone {
  position: relative;
  z-index: 2;
  width: min(248px, 72vw);
  background: #1c1c1e;
  border-radius: 32px;
  padding: 2px;
  box-shadow:
    0 0 0 1px rgba(15, 61, 50, 0.08),
    0 24px 48px rgba(15, 61, 50, 0.16);
}
.phone-screen {
  background: #f4f6f5;
  border-radius: 30px;
  overflow: hidden;
  padding: 10px;
}
.phone img {
  width: 100%;
  border-radius: 0;
  display: block;
}

.phone-stage .blob {
  position: absolute;
  z-index: 0;
  background: #d4efdf;
  width: 280px;
  height: 300px;
  border-radius: 58% 42% 50% 50% / 48% 56% 44% 52%;
  top: 10%;
  left: 50%;
  transform: translateX(-48%);
}

.hand {
  display: none;
  font-family: Caveat, "Segoe Script", cursive;
  font-weight: 700;
  color: #2a7a60;
  line-height: 1.15;
  position: absolute;
  z-index: 3;
  margin: 0;
  pointer-events: none;
}
.hand-tr {
  top: 8px;
  right: 0;
  font-size: 1.35rem;
  transform: rotate(8deg);
  text-align: right;
  width: 8.2rem;
}
.hand-tl {
  top: 36px;
  left: 4px;
  font-size: 1.3rem;
  transform: rotate(-10deg);
  width: 8.5rem;
}
.hand-bubble {
  bottom: 88px;
  right: 8px;
  font-size: 1.15rem;
  background: #e7f6ee;
  border-radius: 16px;
  padding: 10px 14px;
  transform: rotate(-4deg);
  box-shadow: 0 8px 20px rgba(15, 61, 50, 0.06);
}
.leaf {
  display: none;
  position: absolute;
  width: 132px;
  right: 0;
  bottom: 8px;
  z-index: 1;
  pointer-events: none;
}

.home-features { padding: 8px 0 24px; }
.feat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 36px 0;
}
.feat-copy { max-width: 440px; }
.feat-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  font-weight: 800;
  color: #122c25;
}
.feat-copy p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.feat-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.feat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dff3e8;
  color: var(--green);
  flex-shrink: 0;
}
.feat-ico svg { width: 18px; height: 18px; }

.home-how { padding: 20px 0 8px; }
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  font-weight: 800;
  color: #122c25;
}
.how-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.how-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 22px 20px 20px;
}
.how-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dff3e8;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 10px;
}
.how-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.how-card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

.home-more { padding: 36px 0 8px; }
.more-band {
  background: #eaf6ef;
  border-radius: 28px;
  padding: 40px 22px 36px;
}
.more-grid { display: grid; grid-template-columns: 1fr; gap: 22px 18px; }
.more-card h3 { margin: 12px 0 6px; font-size: 1.02rem; }
.more-card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

.home-faq { padding: 48px 0 8px; }
.faq-inner { max-width: 720px; }
.faq-list details {
  background: var(--paper);
  border-radius: 14px;
  padding: 4px 18px;
  margin-bottom: 10px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 14px; color: var(--ink-2); }

.home-footer { padding-top: 56px; }

@media (max-width: 799px) {
  .home-actions .store-row { display: none; }
  .feat .feat-copy { order: -1; }
  .phone-stage { padding: 12px 0 0; }
}

@media (min-width: 800px) {
  .home-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }
  .home-header-inner .brand { justify-self: start; }
  .home-nav { justify-self: center; }
  .home-actions { justify-self: end; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
  }
  .home-hero {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    padding: 12px 0 64px;
  }
  .home-hero .wrap { width: min(1120px, calc(100% - 48px)); }
  .phone { width: 248px; }
  .feat {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
  }
  .how-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .more-band { padding: 52px 40px 44px; }
  .more-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (min-width: 1040px) {
  .home-nav { display: flex; }
}

@media (min-width: 1100px) {
  .phone { width: 260px; }
  .phone-stage-hero { padding: 8px 168px 28px 8px; }
  .phone-stage-left { padding: 8px 8px 8px 150px; }
  .phone-stage-right { padding: 8px 150px 8px 8px; }
  .hand, .leaf { display: block; }
  .more-grid { grid-template-columns: repeat(4, 1fr); }
}
