/* SkillBuildup — shared design tokens & site chrome.
   Page-specific layout (hero, subjects grid, privacy clauses, etc.)
   stays in each page's own <style> block. */

:root {
  --ink: #1B1B1F;
  --muted: #6b6558;
  --paper: #FBF6EC;
  --surface: #ffffff;
  --line: rgba(26,26,26,0.15);
  --accent: #B5651D;
  --accent-deep: #7A1E23;
  --accent-soft: #F4E3CE;
  --font-display: 'PT Serif', serif;
  --font-body: 'Public Sans', sans-serif;
}

* { box-sizing: border-box; }
html { text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
  border-radius: 2px;
}
input::placeholder, textarea::placeholder { color: #9C9484; }

/* ---------- Site nav (same on every page) ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251,246,236,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: 0.2px; }
.brand-tag { font-size: 11px; letter-spacing: 1.5px; color: var(--accent); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 15px; color: var(--ink); font-weight: 500; }
.btn-cta {
  background: var(--accent-deep);
  color: var(--paper);
  padding: 9px 18px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s ease;
}
.btn-cta:hover { transform: scale(1.03); color: var(--paper); }

/* ---------- Site footer (same on every page) ---------- */
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Shared entrance animations (used on the landing page) ---------- */
@keyframes popIn { 0% { opacity: 0; transform: scale(0.6); } 60% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.pop { opacity: 0; animation: popIn 0.55s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.store-btn { transition: transform 0.15s ease; }
.store-btn:hover { transform: scale(1.05) rotate(-1deg); }
.confetti { position: absolute; border-radius: 50%; animation: bob 5s ease-in-out infinite; pointer-events: none; }
