/* BuildPlaybook engine: shared design tokens for the home page and the
   engine workspace (/review/). One accent color, one radius scale, one
   icon style (24px line icons, 1.75 stroke). */
:root {
  --ink: #0B1F33;
  --ink-2: #33475B;
  --muted: #5B6B7D;
  --line: #E2E7ED;
  --line-strong: #CBD3DC;
  --panel: #F4F6F9;
  --navy: #0A2540;
  --navy-2: #12304F;
  --accent: #FF5A1F;
  --accent-dark: #E24A12;
  --accent-tint: rgba(255, 90, 31, 0.08);
  --ok: #1F7A4D;
  --r: 10px;          /* buttons, inputs, small tiles */
  --r-lg: 14px;       /* cards and panels */
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, 0.06), 0 1px 1px rgba(11, 31, 51, 0.04);
  --shadow: 0 6px 24px rgba(11, 31, 51, 0.07), 0 1px 3px rgba(11, 31, 51, 0.05);
  --btn-h: 46px;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; line-height: 1.6; font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Headings: one family, clear steps */
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; font-weight: 600; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 18px 0 0; }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); margin: 0 0 12px; }

/* Icons */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-sm { width: 18px; height: 18px; }
.ico-tile {
  width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent);
}

/* Buttons: one height, one radius */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 22px; border-radius: var(--r);
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(226, 74, 18, .25); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn:disabled { background: var(--panel); color: #8A97A6; border-color: var(--line); box-shadow: none; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.wordmark:hover { text-decoration: none; }
.wordmark .mark { width: 24px; height: 24px; }
.wordmark .light { font-weight: 400; }
.wordmark .tld { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-links .btn { height: 40px; padding: 0 18px; font-size: 14px; color: #fff; }
.nav-links .btn:hover { color: #fff; }
@media (max-width: 760px) {
  .nav-links li.hide-m { display: none; }
  .site-nav .wrap { height: 60px; }
  .wordmark { font-size: 16px; }
  .wordmark .mark { width: 20px; height: 20px; }
}

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 44px 0 40px; font-size: 14px; color: var(--muted); }
.site-foot .row { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-foot nav a { color: var(--ink-2); }
.site-foot .legal { font-size: 13px; line-height: 1.65; margin: 24px 0 0; max-width: 92ch; }

/* Skeleton loading */
.skel {
  background: linear-gradient(90deg, #EEF1F5 0%, #F7F9FB 40%, #EEF1F5 80%);
  background-size: 200% 100%; border-radius: 6px; animation: skel 1.3s ease-in-out infinite;
}
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } html { scroll-behavior: auto; } }
