
:root {
  --green:#0f5b3c;
  --green2:#176c4b;
  --green3:#0a3d29;
  --ink:#18231e;
  --muted:#5d6d64;
  --line:#cfddd5;
  --paper:#ffffff;
  --soft:#eef5f1;
  --soft2:#f7faf8;
  --shadow:0 18px 45px rgba(15,91,60,.12);
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  min-width:0;
  overflow-x:hidden;
  color:var(--ink);
  background:var(--soft2);
  font:17px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
img { max-width:100%; height:auto; }
a { color:var(--green); }
button, a { -webkit-tap-highlight-color:transparent; }

.site-header {
  background:var(--green);
  color:white;
  border-bottom:1px solid rgba(255,255,255,.14);
  position:sticky;
  top:0;
  z-index:50;
}
.nav {
  max-width:1140px;
  margin:auto;
  padding:15px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand {
  color:white;
  text-decoration:none;
  font-size:1.28rem;
  font-weight:850;
  white-space:nowrap;
}
.navlinks {
  display:flex;
  flex-wrap:wrap;
  gap:17px;
}
.navlinks a {
  color:white;
  text-decoration:none;
  font-weight:700;
}

.hero {
  color:white;
  background:linear-gradient(180deg,var(--green) 0%,var(--green2) 100%);
  padding:48px 24px 58px;
}
.hero-inner {
  max-width:1140px;
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:52px;
  align-items:center;
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.78rem;
  font-weight:850;
  opacity:.88;
}
h1 {
  margin:.22em 0 .18em;
  font-size:clamp(2.7rem,6vw,5rem);
  line-height:.96;
  letter-spacing:-.045em;
}
.hero-lead {
  margin:0;
  max-width:690px;
  font-size:1.18rem;
}

.store-actions,
.hero-controls {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:25px;
}
.hero-controls {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,190px));
  width:min(100%,392px);
}
.hero-controls .store-link,
.store-actions .store-link,
.hero-controls .button {
  height:54px;
  padding:6px 10px;
  border:2px solid white;
  border-radius:11px;
}
.hero-controls .store-link,
.hero-controls .button { width:100%; }
.store-actions .store-link { width:190px; }
.hero-controls .store-link,
.store-actions .store-link { background:white; }
.hero-controls .store-badge,
.store-actions .store-badge { height:auto; }
.hero-controls .store-badge-apple,
.store-actions .store-badge-apple { width:120px; }
.hero-controls .store-badge-google,
.store-actions .store-badge-google { width:164px; }
.store-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
}
.store-badge {
  display:block;
  width:auto;
  max-width:100%;
  object-fit:contain;
}
.hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}
.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:11px 17px;
  border-radius:11px;
  text-decoration:none;
  font-weight:800;
}
.button.light { background:white; color:var(--green); border:2px solid white; }
.button.outline-light { color:white; border:2px solid rgba(255,255,255,.88); }

.hero-device {
  min-width:0;
}
.device-card {
  max-width:330px;
  margin:auto;
  padding:12px;
  border-radius:28px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.26);
  box-shadow:0 28px 60px rgba(0,0,0,.24);
}
.device-card img {
  width:100%;
  display:block;
  border-radius:20px;
}
.device-caption {
  max-width:410px;
  margin:16px auto 0;
  padding:14px 16px;
  border-radius:15px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18);
}
.device-caption strong,
.device-caption span { display:block; }
.device-caption span { opacity:.82; font-size:.91rem; margin-top:2px; }

.platform-bar {
  background:white;
  border-bottom:1px solid var(--line);
}
.platform-inner {
  max-width:1140px;
  margin:auto;
  padding:16px 24px;
  display:flex;
  gap:20px;
  justify-content:space-between;
  align-items:center;
}
.platform-inner > div:first-child {
  display:flex;
  flex-direction:column;
}
.platform-inner strong { color:var(--green); }
.platform-inner span { color:var(--muted); font-size:.91rem; }

.platform-switch {
  display:flex;
  gap:7px;
  padding:4px;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:12px;
}
.platform-choice {
  border:0;
  background:transparent;
  color:var(--green);
  font:inherit;
  font-weight:800;
  padding:8px 14px;
  border-radius:8px;
  cursor:pointer;
}
.platform-choice.active {
  background:var(--green);
  color:white;
}

