:root {
  color-scheme: dark;
  --bg: #080a0f;
  --ink: #f4f7fb;
  --muted: #a8b0bf;
  --line: rgba(244, 247, 251, 0.16);
  --panel: rgba(11, 16, 24, 0.72);
  --cyan: #48d8ff;
  --green: #78f09b;
  --rose: #ff6f91;
  --amber: #ffd166;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 18%, rgba(72, 216, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 24%, rgba(255, 111, 145, 0.16), transparent 24rem),
    linear-gradient(135deg, #06070b 0%, #101622 55%, #07090d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 86%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  gap: 0.7rem;
  font-weight: 750;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--green);
  box-shadow: 0 0 20px rgba(120, 240, 155, 0.75);
  transform: rotate(45deg);
}

nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.55rem, 1.45vw, 1.15rem);
  color: var(--muted);
  font-size: clamp(0.84rem, 1.1vw, 0.95rem);
}

nav a {
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a.is-active {
  color: var(--ink);
  border-bottom-color: rgba(120, 240, 155, 0.75);
}

main {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;
  padding: clamp(3rem, 8vh, 5.5rem) 0 clamp(14rem, 32vh, 24rem);
}

.hero-copy {
  max-width: 840px;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.6rem, 8.2vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.lead {
  max-width: 58ch;
  color: #d9e2ee;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.primary {
  border-color: rgba(72, 216, 255, 0.55);
  background: rgba(72, 216, 255, 0.14);
  color: var(--ink);
  box-shadow: 0 0 28px rgba(72, 216, 255, 0.18);
}

.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e4e9f2;
}

.band {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

article {
  min-height: 220px;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: rgba(10, 15, 23, 0.7);
}

.art-grid article {
  cursor: pointer;
  outline: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.art-grid article:hover,
.art-grid article:focus-visible,
.art-grid article.is-active {
  background: rgba(15, 28, 38, 0.82);
  box-shadow: inset 0 0 0 1px rgba(120, 240, 155, 0.42);
}

article p,
.section-heading p,
.manifesto-copy p {
  color: var(--muted);
}

.command-tips {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.35rem;
}

.command-tips li::marker {
  color: var(--green);
  font-weight: 800;
}

.command-tips code {
  display: inline-block;
  max-width: 100%;
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(72, 216, 255, 0.22);
  border-radius: 6px;
  background: rgba(72, 216, 255, 0.08);
  color: #eaf8ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.command-tips p {
  margin: 0.45rem 0 0;
}


.manifesto-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.manifesto-copy {
  max-width: 780px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 15, 23, 0.68);
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
}

.tux-figure {
  margin: 0;
  padding: clamp(0.5rem, 2vw, 1rem);
}

.tux-figure img {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: 0 auto;
  filter:
    drop-shadow(0 24px 30px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 26px rgba(72, 216, 255, 0.16));
}

footer {
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 820px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  nav {
    justify-content: flex-start;
  }

  .grid,
  .manifesto-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100vh - 120px);
    padding: 3.5rem 0 10rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
    overflow-wrap: anywhere;
  }

}

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

}
