:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0d0d0d;
  --line: #252525;
  --muted: #a3a3a3;
  --text: #f5f5f5;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 10px;
}

nav,
footer div {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--text);
}

.hero {
  min-height: 690px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 88px 0;
}

.hero-mark {
  width: 178px;
  height: 178px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  margin-bottom: 36px;
  background: #000;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow,
.feature-number {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.lede {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d4d4d4;
  font-size: 0.82rem;
}

.status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px #222;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.features article {
  min-height: 280px;
  padding: 42px;
}

.features article + article {
  border-left: 1px solid var(--line);
}

.features h2,
.commands h2,
.notice h2,
.legal h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.features article > p:last-child,
.commands p,
.notice p,
.legal p,
.legal li {
  color: var(--muted);
}

.commands {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding-block: 80px;
}

.command-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.command-list code {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: #e5e5e5;
  font-size: 0.95rem;
}

.notice {
  margin-bottom: 80px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.notice p {
  max-width: 780px;
  margin-bottom: 0;
}

.legal {
  max-width: 780px;
  padding-block: 92px 120px;
}

.legal h1 {
  margin-bottom: 26px;
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.legal-intro {
  margin-bottom: 72px;
  font-size: 1.2rem;
}

.legal section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal ul {
  padding-left: 22px;
}

.legal li + li {
  margin-top: 10px;
}

footer {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding-block: 20px;
  }

  nav {
    gap: 14px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .features,
  .commands {
    grid-template-columns: 1fr;
  }

  .features article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .features article {
    min-height: auto;
    padding: 34px 20px;
  }

  .commands {
    gap: 34px;
  }

  .notice {
    padding: 30px 24px;
  }
}
