:root {
  color-scheme: light dark;
  --background: #f8fbfc;
  --surface: #ffffff;
  --surface-soft: #eef8f6;
  --text: #111827;
  --muted: #4b5563;
  --accent: #2563eb;
  --accent-strong: #16a085;
  --accent-hover: #1d4ed8;
  --border: #d8e4e8;
  --badge: #111827;
  --badge-hover: #1f2937;
  --badge-text: #ffffff;
  --badge-muted: #d1d5db;
  --focus: #f59e0b;
  --shadow: rgba(17, 24, 39, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f1418;
    --surface: #151d23;
    --surface-soft: #10221f;
    --text: #f3f7f8;
    --muted: #b6c3c8;
    --accent: #60a5fa;
    --accent-strong: #34d399;
    --accent-hover: #93c5fd;
    --border: #293842;
    --badge: #05080b;
    --badge-hover: #111827;
    --badge-text: #ffffff;
    --badge-muted: #d1d5db;
    --focus: #fbbf24;
    --shadow: rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  overflow-wrap: anywhere;
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.page {
  width: min(92vw, 920px);
  margin: 0 auto;
  padding: 32px 0 56px;
}

.home {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 44px 0;
}

.home-inner {
  display: grid;
  gap: 30px;
  justify-items: center;
  width: min(92vw, 900px);
  text-align: center;
}

.brand-logo {
  display: block;
  width: min(76vw, 560px);
  height: auto;
}

.page-logo {
  display: block;
  width: min(58vw, 260px);
  height: auto;
}

.hero-copy {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.hero-copy h1,
.page-header h1 {
  margin: 0;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p,
.lede {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 3.8vw, 20px);
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 820px);
  text-align: left;
}

.feature-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.feature-grid h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

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

.store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 240px));
  gap: 16px;
  justify-content: center;
  width: min(100%, 520px);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 58px;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--badge);
  box-shadow: 0 8px 24px var(--shadow);
  color: var(--badge-text);
  font: inherit;
  text-align: left;
}

.store-badge:hover {
  background: var(--badge-hover);
  text-decoration: none;
}

.store-badge svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.store-badge span {
  display: block;
  color: var(--badge-muted);
  font-size: 12px;
  line-height: 1.1;
}

.store-badge strong {
  display: block;
  color: var(--badge-text);
  font-size: 18px;
  line-height: 1.15;
}

.notice {
  max-width: 680px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: left;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}

.page-header {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: 24px;
  text-align: center;
}

.document {
  padding: clamp(22px, 5vw, 44px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.document h2 {
  margin: 32px 0 8px;
  font-size: clamp(20px, 4vw, 24px);
  line-height: 1.25;
}

.document h2:first-child {
  margin-top: 0;
}

.document p,
.document li {
  font-size: clamp(16px, 3.8vw, 18px);
}

.document p {
  margin: 14px 0;
}

.document ul {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.document li {
  margin: 7px 0;
}

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

.contact-block {
  margin-top: 12px;
}

@media (max-width: 560px) {
  .page {
    width: min(94vw, 920px);
    padding-top: 22px;
  }

  .store-links {
    grid-template-columns: 1fr;
  }

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

  .store-badge {
    justify-content: center;
  }

  .document {
    border-radius: 10px;
  }
}
