:root {
  color-scheme: dark;
  --bg: #05070c;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f7fb;
  --muted: #b6c2d4;
  --line: rgba(255, 255, 255, 0.18);
  --blue: #0a84ff;
  --cyan: #52ddff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 22% 18%, rgba(82, 221, 255, 0.28), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(10, 132, 255, 0.38), transparent 36%),
    linear-gradient(180deg, #08111f 0%, var(--bg) 64%);
}

a {
  color: inherit;
}

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

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 14px;
}

nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 52px;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 34px 0 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.38;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  display: block;
  width: 100%;
  border-radius: 26%;
  filter: drop-shadow(0 32px 80px rgba(0, 132, 255, 0.34));
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(1120px, calc(100% - 32px));
  margin: -42px auto 64px;
}

article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(22px);
}

article h2,
.document h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

article p,
.document p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

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

.document h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

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

.document a {
  color: white;
  text-decoration-color: rgba(82, 221, 255, 0.7);
  text-underline-offset: 4px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 22px;
  }

  .hero-visual {
    max-width: 320px;
  }

  .features {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}