.wrap {
  width:min(1140px,100%);
  margin:auto;
  padding:58px 24px;
}
.badge,
.tier-tag {
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  background:var(--soft);
  color:var(--green);
  border:1px solid var(--line);
  font-size:.78rem;
  font-weight:850;
}
.section-title {
  margin:8px 0 8px;
  font-size:clamp(2rem,4.2vw,2.6rem);
  line-height:1.08;
  letter-spacing:-.025em;
}
.section-title.smaller { font-size:1.8rem; }
.lead {
  color:var(--muted);
  max-width:800px;
  margin-top:0;
}

.feature-section { background:white; }
.feature-stack {
  display:grid;
  gap:24px;
  margin-top:30px;
}
.feature-card {
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,.72fr) minmax(320px,1.28fr);
  gap:0;
  align-items:stretch;
  overflow:hidden;
  background:var(--soft2);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
}
.feature-card.reverse .feature-copy { order:2; }
.feature-card.reverse .feature-screen { order:1; }

.feature-copy {
  min-width:0;
  padding:30px;
  align-self:center;
}
.feature-copy h3 {
  margin:9px 0 8px;
  color:var(--green);
  font-size:1.42rem;
  line-height:1.17;
}
.feature-copy p {
  margin:0;
  color:var(--muted);
}

.feature-screen {
  min-width:0;
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#e7f2ec,#dceae2);
}
.feature-screen img {
  display:block;
  width:min(100%,420px);
  max-height:620px;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 16px 35px rgba(15,91,60,.18);
}

.quick-features {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:22px;
}
.quick-features > div {
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:15px;
  padding:18px;
}
.quick-features strong,
.quick-features span { display:block; }
.quick-features strong { color:var(--green); margin-bottom:3px; }
.quick-features span { color:var(--muted); font-size:.92rem; }

.editions-section { background:var(--soft2); }
.edition-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:26px;
}
.edition-card {
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
}
.edition-card.featured {
  border:2px solid var(--green2);
}
.edition-card h3 {
  color:var(--green);
  margin:10px 0 8px;
}

.screens-section { background:white; }
.screen-gallery {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:26px;
}
.screen-gallery figure {
  margin:0;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--soft2);
}
.screen-gallery img {
  display:block;
  width:100%;
  max-height:640px;
  object-fit:contain;
  background:var(--soft);
}
.screen-gallery figcaption {
  padding:12px 14px;
  color:var(--muted);
  font-size:.9rem;
}

