/* Shared styles for thingsofmabob.com static pages */

:root {
  --brand: #0084ff;
  --brand-deep: #208aef;
  --ink: #0e1726;
  --muted: #5b6675;
  --bg: #ffffff;
  --surface: #f5f8fc;
  --border: #e2e8f1;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f6fc;
    --muted: #9aa7b8;
    --bg: #0b1018;
    --surface: #141c28;
    --border: #243140;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

/* ── Site header ──────────────────────────────────────────── */

.site-header {
  padding: 20px 24px;
}

.site-header .wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}

.site-logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-logo sup {
  margin-left: -3px;
  font-size: 0.6em;
}

.site-header-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.9rem;
}

.site-header-nav a {
  color: var(--muted);
}

.site-header-nav a:hover {
  color: var(--brand);
}

.site-header-nav .btn-login {
  background: var(--brand);
  color: #fff;
  padding: 7px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
}

.site-header-nav .btn-login:hover {
  background: var(--brand-deep);
  color: #fff;
}

/* ── Site footer ──────────────────────────────────────────── */

.site-footer {
  margin-top: 56px;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer .wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer-copy p {
  margin: 0 0 4px;
}

.site-footer-copy .trademark {
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer-nav a {
  color: var(--muted);
}

.site-footer-nav a:hover {
  color: var(--brand);
}

/* The link to the current page renders as bold, non-link text. */
.site-footer-nav [aria-current='page'] {
  color: var(--ink);
  font-weight: 700;
}

/* ── Page content wrapper ─────────────────────────────────── */

.page-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

/* Small print legal/compliance note at the end of a page's content. */
.legal-note {
  margin: 40px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}
