:root {
  color-scheme: light;
  --ink: #101316;
  --muted: #626a72;
  --soft: #f2f4f7;
  --line: #dfe4ea;
  --panel: #ffffff;
  --accent: #1f8450;
  --accent-strong: #116b3e;
  --cyan: #0db8d0;
  --blue: #1288f4;
  --purple: #c32cdf;
  --shadow: 0 24px 80px rgba(16, 19, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f8fa;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(120deg, rgba(13, 184, 208, 0.08), transparent 32%),
    linear-gradient(240deg, rgba(195, 44, 223, 0.08), transparent 30%),
    #f7f8fa;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 56px;
}

nav:not(.site-nav) {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 760px;
  margin: 28px auto 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(31, 132, 80, 0.2);
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  color: var(--muted);
}

.nav-store-link {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink) !important;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 124px);
  padding-bottom: 64px;
}

.hero-copy {
  max-width: 610px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 580px;
  margin-bottom: 28px;
  color: #333b43;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.22;
}

.hero-actions,
.pro-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}

.store-button {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 19, 22, 0.2);
}

.store-button:hover {
  background: #000000;
  text-decoration: none;
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.secondary-button:hover,
.nav-store-link:hover {
  text-decoration: none;
  border-color: #c7d0d8;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 34px 0 0;
}

.quick-facts div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.phone-shot {
  position: absolute;
  width: min(54vw, 330px);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.primary-shot {
  top: 0;
  right: 122px;
  z-index: 2;
}

.secondary-shot {
  top: 116px;
  right: 0;
  z-index: 1;
  opacity: 0.94;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip p {
  margin: 0;
  padding: 18px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.store-facts-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
  margin: 0 0 92px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(13, 184, 208, 0.08), transparent 36%),
    var(--panel);
}

.store-facts-copy p {
  color: var(--muted);
  font-size: 18px;
}

.store-facts-copy .secondary-button {
  margin-top: 4px;
}

.store-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.store-facts-grid div {
  min-height: 104px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.store-facts-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-facts-grid dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.2;
}

.feature-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  margin-bottom: 92px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.feature-section > div > p,
.section-heading p,
.pro-section p,
.support-section p,
article p,
li {
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.08;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.mini-app-section {
  margin-bottom: 92px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 136, 244, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(31, 132, 80, 0.1), transparent 32%),
    var(--panel);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mini-app-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
}

.demo-summary {
  grid-row: span 3;
  min-height: 100%;
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
}

.demo-summary span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.demo-summary strong {
  display: block;
  margin: 10px 0 6px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.95;
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-chip {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.demo-chip:hover,
.demo-chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.demo-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 248, 250, 0.82);
}

.demo-list li[hidden] {
  display: none;
}

.demo-list strong,
.demo-list b {
  color: var(--ink);
}

.demo-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.demo-list b {
  white-space: nowrap;
}

.demo-footnote {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.screenshot-section {
  margin-bottom: 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 430px;
  margin-bottom: 8px;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(16, 19, 22, 0.14);
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.pro-section {
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 32px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(31, 132, 80, 0.1), transparent 42%),
    var(--panel);
}

.pro-section div {
  max-width: 720px;
}

.pro-section h2 {
  font-size: clamp(30px, 5vw, 48px);
}

.pro-section p {
  margin-bottom: 0;
}

.store-button.compact {
  flex: 0 0 auto;
}

.support-section,
article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.support-section {
  margin-bottom: 32px;
}

.support-section h2,
article h1 {
  margin-bottom: 10px;
}

article {
  max-width: 760px;
  margin: 0 auto;
}

article h1 {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.05;
}

article h2 {
  margin: 30px 0 8px;
  font-size: 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero,
  .feature-section,
  .store-facts-section,
  .mini-app-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    min-height: 0;
  }

  .hero-media {
    min-height: 580px;
  }

  .primary-shot {
    left: 8%;
    right: auto;
  }

  .secondary-shot {
    right: 8%;
  }

  .trust-strip,
  .screenshots,
  .store-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }

  .section-heading {
    display: block;
  }

  .demo-summary {
    grid-row: auto;
  }

  .demo-footnote {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 28px, 1120px);
    padding-top: 20px;
  }

  .site-nav,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
    justify-content: space-between;
    font-size: 14px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-button,
  .secondary-button {
    width: 100%;
  }

  .quick-facts,
  .trust-strip,
  .screenshots,
  .store-facts-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 500px;
    overflow: hidden;
  }

  .phone-shot {
    width: min(70vw, 260px);
    border-radius: 28px;
  }

  .primary-shot {
    left: 0;
  }

  .secondary-shot {
    top: 88px;
    right: 0;
  }

  .pro-section,
  .mini-app-section,
  .support-section,
  article {
    padding: 24px;
  }

  .demo-list li {
    align-items: flex-start;
    flex-direction: column;
  }
}
