:root {
  color-scheme: dark;
  --bg: #090b0d;
  --bg-soft: #101418;
  --panel: #151a1f;
  --panel-strong: #1b2229;
  --text: #f3f1ec;
  --muted: #a9b0b4;
  --quiet: #737d84;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #9fb7aa;
  --accent-strong: #d8e3dc;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 132, 145, 0.2), transparent 36rem),
    linear-gradient(180deg, #0c0e10 0%, var(--bg) 42rem, #08090a 100%);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 650;
  letter-spacing: 0;
}

.brand img {
  border-radius: 0.55rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
  width: min(100% - 2rem, var(--max));
  min-height: clamp(680px, calc(100vh - 4.5rem), 860px);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3rem, 6vw, 6rem);
}

.hero-copy {
  max-width: 38rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  font-weight: 720;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.05rem, 4.2vw, 4rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 680;
}

.hero-intro,
.section-copy,
.writers p,
.store-section p,
.site-footer p {
  color: var(--muted);
}

.hero-intro {
  max-width: 35rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

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

.store-badge,
.text-link {
  min-height: 2.85rem;
  border-radius: 0.55rem;
  font-weight: 650;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 227, 220, 0.35);
  background: rgba(216, 227, 220, 0.09);
  color: var(--accent-strong);
  padding: 0.7rem 1rem;
  cursor: default;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.hero-visual {
  margin: 0;
}

.desktop-stage {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 8rem),
    #12161b;
  box-shadow: var(--shadow);
}

.window-chrome {
  display: flex;
  gap: 0.48rem;
  align-items: center;
  height: 2.15rem;
  padding: 0 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.window-chrome span {
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.desktop-stage img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.panel,
.section,
.store-section,
.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.about {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

blockquote {
  max-width: 58rem;
  margin: 0;
}

blockquote p:first-child {
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.18;
}

blockquote p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section {
  padding: clamp(5rem, 8vw, 8rem) 0 0;
}

.split,
.contrast,
.store-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.section-copy p {
  font-size: 1.06rem;
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.principles span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--accent-strong);
  padding: 0.52rem 0.8rem;
  font-size: 0.9rem;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

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

.feature-card {
  min-height: 13rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.35rem;
  opacity: 1;
  transform: none;
}

html.js .feature-card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
  transition-delay: var(--feature-delay, 0ms);
}

html.js .feature-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.writers {
  max-width: 850px;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
}

.writers p {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.contrast {
  align-items: start;
}

.not-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.not-list li {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  padding-bottom: 0.75rem;
}

.closing-line {
  margin: 1.5rem 0 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 680;
}

.store-section {
  align-items: center;
  margin-top: clamp(5rem, 8vw, 8rem);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(159, 183, 170, 0.22);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, rgba(159, 183, 170, 0.14), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.store-section img {
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
}

.store-section h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.store-section p {
  margin-bottom: 0;
}

.store-badge.large {
  justify-self: end;
  white-space: nowrap;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem 2rem;
  align-items: end;
  padding: 3rem 0 2rem;
  color: var(--quiet);
}

.site-footer p,
.site-footer small {
  margin: 0;
}

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

.site-footer nav {
  gap: 1rem;
  color: var(--muted);
}

.site-footer small {
  grid-column: 1 / -1;
  font-size: 0.85rem;
}

.page-main {
  width: min(100% - 2rem, 880px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.page-panel {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-panel h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.page-panel h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

.page-panel section {
  margin-top: 2rem;
}

.page-panel p,
.page-intro {
  color: var(--muted);
}

.page-panel a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .hero,
  .split,
  .contrast,
  .store-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
  }

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

  .writers {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
  }

  .store-section {
    justify-items: start;
  }

  .store-badge.large {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5rem);
  }

  .hero-actions,
  .store-badge,
  .text-link {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .desktop-stage {
    border-radius: 0.8rem;
  }

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

  .feature-card {
    min-height: auto;
  }

  .store-section {
    padding: 1.5rem;
  }

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

  .site-footer nav {
    flex-wrap: wrap;
  }
}

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

  html.js .feature-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
