/* Lightweight standalone stylesheet for zash.abendless.com. Zero external requests. */
:root {
  color-scheme: dark;
  --bg: #02050d;
  --bg-glow: radial-gradient(ellipse 80% 45% at 50% 0%, rgb(27 63 148 / 0.28), transparent 70%);
  --surface: rgb(6 16 42 / 0.9);
  --border: #1b3f94;
  --border-hi: #2f63d8;
  --fg: #dbe5f8;
  --fg-hi: #ffffff;
  --muted: #8ea2cc;
  --blue: #5b8cff;
  --turq: #40e0d0;
  --green: #2fff6a;
  --radius: 10px;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans',
    'Helvetica Neue', Arial, sans-serif;
  --mono: 'Hack', 'Hack Nerd Font', 'Hack Nerd Font Mono', ui-monospace,
    'SF Mono', 'Cascadia Code', 'JetBrains Mono', 'DejaVu Sans Mono', Menlo,
    Consolas, monospace;
  --wide: 68rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-glow), var(--bg);
  background-repeat: no-repeat;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 1.05rem/1.65 var(--sans);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(2 5 13 / 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg-hi);
  font-weight: 700;
  font-size: 1.15rem;
  font-family: var(--mono);
  text-decoration: none;
}

.brand .mark {
  width: 1.75rem;
  height: 1.75rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0;
}

.site-nav a:hover {
  color: var(--fg-hi);
}

main {
  flex: 1;
  padding: 3rem 0 4rem;
}

h1,
h2,
h3 {
  color: var(--fg-hi);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 2.75rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.55rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.12rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--turq);
  text-underline-offset: 0.18em;
}

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

strong {
  color: var(--fg-hi);
}

code,
pre {
  font-family: var(--mono);
}

code {
  font-size: 0.9em;
  color: var(--green);
}

pre {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  overflow-x: auto;
  padding: 0.9rem 1.1rem;
  background: rgb(0 4 14 / 0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
}

pre code {
  color: var(--fg);
}

.eyebrow {
  font: 600 0.8rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--turq);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.muted {
  color: var(--muted);
}

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
  padding: 1rem 0 2.5rem;
}

@media (min-width: 60rem) {
  .hero {
    grid-template-columns: 1.15fr 1fr;
  }
}

.console {
  margin: 0;
  font: 0.86rem/1.7 var(--mono);
  background: rgb(0 6 20 / 0.94);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  box-shadow: 0 0 50px rgb(31 111 255 / 0.18);
  overflow: hidden;
}

.console .bar {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
}

.console pre {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
}

.console .ok {
  color: var(--green);
}

.console .hi {
  color: var(--turq);
}

.console .wt {
  color: var(--fg-hi);
}

.section {
  margin-top: 3.25rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.code-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  margin-top: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

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

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-color: var(--border-hi);
}

.callout > div:first-child {
  max-width: 38rem;
}

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

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

.not-found {
  max-width: 44rem;
  text-align: center;
  padding-top: 4rem;
}

.callout .actions {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--border-hi);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  color: var(--fg-hi);
  background: rgb(27 63 148 / 0.35);
}

.btn:hover {
  color: var(--fg-hi);
  background: rgb(47 99 216 / 0.45);
}

.btn.primary {
  color: #00121a;
  background: var(--turq);
  border-color: var(--turq);
}

.btn.primary:hover {
  color: #00121a;
  background: #7ff0e4;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgb(2 5 13 / 0.9);
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--fg-hi);
}

.rc {
  font-family: var(--mono);
  color: var(--green);
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .site-nav a {
    transition:
      background-color 0.15s,
      color 0.15s,
      border-color 0.15s;
  }
}
