:root {
  color-scheme: light dark;
  --bg: #f7faf9;
  --surface: #fff;
  --ink: #192a26;
  --muted: #52645f;
  --accent: #376d3a;
  --line: #dce7e2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.8 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
}

header, main, footer {
  max-width: 960px;
  margin: auto;
  padding: 28px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgb(18 48 38 / 14%);
}

.hero {
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--line);
}

.app-icon {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 22px;
  margin-bottom: 22px;
  box-shadow: 0 14px 28px rgb(18 48 38 / 15%);
}

.pill, .eyebrow {
  color: var(--accent);
  font-weight: 650;
}

.pill {
  display: inline-flex;
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 24px;
  max-width: 760px;
  font-size: 44px;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

p {
  max-width: 760px;
  margin-top: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.lead {
  color: var(--muted);
  font-size: 22px;
}

.actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  color: var(--accent);
  font-weight: 700;
}

.screenshot-grid {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.phone-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.phone-strip figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.phone-strip img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.feature-band {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.feature-grid, .details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-grid article,
.details > div,
article {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature-grid p,
.details p {
  color: var(--muted);
}

.details {
  padding: 32px 0;
}

article {
  margin: 0;
}

article h1 {
  font-size: 44px;
}

article h2 {
  margin-top: 34px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101916;
    --surface: #18251f;
    --ink: #ecf4ef;
    --muted: #b0c4b8;
    --accent: #57dab0;
    --line: #304239;
  }
}

@media (max-width: 720px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }

  header, main, footer {
    padding: 20px;
  }

  .hero {
    padding: 24px 0;
  }

  h1,
  article h1 {
    font-size: 30px;
  }

  .lead {
    font-size: 19px;
    max-width: 320px;
  }

  .actions {
    gap: 16px;
  }

  .feature-band,
  .feature-grid,
  .details,
  .phone-strip {
    grid-template-columns: 1fr;
  }
}
