@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Inter:wght@400;450;500;600&display=swap');

/* ─────────────────────────────────────────────────────────────────────────────
   getbusinessbrain.com — public site stylesheet
   Editorial Clarity identity (palette + typography taken from the product's
   apps/web/src/styles/tokens.css). Self-contained: no build step, no framework.
   Serves the Home / About / Contact / Privacy / Terms / Data-Deletion pages.
   ──────────────────────────────────────────────────────────────────────────── */

:root {
  --paper:#f7f4ee;
  --paper-2:#f1ece3;
  --ink:#26221c;
  --ink-2:#4a443b;
  --ink-3:#8a8275;
  --line:#e2dccf;
  --line-2:#d8d0c0;
  --gold:#b07d33;
  --surface:#fffdf9;
  --serif:'Newsreader',Georgia,'Times New Roman',serif;
  --sans:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --reading:720px;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Layout shell ─────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--reading); margin: 0 auto; padding: 0 24px; }
main { flex: 1 0 auto; width: 100%; }
.section { padding: 56px 0; }

/* ── Header / nav ─────────────────────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap;
}
.brand {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  letter-spacing: 0.01em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 450;
  padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color .15s, color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 2.6rem); letter-spacing: 0.005em; margin: 0 0 12px; }
h2 { font-size: 1.35rem; margin: 40px 0 10px; font-weight: 600; }
h3 { font-size: 1.08rem; margin: 28px 0 6px; font-weight: 600; }
p { margin: 0 0 16px; color: var(--ink-2); }
.lede { font-size: 1.2rem; color: var(--ink); line-height: 1.55; }
a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(176,125,51,.35); }
a:hover { border-bottom-color: var(--gold); }
strong { color: var(--ink); font-weight: 600; }
ul, ol { color: var(--ink-2); padding-left: 22px; } li { margin-bottom: 7px; }
.muted { color: var(--ink-3); }
.updated { color: var(--ink-3); font-size: 0.92rem; margin: 0 0 24px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ── Hero (Home) ──────────────────────────────────────────────────────────── */
.hero { padding: 84px 0 64px; }
.hero .eyebrow { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-weight: 500; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.1rem); margin-bottom: 16px; }
.hero .lede { max-width: 40ch; }

/* ── Button ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; margin-top: 12px; padding: 12px 24px;
  background: var(--ink); color: var(--paper); font-family: var(--sans);
  font-size: 0.95rem; font-weight: 500; border-radius: 10px; text-decoration: none;
  border: 1px solid var(--ink); transition: background .15s, color .15s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ── Cards / detail blocks ────────────────────────────────────────────────── */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 24px 26px; margin: 20px 0;
}
.panel h2, .panel h3 { margin-top: 0; }
.detail { margin: 0 0 18px; }
.detail .label { display: block; font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; font-weight: 500; }
.detail .value { color: var(--ink); font-size: 1.05rem; }
address { font-style: normal; color: var(--ink); line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  flex-shrink: 0; border-top: 1px solid var(--line);
  background: var(--paper-2); margin-top: 48px; padding: 32px 0 40px;
  font-size: 0.9rem; color: var(--ink-3);
}
.site-footer .operator { color: var(--ink-2); margin-bottom: 12px; max-width: 60ch; }
.site-footer .operator strong { color: var(--ink); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a { color: var(--ink-2); border-bottom-color: transparent; }
.footer-links a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.site-footer .legal-meta { color: var(--ink-3); line-height: 1.6; }
.site-footer .legal-meta span { display: inline-block; margin-right: 14px; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav { gap: 16px; }
  .hero { padding: 56px 0 44px; }
  .section { padding: 40px 0; }
}
