:root {
  color-scheme: dark;
  --bg: #030d18;
  --bg-2: #071426;
  --surface: #0a1728;
  --surface-2: #0d1d31;
  --line: #1b2c42;
  --text: #e7edf7;
  --muted: #97a8bf;
  --primary: #7396ff;
  --primary-2: #5d7ff0;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", sans-serif;
  background: radial-gradient(circle at 50% -10%, #102746 0%, var(--bg) 45%), var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.page-bg {
  display: none;
}

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

a:hover {
  color: #b6c8ff;
}

.container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin: 0 auto;
}

.section {
  padding: 4.2rem 0;
}

.section-narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(3, 13, 24, 0.8);
  border-bottom: 1px solid rgba(140, 160, 190, 0.17);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-block;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-list a:hover,
.nav-list a.active {
  color: #eaf0fb;
  background: rgba(115, 150, 255, 0.16);
}

.announce {
  border-bottom: 1px solid rgba(129, 151, 179, 0.2);
  background: linear-gradient(90deg, #12313f 0%, #173f33 50%, #12313f 100%);
  color: #b9d8dc;
  font-size: 0.82rem;
  text-align: center;
  padding: 0.56rem 0;
}

.announce a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #d9ebf3;
}

.hero {
  padding-top: 4.8rem;
}

.hero-stack {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  color: #88a3d1;
  font-family: "IBM Plex Mono", monospace;
}

h1,
h2,
h3 {
  margin: 0 0 0.66rem;
  line-height: 1.15;
}

h1 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 64ch;
}

.centered {
  margin-left: auto;
  margin-right: auto;
}

.subtle {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: #7d8ea7;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  margin-right: 0.4rem;
  border-radius: 999px;
  border: 1px solid #3a4d67;
  background: rgba(24, 39, 59, 0.9);
  color: #c4d5f3;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.68rem;
  flex-wrap: wrap;
}

.centered-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.66rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #f6f8ff;
}

.button:hover {
  color: #fff;
  filter: brightness(1.06);
}

.button.ghost {
  background: rgba(14, 31, 51, 0.86);
  border-color: var(--line);
  color: #cfdbef;
}

.button.small {
  padding: 0.48rem 0.84rem;
  border-radius: 8px;
}

.github-link {
  gap: 0.42rem;
}

.github-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.showcase-shell {
  margin: 2rem auto 0;
  max-width: 1060px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0f2138 0%, #0a1a2f 100%);
  border: 1px solid #274465;
  box-shadow: 0 22px 60px rgba(2, 8, 16, 0.58);
  padding: 0.5rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 0.75rem;
}

.showcase-main,
.showcase-panel {
  border-radius: var(--radius-sm);
  border: 1px solid #35557a;
  background: #081426;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(101, 159, 240, 0.2), 0 0 28px rgba(70, 140, 230, 0.28);
}

.showcase-main {
  min-height: 370px;
}

.showcase-main img,
.showcase-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-side {
  display: grid;
  gap: 0.75rem;
}

.showcase-panel {
  min-height: 179px;
}

.centered-heading {
  text-align: center;
}

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

.card {
  position: relative;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 29, 49, 0.95), rgba(11, 24, 40, 0.95));
  padding: 1.35rem 1rem 1rem;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-35%, -35%);
  color: #8fc7ff;
  background: #0a1a2c;
  border: 1px solid #3b618d;
  box-shadow: 0 6px 14px rgba(5, 12, 22, 0.45);
}

.card-icon svg {
  width: 16px;
  height: 16px;
}

.card p {
  margin: 0;
}

.status-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #12253d, #0e1d30);
  padding: 1rem;
}

.status-title {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  color: #a9bbd8;
}

.status-body {
  margin: 0;
  color: #c0d0e9;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cta-wrap {
  padding-bottom: 4.8rem;
}

.cta {
  border: 1px solid #213953;
  border-radius: var(--radius);
  background: linear-gradient(130deg, #0f2137, #162944);
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

.cta h2,
.cta .eyebrow,
.cta p {
  color: #e7efff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-footer {
  border-top: 1px solid rgba(128, 150, 178, 0.16);
  background: #050f1b;
}

.footer-grid {
  padding: 2.6rem 0 1.6rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-title {
  margin: 0 0 0.5rem;
  color: #d9e4f8;
  font-size: 0.84rem;
  font-weight: 600;
}

.footer-copy {
  margin: 0;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin: 0.28rem 0;
}

.footer-grid a {
  color: #90a6c4;
  font-size: 0.84rem;
}

.footer-grid a:hover {
  color: #d7e5ff;
}

.footer-bottom {
  border-top: 1px solid rgba(128, 150, 178, 0.16);
  padding: 0.95rem 0 1.3rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
}

.hero-stack,
.showcase-shell,
.card,
.status-card,
.cta,
.footer-grid {
  animation: appear 460ms ease both;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .header-inner {
    min-height: 76px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.6rem 0;
  }

  .showcase-grid,
  .card-grid,
  .status-grid,
  .footer-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .showcase-main {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 1.3rem));
  }

  .site-header {
    position: static;
  }

  .section {
    padding: 3.2rem 0;
  }
}
