:root {
  color-scheme: light;
  --ink: #151419;
  --muted: #64606d;
  --soft: #f5f2ee;
  --line: #ded8cf;
  --panel: #fffdfa;
  --rose: #ec4899;
  --orange: #f97316;
  --green: #16a34a;
  --cyan: #0891b2;
  --indigo: #4f46e5;
  --shadow: 0 24px 70px rgba(32, 24, 16, 0.13);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 242, 238, 0.92)),
    repeating-linear-gradient(90deg, rgba(21, 20, 25, 0.035) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(21, 20, 25, 0.03) 0 1px, transparent 1px 78px),
    var(--soft);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.92), rgba(255, 253, 250, 0.78)),
    rgba(255, 253, 250, 0.78);
  border-bottom: 1px solid rgba(222, 216, 207, 0.76);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 84px;
  padding: 16px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header::after {
  background: linear-gradient(90deg, var(--rose), var(--orange), var(--green), var(--cyan), var(--indigo));
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0.42;
  position: absolute;
  right: 0;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(8, 145, 178, 0.12)),
    #fffdfa;
  border: 1px solid rgba(222, 216, 207, 0.9);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(32, 24, 16, 0.09);
  display: grid;
  height: 50px;
  place-items: center;
  width: 50px;
}

.brand img {
  border-radius: 8px;
  height: 38px;
  width: 38px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy span {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 760;
  line-height: 1.2;
}

nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 40px;
  padding: 10px 14px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

nav a:hover,
footer a:hover {
  color: var(--ink);
}

nav a:hover {
  background: rgba(255, 253, 250, 0.86);
  border-color: rgba(222, 216, 207, 0.9);
  transform: translateY(-1px);
}

.nav-cta {
  background: #17151d;
  border-color: #17151d;
  color: #fffdfa;
  box-shadow: 0 12px 28px rgba(21, 20, 25, 0.16);
}

.nav-cta:hover {
  background: #17151d;
  border-color: #17151d;
  color: #fffdfa;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  gap: clamp(32px, 6vw, 76px);
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.72fr);
  min-height: calc(100svh - 84px);
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 64px) 40px;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  background: linear-gradient(90deg, var(--rose), var(--orange) 24%, var(--green) 48%, var(--cyan) 68%, var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(3.8rem, 10vw, 8.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
  margin-bottom: 28px;
}

.lede {
  color: #34313a;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 520;
  line-height: 1.58;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 820;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(21, 20, 25, 0.2);
  color: white;
}

.button.secondary {
  background: rgba(255, 253, 250, 0.76);
  border: 1px solid var(--line);
  color: var(--ink);
}

.console-card {
  align-self: center;
  background: #17151d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #f8f4ee;
  min-width: 0;
  overflow: hidden;
}

.console-top {
  align-items: center;
  background: #24212b;
  display: flex;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
}

.console-top span {
  border-radius: 999px;
  display: block;
  height: 11px;
  width: 11px;
}

.console-top span:nth-child(1) {
  background: var(--rose);
}

.console-top span:nth-child(2) {
  background: var(--orange);
}

.console-top span:nth-child(3) {
  background: var(--green);
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: clamp(20px, 4vw, 30px);
}

code {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.7;
}

.strip {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.strip div {
  background: rgba(255, 253, 250, 0.62);
  min-height: 112px;
  padding: 26px clamp(20px, 5vw, 64px);
}

.strip div + div {
  border-left: 1px solid var(--line);
}

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

.strip strong {
  font-size: 1.04rem;
  margin-bottom: 8px;
}

.strip span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(20px, 5vw, 64px);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  font-weight: 880;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0;
}

.deploy p {
  color: #34313a;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.section-heading {
  margin-bottom: 30px;
}

.library-groups {
  display: grid;
  gap: clamp(34px, 6vw, 64px);
}

.library-group {
  display: grid;
  gap: 16px;
}

.group-heading {
  align-items: start;
  border-top: 1px solid color-mix(in srgb, var(--line) 76%, var(--indigo) 24%);
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
  padding-top: 18px;
}

.group-heading > span {
  align-items: center;
  background: #17151d;
  border-radius: 8px;
  color: #fffdfa;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 880;
  height: 34px;
  justify-content: center;
  width: 42px;
}

.group-heading h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 880;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.group-heading p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  max-width: 58ch;
}

.library-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.group-platform .library-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.group-tools .library-grid {
  grid-template-columns: minmax(280px, 0.5fr);
}

