:root {
  color-scheme: dark;
  --bg: #2C2C2C;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --text: #F5F7FA;
  --muted: #B8C0CC;
  --soft: #8994A4;
  --accent: #5A9BFF;
  --accent-strong: #86B7FF;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(44, 44, 44, 0.25), rgba(44, 44, 44, 0.88)),
    url("background_dark.svg") center top / cover fixed,
    var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 16%, rgba(90, 155, 255, 0.2), transparent 34rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48));
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.34);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.65rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.9rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.contact-panel a:hover,
.policy-card a:hover {
  color: var(--accent-strong);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 96px) 0 clamp(28px, 6vw, 64px);
  place-items: center;
}

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

.hero-logo {
  width: clamp(124px, 18vw, 188px);
  margin: 0 auto 26px;
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.45));
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(3.1rem, 10vw, 7.8rem);
  font-weight: 900;
  letter-spacing: 0;
}

.slogan {
  margin: 0.8rem 0 0;
  color: #E2E8F0;
  font-size: clamp(1.15rem, 3.5vw, 2rem);
  font-weight: 700;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

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

.store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  min-height: 58px;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.store-button.primary {
  background: var(--accent);
  color: #07101E;
  font-weight: 850;
}

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

.store-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 1.5rem;
}

.section-heading h2,
.download-panel h2,
.contact-panel h2,
.policy-card h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0;
}

.features,
.screenshots,
.download,
.contact {
  padding: clamp(56px, 9vw, 104px) 0;
}

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

.card,
.download-panel,
.contact-panel,
.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: 220px;
  padding: 1.25rem;
}

.feature-icon {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.feature-card h3,
.screenshot-card h3 {
  font-size: 1.16rem;
}

.feature-card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.screenshot-card {
  overflow: hidden;
}

.screenshot-card img,
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 9 / 18;
}

.screenshot-card img {
  object-fit: cover;
  background: rgba(0, 0, 0, 0.25);
}

.screenshot-card.is-missing img {
  display: none;
}

.screenshot-placeholder {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 28%, rgba(90, 155, 255, 0.24), transparent 44%),
    rgba(10, 14, 20, 0.58);
  background-size: 34px 34px, 34px 34px, auto, auto;
  color: var(--text);
}

.screenshot-card.is-missing .screenshot-placeholder {
  display: flex;
}

.screenshot-placeholder span {
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.screenshot-placeholder strong {
  font-size: 1.25rem;
  line-height: 1.25;
}

.screenshot-placeholder small {
  color: var(--soft);
  font-size: 0.76rem;
}

.screenshot-card h3 {
  padding: 1rem;
}

.download-panel,
.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.download-panel .store-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-panel {
  display: block;
}

.contact-panel p:last-child,
.policy-card p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-panel a,
.policy-card a {
  color: var(--text);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--soft);
  font-size: 0.9rem;
}

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

.site-footer p {
  margin: 0;
}

.policy-main {
  display: grid;
  gap: 1rem;
  padding: clamp(44px, 7vw, 84px) 0;
}

.policy-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.policy-card h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.policy-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.75;
}

.policy-toc,
.policy-app-links {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.policy-toc a,
.policy-app-links a {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.policy-toc a:hover,
.policy-app-links a:hover {
  color: var(--accent-strong);
  border-color: rgba(90, 155, 255, 0.45);
}

.updated,
.legal-placeholder {
  color: var(--accent-strong);
}

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

  nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-panel .store-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 580px) {
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .store-actions,
  .store-button {
    width: 100%;
  }

  .store-button {
    align-items: center;
    text-align: center;
  }
}
