:root {
  color-scheme: dark;
  --bg: #071114;
  --surface: #0f1f23;
  --surface-strong: #143238;
  --text: #eef8f7;
  --muted: #9fc1bd;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #22d3c5;
  --accent-strong: #7df9eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(34, 211, 197, 0.12), transparent 42%),
    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: var(--accent-strong);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 22px 0;
}

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

.brand {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

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

nav a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  width: min(1100px, calc(100% - 32px));
  min-height: min(680px, calc(100vh - 84px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.hero-copy h1,
.document h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #041214;
  font-weight: 800;
  text-decoration: none;
}

.button-secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  padding: 24px;
}

.product-panel img {
  display: block;
  border-radius: 20px;
  margin-bottom: 24px;
}

.product-panel ul,
.document ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto 72px;
}

.grid-section > div,
.document {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 20px;
}

p {
  color: var(--muted);
}

.document {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.document h1 {
  font-size: clamp(36px, 8vw, 64px);
}

.document h2 {
  margin-top: 32px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .hero,
  .grid-section {
    width: min(100% - 24px, 680px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
    padding-top: 36px;
  }
}
