/* ============================================================
   Be A Best Boss™ — Design System (v4 "Final Install")
   Premium · consequential · timeless. One accent: the book's red.
   ============================================================ */

:root {
  --ink: #12151f;          /* near-black */
  --ink-soft: #3c4150;
  --ink-mute: #6f7484;
  --paper: #faf9f6;        /* warm paper white */
  --paper-deep: #f2f0ea;
  --line: #e5e2da;
  --red: #c0272d;          /* the book's red — moments, sparks */
  --red-deep: #9c1f24;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
  font-size: 17.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display {
  font-family: 'Inter Tight', 'Inter', -apple-system, sans-serif;
  letter-spacing: -0.028em;
}
section { scroll-margin-top: 84px; }
.wrap   { max-width: 1020px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 680px;  margin: 0 auto; padding: 0 28px; }

/* ---------- Nav ---------- */
nav.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 1.08rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap;
}
.logo span { color: var(--red); }
.logo sup { font-size: 0.55em; font-weight: 500; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--ink); color: var(--paper) !important;
  padding: 10px 22px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--red); color: var(--white) !important; }
@media (max-width: 860px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  font-family: 'Inter Tight', sans-serif; letter-spacing: -0.01em;
  padding: 16px 36px; border-radius: 999px; transition: all 0.18s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--red); color: var(--white); transform: translateY(-1px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--red); color: var(--white); transform: translateY(-1px); }
.quiet-link {
  color: var(--ink-mute); text-decoration: none; font-size: 0.97rem; font-weight: 500;
  border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: all 0.15s ease;
}
.quiet-link:hover { color: var(--red); border-color: var(--red); }

