:root {
  --bg: #031018;
  --teal: #00e5c8;
  --foam: #e9fffa;
  --muted: #8eb3af;
  --line: rgba(0, 229, 200, 0.22);
  --card: rgba(8, 28, 40, 0.78);
  --deep: #0a4f6b;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--foam);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(0, 229, 200, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(14, 90, 130, 0.35), transparent 55%),
    radial-gradient(ellipse 45% 35% at 0% 80%, rgba(8, 60, 80, 0.45), transparent 50%),
    linear-gradient(180deg, #062033 0%, #031018 55%, #020c12 100%);
  animation: tide 14s ease-in-out infinite alternate;
}

@keyframes tide {
  from {
    filter: hue-rotate(0deg) saturate(1);
  }
  to {
    filter: hue-rotate(-8deg) saturate(1.08);
  }
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ghost-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.ghost-link:hover {
  color: var(--teal);
}

main {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0 2rem;
  animation: rise 0.9s ease both;
}

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

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  background: linear-gradient(120deg, var(--foam), #9ff5e6 45%, #4fd0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.byline {
  margin: -0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--foam);
}

.support {
  margin: 1rem 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--teal);
  color: #042018;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.cta.secondary {
  background: transparent;
  color: var(--foam);
  border: 1px solid var(--line);
}

.cta.compact {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

.preview {
  margin-top: -2rem;
  margin-bottom: 3rem;
  animation: rise 1.1s 0.15s ease both;
}

.feed-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  width: min(560px, 100%);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  backdrop-filter: blur(10px);
}

.thumb {
  height: 108px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 229, 200, 0.2), rgba(14, 90, 130, 0.55)),
    #123;
}

.blurred {
  filter: blur(10px) saturate(0.75);
}

.blurred-text {
  filter: blur(7px);
  user-select: none;
}

.meta .title {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.reveal-demo {
  margin-top: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(0, 229, 200, 0.12);
  color: var(--teal);
  font: 600 0.8rem var(--font-body);
}

.install {
  max-width: 42rem;
  margin: 0 0 3.5rem;
  padding: 1.5rem 0 0;
  scroll-margin-top: 1.5rem;
  animation: rise 1.12s 0.2s ease both;
}

.install h2,
.points h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.install-lede {
  margin: 0.55rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 48ch;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.15rem;
}

.steps > li {
  position: relative;
  padding: 1rem 1rem 1rem 3.35rem;
  border: 1px solid rgba(120, 220, 210, 0.16);
  border-radius: 16px;
  background: rgba(6, 24, 36, 0.55);
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 229, 200, 0.16);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
}

.steps strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.steps code,
.install-lede code,
.tip code,
.points code {
  font-size: 0.9em;
  color: var(--teal);
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 0.75rem;
}

.steps pre {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(120, 220, 210, 0.14);
  background: rgba(2, 12, 18, 0.8);
  color: #c8fff4;
  font-size: 0.82rem;
  line-height: 1.45;
}

.tip {
  margin-top: 1.15rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--teal);
  color: var(--muted);
  line-height: 1.5;
  background: rgba(0, 229, 200, 0.06);
}

.points {
  max-width: 40rem;
  animation: rise 1.15s 0.25s ease both;
}

.points > p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}

.points ul {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.7;
}

footer {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(120, 220, 210, 0.12);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .feed-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .preview {
    margin-top: 0;
  }
}
