:root {
  color-scheme: light;
  --ink: #0b1c27;
  --muted: #536673;
  --paper: #f3f1ea;
  --surface: #ffffff;
  --line: #d7d1c4;
  --water: #2e8fcb;
  --mark: #b5402f;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.landing {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 20px 28px;
}

.landing-main {
  width: min(100%, 560px);
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

.brand-mark {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgb(11 28 39 / 18%);
}

.brand-name {
  margin: 0;
  font-size: clamp(38px, 8vw, 60px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.tagline {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(22px, 5vw, 34px);
  line-height: 1.15;
  font-weight: 700;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease;
}

.store-badge {
  display: block;
  width: auto;
}

.app-store-badge {
  height: 40px;
}

.play-store-badge {
  height: 60px;
}

.store-link:hover,
.store-link:focus-visible {
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 22px 20px 30px;
  color: var(--muted);
  font-size: 14px;
}

.legal-shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 34px 0 48px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.legal-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.legal-home img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.legal-nav {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.legal-document {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgb(11 28 39 / 8%);
}

.legal-document h1 {
  margin: 0 0 4px;
  font-size: clamp(32px, 8vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.updated {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
}

.legal-document h2 {
  margin: 30px 0 8px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.legal-document p,
.legal-document ul {
  margin: 0 0 16px;
}

.legal-document ul {
  padding-left: 22px;
}

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

.legal-document strong {
  font-weight: 800;
}

@media (max-width: 560px) {
  .landing {
    padding-top: 42px;
  }

  .brand {
    flex-direction: column;
    gap: 16px;
  }

  .brand-mark {
    width: 88px;
    height: 88px;
  }

  .store-links {
    flex-direction: column;
    align-items: center;
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-document {
    padding: 24px 20px;
  }
}
