:root {
  --bg: #07111a;
  --bg-deep: #03080f;
  --panel: rgba(12, 23, 35, 0.78);
  --panel-strong: #0c1824;
  --panel-soft: rgba(20, 35, 53, 0.68);
  --line: rgba(140, 181, 205, 0.18);
  --line-strong: rgba(154, 219, 198, 0.28);
  --text: #ecf5ff;
  --muted: #a9bac8;
  --accent: #71f0c0;
  --accent-strong: #24d49c;
  --accent-alt: #8cc6ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1200px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(36, 212, 156, 0.12), transparent 28rem),
    radial-gradient(circle at top right, rgba(140, 198, 255, 0.16), transparent 24rem),
    linear-gradient(180deg, rgba(10, 19, 29, 0.65), rgba(3, 8, 15, 0.95)),
    var(--bg-deep);
  color: var(--text);
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  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: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
li,
dd {
  color: var(--muted);
}

h1,
h2,
h3,
dt,
.brand-name,
.button,
.footer-title {
  font-family: "Space Grotesk", "IBM Plex Sans", "Avenir Next", sans-serif;
  letter-spacing: -0.02em;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 2rem;
  padding: 0.85rem 1rem;
  background: rgba(6, 14, 22, 0.72);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(113, 240, 192, 0.2), rgba(140, 198, 255, 0.4)),
    #102132;
  border: 1px solid rgba(113, 240, 192, 0.45);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0.52rem;
  border-radius: 10px;
  border: 1px solid rgba(113, 240, 192, 0.52);
}

.brand-mark::after {
  inset: 0.9rem;
  border-color: rgba(140, 198, 255, 0.7);
}

.eyebrow,
.section-tag,
.proof-kicker,
.coverage-label {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-name {
  display: inline-block;
  font-size: 1.08rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 2.5rem;
  padding: 0.6rem 1rem;
}

.button-primary {
  color: #041219;
  background: linear-gradient(135deg, var(--accent), #9bd7ff);
  box-shadow: 0 14px 32px rgba(36, 212, 156, 0.18);
}

.button-secondary,
.button-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(14, 25, 38, 0.82);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

.hero-copy,
.hero-panel,
.proof-card,
.step-card,
.feature-card,
.coverage-card,
.screenshot-card,
.install-card,
.faq-card {
  animation: rise-in 620ms ease both;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 5vw, 5.35rem);
  line-height: 0.94;
  max-width: 12ch;
}

.hero-text {
  max-width: 60ch;
  margin: 0 0 1.5rem;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-badges li {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 20, 31, 0.62);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1rem 2rem 2rem -1rem;
  background: radial-gradient(circle, rgba(140, 198, 255, 0.18), transparent 55%);
  filter: blur(18px);
  z-index: 0;
}

.hero-card,
.proof-card,
.step-card,
.feature-card,
.coverage-card,
.install-card,
.faq-card,
.screenshot-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 27, 40, 0.94), rgba(7, 14, 22, 0.86));
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1rem;
}

.hero-card img,
.screenshot-card img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-strip,
.steps,
.feature-grid,
.install-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 4rem;
}

.proof-card,
.step-card,
.feature-card,
.coverage-card,
.install-card,
.faq-card {
  padding: 1.4rem;
}

.proof-card h2,
.section-intro h2,
.split-copy h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
}

.proof-card p:last-child,
.step-card p,
.feature-card p,
.coverage-card p,
.install-card p,
.faq-card p,
.split-copy p {
  margin-bottom: 0;
}

.section-grid,
.feature-section,
.split-section,
.screenshots-section,
.install-section,
.faq-section {
  padding: 1rem 0 4rem;
}

.section-intro {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-index {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent-alt);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
}

.step-card h3,
.feature-card h3,
.coverage-card h3,
.install-card h3,
.faq-card h3,
.screenshot-card strong {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.confidence-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
}

.confidence-list div {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 22, 34, 0.58);
}

.confidence-list dt {
  margin-bottom: 0.25rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.confidence-list dd {
  margin: 0;
}

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

.coverage-card li + li {
  margin-top: 0.55rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.screenshot-wide {
  grid-column: 1 / -1;
}

.screenshot-card {
  overflow: hidden;
  padding: 0.95rem;
}

.screenshot-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 0.2rem 0.1rem;
}

.install-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

pre {
  margin: 1rem 0 0;
  padding: 1rem 1.05rem;
  overflow-x: auto;
  border: 1px solid rgba(140, 198, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(3, 10, 17, 0.88);
  color: #d8f4ff;
  font-family: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.footer-title {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.footer-text {
  margin: 0;
}

.footer-actions {
  display: flex;
  gap: 1rem;
  color: var(--muted);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .hero,
  .split-section,
  .proof-strip,
  .steps,
  .feature-grid,
  .install-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .screenshot-wide {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--content-width));
  }

  .site-header {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 0.75rem;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions,
  .footer-actions {
    flex-direction: column;
  }

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