:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #10151c;
  --panel-2: #151c24;
  --line: rgba(190, 244, 224, 0.18);
  --text: #f2f7f5;
  --muted: #aab9b3;
  --green: #59f7a9;
  --cyan: #45d8ff;
  --amber: #f5b84b;
  --red: #ff5d67;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(69, 216, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 8% 44%, rgba(89, 247, 169, 0.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 50%, transparent 50%),
    linear-gradient(90deg, rgba(69, 216, 255, 0.035), transparent 20%, transparent 80%, rgba(89, 247, 169, 0.03));
  background-size: 100% 4px, auto;
  opacity: 0.22;
  z-index: 10;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(89, 247, 169, 0.5);
  background: #08130f;
  color: var(--green);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
}

.nav {
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  min-height: calc(100svh - 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.7fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem) 2rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.82;
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.84), rgba(7, 9, 13, 0.46) 48%, rgba(7, 9, 13, 0.18)),
    linear-gradient(0deg, rgba(7, 9, 13, 0.92), rgba(7, 9, 13, 0.05) 58%, rgba(7, 9, 13, 0.72));
}

.hero-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
}

.hero-copy,
.terminal {
  position: relative;
}

.hero-copy {
  max-width: 58rem;
  padding-bottom: clamp(2rem, 8vh, 6rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 16vw, 11rem);
  line-height: 0.82;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.95;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.hero-lede {
  max-width: 46rem;
  color: #d9e8e2;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.primary {
  border-color: rgba(89, 247, 169, 0.76);
  background: var(--green);
  color: #03100b;
}

.ghost {
  background: rgba(16, 21, 28, 0.72);
  color: var(--text);
}

.terminal {
  align-self: center;
  border: 1px solid rgba(89, 247, 169, 0.32);
  background: rgba(8, 13, 17, 0.88);
  box-shadow: var(--shadow);
}

.terminal-top {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.terminal-top span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--red);
}

.terminal-top span:nth-child(2) {
  background: var(--amber);
}

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

pre {
  margin: 0;
  padding: 1.1rem;
  overflow: auto;
  color: var(--green);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  line-height: 1.65;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: rgba(12, 16, 22, 0.84);
}

.stats div {
  min-height: 7.5rem;
  padding: 1.35rem clamp(1rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: var(--cyan);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.stats span,
.card-copy p,
.intro p,
.quote p,
.steps span {
  color: var(--muted);
  line-height: 1.55;
}

.section,
.quote {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.intro,
.section-heading,
.process,
.quote {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: start;
}

.intro p,
.quote p {
  max-width: 55rem;
  font-size: 1.12rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.filter {
  border: 1px solid var(--line);
  background: rgba(16, 21, 28, 0.78);
  color: var(--muted);
  min-height: 2.45rem;
  padding: 0.6rem 0.8rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter:hover,
.filter.active {
  border-color: rgba(89, 247, 169, 0.68);
  color: var(--green);
}

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

.print-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 200ms ease, border-color 200ms ease, opacity 200ms ease;
}

.print-card:hover {
  border-color: rgba(69, 216, 255, 0.5);
  transform: translateY(-3px);
}

.print-card.is-hidden {
  display: none;
}

.print-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  background: #0c1118;
}

.card-copy {
  padding: 1rem;
}

.card-copy span {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--green);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 12rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--panel-2);
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 1.2rem;
  color: var(--cyan);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 1.8rem;
  font-weight: 800;
}

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

.quote {
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(89, 247, 169, 0.08), rgba(69, 216, 255, 0.05));
}

.quote-form {
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(7, 9, 13, 0.9);
  color: var(--text);
  font: inherit;
  padding: 0.85rem 0.95rem;
  outline: none;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--green);
}

.quote-output {
  display: none;
  border: 1px solid rgba(89, 247, 169, 0.35);
  background: rgba(7, 9, 13, 0.72);
  color: #d9e8e2;
  padding: 0.9rem;
  white-space: pre-wrap;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.45;
}

.quote-output.has-content {
  display: block;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span:first-child {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .section-heading,
  .process,
  .quote {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .terminal {
    align-self: start;
  }

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

  .filters {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .stats,
  .catalog-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .button,
  .filter {
    width: 100%;
  }
}
