:root {
  color-scheme: dark;
  --dark: #0b1012;
  --card: #12181b;
  --card-soft: #171f23;
  --border: #263238;
  --border-bright: #4fa3ad;
  --text: #edf3f5;
  --muted: #9aa7ad;
  --lime: #2bc8c3;
  --lime-dark: #14948f;
  --gold: #c8d2d6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--dark);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 8%, rgba(43, 200, 195, 0.18), transparent 22rem),
    radial-gradient(circle at 50% 22%, rgba(200, 210, 214, 0.12), transparent 30rem),
    linear-gradient(180deg, rgba(43, 200, 195, 0.04), transparent 28rem);
  pointer-events: none;
}

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

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

button {
  font: inherit;
}

.noise-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.015;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(38, 50, 56, 0.9);
  background: rgba(11, 16, 18, 0.84);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.section,
.stats-strip,
.site-footer {
  width: min(100% - 32px, 1024px);
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  color: #f2f7f8;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.desktop-nav a,
.site-footer a {
  transition: color 180ms ease;
}

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

.nav-actions,
.hero-actions,
.signup-actions,
.tags {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kbd-button {
  display: inline-flex;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.kbd-button span {
  min-width: 28px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px 7px;
  background: #151c20;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
  text-align: center;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--lime);
  color: #071112;
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.hero {
  position: relative;
  display: flex;
  min-height: 86vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 132px;
  padding-bottom: 64px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  z-index: -1;
  width: min(680px, 92vw);
  height: min(680px, 92vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(43, 200, 195, 0.21), rgba(200, 210, 214, 0.1) 35%, transparent 68%);
  transform: translateX(-50%);
  filter: blur(6px);
}

.hero-avatar {
  width: 154px;
  height: 154px;
  margin-bottom: 30px;
  border: 4px solid rgba(43, 200, 195, 0.72);
  border-radius: 999px;
  box-shadow: 0 0 38px rgba(43, 200, 195, 0.28), var(--shadow);
  object-fit: cover;
}

.eyebrow,
.section-heading span,
.section-kicker,
.stack-number,
.card-topline,
.product-card > span,
.build-log span,
.video-row span {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 4.55rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.03;
}

h1 span {
  display: block;
  background: linear-gradient(90deg, var(--lime), #8de3de 42%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 800;
}

p {
  color: var(--muted);
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: #c9d4c9;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.github-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: currentColor;
}

.button:hover,
.featured-card:hover,
.product-card:hover,
.video-row:hover {
  transform: translateY(-4px);
}

.button.primary {
  background: var(--lime);
  color: #071112;
  box-shadow: 0 10px 30px rgba(43, 200, 195, 0.22);
}

.button.secondary {
  border: 1px solid var(--border-bright);
  background: rgba(17, 22, 17, 0.72);
  color: var(--text);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  padding: 30px 16px;
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  color: var(--lime);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-section {
  text-align: center;
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
}

.narrow p,
.section-heading p,
.live-card p,
.signup-card p {
  font-size: 1.08rem;
}

.section-kicker {
  display: block;
  margin-bottom: 16px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading.compact {
  margin-top: 76px;
}

.inline-link {
  flex: 0 0 auto;
  color: var(--lime);
  font-weight: 800;
}

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

.featured-card,
.product-card,
.log-item,
.video-row,
.live-card,
.signup-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 0 0 rgba(43, 200, 195, 0);
}

.stack-card {
  display: grid;
  min-height: 122px;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 14px;
  align-items: start;
  border: 1px solid rgba(38, 50, 56, 0.92);
  border-radius: 12px;
  padding: 18px 20px;
  background: rgba(12, 17, 19, 0.72);
  box-shadow: inset 0 1px 0 rgba(237, 243, 245, 0.03);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.stack-card:hover {
  border-color: rgba(43, 200, 195, 0.42);
  background: rgba(15, 22, 25, 0.88);
  transform: translateY(-2px);
}

.stack-mark {
  display: grid;
  grid-row: 2 / span 2;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-top: 5px;
  border-radius: 8px;
  background: rgba(43, 200, 195, 0.12);
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
}

.stack-number {
  grid-column: 1 / -1;
  margin-bottom: 12px;
  color: #6f7d83;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stack-card h4 {
  margin: 0 0 2px;
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.stack-card p {
  margin-bottom: 0;
  color: #95a3a8;
  font-size: 0.82rem;
  line-height: 1.25;
}

.stack-loop {
  margin: 30px 0 0;
  color: var(--lime);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.featured-grid,
.tools-grid {
  display: grid;
  gap: 14px;
}

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

.tools-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 148px;
}

.featured-card,
.product-card,
.video-row {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.featured-card:hover,
.product-card:hover,
.video-row:hover {
  border-color: var(--border-bright);
  box-shadow: 0 18px 50px rgba(43, 200, 195, 0.1);
}

.featured-card {
  min-height: 330px;
  padding: 30px;
  border-color: rgba(43, 200, 195, 0.38);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
}

.featured-card h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.tags {
  flex-wrap: wrap;
  margin-top: 22px;
}

.tags span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-card {
  height: 148px;
  overflow: hidden;
  border-radius: 12px;
  padding: 21px 22px;
  background: rgba(12, 17, 19, 0.72);
  box-shadow: inset 0 1px 0 rgba(237, 243, 245, 0.03);
}

.product-card:hover {
  background: rgba(15, 22, 25, 0.88);
  box-shadow: inset 0 1px 0 rgba(237, 243, 245, 0.04);
  transform: translateY(-2px);
}

.product-card > span {
  display: block;
  margin-bottom: 14px;
  color: #6f7d83;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
}

.product-card h3 {
  margin-bottom: 5px;
  font-size: 1.04rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.product-card p {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  color: #95a3a8;
  font-size: 0.88rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card small {
  display: none;
}

.build-log {
  display: grid;
  position: relative;
  gap: 0;
  padding-left: 40px;
}

.build-log::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 1px;
  background: rgba(43, 200, 195, 0.2);
}

.log-item {
  display: block;
  position: relative;
  padding: 0 0 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.log-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -38px;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(43, 200, 195, 0.32);
  border-radius: 999px;
  background: var(--dark);
}

.log-item:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.log-item:hover h3 {
  color: var(--lime);
}

.log-item time,
.build-log span {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 10px 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.log-item time::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 6px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M4 1h1v2h6V1h1v2h2v11H2V3h2V1Zm9 6H3v6h10V7ZM3 4v2h10V4H3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.build-log span {
  border: 1px solid rgba(154, 167, 173, 0.22);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
}

.log-item h3,
.log-item p {
  grid-column: auto;
}

.log-item h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  letter-spacing: -0.035em;
  transition: color 180ms ease;
}

.log-item p {
  max-width: 760px;
  margin: 0;
  color: #95a3a8;
  font-size: 0.98rem;
}

.replays-section {
  padding-top: 32px;
}

.video-row {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
}

.video-row img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip-grid span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 13px 16px;
  background: var(--card);
  color: var(--text);
  font-weight: 700;
}

.live-card,
.signup-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 6vw, 54px);
}

.live-card h2,
.signup-card h2 {
  max-width: 700px;
}

.live-card p,
.signup-card p {
  max-width: 650px;
  margin-bottom: 0;
}

.now-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 1.08rem;
  list-style: none;
}

.now-list li {
  position: relative;
  padding-left: 24px;
}

.now-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime);
}

.vibe-sites-section {
  padding-top: 32px;
}

.vibe-sites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.vibe-site-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 128px;
  border: 1px solid rgba(38, 50, 56, 0.92);
  border-radius: 14px;
  padding: 20px;
  background: rgba(12, 17, 19, 0.72);
  box-shadow: inset 0 1px 0 rgba(237, 243, 245, 0.03);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.vibe-site-card:hover {
  border-color: rgba(43, 200, 195, 0.42);
  background: rgba(15, 22, 25, 0.88);
  transform: translateY(-2px);
}

.vibe-logo {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(43, 200, 195, 0.2);
  border-radius: 14px;
  background: rgba(43, 200, 195, 0.08);
  color: var(--lime);
}

.vibe-logo svg {
  width: 34px;
  height: 34px;
}

.vibe-site-card h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
  letter-spacing: -0.035em;
}

.vibe-site-card p {
  margin-bottom: 0;
  color: #95a3a8;
  font-size: 0.92rem;
  line-height: 1.35;
}

.signup-section {
  padding-top: 32px;
}

.signup-card {
  flex-direction: column;
  align-items: flex-start;
}

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

.site-footer strong {
  font-size: 1.05rem;
  font-weight: 850;
}

.site-footer p {
  max-width: 520px;
  margin: 6px 0 0;
  font-size: 0.94rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.command-menu {
  width: min(520px, calc(100% - 32px));
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 0;
  background: rgba(17, 22, 17, 0.98);
  color: var(--text);
  box-shadow: var(--shadow);
}

.command-menu::backdrop {
  background: rgba(0, 0, 0, 0.66);
}

.command-panel {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 12px;
}

.command-head p {
  margin: 0;
  color: var(--lime);
  font-weight: 850;
}

.command-head button {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.command-panel a {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text);
  font-weight: 700;
}

.command-panel a:hover,
.command-panel a:focus {
  border-color: var(--border-bright);
  outline: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .stack-grid,
  .featured-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.split,
  .live-card,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-row {
    grid-template-columns: 1fr;
  }

  .vibe-sites-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .section,
  .site-footer {
    width: min(100% - 24px, 1024px);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-avatar {
    width: 132px;
    height: 132px;
  }

  .card-topline,
  .nav-actions,
  .signup-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
