/* Hacker Ranch LLC — shared theme. All local; no external fonts, CDNs, or trackers. */
:root {
  --bg: #0f172a;
  --bg-2: #0b1222;
  --panel: #111c33;
  --panel-2: #16233f;
  --border: #1f2f4d;
  --border-2: #2b426e;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #60a5fa;
  --accent-2: #38bdf8;
  --radius: 14px;
  --maxw: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 82% -12%, rgba(56, 189, 248, .10), transparent 60%),
    radial-gradient(900px 520px at -5% 8%, rgba(96, 165, 250, .08), transparent 55%),
    var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(10, 17, 33, .72);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; display: block; }
.brand .name { font-family: var(--mono); font-weight: 700; letter-spacing: .04em; font-size: 15px; }
.brand .tag { display: block; font-size: 10px; color: var(--muted); font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; letter-spacing: .02em; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 92px 0 68px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--mono); color: var(--accent-2); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.02em; }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--border); background: rgba(255, 255, 255, .02);
  padding: 7px 12px; border-radius: 999px; letter-spacing: .04em;
}
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 360px; height: auto; }

/* Sections */
.section { padding: 58px 0; border-top: 1px solid var(--border); }
.section h2 { font-size: 1.6rem; margin: 0 0 8px; letter-spacing: -.01em; }
.section .sub { color: var(--muted); margin: 0 0 34px; max-width: 60ch; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.card .ic { width: 40px; height: 40px; margin-bottom: 14px; color: var(--accent-2); }
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Statement band */
.band { background: linear-gradient(180deg, rgba(56, 189, 248, .06), transparent); border-top: 1px solid var(--border); }
.band .container { padding-top: 54px; padding-bottom: 54px; }
.band p.big { font-size: 1.18rem; color: var(--text); max-width: 72ch; margin: 0; }
.band p.muted { color: var(--muted); font-size: .98rem; margin: 12px 0 0; }

/* CTA */
.cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--mono); font-size: 14px; }

/* Content pages */
.page { padding: 66px 0; flex: 1; }
.page h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 6px; letter-spacing: -.01em; }
.page .updated { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; margin: 0 0 32px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.prose p { color: var(--muted); margin: 0 0 16px; }
.prose strong { color: var(--text); }
.callout { border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius); padding: 22px 24px; margin: 8px 0 24px; }
.callout a { font-family: var(--mono); font-size: 1.05rem; }

/* Footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--border); background: var(--bg-2); }
.foot { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; padding: 26px 0; color: var(--muted); font-size: 14px; }
.foot .links { display: flex; gap: 20px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); text-decoration: none; }
.foot .note { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: #64748b; }

@media (max-width: 820px) {
  .hero { padding: 64px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 260px; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .brand .tag { display: none; }
}
