:root {
  color-scheme: light;
  --forest: #123d2e;
  --forest-soft: #285443;
  --cream: #f5f0e4;
  --cream-light: #fffaf0;
  --sage: #d7dec9;
  --moss: #6d806b;
  --orange: #f68a25;
  --orange-text: #a84f00;
  --lime: #a8d92a;
  --graphite: #142620;
  --location: #1769e0;
  --ink: #17231d;
  --muted: #637069;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(18, 61, 46, .15);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 2%, rgba(215, 222, 201, .72), transparent 27rem),
    var(--cream);
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 99;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  transform: translateY(-150%);
  border-radius: .6rem;
  color: var(--white);
  background: var(--forest);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  color: var(--forest);
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -.03em;
}

.brand-mark {
  display: block;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(18, 61, 46, .18);
}

.brand-mark img { display: block; width: 100%; height: 100%; }

.header-download {
  padding: .7rem 1.05rem;
  border: 1px solid rgba(18, 61, 46, .18);
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 750;
}

.header-download:hover { background: rgba(255, 255, 255, .42); }
[data-download-link][aria-disabled="true"] { pointer-events: none; cursor: wait; opacity: .52; box-shadow: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
  min-height: 690px;
  padding: 4.2rem 0 6.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--forest-soft);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: .62rem;
  height: .62rem;
  margin-right: .45rem;
  border: 3px solid rgba(246, 138, 37, .24);
  border-radius: 50%;
  background: var(--orange);
  vertical-align: -.03rem;
  background-clip: padding-box;
}

h1, h2, h3, p { overflow-wrap: break-word; }

h1 {
  max-width: 730px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(3.5rem, 6.8vw, 6.5rem);
  line-height: .94;
  letter-spacing: -.072em;
}

h1 span { color: var(--orange-text); }

.hero__lead {
  max-width: 650px;
  margin: 1.65rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 56px;
  padding: .9rem 1.35rem;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .header-download:focus-visible, .brand:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 4px; }
.button svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.button--primary { color: var(--white); background: var(--forest); box-shadow: 0 15px 34px rgba(18, 61, 46, .22); }
.button--primary:hover { box-shadow: 0 20px 38px rgba(18, 61, 46, .28); }
.button--light { color: var(--forest); background: var(--cream-light); box-shadow: 0 13px 28px rgba(0, 0, 0, .13); }

.release-state {
  max-width: 180px;
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}

