/* ============================================================
   sitewireai.com — the house page.
   Same refined dark as the app: near-black, hairlines, one
   amber accent used as a strike rather than a fill. Tokens are
   copied from sitewire-web/css/app.css deliberately, so this
   page carries no dependency on the app's stylesheet and the
   two can move apart without either one breaking.
   ============================================================ */

:root {
  --bg: #0e1013;
  --bg-elev: #151920;
  --bg-2: #1c2129;
  --paper: #f4f1ea;
  --ink: #14181d;

  --line: #232932;
  --line-2: #2f3742;

  --text: #eef2f6;
  --text-dim: #97a2b0;
  --muted: #6d7987;

  --hi: #ffb000;
  --hi-dim: #a97400;
  --ok: #3fa06a;

  --r: 8px;
  --r-sm: 6px;

  /* System fonts only. Nothing to download on a bad cell. */
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-ui); min-height: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body { font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--hi); color: var(--ink); }

.wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }

.tiny {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.display { font-family: var(--font-display); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px;
  background: rgba(14,16,19,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.mark {
  width: 26px; height: 26px; border: 1px solid var(--hi); border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--hi); font-weight: 600;
}
.brand b { font-family: var(--font-display); font-size: 17px; letter-spacing: -.02em; font-weight: 600; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 14px; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: transparent; color: var(--text);
  padding: 10px 16px; font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  transition: border-color .15s, background .15s, color .15s;
}
.btn:hover { background: var(--bg-2); }
.btn-hi { background: var(--hi); border-color: var(--hi); color: var(--ink); font-weight: 600; }
.btn-hi:hover { background: #ffbe2e; border-color: #ffbe2e; color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); background: transparent; }

/* ---------- HERO ---------- */
.hero { padding: 104px 0 76px; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); max-width: 17ch; }
.hero p.lead {
  font-size: 19px; color: var(--text-dim); margin: 24px 0 32px; max-width: 56ch; line-height: 1.6;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- BANDS ---------- */
.band { padding: 88px 0; border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(28px, 4vw, 42px); margin: 10px 0 12px; }
.band .band-lead { color: var(--text-dim); max-width: 60ch; margin-bottom: 40px; font-size: 17px; }

/* ---------- APP CARDS ---------- */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.app-card {
  display: flex; flex-direction: column;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 22px; transition: border-color .15s, background .15s;
}
.app-card:hover { border-color: var(--line-2); background: #171c24; }
.app-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.app-card .who { color: var(--hi); }
.app-card p.what { color: var(--text-dim); font-size: 15px; line-height: 1.65; margin: 12px 0 18px; max-width: 62ch; }
.app-card ul { list-style: none; color: var(--text-dim); font-size: 14.5px; line-height: 1.85; margin-bottom: 20px; }
.app-card ul li { padding-left: 18px; position: relative; }
.app-card ul li::before { content: ""; position: absolute; left: 0; top: .82em; width: 8px; height: 1px; background: var(--hi); }
.app-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.host { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.badge {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-2); border-radius: 3px; padding: 3px 7px; color: var(--muted);
}
.badge.live { color: var(--ok); border-color: rgba(63,160,106,.45); }

/* ---------- THE CHAIN ---------- */
.chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.chain > div { background: var(--bg-elev); padding: 22px 20px; }
.chain .n { font-family: var(--font-mono); font-size: 11px; color: var(--hi); letter-spacing: .1em; }
.chain .t { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 10px 0 6px; letter-spacing: -.01em; }
.chain .k { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

/* ---------- CONTACT ---------- */
.paper { background: var(--paper); color: var(--ink); padding: 80px 0; }
.paper .tiny { color: var(--hi-dim); }
.paper h2 { color: var(--ink); font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; line-height: 1.1; }
.paper p { color: #4a5058; max-width: 56ch; margin: 14px 0 24px; font-size: 17px; }
.btn-line { background: transparent; border-color: rgba(20,24,29,.25); color: var(--ink); }
.btn-line:hover { background: rgba(20,24,29,.06); }

footer.site {
  border-top: 1px solid var(--line); padding: 32px 0 48px;
  display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; flex-wrap: wrap;
}

/* ---------- SMALL SCREENS ----------
   Most of the people these apps are for open them on a phone in a
   truck, so the page has to collapse to one column and stay readable. */
@media (max-width: 900px) {
  .apps { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
  .band { padding: 60px 0; }
}

/* ---------- GROUP HEADINGS ----------
   The apps have nothing in common with each other, so they are grouped by
   who they are for rather than pretended into one product line. */
.group {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: -.01em; margin: 8px 0 16px;
}
.group:not(:first-of-type) { margin-top: 40px; }
.group span { font-weight: 400; color: var(--muted); font-size: 15px; }
