:root {
  --color-bg: #080d1f;
  --color-surface: #101735;
  --color-surface-soft: #17204a;
  --color-border: rgba(255, 255, 255, 0.11);
  --color-text: #f7f8ff;
  --color-muted: #b9c0df;
  --color-brand: #2f3971;
  --color-brand-light: #4455a0;
  --color-accent: #e52432;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.28);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-bg);
  color-scheme: dark;
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(47, 57, 113, 0.28) 0%, rgba(8, 13, 31, 0) 420px),
    var(--color-bg);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(229, 36, 50, 0.85);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 0.7rem 0.95rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--color-border);
  background: rgba(8, 13, 31, 0.84);
  backdrop-filter: blur(18px);
}

.site-nav {
  width: min(100% - 2rem, var(--container));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand,
.nav-links,
.footer-links,
.store-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.hero-logo {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav-links a,
.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
}

.nav-links a {
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-weight: 650;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--color-text);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-main {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100vh - 156px);
  display: grid;
  place-items: center;
  padding: 5rem 0 4rem;
}

.hero-content {
  width: min(100%, 820px);
  text-align: center;
}

.hero-logo {
  width: 128px;
  height: 128px;
  margin-bottom: 1.3rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: 4.2rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  width: min(100%, 620px);
  margin: 0 auto 1.75rem;
  color: var(--color-muted);
  font-size: 1.16rem;
}

.store-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-button {
  min-width: 154px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  padding: 0.9rem 1.2rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.store-button-primary {
  border-color: rgba(229, 36, 50, 0.55);
  background: var(--color-accent);
  color: white;
}

.store-button-primary:hover {
  background: #f03542;
}

.availability {
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 5rem;
}

.feature-grid article,
.legal-content {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(23, 32, 74, 0.94), rgba(16, 23, 53, 0.94));
  box-shadow: var(--shadow-soft);
}

.feature-grid article {
  padding: 1.35rem;
}

.feature-grid h2 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

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

.page-hero {
  max-width: 820px;
  padding: 4rem 0 1.5rem;
}

.page-hero h1 {
  font-size: 3.8rem;
}

.page-hero p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.legal-content {
  max-width: 860px;
  margin-bottom: 5rem;
  padding: 2rem;
}

.legal-content h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.2rem;
}

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

.legal-content p,
.legal-content li {
  color: var(--color-muted);
}

.legal-content a {
  color: var(--color-text);
  font-weight: 750;
}

.legal-content ol,
.legal-content ul {
  padding-left: 1.25rem;
}

.contact-content {
  max-width: 680px;
}

.site-footer {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-muted);
}

.site-footer strong {
  color: var(--color-text);
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

@media (max-width: 720px) {
  .site-nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    padding: 1rem 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding-left: 0;
  }

  .hero-section {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding-bottom: 3.5rem;
  }

  .legal-content {
    padding: 1.25rem;
  }
}