.download-section {
  background:var(--green);
  color:white;
}
.download-box {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.download-box .section-title { color:white; }
.download-box .lead { color:rgba(255,255,255,.82); }
.store-actions.dark { margin:0; }

.legal-section { background:var(--soft2); }

footer {
  background:white;
  border-top:1px solid var(--line);
}
.footer-inner {
  max-width:1140px;
  margin:auto;
  padding:25px 24px 36px;
  display:flex;
  justify-content:space-between;
  gap:22px;
  flex-wrap:wrap;
  color:var(--muted);
}

/* TABLET */
@media (max-width:900px) {
  .site-header { position:static; }
  .hero-inner {
    grid-template-columns:1fr;
    gap:32px;
  }
  .hero-device { max-width:500px; margin:auto; width:100%; }
  .feature-card,
  .feature-card.reverse {
    grid-template-columns:minmax(0,.82fr) minmax(280px,1.18fr);
  }
  .quick-features { grid-template-columns:repeat(2,1fr); }
  .edition-grid { grid-template-columns:1fr; }
  .screen-gallery { grid-template-columns:repeat(2,1fr); }
  .download-box { flex-direction:column; align-items:flex-start; }
}

/* PHONE */
@media (max-width:620px) {
  body { font-size:16px; }

  .site-header { position:static; }
  .nav {
    padding:13px 16px;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .navlinks {
    width:100%;
    gap:7px 12px;
    font-size:.88rem;
  }

  .hero {
    padding:34px 16px 40px;
  }
  .hero-inner {
    display:flex;
    flex-direction:column;
    gap:28px;
  }
  h1 {
    font-size:clamp(2.45rem,12vw,3.45rem);
    max-width:10ch;
  }
  .hero-lead { font-size:1.03rem; }

  .store-actions {
    display:grid;
    grid-template-columns:1fr;
    width:100%;
    gap:10px;
  }
  .store-link,
  .store-actions .store-link { width:100%; }
  .hero-actions {
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .button { width:100%; text-align:center; }

  .hero-device {
    width:100%;
    max-width:360px;
  }
  .device-card {
    width:min(78vw,310px);
    max-width:100%;
    padding:9px;
    border-radius:24px;
  }
  .device-caption {
    width:100%;
    font-size:.92rem;
  }

  .platform-inner {
    padding:14px 16px;
    flex-direction:column;
    align-items:flex-start;
  }
  .platform-switch {
    width:100%;
  }
  .platform-choice {
    flex:1;
  }

  .wrap {
    padding:42px 16px;
  }

  .feature-stack { gap:18px; }
  .feature-card,
  .feature-card.reverse {
    display:flex;
    flex-direction:column;
    width:100%;
    min-width:0;
    border-radius:18px;
  }
  .feature-card .feature-screen,
  .feature-card.reverse .feature-screen {
    order:1;
  }
  .feature-card .feature-copy,
  .feature-card.reverse .feature-copy {
    order:2;
  }
  .feature-copy {
    padding:20px;
  }
  .feature-copy h3 { font-size:1.28rem; }
  .feature-screen {
    width:100%;
    min-width:0;
    padding:14px;
    max-height:520px;
    overflow:hidden;
  }
  .feature-screen img {
    width:min(100%,300px);
    max-width:100%;
    max-height:490px;
    object-fit:contain;
    border-radius:15px;
  }

  .quick-features {
    grid-template-columns:1fr;
    gap:10px;
  }

  .screen-gallery {
    display:flex;
    gap:14px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:2px 16px 12px 0;
    margin-right:-16px;
    -webkit-overflow-scrolling:touch;
  }
  .screen-gallery figure {
    flex:0 0 min(78vw,310px);
    scroll-snap-align:start;
  }
  .screen-gallery img {
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
  }

  .download-box { gap:18px; }
  .download-box .store-actions { width:100%; }

  .footer-inner {
    padding-left:16px;
    padding-right:16px;
  }
}

/* VERY NARROW PHONES */
@media (max-width:390px) {
  .navlinks { font-size:.82rem; }
  .hero-controls {
    grid-template-columns:190px;
    width:190px;
  }
  .hero-actions { grid-template-columns:1fr; }
  .device-card { width:min(82vw,290px); }
  .screen-gallery figure { flex-basis:82vw; }
}


/* SUPPORT / PRIVACY PAGES */
.cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:26px;
}
.card {
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  box-shadow:var(--shadow);
}
.card h3 {
  color:var(--green);
  margin-top:0;
}
.notice {
  background:var(--soft);
  border:1px solid var(--line);
  border-left:5px solid var(--green);
  border-radius:14px;
  padding:18px 20px;
  margin:28px 0;
}
form {
  display:grid;
  gap:14px;
  max-width:760px;
}
label {
  display:block;
  font-weight:800;
  margin-bottom:5px;
}
input, textarea {
  width:100%;
  max-width:100%;
  padding:12px 13px;
  border:1px solid #9eada5;
  border-radius:10px;
  background:white;
  color:var(--ink);
  font:inherit;
}
textarea {
  min-height:180px;
  resize:vertical;
}
form button {
  appearance:none;
  border:0;
  background:var(--green);
  color:white;
  font:inherit;
  font-weight:850;
  padding:13px 18px;
  border-radius:10px;
  cursor:pointer;
  width:max-content;
  max-width:100%;
}
.support-success {
  display:none;
  margin:0 0 24px;
  padding:14px 16px;
  border-radius:12px;
  background:#e8f5ed;
  border:1px solid #9ac8ac;
  color:var(--green3);
  font-weight:750;
}
.support-success.show { display:block; }
.support-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0 28px;
}
.support-actions a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:10px;
  font-weight:800;
  text-decoration:none;
}
.support-actions .primary-link {
  background:var(--green);
  color:white;
}
.support-actions .secondary-link {
  border:1px solid var(--green);
  color:var(--green);
  background:white;
}

@media (max-width:900px) {
  .cards { grid-template-columns:1fr; }
}
@media (max-width:620px) {
  .cards { gap:12px; }
  .card { padding:18px; }
  form button { width:100%; }
  .support-actions { display:grid; grid-template-columns:1fr; }
}
