:root {
  --bg: #f5f3ee;
  --bg-soft: #fbfaf7;
  --text: #181715;
  --muted: #666059;
  --line: rgba(24, 23, 21, 0.08);
  --accent: #dcecff;
  --accent-strong: #b5d8ff;
  --shadow: 0 20px 60px rgba(24, 23, 21, 0.08);
  --content-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 38%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 2rem;
}

.brand,
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.brand {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
  padding: 1rem 0 3rem;
}

.eyebrow,
.download-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 9ch;
}

.hero-text,
.details p,
.features p,
.download p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-text {
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.button-link,
.text-link {
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.2rem;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  font-size: 0.96rem;
}

.text-link {
  color: var(--muted);
}

.button-link:hover,
.button-link:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.hero-media {
  justify-self: center;
}

.hero-media img {
  width: min(100%, 380px);
  filter: drop-shadow(var(--shadow));
}

.details,
.features,
.download {
  padding-top: 4.5rem;
}

.details {
  border-top: 1px solid var(--line);
}

.details p {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--text);
}

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

.features article {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 0.6rem;
  font-size: 1.65rem;
  line-height: 1.05;
}

.features p,
.download p {
  margin: 0;
}

.download {
  display: grid;
  gap: 0.9rem;
  max-width: 42rem;
}

.download .button-link {
  justify-self: start;
  margin-top: 0.4rem;
  background: var(--accent-strong);
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .page-shell {
    width: min(calc(100% - 1.5rem), var(--content-width));
  }

  .site-header {
    padding-bottom: 1.4rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding-top: 0.5rem;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    width: min(100%, 350px);
    margin: 0 auto;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-actions,
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 0.6rem;
  }

  h1 {
    max-width: 8ch;
  }

  .details,
  .features,
  .download {
    padding-top: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button-link,
  .text-link {
    transition: none;
  }
}
