:root {
  color-scheme: light;
  --ink: #20233f;
  --muted: #62677f;
  --line: #dfe3f2;
  --paper: #ffffff;
  --mist: #f6f7ff;
  --blue: #4e79c7;
  --lavender: #9b8fe8;
  --green: #4f9d74;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.main {
  flex: 1;
}

.hero,
.content {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px;
  align-items: center;
  padding: 64px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(44px, 8vw, 78px);
}

h2 {
  margin-top: 36px;
  font-size: 28px;
}

p {
  margin: 16px 0 0;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 21px;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.store-link.secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

.screenshot-frame {
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 34px;
  box-shadow: 0 24px 56px rgba(32, 35, 63, 0.16);
  overflow: hidden;
}

.app-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

.content {
  max-width: 760px;
  padding: 36px 0 72px;
}

.content h1 {
  font-size: clamp(38px, 7vw, 60px);
}

.updated {
  color: var(--muted);
}

.legal-box {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.legal-content {
  max-width: 820px;
}

.legal-section {
  margin-top: 30px;
}

.legal-section h2 {
  margin-top: 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 24px;
}

.legal-section ul {
  margin: 14px 0 0;
  padding-left: 24px;
}

.legal-section li {
  margin-top: 8px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

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

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 36px;
  }

  .screenshot-frame {
    width: min(100%, 340px);
  }
}
