:root {
  --ink: #edf7ff;
  --muted: #a9bbcf;
  --blue-950: #020916;
  --blue-900: #06152b;
  --blue-800: #082242;
  --blue-650: #123f68;
  --cyan: #63dcff;
  --cyan-2: #20a9ff;
  --green: #62df70;
  --line: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.09);
  --glass-2: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 12%, rgba(32, 169, 255, 0.20), transparent 32rem),
    radial-gradient(circle at 82% 18%, rgba(98, 223, 112, 0.12), transparent 28rem),
    linear-gradient(135deg, var(--blue-950), var(--blue-900) 42%, #082d49);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", "Nunito Sans", system-ui, sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.15rem 1.35rem;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(99, 220, 255, 0.24);
}

nav {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
}

nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.10);
}

main {
  overflow: hidden;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5.5rem 1.35rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 900;
  margin: 0 0 0.9rem;
}

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

h1 {
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  max-width: 760px;
  margin-bottom: 1.4rem;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.lede {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 650px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 900;
  border: 1px solid transparent;
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: #031326;
  box-shadow: 0 18px 46px rgba(32, 169, 255, 0.28);
}

.button.secondary {
  background: var(--glass);
  border-color: var(--line);
  color: var(--ink);
}

.small-note {
  color: var(--muted);
  font-size: 0.84rem;
}

.orbital-card {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orbital-card::before,
.orbital-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(99, 220, 255, 0.22);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.orbital-card::before {
  width: 88%;
  aspect-ratio: 1;
}

.orbital-card::after {
  width: 64%;
  aspect-ratio: 1;
  border-color: rgba(98, 223, 112, 0.16);
  transform: rotate(24deg);
}

.glass-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06)),
    rgba(4, 22, 45, 0.72);
  box-shadow: var(--shadow);
  padding: 1rem;
  backdrop-filter: blur(24px);
}

.window-dots {
  display: flex;
  gap: 0.45rem;
  padding: 0.35rem 0.35rem 0.9rem;
}

.window-dots span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: #ff5f57;
}

.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.citation-strip {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding: 0.95rem;
  margin-bottom: 0.65rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.citation-strip span {
  color: var(--cyan);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.citation-strip strong {
  color: var(--ink);
}

.citation-strip em {
  grid-column: 2;
  font-style: normal;
}

.citation-strip.active {
  background: rgba(99, 220, 255, 0.16);
  outline: 1px solid rgba(99, 220, 255, 0.26);
}

.bib-preview {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(1, 8, 18, 0.58);
  color: #b8f2c2;
  line-height: 1.6;
  overflow: hidden;
}

.bib-preview code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.84rem;
}

.ribbon,
.feature-section,
.screenshots,
.comparison,
.privacy,
.download {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.ribbon div {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}

.ribbon div:first-child {
  border-radius: 24px 0 0 24px;
}

.ribbon div:last-child {
  border-radius: 0 24px 24px 0;
}

.ribbon strong,
.ribbon span {
  display: block;
}

.ribbon strong {
  font-size: 1.06rem;
}

.ribbon span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.screenshots,
.feature-section,
.comparison,
.privacy {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, 250px);
  gap: 1rem;
}

.shot {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.20);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shot.tall {
  grid-row: span 2;
}

.shot:hover,
.mini-shot:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 220, 255, 0.48);
  box-shadow: 0 26px 90px rgba(32, 169, 255, 0.20);
}

.shot img,
.mini-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  color: var(--cyan);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  background: rgba(2, 9, 22, 0.72);
  backdrop-filter: blur(12px);
}

.mini-shot-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.mini-shot {
  position: relative;
  display: block;
  height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mini-shot span {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(2, 9, 22, 0.72);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox:target {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 6, 15, 0.82);
  backdrop-filter: blur(18px);
}

.lightbox figure {
  position: relative;
  z-index: 1;
  width: min(94vw, 1320px);
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 28px;
  background: rgba(6, 21, 43, 0.92);
  box-shadow: var(--shadow);
}

.lightbox figure img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  padding-top: 0.7rem;
}

.close {
  position: absolute;
  right: 1.4rem;
  top: 1.4rem;
  z-index: 2;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(2, 9, 22, 0.72);
  border: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-grid article,
.compare-card,
.privacy-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  padding: 1.35rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.feature-grid p,
.compare-card li,
.privacy-card p,
.comparison-note {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.glyph {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  color: #041326;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-weight: 950;
  margin-bottom: 1rem;
}

.compare-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.compare-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.compare-card li + li {
  margin-top: 0.7rem;
}

.compare-card.highlight {
  background:
    linear-gradient(135deg, rgba(99,220,255,0.16), rgba(98,223,112,0.08)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 220, 255, 0.32);
}

.comparison-note {
  max-width: 780px;
  margin: 1.2rem 0 0;
}

.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.privacy-card a {
  color: var(--cyan);
  font-weight: 900;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  color: var(--muted);
  padding: 2rem 1.35rem 3rem;
  border-top: 1px solid var(--line);
}

.site-footer a {
  text-decoration: none;
}

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

  nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.4rem;
  }

  .orbital-card {
    min-height: 420px;
  }

  .ribbon,
  .feature-grid,
  .compare-board,
  .privacy,
  .shot-grid,
  .mini-shot-row {
    grid-template-columns: 1fr;
  }

  .ribbon div,
  .ribbon div:first-child,
  .ribbon div:last-child {
    border-radius: 22px;
  }

  .shot-grid {
    grid-template-rows: none;
  }

  .shot,
  .shot.tall {
    min-height: 260px;
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .hero,
  .screenshots,
  .feature-section,
  .comparison,
  .privacy {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: 2.85rem;
  }

  .glass-panel {
    border-radius: 24px;
  }

  .citation-strip {
    grid-template-columns: 1fr;
  }

  .citation-strip em {
    grid-column: auto;
  }
}
