:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #595959;
  --paper: #f7f7fa;
  --paper-2: #ffffff;
  --line: #d7dce8;
  --blue: #2563eb;
  --blue-dark: #153e94;
  --green: #16a34a;
  --orange: #ea580c;
  --red: #dc2626;
  --shadow: 0 22px 70px rgb(37 99 235 / 13%);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgb(37 99 235 / 6%) 1px, transparent 1px),
    linear-gradient(180deg, rgb(37 99 235 / 5%) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgb(37 99 235 / 14%);
  background: rgb(247 247 250 / 88%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-word {
  color: var(--blue-dark);
  font-size: 1.08rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgb(37 99 235 / 10%);
  color: var(--blue-dark);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 6vw, 84px) clamp(28px, 5vw, 60px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4.4rem, 14vw, 11rem);
  line-height: 0.86;
}

h2 {
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  line-height: 0.96;
}

h3 {
  font-size: 1.18rem;
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--blue-dark);
}

.device-stack {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  align-items: end;
  gap: min(2.4vw, 22px);
}

.device {
  overflow: hidden;
  border: 10px solid #241812;
  border-radius: 34px;
  background: #241812;
  box-shadow: var(--shadow);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
}

.device.small {
  transform: translateY(-12px) rotate(-3deg);
}

.device.large {
  transform: rotate(2deg);
}

.band {
  padding: clamp(56px, 8vw, 120px) clamp(20px, 6vw, 84px);
}

.band.alt {
  background: var(--paper-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.mode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mode,
.score-card,
.notice,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 250 242 / 72%);
  padding: 20px;
}

.mode p,
.score-card span,
.support-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.score-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.score-card strong {
  color: var(--blue-dark);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 0.9;
}

.score-card span {
  display: block;
  margin-top: 14px;
  font-weight: 700;
}

.screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin-top: 34px;
}

.screen {
  overflow: hidden;
  border: 8px solid #241812;
  border-radius: 28px;
  background: #241812;
  box-shadow: var(--shadow);
}

.screen img {
  display: block;
  width: 100%;
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.callout p {
  margin: 10px 0 0;
  color: rgb(255 250 242 / 76%);
}

.page {
  max-width: 960px;
  min-height: 72svh;
  padding: clamp(48px, 8vw, 110px) clamp(20px, 6vw, 84px);
}

.page h1 {
  max-width: none;
  font-size: clamp(3.4rem, 10vw, 7.2rem);
}

.section {
  margin-top: 42px;
}

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

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

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper-2);
}

.footer a {
  margin-right: 14px;
  color: var(--blue-dark);
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .split,
  .callout {
    display: block;
  }

  .nav {
    margin-top: 12px;
    justify-content: flex-start;
  }

  .device-stack {
    margin-top: 38px;
  }

  .mode-list,
  .screens,
  .score-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .screens {
    max-width: 390px;
  }

  .callout .button {
    margin-top: 18px;
  }
}
