:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --fg-muted: rgba(245, 245, 245, 0.64);
  --fg-faint: rgba(245, 245, 245, 0.42);
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
  --card-strong: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.38);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
    sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--fg);
  background:
    radial-gradient(circle at 18% 8%, rgba(83, 126, 255, 0.16), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(255, 145, 95, 0.14), transparent 28%),
    var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
}

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
}

.logo {
  color: var(--fg);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 0;
}

nav ul,
.footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

nav a,
.footer-links a {
  color: var(--fg-muted);
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

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

nav ul {
  font-size: 14px;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 96px 0 108px;
  text-align: center;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, var(--bg));
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

.hero p {
  max-width: 660px;
  margin: 0 auto 40px;
  color: var(--fg-muted);
  font-size: clamp(18px, 2.4vw, 22px);
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.photo-strip {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 18px;
  width: min(980px, 110vw);
  filter: saturate(0.95);
}

.photo-strip span {
  min-height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 80px var(--shadow);
}

.photo-strip-one {
  top: 14%;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
}

.photo-strip-two {
  right: -18%;
  bottom: 6%;
  transform: rotate(8deg);
}

.photo-strip-one span:nth-child(1) {
  background: linear-gradient(145deg, #405f64, #bac98e 52%, #d8a15c);
}

.photo-strip-one span:nth-child(2) {
  background: linear-gradient(145deg, #2e332e, #708a73 54%, #c5b687);
}

.photo-strip-one span:nth-child(3) {
  background: linear-gradient(145deg, #313f56, #7f9eb2 52%, #d2c6b1);
}

.photo-strip-two span:nth-child(1) {
  background: linear-gradient(145deg, #71433f, #d58f6e 54%, #e5c28a);
}

.photo-strip-two span:nth-child(2) {
  background: linear-gradient(145deg, #1f3139, #6f8f98 52%, #d1d8ce);
}

.photo-strip-two span:nth-child(3) {
  background: linear-gradient(145deg, #453e51, #8c7999 52%, #d7b6a2);
}

.download-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  border-radius: 100px;
  color: var(--bg);
  background: var(--fg);
  font-size: 16px;
  font-weight: 700;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.download-button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.download-button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}

.download-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.features {
  padding: 84px 0;
}

.section-label {
  margin-bottom: 12px;
  color: var(--fg-faint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.05;
}

.section-sub {
  max-width: 620px;
  color: var(--fg-muted);
  font-size: 18px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature {
  min-height: 224px;
  padding: 28px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--card);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--card-strong);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--fg);
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.feature p {
  color: var(--fg-muted);
  font-size: 15px;
}

.who {
  padding: 84px 0;
  border-top: 1px solid var(--card-border);
}

.who-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
  list-style: none;
}

.who-list li {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--card);
  font-size: 16px;
}

.who-list li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg);
  content: "";
  flex: 0 0 auto;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.legal h1 {
  margin-bottom: 8px;
  font-size: 36px;
  font-weight: 760;
  letter-spacing: 0;
}

.legal .updated {
  margin-bottom: 32px;
  color: var(--fg-faint);
  font-size: 14px;
}

.legal h2 {
  margin: 32px 0 12px;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0;
}

.legal h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.legal p,
.legal li {
  margin-bottom: 12px;
  color: var(--fg-muted);
  font-size: 16px;
}

.legal ul {
  margin: 0 0 16px 24px;
}

.legal a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--fg-faint);
  text-underline-offset: 4px;
}

.legal a:hover {
  text-decoration-color: var(--fg);
}

footer {
  margin-top: 60px;
  padding: 60px 0 40px;
  border-top: 1px solid var(--card-border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  font-size: 14px;
}

.copyright {
  color: var(--fg-faint);
  font-size: 14px;
}

.consent-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: grid;
  width: min(420px, calc(100vw - 40px));
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: rgba(18, 18, 18, 0.96);
  box-shadow: 0 24px 80px var(--shadow);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner p {
  color: var(--fg-muted);
  font-size: 14px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  color: var(--bg);
  background: var(--fg);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.consent-actions .button-secondary {
  color: var(--fg);
  background: transparent;
  border-color: var(--card-border);
}

@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  nav ul {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 620px;
    padding: 64px 0 80px;
  }

  .hero p {
    margin-bottom: 32px;
  }

  .photo-strip {
    grid-template-columns: repeat(3, 160px);
    gap: 12px;
  }

  .photo-strip span {
    min-height: 210px;
  }

  .photo-strip-one {
    top: 10%;
    left: 45%;
  }

  .photo-strip-two {
    right: -70%;
    bottom: 8%;
  }

  .download-button {
    width: 100%;
    padding: 0 18px;
  }

  .features,
  .who {
    padding: 60px 0;
  }

  .feature {
    min-height: auto;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .consent-banner {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
  }

  .consent-actions {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 46px;
  }

  .download-button {
    font-size: 15px;
  }
}
