:root {
  --ink: #102033;
  --muted: #657287;
  --line: #e4eaf1;
  --soft: #f6f9fc;
  --soft-blue: #edf6fd;
  --brand: #033660;
  --brand-2: #0b5f95;
  --accent: #2d8acb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(10, 44, 75, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  color: var(--brand-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 42px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img,
.site-footer img {
  display: block;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.nav-toggle:checked + .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle:checked + .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.install-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
}

.install-link:hover {
  color: var(--white);
  background: var(--brand-2);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 52px 24px 58px;
  background:
    radial-gradient(circle at 14% 12%, rgba(45, 138, 203, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(3, 54, 96, 0.06);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.eyebrow,
.section-number,
.release-band span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 870px;
  margin-bottom: 22px;
  font-size: clamp(58px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.22;
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
}

.prompt-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 860px;
  margin: 36px 0 24px;
  padding: 18px 18px 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.prompt-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-panel code {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  white-space: normal;
}

.install-options {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.prompt-panel a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--white);
  font-weight: 900;
  background: var(--brand);
  border-radius: 8px;
}

.hero-actions,
.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: var(--brand);
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.tag-row span {
  padding: 8px 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.intro,
.how-it-starts,
.community {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 82px 24px;
}

.intro::before,
.how-it-starts::before,
.community::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.intro p,
.how-it-starts p,
.community p,
.section-heading p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.release-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1120px;
  margin: 0 auto 34px;
  padding: 32px 34px;
  background: var(--brand);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.release-band h2 {
  max-width: 720px;
  margin: 6px 0 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
}

.release-band span {
  color: #9dd5fb;
}

.release-band a {
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 900;
  padding: 12px 18px;
  background: var(--white);
  border-radius: 8px;
}

.features {
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 24px 82px;
}

.section-heading {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 34px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(10, 44, 75, 0.06);
}

.feature-grid p {
  color: var(--muted);
  font-size: 15px;
}

.how-it-starts {
  grid-template-columns: 90px minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 20px;
  color: #d8e8f5;
  background: #0d2438;
  border-radius: 8px;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.community {
  align-items: center;
  margin-bottom: 24px;
}

.community::after {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  transform: translateX(-50%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-it-starts {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .how-it-starts pre {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 18px 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 22px;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding-top: 12px;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
  }

  .install-link {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    text-align: center;
  }

  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding: 34px 20px 48px;
  }

  .prompt-panel,
  .release-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro,
  .how-it-starts,
  .community,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .how-it-starts pre {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 146px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 18px;
  }

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

  .feature-grid article {
    min-height: auto;
  }
}
