/* site.css — lucianlabs.ca in the WaveLoop Admin look (branding/waveloop-admin.md).
   Load it AFTER /branding/waveloop-admin.css: that file carries the tokens,
   the type and every component; this one carries the site's own furniture —
   the document pages (support, privacy, product write-ups) and the home hero.

   Borderless like the rest of the look: nothing here draws a line. */

/* ── the site's face ──────────────────────────────────────────────────────
   lucianlabs.ca does not use Micro 5. The pixel face is right on the device
   pages it came from (waveloop.app/admin, and the look's own reference page),
   but the site reads as approachable-technical: Finlandica everywhere, heavy
   and tight where it used to be pixels. This one line carries it — anything
   that reads --title, including the wordmark, follows. */
:root { --title: var(--head); }

/* The look centres one column with a flex body; on the site a page may have
   several top-level blocks, so it flows normally and the column centres
   itself instead. */
body { display: block; padding: 28px 18px 90px; }
.page, .doc, .wrap { margin-left: auto; margin-right: auto; }

/* ── the bar every page wears ─────────────────────────────────────────────
   One header, one order, everywhere: the mark on the left, the same links
   after it, the current page filled. */

.sitehead {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 30px;
}
.sitemark {
  font-family: var(--head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.sitemark:hover { color: var(--gold); }
.sitenav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.sitenav a {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 11px;
  background: rgb(255 255 255 / 5%);
  transition: background 0.15s, color 0.15s;
}
.sitenav a:hover { color: var(--ink); background: var(--fill-btn-hi); }
.sitenav a[aria-current='page'] { color: var(--accent-hi); background: var(--fill-tab-on); }

/* a page that runs its own full-bleed layout (labs) opts out of the column */
body.bleed { padding: 0; }
body.bleed .sitehead { padding: 28px 18px 0; margin-bottom: 0; max-width: none; }

/* ── a document page ──────────────────────────────────────────────────────
   Support, privacy and the product write-ups. One column, generous measure,
   a breadcrumb up top and a quiet foot. */

.doc { width: 100%; max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: 30px; line-height: 1.15; margin-bottom: 6px; }
.doc .lede { font-size: 16px; line-height: 1.6; color: var(--ink); margin: 14px 0 8px; max-width: 70ch; }
.doc h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  margin: 40px 0 12px;
}
.doc h3 { font-size: 17px; margin-bottom: 6px; }
.doc p { margin-bottom: 14px; max-width: 74ch; }
.doc ul, .doc ol { margin: 0 0 16px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.7; max-width: 74ch; }
.doc li { margin-bottom: 6px; }
.doc li b, .doc p b { color: var(--ink); font-weight: 650; }
.doc a { color: var(--accent-hi); }
.doc a:hover { color: var(--gold); }
.doc table { margin: 8px 0 18px; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* the one contact block a support page needs */
.contact-card { background: var(--s1); padding: 16px 18px; margin: 18px 0; }
.contact-card p { margin: 0; font-size: 14.5px; color: var(--ink); }
.contact-card a { font-family: var(--mono); color: var(--gold); }

/* a list of apps, or of anything you can open */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 8px; margin-top: 16px; }
.app-card {
  display: block;
  background: var(--s2);
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.app-card:hover { background: var(--s3); text-decoration: none; }
.app-card h3 { margin: 0 0 4px; font-size: 16px; color: var(--ink); }
.app-card:hover h3 { color: var(--gold); }
.app-card p { margin: 0; font-size: 13.5px; color: var(--muted); max-width: none; }

/* a call to action: the primary one is the page's only gold fill */
.cta {
  display: inline-block;
  padding: 11px 20px;
  background: var(--gold);
  color: rgb(24 16 4);
  font-family: var(--body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.cta:hover { background: rgb(255 185 64); color: rgb(24 16 4); }
.cta.muted { background: var(--fill-btn); color: var(--ink); }
.cta.muted:hover { background: var(--fill-btn-hi); color: var(--gold); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* an aside that matters — the state's tint carries it, like a verdict */
.panel { background: var(--s1); padding: 16px 18px; margin: 18px 0; }
.panel h3 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.panel p { margin: 0; color: var(--ink); max-width: none; }
.panel.warn { background: rgb(255 164 10 / 9%); }
.panel.bad { background: rgb(236 84 96 / 11%); }
.panel.bad h3 { color: var(--hot); }
.panel.good { background: rgb(74 190 130 / 10%); }
.panel.good h3 { color: var(--good); }

.doc footer,
footer.doc-foot {
  margin-top: 48px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.doc footer a { color: var(--muted); }
.doc footer a:hover { color: var(--gold); }

/* ── the home hero ────────────────────────────────────────────────────────
   Type on the look's backdrop. No canvas behind it. */

body.home { display: block; }
body.home #root { display: grid; min-height: 72vh; place-items: center; padding: 40px 0 60px; }
body.home #container { width: 100%; max-width: 760px; text-align: center; }
body.home h1 {
  font-family: var(--head);
  font-size: clamp(44px, 11vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
body.home .tagline {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
}
.home-nav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 30px; }
.home-nav a {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 14px;
  background: rgb(255 255 255 / 5%);
  transition: background 0.15s, color 0.15s;
}
.home-nav a:hover { color: var(--ink); background: var(--fill-btn-hi); }

@media (max-width: 720px) {
  .doc h1 { font-size: 26px; }
  .doc h2 { font-size: 19px; margin: 30px 0 10px; }
  body.home #root { padding: 30px 0 40px; }
}

/* scaffolding left in a page that is still being written */
.todo { background: rgb(255 164 10 / 9%); padding: 14px 16px; margin: 14px 0; color: var(--ink); font-size: 14px; }
.todo b, .todo strong { color: var(--gold); }

/* "last updated" under a policy heading */
.updated {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
}

/* the hire page is the hero plus one line; the panel itself is the widget */
.hire-note { margin-top: 18px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ── the foot ─────────────────────────────────────────────────────────────
   Blog and Branding wear their own looks by design, so they sit here in
   small links rather than in the bar, where they would promise this one. */

.sitefoot {
  display: flex;
  align-items: baseline;
  gap: 10px 18px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 56px auto 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.sitefoot-mark {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.sitefoot-note { margin: 0; font-size: 12.5px; color: var(--muted); max-width: none; }
.sitefoot-links { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; }
.sitefoot-links a { color: var(--muted); text-decoration: none; }
.sitefoot-links a:hover { color: var(--gold); }
