:root {
  color-scheme: light dark;
  --bg: #f8f9fb;
  --fg: #111418;
  --muted: #5f6368;
  --accent: #0057ff;
  --accent-dark: #003bb8;
  --border: rgba(17, 20, 24, 0.08);
  --bg-dark: #090a0c;
  --fg-dark: #f4f5f7;
  --muted-dark: #b2b8c2;
  --border-dark: rgba(244, 245, 247, 0.12);
  font-size: 18px;
}

@media (max-width: 768px) {
  :root {
    font-size: 17px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: dark) {
  body {
    background: var(--bg-dark);
    color: var(--fg-dark);
  }
}

.container {
  width: min(960px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(9, 10, 12, 0.7);
    border-bottom: 1px solid var(--border-dark);
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-main .container {
  padding: 3rem 1rem 4rem;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin: 0 auto 2rem;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.app-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

@media (prefers-color-scheme: dark) {
  .app-icon {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .app-icon:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

.hero .eyebrow,
.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

@media (prefers-color-scheme: dark) {
  .hero .eyebrow,
  .page-header .eyebrow {
    color: var(--muted-dark);
  }
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.lead {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

@media (prefers-color-scheme: dark) {
  .lead {
    color: var(--muted-dark);
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 150ms ease, transform 150ms ease;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  opacity: 0.85;
  transform: translateY(-1px);
}

.app-store-badge img {
  display: block;
  height: 68px;
  width: auto;
}

@media (max-width: 768px) {
  .app-store-badge img {
    height: 56px;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 87, 255, 0.18);
}

.button.secondary {
  background: transparent;
  color: inherit;
  border: 1px solid var(--border);
}

@media (prefers-color-scheme: dark) {
  .button.secondary {
    border: 1px solid var(--border-dark);
  }

  .button.secondary:hover,
  .button.secondary:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }
}

.feature {
  text-align: center;
  margin: 0 auto;
  max-width: 60ch;
}

.feature .actions {
  margin-top: 2rem;
  margin-bottom: 0;
}

.support-section,
.policy-section {
  text-align: left;
  margin: 0 auto;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}


.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  text-align: left;
  max-width: 40ch;
  margin: 0 auto;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.6;
}

.feature-list li::before {
  content: attr(data-icon);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1em;
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  .feature-list li::before {
    color: #7aa8ff;
  }
}

.support-list,
.policy-section ul {
  padding-left: 1.25rem;
}

.support-list li,
.policy-section ul li {
  margin-bottom: 0.75rem;
}

.page-header {
  margin-bottom: 3rem;
}

.policy-section p,
.support-section p {
  color: inherit;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

@media (prefers-color-scheme: dark) {
  .site-footer {
    border-top: 1px solid var(--border-dark);
  }
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 150ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  opacity: 1;
  text-decoration: none;
}

a {
  color: var(--accent);
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  a {
    color: #7aa8ff;
  }
}

:focus-visible {
  outline: 3px solid rgba(0, 87, 255, 0.35);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
