:root {
  --ink: #0e2232;
  --muted: #5e7180;
  --subtle: #edf5f5;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --navy: #082132;
  --teal: #0b8dab;
  --cyan: #25c4eb;
  --orange: #ec7a3c;
  --green: #36a77f;
  --line: rgba(14, 34, 50, 0.13);
  --shadow: 0 22px 70px rgba(8, 33, 50, 0.12);
  --max: 1180px;
  --display: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    linear-gradient(135deg, rgba(37, 196, 235, 0.18), transparent 34%),
    linear-gradient(225deg, rgba(236, 122, 60, 0.14), transparent 30%),
    #f6faf9;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(8, 33, 50, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 33, 50, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 78%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

code,
pre {
  font-family: var(--mono);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(calc(100% - 28px), var(--max));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 44px rgba(8, 33, 50, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #203848;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  border-color: rgba(11, 141, 171, 0.32);
  background: rgba(11, 141, 171, 0.1);
  color: var(--navy);
  outline: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 12px;
  font-weight: 900;
}

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

main {
  display: grid;
  gap: 20px;
  padding: 24px 0 34px;
}

.hero {
  min-height: min(720px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 20%, rgba(37, 196, 235, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 248, 249, 0.84));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 6vw, 6.6rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  font-weight: 900;
}

.hero-lede,
.page-hero p,
.mission-band p,
.section-copy p,
.install-intro p,
.note-band p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions,
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 14px 34px rgba(11, 141, 171, 0.24);
}

.button-secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.orbital {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbital::before {
  position: absolute;
  inset: 7%;
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(8, 33, 50, 0.94), rgba(8, 61, 92, 0.86)),
    radial-gradient(circle at 50% 50%, rgba(37, 196, 235, 0.24), transparent 38%);
  box-shadow: inset 0 0 60px rgba(37, 196, 235, 0.22), 0 30px 80px rgba(8, 33, 50, 0.22);
}

.orbital img {
  position: relative;
  z-index: 3;
  width: 69%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
}

.orbit {
  position: absolute;
  z-index: 2;
  border: 2px solid rgba(37, 196, 235, 0.42);
  border-radius: 50%;
}

.orbit-one {
  inset: 13%;
}

.orbit-two {
  inset: 28%;
  border-style: dashed;
}

.data-pill {
  position: absolute;
  z-index: 4;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 33, 50, 0.82);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(8, 33, 50, 0.22);
}

.pill-one {
  top: 10%;
  right: 15%;
}

.pill-two {
  bottom: 18%;
  left: 4%;
}

.pill-three {
  right: 3%;
  bottom: 30%;
  background: var(--orange);
}

.mission-band,
.split-section,
.cta-band,
.note-band,
.install-shell,
.faq-layout {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(8, 33, 50, 0.08);
}

.mission-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  padding: clamp(26px, 4vw, 46px);
}

.mission-band p {
  margin-bottom: 0;
}

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

.feature-grid article {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-kicker {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-grid p,
.faq-list p,
.guide-copy p,
.guide-copy li,
.process-list span {
  color: var(--muted);
  line-height: 1.55;
}

.feature-grid a,
.text-link {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(26px, 4vw, 48px);
}

.process-list {
  display: grid;
  gap: 10px;
}

.process-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(11, 141, 171, 0.17);
  border-radius: 10px;
  background: rgba(237, 245, 245, 0.74);
}

.process-list strong {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
}

.cta-band {
  justify-content: space-between;
  padding: clamp(26px, 4vw, 42px);
  background: linear-gradient(135deg, var(--navy), #0f4456);
  color: #fff;
}

.cta-band .eyebrow,
.cta-band h2 {
  color: #fff;
}

.cta-band h2 {
  margin-bottom: 0;
}

.page-hero {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 247, 248, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(37, 196, 235, 0.2), transparent 34%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero.compact h1 {
  max-width: 980px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.page-hero.compact p {
  max-width: 860px;
}

.install-shell {
  overflow: hidden;
}

.install-intro {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 24px;
  align-items: end;
  padding: clamp(24px, 4vw, 38px);
  border-bottom: 1px solid var(--line);
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(237, 245, 245, 0.72);
}

.tab-button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.tab-button.is-active {
  color: var(--navy);
  border-color: rgba(11, 141, 171, 0.38);
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 33, 50, 0.08);
}

.tab-panel {
  padding: clamp(24px, 4vw, 42px);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.guide-copy h3 {
  margin-top: 30px;
}

.check-list,
.steps {
  padding-left: 1.25rem;
}

.check-list li,
.steps li {
  margin-bottom: 12px;
}

.steps li strong,
.steps li span {
  display: block;
}

pre {
  overflow-x: auto;
  padding: 14px;
  border: 1px solid rgba(37, 196, 235, 0.28);
  border-radius: 8px;
  background: #071b29;
  color: #d9fbff;
  font-size: 0.92rem;
  line-height: 1.5;
}

.setup-preview {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.setup-preview figure {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(8, 33, 50, 0.08);
}

.setup-preview figcaption {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terminal-shot pre {
  margin: 0;
}

.mock-browser,
.wifi-shot {
  min-height: 230px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(237, 245, 245, 0.92), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at top right, rgba(37, 196, 235, 0.2), transparent 36%);
}

.mock-bar {
  height: 12px;
  width: 70%;
  border-radius: 999px;
  background: rgba(14, 34, 50, 0.14);
}

.mock-browser strong,
.wifi-shot strong {
  font-size: 1.55rem;
  font-weight: 900;
}

.mock-browser code {
  width: max-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
}

.wifi-shot span {
  padding: 14px;
  border: 1px solid rgba(11, 141, 171, 0.34);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.note-band {
  padding: clamp(24px, 4vw, 38px);
}

.faq-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: clamp(20px, 3vw, 34px);
}

.faq-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.faq-toc a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  text-decoration: none;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list h2 {
  margin: 22px 0 6px;
  padding-top: 10px;
  font-size: 1.7rem;
}

.faq-list h2:first-child {
  margin-top: 0;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  list-style-position: outside;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

details code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--subtle);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 44px;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .mission-band,
  .split-section,
  .install-intro,
  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 320px;
  }

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

  .setup-preview,
  .faq-toc {
    position: static;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 8px;
    width: min(calc(100% - 16px), var(--max));
    margin-top: 8px;
    border-radius: 14px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  main,
  .site-footer {
    width: min(calc(100% - 16px), var(--max));
  }

  .hero,
  .page-hero,
  .install-intro,
  .tab-panel,
  .mission-band,
  .split-section,
  .cta-band,
  .note-band,
  .faq-layout {
    padding: 22px;
    border-radius: 14px;
  }

  h1,
  .page-hero.compact h1 {
    font-size: 2.55rem;
  }

  .tabs {
    display: grid;
  }

  .orbital {
    width: 300px;
  }

  .data-pill {
    font-size: 0.78rem;
  }
}
