:root {
  color-scheme: light;
  --ink: #141923;
  --muted: #5a6372;
  --line: #d9dde5;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --accent: #0f7fd6;
  --accent-strong: #075fa8;
  --warm: #f6b73c;
  --ok: #0f8f6d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: #fff;
  background: rgba(16, 20, 28, 0.74);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
}

.hero {
  min-height: 86vh;
  display: grid;
  align-items: center;
  padding: 92px clamp(20px, 6vw, 80px) 64px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 13, 19, 0.92) 0%, rgba(10, 13, 19, 0.72) 44%, rgba(10, 13, 19, 0.22) 100%),
    url("./assets/draggable-hero.png") right center / min(74vw, 920px) auto no-repeat,
    #20242d;
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #9fd5ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
}

.page .button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.page .button.secondary:hover {
  border-color: var(--accent);
}

.note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.section {
  padding: 72px clamp(20px, 6vw, 80px);
}

.section.alt {
  background: #fff;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-lede {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.feature:nth-child(2) .feature-mark {
  background: var(--warm);
  color: #221600;
}

.feature:nth-child(3) .feature-mark {
  background: var(--ok);
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.download-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10141c;
  color: #fff;
}

.download-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.page {
  min-height: 100vh;
  padding: 112px clamp(20px, 6vw, 80px) 72px;
  background: #fff;
}

.page .section-inner {
  max-width: 820px;
}

.page h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 8vw, 5rem);
}

.page p,
.page li {
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

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

  .nav {
    gap: 12px;
  }

  .nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 88vh;
    background:
      linear-gradient(180deg, rgba(10, 13, 19, 0.96) 0%, rgba(10, 13, 19, 0.80) 54%, rgba(10, 13, 19, 0.42) 100%),
      url("./assets/draggable-hero.png") center bottom 20px / min(92vw, 520px) auto no-repeat,
      #20242d;
    align-items: start;
    padding-top: 112px;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

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

  .download-band {
    padding: 24px;
  }
}
