:root {
  color-scheme: light dark;
  --bg: #f5f8ff;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-soft: rgba(255, 255, 255, 0.48);
  --text: #0b1635;
  --muted: #59657d;
  --line: rgba(16, 61, 154, 0.10);
  --blue: #087bff;
  --blue-soft: rgba(8, 123, 255, 0.14);
  --shadow: 0 18px 48px rgba(20, 76, 170, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050b1d;
    --surface: rgba(9, 21, 57, 0.78);
    --surface-soft: rgba(42, 91, 196, 0.10);
    --text: #f5f8ff;
    --muted: #a6b4d2;
    --line: rgba(100, 164, 255, 0.18);
    --blue: #55a7ff;
    --blue-soft: rgba(42, 132, 255, 0.18);
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 123, 255, 0.24), transparent 32rem),
    radial-gradient(circle at 88% 16%, rgba(112, 184, 255, 0.20), transparent 28rem),
    linear-gradient(155deg, transparent 35%, rgba(8, 123, 255, 0.06) 70%, transparent),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.13) 42.4%, transparent 43%),
    linear-gradient(135deg, transparent 62%, rgba(8, 123, 255, 0.08) 62.4%, transparent 63%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 4px;
  border-radius: 8px;
}

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand img {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(8, 70, 180, 0.18);
}

.links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.links a[aria-current="page"] {
  color: var(--text);
  font-weight: 650;
}

.card {
  background: var(--surface);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.hero {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  align-items: center;
}

.hero-logo {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 25px;
  box-shadow: 0 16px 38px rgba(4, 75, 205, 0.24);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.01;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}

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

.stack {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini {
  min-height: 142px;
  padding: 18px;
  border-radius: 19px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.mini strong {
  display: block;
  margin-bottom: 7px;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}

.mini span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.48;
}

.privacy-note {
  padding: 0 4px;
  text-align: center;
  font-size: 0.95rem;
}

.section h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 18px;
}

.list {
  display: grid;
  gap: 14px;
  color: var(--muted);
  line-height: 1.62;
}

.note {
  font-size: 0.95rem;
}

.email {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 760px);
    padding-top: 16px;
  }

  .nav {
    margin-bottom: 18px;
  }

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

  .hero-logo {
    width: 88px;
    height: 88px;
    border-radius: 22px;
  }

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

  .mini {
    min-height: 0;
  }

  .card {
    padding: 22px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
