/* Become Scrum Master — minimal clean base (2026-10-06). System fonts,
   self-hosted, no frameworks. Reserved ad slot keeps layout stable. */
:root {
  --bg: #0f1115;
  --bg-alt: #151923;
  --card: #1a1f2b;
  --fg: #e7eaf0;
  --fg-dim: #9aa3b2;
  --accent: #4da3ff;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafbfd;
    --bg-alt: #f0f3f8;
    --card: #ffffff;
    --fg: #171b23;
    --fg-dim: #566072;
    --accent: #1663d0;
    --line: rgba(20, 30, 50, 0.10);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand__logo img { display: block; }
.nav { display: flex; gap: 18px; font-size: 0.95rem; }
.nav a { color: var(--fg-dim); }
.nav a:hover { color: var(--fg); text-decoration: none; }

/* Hero */
.hero { padding: 84px 0 64px; text-align: center; }
.hero__kicker {
  display: inline-block; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15;
  margin: 0 0 18px; letter-spacing: -0.02em;
}
.hero__sub { max-width: 640px; margin: 0 auto 28px; color: var(--fg-dim); font-size: 1.08rem; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { box-shadow: 0 6px 24px rgba(74, 163, 255, 0.35); }
.btn--ghost { border-color: var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); }

/* Reserved ad slot: min-height placeholder, zero layout shift later */
.ad-slot {
  margin: 8px auto 40px;
  min-height: 90px;
  max-width: 970px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.ad-slot::after {
  content: "advertising space";
  display: block;
  text-align: center;
  line-height: 90px;
  font-size: 0.75rem; letter-spacing: 0.12em;
  color: var(--fg-dim); opacity: 0.6;
  text-transform: uppercase;
}

/* Sections */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--cta { text-align: center; background: var(--bg-alt); }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 8px; letter-spacing: -0.01em; }
.section__sub { margin: 0 0 28px; color: var(--fg-dim); }
.section--cta p { max-width: 640px; margin-left: auto; margin-right: auto; }
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent); vertical-align: middle; letter-spacing: 0.04em;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); }
.card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--fg-dim); font-size: 0.94rem; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: 1.7rem; margin: 40px 0 8px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p { margin: 8px 0; }
.legal .muted { color: var(--fg-dim); font-size: 0.9rem; }
.legal ul { margin: 8px 0; padding-left: 22px; }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 28px 0; margin-top: 40px; }
.ftr__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ftr__copy { margin: 0; color: var(--fg-dim); font-size: 0.88rem; }
.ftr nav { display: flex; gap: 16px; font-size: 0.88rem; }
.ftr a { color: var(--fg-dim); }
.ftr a:hover { color: var(--fg); }

@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 56px 0 44px; }
}
