/* GaugeWright.com — marketing site
   Palette and type mirror the workbench app (web/src/styles.css). */

:root {
  --bg: #0f1115;
  --panel: #161922;
  --edge: #262b36;
  --ink: #d8dee9;
  --muted: #7d869c;
  --accent: #6aa3ff;
  --warn: #e0a35a;
  --bad: #e06a6a;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

code, .mono {
  font-family: "Inconsolata", ui-monospace, "SF Mono", Menlo, monospace;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.site-header {
  border-bottom: 1px solid var(--edge);
  position: sticky;
  top: 0;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #3f6fd0);
  display: inline-block;
}
.brand .sub { color: var(--muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--edge);
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1220;
}
.btn-primary:hover { background: #7eb0ff; border-color: #7eb0ff; }

/* ---- Hero ---- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}
.hero .eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 54px;
  line-height: 1.08;
  margin: 0 auto 22px;
  max-width: 760px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero p.lede {
  font-size: 21px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Sections ---- */
section { padding: 56px 0; }
section h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.section-lede { color: var(--muted); margin: 0 0 36px; max-width: 640px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 650; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .ico {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(106, 163, 255, 0.12);
  border: 1px solid rgba(106, 163, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 18px;
}

.band {
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  background: var(--panel);
}

/* ---- Download page ---- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.dl-card {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}
.dl-card .os { font-size: 17px; font-weight: 650; margin: 12px 0 4px; }
.dl-card .fmt { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.dl-card .glyph { font-size: 34px; }
.note {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--edge);
  border-left: 3px solid var(--warn);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 15px;
}
.note strong { color: var(--ink); }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--edge);
  padding: 36px 0;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .grid, .dl-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero p.lede { font-size: 18px; }
  .nav { gap: 16px; }
  .nav .nav-hide { display: none; }
}