.release-state[data-state="ready"] { color: var(--forest-soft); }
.release-state[data-state="missing"] { color: #8a4b18; }

.hero__facts {
  display: flex;
  gap: clamp(1rem, 3vw, 2.8rem);
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__facts li { display: grid; gap: .18rem; }
.hero__facts strong { color: var(--forest); font-size: .92rem; }
.hero__facts span { color: var(--muted); font-size: .75rem; }

.phone-scene {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
}

.phone-scene::before {
  position: absolute;
  width: min(31rem, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.phone {
  position: relative;
  z-index: 1;
  width: 285px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 39px;
  background: #17211d;
  box-shadow: var(--shadow), 0 0 0 7px rgba(255, 255, 255, .35);
  transform: rotate(3deg);
}

.phone__speaker {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 50%;
  width: 70px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #17211d;
}

.phone__screen {
  min-height: 548px;
  padding: 39px 17px 18px;
  overflow: hidden;
  border-radius: 31px;
  background: var(--cream);
}

.topo-app-head { display: flex; min-height: 47px; align-items: center; justify-content: space-between; color: var(--forest); }
.topo-app-head span:first-child { display: block; color: var(--forest-soft); font-size: .5rem; font-weight: 900; letter-spacing: .16em; }
.topo-app-head strong { display: block; margin-top: .16rem; font-size: 1rem; letter-spacing: -.035em; }
.topo-private { display: inline-flex !important; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 999px; color: var(--forest) !important; background: rgba(255,250,240,.85); font-size: .47rem !important; font-weight: 800; letter-spacing: 0 !important; }
.topo-private i { width: 6px; height: 6px; border-radius: 50%; background: var(--location); box-shadow: 0 0 0 3px rgba(23,105,224,.13); }

.topo-map { position: relative; height: 255px; margin-top: 8px; overflow: hidden; border-radius: 23px; background: #e6e5cf; box-shadow: inset 0 0 0 1px rgba(18,61,46,.09); }
.topo-map__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(40,84,67,.23); stroke-width: 1.3; }
.topo-road { position: absolute; height: 9px; border: 2px solid rgba(20,38,32,.2); border-radius: 999px; background: var(--cream-light); transform-origin: left center; }
.topo-road--one { top: 69px; left: -22px; width: 240px; transform: rotate(20deg); }
.topo-road--two { top: 177px; left: 57px; width: 230px; transform: rotate(-33deg); }
.topo-location-dot { position: absolute; top: 117px; left: 119px; width: 17px; height: 17px; border: 4px solid white; border-radius: 50%; background: var(--location); box-shadow: 0 0 0 8px rgba(23,105,224,.17), 0 5px 14px rgba(23,105,224,.28); }
.topo-map__label { position: absolute; top: 145px; left: 91px; padding: 5px 8px; border-radius: 8px; color: white; background: rgba(20,38,32,.92); font-size: .47rem; font-weight: 800; }
.topo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.topo-actions span { padding: 9px 5px; border-radius: 12px; color: white; background: var(--forest); text-align: center; font-size: .58rem; font-weight: 850; }
.topo-actions span:last-child { background: var(--orange); }
.topo-community { display: flex; gap: 9px; align-items: center; margin-top: 9px; padding: 9px 10px; border-radius: 14px; color: var(--cream-light); background: var(--graphite); }
.topo-community__mark { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--graphite); background: var(--lime); }
.topo-community__mark svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.topo-community div { display: grid; gap: 2px; }
.topo-community strong { font-size: .59rem; }
.topo-community div span { color: var(--sage); font-size: .46rem; line-height: 1.3; }
.topo-bottom-nav { display: grid; grid-template-columns: repeat(5,1fr); align-items: center; height: 50px; margin: 9px -17px -18px; padding: 4px 8px 3px; color: #9caea4; background: var(--graphite); }
.topo-bottom-nav span { position: relative; display: grid; gap: 1px; justify-items: center; font-style: normal; }
.topo-bottom-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.topo-bottom-nav i { font-size: .39rem; font-style: normal; font-weight: 750; }
.topo-bottom-nav .is-active { color: var(--lime); }
.topo-bottom-nav .is-record { width: 40px; height: 40px; align-content: center; justify-self: center; border: 4px solid var(--graphite); border-radius: 50%; color: white; background: var(--orange); transform: translateY(-8px); box-shadow: 0 5px 12px rgba(0,0,0,.22); }
.topo-bottom-nav .is-record svg { width: 22px; height: 22px; }

.app-topline { display: flex; align-items: center; justify-content: space-between; color: var(--forest); }
.app-topline span { display: block; font-size: .62rem; font-weight: 800; }
.app-topline strong { display: block; margin-top: .18rem; font-size: .91rem; letter-spacing: -.025em; }
.app-logo { display: block !important; width: 38px; height: 38px; border-radius: 12px; }

.app-empty-state {
  display: flex;
  min-height: 245px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding: 22px;
  border: 1px dashed rgba(18, 61, 46, .24);
  border-radius: 24px;
  color: var(--forest);
  background: rgba(255, 250, 240, .72);
  text-align: center;
}

.app-empty-state__icon { display: grid; width: 66px; height: 66px; margin-bottom: 3px; place-items: center; border-radius: 22px; color: var(--forest); background: var(--sage); }
.app-empty-state__icon svg { width: 42px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.app-empty-state > strong { font-size: .9rem; }
.app-empty-state > span:last-child { max-width: 190px; color: var(--muted); font-size: .61rem; font-weight: 600; line-height: 1.45; }

.app-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.app-actions span { padding: 10px 5px; border-radius: 13px; color: white; background: var(--forest); text-align: center; font-size: .66rem; font-weight: 850; }
.app-actions span:last-child { color: var(--forest); background: var(--orange); }
.account-card { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 12px; border-radius: 17px; color: var(--forest); background: var(--sage); }
.account-card__mark { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--forest); background: var(--orange); font-size: .72rem; font-weight: 900; }
.account-card div { display: grid; gap: 2px; }
.account-card strong { font-size: .66rem; }
.account-card div span { color: var(--forest-soft); font-size: .53rem; line-height: 1.35; }

.features { padding: 6rem 0; }
.section-heading { max-width: 650px; margin-bottom: 2.4rem; }
h2 { margin: 0; color: var(--forest); font-size: clamp(2.15rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.055em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { min-height: 270px; padding: clamp(1.5rem, 3vw, 2.2rem); border: 1px solid rgba(18,61,46,.1); border-radius: 30px; background: rgba(255, 250, 240, .72); }
.feature-card--accent { color: var(--cream-light); border-color: transparent; background: var(--forest); transform: translateY(-14px); }
.feature-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 17px; color: var(--forest); background: var(--sage); }
.feature-card--accent .feature-icon { color: var(--forest); background: var(--orange); }
.feature-icon svg, .privacy-note svg { width: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.feature-card h3 { margin: 2.2rem 0 .65rem; color: var(--forest); font-size: 1.25rem; }
.feature-card--accent h3 { color: var(--cream-light); }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.feature-card--accent p { color: rgba(255,255,255,.72); }

.release-card {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 6rem;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border: 1px solid rgba(18, 61, 46, .1);
  border-radius: 34px;
  background: rgba(255, 250, 240, .82);
  box-shadow: 0 18px 50px rgba(18, 61, 46, .07);
}
.release-card[hidden] { display: none; }
.release-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.release-card__version { margin: 0 0 .65rem; color: var(--forest-soft); font-size: .9rem; font-weight: 850; }
.release-card__published { margin: .8rem 0 0; color: var(--muted); font-size: .86rem; }
.release-card__badge { display: grid; width: 76px; height: 76px; flex: 0 0 auto; place-items: center; border-radius: 24px; color: var(--forest); background: var(--orange); font-size: 1rem; font-weight: 950; letter-spacing: .04em; }
.release-card h3 { margin: .3rem 0 -.5rem; color: var(--forest); font-size: 1.05rem; }
.release-card__notes { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.release-card__notes li { position: relative; padding-left: 1.65rem; color: var(--ink); line-height: 1.6; }
.release-card__notes li::before { position: absolute; top: .62rem; left: .15rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); content: ""; }
.release-card__requirement { margin: 0; color: var(--muted); font-size: .82rem; }

.install {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: 7rem clamp(1.5rem, 5vw, 5rem);
  border-radius: 42px;
  background: var(--cream-light);
  box-shadow: 0 18px 50px rgba(18, 61, 46, .07);
}

.install__copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.privacy-note { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.8rem; padding: 1rem; border-radius: 18px; color: var(--forest); background: var(--sage); font-size: .84rem; line-height: 1.5; }
.privacy-note svg { flex: 0 0 auto; width: 23px; margin-top: .1rem; }
.install-steps { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.install-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; padding: 1.2rem; border: 1px solid rgba(18,61,46,.1); border-radius: 21px; background: var(--white); }
.install-steps li > span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 14px; color: var(--forest); background: var(--orange); font-weight: 900; }
.install-steps strong { color: var(--forest); }
.install-steps p { margin: .35rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }

.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 6rem; padding: clamp(2rem, 5vw, 4rem); border-radius: 38px; color: var(--cream-light); background: var(--forest); }
.download-panel .eyebrow { color: var(--orange); }
.download-panel h2 { max-width: 650px; color: var(--cream-light); }
.download-panel p:last-child { margin-bottom: 0; color: rgba(255,255,255,.68); }
.download-panel .button { flex: 0 0 auto; }
.checksum { max-width: 660px; margin-top: 1rem; color: rgba(255,255,255,.72); font-size: .76rem; }
.checksum summary { width: max-content; max-width: 100%; cursor: pointer; font-weight: 750; }
.checksum code { display: block; margin-top: .65rem; padding: .75rem; overflow-wrap: anywhere; border-radius: 12px; color: var(--cream-light); background: rgba(0,0,0,.18); font-size: .68rem; line-height: 1.45; }

footer { display: flex; align-items: center; justify-content: space-between; min-height: 150px; color: var(--muted); font-size: .82rem; }
.brand--footer { font-size: 1rem; }
.brand--footer .brand-mark { width: 35px; height: 35px; border-radius: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; justify-content: flex-end; }
.footer-links a { color: var(--forest); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .2em; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__facts { justify-content: center; }
  .phone-scene { min-height: 610px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card--accent { transform: none; }
  .release-card { margin-bottom: 4.5rem; }
  .install { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 78px; }
  .brand { gap: .55rem; font-size: .88rem; }
  .brand-mark { width: 39px; height: 39px; border-radius: 12px; }
  .header-download { display: none; }
  .hero { min-height: 0; padding: 2.8rem 0 4.5rem; }
  .hero,
  .hero__copy,
  .phone-scene { min-width: 0; width: 100%; }
  h1 { font-size: clamp(2.75rem, 13.6vw, 3.35rem); line-height: .98; letter-spacing: -.055em; }
  .eyebrow { font-size: .69rem; line-height: 1.55; }
  .hero__actions { flex-direction: column; }
  .release-state { max-width: none; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
  .hero__facts li { padding: .8rem .35rem; border-radius: 14px; background: rgba(255,255,255,.35); }
  .phone-scene { min-height: 560px; }
  .phone { width: 267px; }
  .features { padding: 4.5rem 0; }
  .release-card__heading { gap: 1rem; }
  .release-card__badge { width: 58px; height: 58px; border-radius: 18px; font-size: .78rem; }
  .install { margin-inline: -5px; padding: 3rem 1.1rem; border-radius: 30px; }
  .download-panel { flex-direction: column; align-items: stretch; padding: 2rem 1.4rem; }
  .download-panel .button { width: 100%; }
  footer { flex-direction: column; justify-content: center; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