.kicker {
  display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 26px;
}
.kicker.on-dark { color: #8b92a6; }

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* ---------- Hero: the North Star ---------- */
.hero {
  padding: 168px 0 156px; text-align: center; position: relative;
}
.hero .brandmark {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 44px;
}
.hero h1 {
  font-size: clamp(2rem, 4.9vw, 3.5rem);
  font-weight: 650; line-height: 1.18;
  max-width: 20em; margin: 0 auto;
}
.hero h1 .turn { color: var(--red); display: block; margin-top: 0.35em; }
.hero-sub {
  margin: 44px auto 0; font-size: 1.13rem; color: var(--ink-mute); max-width: 30em;
}
.hero-cue { margin-top: 72px; }

/* ---------- Relief ---------- */
.relief { padding: 150px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.relief h2 {
  font-size: clamp(1.8rem, 3.9vw, 2.7rem); font-weight: 650; line-height: 1.18; max-width: 16em;
}
.relief p { margin-top: 28px; font-size: 1.14rem; color: var(--ink-soft); max-width: 34em; }
.relief p strong { color: var(--ink); font-weight: 600; }
.relief .payoff {
  margin-top: 48px; font-family: 'Inter Tight', sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600; color: var(--ink); letter-spacing: -0.02em; max-width: 24em; line-height: 1.35;
}
.relief .payoff span { color: var(--red); }

/* ---------- Moments ---------- */
.moments { padding: 160px 0; text-align: center; }
.moments .litany {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 650; line-height: 1.35;
  max-width: 17em; margin: 0 auto; letter-spacing: -0.025em;
}
.moments .after { margin: 44px auto 0; font-size: 1.14rem; color: var(--ink-soft); max-width: 32em; }
.moments .reveal {
  margin: 70px auto 0; font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 650; color: var(--red);
  letter-spacing: -0.02em;
}

/* ---------- Consequence (dark) ---------- */
.consequence { background: var(--ink); color: var(--paper); padding: 168px 0; text-align: center; }
.consequence .big {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 650; line-height: 1.2;
  max-width: 16em; margin: 0 auto; letter-spacing: -0.025em;
}
.consequence .big .turn { color: #e35d62; display: block; margin-top: 0.35em; }
.consequence .after { margin: 44px auto 0; font-size: 1.13rem; color: #a7adbe; max-width: 32em; }
.consequence .after strong { color: var(--paper); font-weight: 600; }

/* ---------- Equation ---------- */
.equation { padding: 160px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.equation .eq {
  font-family: 'Inter Tight', sans-serif; font-weight: 650; letter-spacing: -0.025em;
  font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.35; margin: 0 auto;
}
.equation .eq .op { color: var(--red); font-weight: 600; }
.equation .after { margin: 48px auto 0; font-size: 1.14rem; color: var(--ink-soft); max-width: 34em; }
.equation .after strong { color: var(--ink); }
.equation .punch {
  margin: 60px auto 0; font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; color: var(--ink);
  letter-spacing: -0.02em; max-width: 22em; line-height: 1.35;
}
.equation .punch em { font-style: normal; color: var(--red); }

/* ---------- Matt ---------- */
.matt { padding: 150px 0; }
.matt p { font-size: 1.16rem; color: var(--ink-soft); margin-bottom: 26px; max-width: 36em; }
.matt p strong { color: var(--ink); font-weight: 600; }
.matt .four-words {
  font-family: 'Inter Tight', sans-serif; font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 650; color: var(--red); margin: 44px 0; letter-spacing: -0.02em;
}
.matt .sig { margin-top: 48px; color: var(--ink); font-weight: 600; font-family: 'Inter Tight', sans-serif; font-size: 1.05rem; }
.matt .sig span { display: block; color: var(--ink-mute); font-weight: 400; font-size: 0.88rem; font-family: 'Inter', sans-serif; margin-top: 4px; }

/* ---------- Book ---------- */
.book { background: var(--ink); color: var(--paper); padding: 140px 0; }
.book-flex { display: grid; grid-template-columns: 320px 1fr; gap: 76px; align-items: center; }
.book-img img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5)); }
.book h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 650; line-height: 1.22; }
.book p { margin-top: 26px; color: #a7adbe; font-size: 1.1rem; max-width: 30em; }
.book p strong { color: var(--paper); font-weight: 600; }
.book .book-actions { margin-top: 40px; }

/* ---------- Articles ---------- */
.articles { padding: 150px 0; }
.articles h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 650; line-height: 1.2; max-width: 17em; }
.article-list { margin-top: 64px; }
.article-row {
  display: block; text-decoration: none; padding: 36px 0;
  border-top: 1px solid var(--line);
  transition: all 0.15s ease;
}
.article-row:last-child { border-bottom: 1px solid var(--line); }
.article-row h3 {
  font-size: clamp(1.15rem, 2.3vw, 1.5rem); font-weight: 650; color: var(--ink);
  line-height: 1.3; transition: color 0.15s ease;
}
.article-row p { margin-top: 10px; color: var(--ink-mute); font-size: 1rem; max-width: 42em; }
.article-row .read { display: inline-block; margin-top: 14px; font-size: 0.9rem; font-weight: 600; color: var(--red); }
.article-row:hover h3 { color: var(--red); }

/* ---------- Closer ---------- */
.closer { padding: 170px 0 160px; text-align: center; background: var(--white); border-top: 1px solid var(--line); }
.closer h2 {
  font-size: clamp(1.8rem, 4.2vw, 2.9rem); font-weight: 650; line-height: 1.3;
  max-width: 18em; margin: 0 auto;
}
.closer h2 .maybe { color: var(--red); }
.closer-actions { margin-top: 60px; }
.closer-email { margin-top: 28px; font-size: 0.94rem; color: var(--ink-mute); }
.closer-email a { color: var(--red); font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #8b92a6; padding: 60px 0 46px; }
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap;
}
.footer-brand { font-family: 'Inter Tight', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--paper); }
.footer-brand span { color: #e35d62; }
.footer-tag { margin-top: 8px; font-size: 0.93rem; }
.footer-legal { font-size: 0.78rem; margin-top: 26px; line-height: 1.7; max-width: 46em; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #6f7484; margin-bottom: 14px; font-family: 'Inter', sans-serif;
}
.footer-col a { display: block; color: #b9bfce; text-decoration: none; font-size: 0.9rem; margin-bottom: 10px; }
.footer-col a:hover { color: #e35d62; }

/* ============================================================
   ARTICLE PAGES
   ============================================================ */
.article-page { padding: 110px 0 130px; }
.article-page .back { margin-bottom: 56px; }
.article-page h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 650; line-height: 1.18;
}
.article-page .byline {
  margin-top: 22px; font-size: 0.92rem; color: var(--ink-mute); font-weight: 500;
  letter-spacing: 0.02em;
}
.article-page .byline span { color: var(--red); font-weight: 600; }
.article-body { margin-top: 60px; }
.article-body p { margin-bottom: 26px; font-size: 1.13rem; color: var(--ink-soft); }
.article-body p strong { color: var(--ink); font-weight: 600; }
.article-body p em { color: var(--ink); }
.article-body .pull {
  font-family: 'Inter Tight', sans-serif; font-size: 1.4rem; font-weight: 650; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.4; margin: 44px 0;
  padding-left: 26px; border-left: 3px solid var(--red);
}
.article-body .signoff {
  margin-top: 56px; font-family: 'Inter Tight', sans-serif; font-weight: 650;
  color: var(--red); font-size: 1.15rem;
}
.article-body .footnote {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.84rem; color: var(--ink-mute);
}
.article-next { margin-top: 90px; padding-top: 40px; border-top: 1px solid var(--line); }
.article-next .label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.article-next a { font-family: 'Inter Tight', sans-serif; font-size: 1.25rem; font-weight: 650; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.article-next a:hover { color: var(--red); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { padding: 100px 0 130px; }
.legal-page h1 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); font-weight: 650; }
.legal-page .effective { margin-top: 16px; font-size: 0.92rem; color: var(--ink-mute); }
.legal-body { margin-top: 56px; }
.legal-body h2 {
  font-size: 1.15rem; font-weight: 650; margin: 44px 0 14px; letter-spacing: -0.01em;
}
.legal-body h3 { font-size: 1rem; font-weight: 600; margin: 26px 0 10px; }
.legal-body p { margin-bottom: 16px; font-size: 0.99rem; color: var(--ink-soft); }
.legal-body ul { margin: 0 0 16px 22px; color: var(--ink-soft); font-size: 0.99rem; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--red); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .book-flex { grid-template-columns: 1fr; gap: 52px; }
  .book-img { max-width: 260px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero { padding: 100px 0 96px; }
  .relief, .moments, .consequence, .equation, .matt, .book, .articles { padding: 96px 0; }
  .closer { padding: 104px 0; }
  .article-page, .legal-page { padding: 72px 0 90px; }
}