.library-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(255, 253, 250, 0.72)),
    var(--panel);
  border: 1px solid rgba(222, 216, 207, 0.92);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(32, 24, 16, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 292px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.library-card::before {
  background: linear-gradient(90deg, var(--rose), var(--orange), var(--green), var(--cyan), var(--indigo));
  content: "";
  height: 3px;
  left: 0;
  opacity: 0.68;
  position: absolute;
  right: 0;
  top: 0;
}

.library-card:hover {
  background:
    linear-gradient(180deg, #fffdfa, rgba(255, 253, 250, 0.82)),
    var(--panel);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 22px 58px rgba(32, 24, 16, 0.12);
  transform: translateY(-3px);
}

.library-card.is-live {
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(22, 163, 74, 0.08)),
    linear-gradient(180deg, #fffdfa, rgba(255, 253, 250, 0.78));
  border-color: rgba(79, 70, 229, 0.26);
  grid-column: span 2;
}

.card-top {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.status {
  align-self: flex-start;
  background: rgba(79, 70, 229, 0.09);
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: 999px;
  color: var(--indigo);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
  margin-bottom: 0;
  padding: 7px 9px;
  text-transform: uppercase;
}

.library-card.is-live .status {
  background: rgba(22, 163, 74, 0.11);
  border-color: rgba(22, 163, 74, 0.22);
  color: var(--green);
}

.card-icon {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(8, 145, 178, 0.11)),
    rgba(255, 253, 250, 0.8);
  border: 1px solid rgba(222, 216, 207, 0.85);
  border-radius: 8px;
  color: var(--indigo);
  display: inline-flex;
  flex: 0 0 auto;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.card-icon svg {
  display: block;
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 25px;
}

.group-core .library-card:nth-child(2) .card-icon {
  color: var(--rose);
}

.group-core .library-card:nth-child(3) .card-icon {
  color: var(--cyan);
}

.group-core .library-card:nth-child(4) .card-icon {
  color: var(--orange);
}

.group-platform .library-card:nth-child(1) .card-icon {
  color: var(--green);
}

.group-platform .library-card:nth-child(2) .card-icon {
  color: var(--indigo);
}

.group-tools .library-card .card-icon {
  color: #7c3aed;
}

.layer {
  color: #8a8493;
  display: block;
  font-size: 0.86rem;
  font-weight: 780;
  margin-bottom: 8px;
}

.library-card h3 {
  font-size: clamp(1.42rem, 2.1vw, 2rem);
  font-weight: 860;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.library-card p {
  color: var(--muted);
  flex: 1;
  line-height: 1.58;
  margin-bottom: 22px;
}

.card-action {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  gap: 8px;
  margin-top: auto;
}

.card-action::after {
  content: "\2192";
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.library-card:hover .card-action::after {
  transform: translateX(3px);
}

.deploy {
  align-items: center;
  background: #17151d;
  color: #fffdfa;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.deploy .eyebrow {
  color: #65d3e8;
}

.deploy p {
  color: #cbc4d1;
  max-width: 72ch;
}

.deploy code {
  color: #fff;
  font-size: 0.95em;
}

.deploy .button.secondary {
  background: #fffdfa;
  border-color: #fffdfa;
  color: var(--ink);
  flex: 0 0 auto;
}

.site-footer {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(255, 253, 250, 0.94), rgba(245, 242, 238, 0.86)),
    linear-gradient(90deg, rgba(236, 72, 153, 0.08), rgba(8, 145, 178, 0.08));
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr) minmax(220px, 0.55fr);
  padding: clamp(30px, 5vw, 52px) clamp(20px, 5vw, 64px);
}

.footer-main {
  max-width: 560px;
}

.footer-brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand img {
  border-radius: 8px;
  height: 42px;
  width: 42px;
}

.footer-brand span {
  font-size: 1.08rem;
  font-weight: 900;
}

.footer-main p {
  color: #34313a;
  font-size: 1.02rem;
  font-weight: 560;
  line-height: 1.56;
  margin: 0;
}

.footer-links {
  align-content: start;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a {
  background: rgba(255, 253, 250, 0.64);
  border: 1px solid rgba(222, 216, 207, 0.84);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  min-height: 42px;
  padding: 11px 12px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.footer-links a:hover {
  background: #fffdfa;
  border-color: rgba(79, 70, 229, 0.36);
  transform: translateY(-2px);
}

.github-card {
  align-self: start;
  background: #17151d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(21, 20, 25, 0.16);
  color: #fffdfa;
  display: block;
  padding: 18px;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.github-card:hover {
  color: #fffdfa;
  box-shadow: 0 22px 54px rgba(21, 20, 25, 0.22);
  transform: translateY(-2px);
}

.github-card span,
.github-card strong {
  display: block;
}

.github-card span {
  color: #9fe5f1;
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.github-card strong {
  font-size: 1.35rem;
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .group-tools .library-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

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

  nav {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(3.5rem, 21vw, 5.4rem);
  }

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

  .group-heading {
    grid-template-columns: 1fr;
  }

  .strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .library-card.is-live {
    grid-column: auto;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .brand span {
    font-size: 0.95rem;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 0.86rem;
  }

  .button {
    width: 100%;
  }

  code {
    font-size: 0.8rem;
  }
}
