/* DevOpsZilla temporary landing page */
:root {
  --ink: #0E0C15;
  --band: #13111C;
  --surface: #17141F;
  --line: #2C2740;
  --line-2: #3A3452;
  --bone: #F2EEE6;
  --text-2: #C9C3D6;
  --muted: #B7B0C6;
  --muted-2: #9C95AE;
  --violet: #8B6CFF;
  --lime: #D4FF3A;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lime); }
a:hover { color: var(--bone); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

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

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.violet { color: var(--violet); }
.lime { color: var(--lime); }
.bold { font-weight: 700; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.muted-2 { color: var(--text-2); font-size: 15px; }

/* Blinking terminal cursor */
@keyframes dzblink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.blink { animation: dzblink 1.1s steps(1) infinite; }
.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.05em;
  margin-left: 6px;
  vertical-align: -0.2em;
  background: var(--lime);
}
@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; }
  html { scroll-behavior: auto; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; border-radius: 10px; }
.btn-lime { background: var(--lime); color: var(--ink); border: 0; }
.btn-lime:hover { color: var(--ink); background: #E2FF70; }
.btn-outline { border: 1.5px solid var(--violet); color: var(--bone); }
.btn-outline:hover { color: var(--bone); background: rgba(139, 108, 255, 0.12); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); }
.brand:hover { color: var(--bone); }
.brand-icon { border-radius: 9px; background: var(--surface); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.wordmark-lg { font-size: 26px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0 24px; font-weight: 500; font-size: 16px; }
.nav-links a { color: var(--text-2); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: var(--bone); }

@media (max-width: 720px) {
  .nav-links { order: 3; width: 100%; gap: 0 18px; }
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 96px;
}
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.mark { width: 100%; max-width: 560px; height: auto; }
.prompt { font-family: var(--mono); font-size: 15px; color: var(--lime); }
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.hero-title span { display: block; }
.tagline { font-family: var(--mono); font-weight: 500; font-size: clamp(18px, 2.2vw, 24px); color: var(--text-2); }
.lede { max-width: 34em; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 560px) {
  .hero { padding-top: 48px; padding-bottom: 64px; }
}

/* Sections */
.band { border-top: 1px solid var(--line); background: var(--band); }
.section { display: flex; flex-direction: column; gap: 40px; padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-direction: column; gap: 12px; }
h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Topic cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--violet); transform: translateY(-2px); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.3; }
.card p { color: var(--muted); font-size: 16px; }
.icon { fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.path { font-family: var(--mono); font-size: 14px; color: var(--lime); }

/* Coming-soon terminal */
.terminal {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: auto;
}
.terminal-note { margin-top: 14px; font-family: var(--body); font-size: 18px; color: var(--bone); }

/* Subscribe */
.subscribe { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px; }
.subscribe-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.subscribe-text .muted { max-width: 30em; }
.signup {
  flex: 1 1 420px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.signup label { font-family: var(--mono); font-size: 14px; color: var(--text-2); }
.signup-row { display: flex; flex-wrap: wrap; gap: 12px; }
.signup input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 16px;
}
.signup input::placeholder { color: var(--muted-2); }
.signup input:focus { border-color: var(--violet); outline: none; }
.signup .btn { flex: 0 0 auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer { display: flex; flex-direction: column; gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.footer-col a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover { color: var(--bone); }
.col-head { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-2);
}
