/* Zeterelle front page — same minimalist black/grey + blue theme as apds.wtf */

*, *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #1e1e1e;
  --surface: #252526;
  --surface-alt: #2d2d30;
  --border: #3c3c3c;
  --text: #cccccc;
  --text-muted: #858585;
  --text-dim: #6a6a6a;
  --accent: #007acc;
  --accent-hover: #1a8cd8;
  --accent-dim: #004f8a;
  --green: #4ec9b0;
  --blue-light: #9cdcfe;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Code", "Fira Code", "Consolas", "SF Mono", monospace;
  --radius: 4px;
  --radius-lg: 8px;
  --nav-h: 48px;
  --max-w: 960px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

code, pre { font-family: var(--font-mono); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 24px; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 15px; font-weight: 600;
  color: var(--text); text-decoration: none;
  letter-spacing: .04em; white-space: nowrap;
}
.nav-logo:hover { color: var(--text); text-decoration: none; }
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--radius);
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  transition: color .1s, background .1s; white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--surface-alt); text-decoration: none; }
.nav-link.active { color: var(--text); }
.nav-download { margin-left: auto; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--radius);
  font-size: 13px; font-family: var(--font-sans); font-weight: 500;
  cursor: pointer; border: 1px solid transparent;
  transition: background .1s, color .1s, border-color .1s;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-alt); border-color: #555; color: var(--text); text-decoration: none; }
.btn-large { padding: 12px 28px; font-size: 15px; }

/* Hero */
.hero { padding: 80px 0 64px; border-bottom: 1px solid var(--border); }
.hero-inner { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px; font-family: var(--font-mono); color: var(--text-muted);
  width: fit-content;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero h1 {
  font-size: clamp(36px, 6vw, 56px); font-weight: 700;
  font-family: var(--font-mono); letter-spacing: -.02em; line-height: 1.1;
  color: #fff;
}
.hero h1 span { color: var(--accent); }
.hero-desc { font-size: 17px; color: var(--text-muted); max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-value { font-family: var(--font-mono); font-size: 20px; font-weight: 600; color: var(--text); }
.hero-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

/* Sections */
.section { padding: 64px 0; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: none; }
.section-label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 12px;
}
.section-title { font-size: 24px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.section-body { color: var(--text-muted); max-width: 600px; line-height: 1.7; }

/* Model card */
.model-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex; align-items: flex-start; gap: 32px; flex-wrap: wrap;
  margin-top: 40px;
}
.model-icon { font-size: 48px; flex-shrink: 0; color: var(--accent); }
.model-info { flex: 1; min-width: 200px; }
.model-info h3 { font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.model-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.model-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px;
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
}
.model-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; max-width: 620px; }
.model-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Status list */
.arch-list {
  display: flex; flex-direction: column; gap: 1px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin-top: 40px; background: var(--border);
}
.arch-item {
  background: var(--surface); padding: 14px 20px;
  display: flex; align-items: center; gap: 14px; font-size: 13px;
}
.arch-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.arch-name { font-family: var(--font-mono); color: var(--blue-light); min-width: 160px; }
.arch-desc { color: var(--text-muted); }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; }
.footer-logo:hover { color: var(--text); text-decoration: none; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

@media (max-width: 640px) {
  .nav { gap: 16px; padding: 0 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .model-card { padding: 24px; }
  .arch-list .arch-name { min-width: unset; }
  .arch-list .arch-desc { display: none; }
}
