:root {
  color-scheme: light;
  --ink: #121212;
  --ink-2: #252824;
  --muted: #626a66;
  --paper: #f7f5ee;
  --paper-2: #ede8dc;
  --panel: #ffffff;
  --line: #d8d3c5;
  --green: #00875a;
  --green-dark: #06452f;
  --amber: #c9871a;
  --red: #b64a3a;
  --blue: #1d6f9f;
  --shadow: 0 24px 80px rgba(18, 18, 18, 0.12);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

main,
section,
.site-header {
  max-width: 100vw;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(247, 245, 238, 0.92);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-cta,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a,
.site-footer a {
  text-underline-offset: 4px;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--green-dark);
}

.header-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  min-height: min(780px, calc(100svh - 72px));
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 84px) clamp(38px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.1vw, 5.1rem);
  line-height: 0.9;
  font-weight: 950;
  overflow-wrap: anywhere;
}

h2 {
  max-width: 1080px;
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.6vw, 5.25rem);
  line-height: 0.98;
  font-weight: 930;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  line-height: 1.18;
}

.lede {
  max-width: 780px;
  margin-bottom: 16px;
  color: #202823;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.23;
  overflow-wrap: break-word;
}

.hero-text {
  max-width: 710px;
  color: #38413d;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 850;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--ink);
  background: transparent;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-copy,
.hero-visual {
  max-width: 100%;
  min-width: 0;
}

.book-card {
  min-height: 430px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 135, 90, 0.13), rgba(29, 111, 159, 0.08) 48%, rgba(201, 135, 26, 0.09)),
    #fff;
  box-shadow: var(--shadow);
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(52px, 10vw, 116px);
}

.logo-row img:first-child {
  width: 48px;
  height: 48px;
}

.logo-row img:last-child {
  width: min(220px, 52vw);
  height: auto;
}

.logo-row span {
  color: var(--muted);
  font-weight: 850;
}

.book-card p {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.book-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4vw, 3.55rem);
  line-height: 0.92;
  overflow-wrap: break-word;
}

.book-card small {
  display: block;
  max-width: 520px;
  color: #2f3734;
  font-size: clamp(1.08rem, 2vw, 1.48rem);
  line-height: 1.25;
}

.buyer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.buyer-split div {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.buyer-split div:first-child {
  border-top: 5px solid var(--amber);
}

.buyer-split div:last-child {
  border-top: 5px solid var(--blue);
}

.buyer-split span,
.chapter-grid span,
.playbook-stack span,
.monday-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.buyer-split strong {
  display: block;
  max-width: 250px;
  font-size: clamp(1.18rem, 1.8vw, 1.62rem);
  line-height: 1.1;
}

.diagnostic-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(18px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 54px) clamp(20px, 5vw, 84px);
  background: var(--ink);
  color: #fff;
}

.diagnostic-strip p {
  margin: 0;
  max-width: 800px;
  font-size: clamp(1.55rem, 3.2vw, 3.3rem);
  line-height: 1.04;
  font-weight: 900;
}

.diagnostic-strip div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.diagnostic-strip span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 12px;
  background: #20231f;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
}

.section {
  padding: clamp(70px, 10vw, 142px) clamp(20px, 5vw, 84px);
  border-bottom: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.section p {
  color: #2d3532;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.thesis-panel {
  padding: clamp(24px, 4vw, 44px);
  border-left: 8px solid var(--green);
  background: var(--panel);
  box-shadow: 0 14px 46px rgba(18, 18, 18, 0.06);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics article {
  min-height: 230px;
  padding: clamp(24px, 4vw, 46px);
  background: #fff;
}

.metrics strong {
  display: block;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 0.95;
}

.metrics span {
  display: block;
  max-width: 410px;
  color: #37403b;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.book-section,
.authors {
  background: #fff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.section-head p {
  margin-bottom: 26px;
}

.section-head.compact {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.chapter-grid article,
.monday-grid article,
.playbook-stack article {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.chapter-grid article:nth-child(3n + 1) {
  border-top: 5px solid var(--red);
}

.chapter-grid article:nth-child(3n + 2) {
  border-top: 5px solid var(--green);
}

.chapter-grid article:nth-child(3n) {
  border-top: 5px solid var(--blue);
}

.chapter-grid p,
.monday-grid p,
.playbook-stack p,
.playbook-stack li {
  font-size: 1rem;
}

.playbooks {
  background: #eef5ef;
}

.playbook-stack {
  display: grid;
  gap: 16px;
}

.playbook-stack article {
  min-height: 255px;
  background: #fff;
}

.playbook-stack article:first-child {
  border-left: 6px solid var(--green);
}

.playbook-stack article:last-child {
  border-left: 6px solid var(--amber);
}

.playbook-stack ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #33403a;
}

.playbook-stack li + li {
  margin-top: 8px;
}

.monday {
  background: var(--paper-2);
}

.monday-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.monday-grid article {
  min-height: 220px;
  background: #fff;
}

.monday-grid span {
  color: var(--green);
  font-size: 1rem;
}

.authors {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.logo-lockup .snowman {
  width: 92px;
  height: 92px;
}

.logo-lockup .smartcut {
  width: min(240px, 48vw);
  height: auto;
}

.logo-lockup span {
  color: var(--muted);
  font-weight: 850;
}

.final-cta {
  padding: clamp(70px, 11vw, 150px) clamp(20px, 5vw, 84px);
  background: var(--ink);
  color: #fff;
}

.final-cta .eyebrow {
  color: #9dd9c0;
}

.final-cta h2,
.final-cta p {
  max-width: 1120px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.final-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.prompt-kit {
  min-height: 100svh;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 84px);
  color: var(--muted);
  background: #fff;
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .chapter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .two-col,
  .authors,
  .section-head,
  .section-head.compact,
  .diagnostic-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .metrics,
  .monday-grid {
    grid-template-columns: 1fr;
  }

  .metrics article,
  .monday-grid article {
    min-height: auto;
  }

  .chapter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 10px;
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand span {
    max-width: 136px;
    line-height: 1.05;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section,
  .final-cta,
  .diagnostic-strip {
    padding-left: 16px;
    padding-right: 16px;
    width: auto;
  }

  .lede,
  .hero-text,
  .section p,
  .final-cta p {
    max-width: 100%;
    font-size: 1.08rem;
  }

  h1 {
    font-size: clamp(2.55rem, 11.5vw, 2.95rem);
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3.1rem);
  }

  .book-card {
    min-height: 360px;
  }

  .book-card strong {
    font-size: clamp(2rem, 8vw, 2.3rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .buyer-split,
  .diagnostic-strip div,
  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-strip span {
    min-height: 54px;
  }

  .chapter-grid article,
  .playbook-stack article {
    min-height: auto;
  }

  .logo-lockup {
    flex-direction: column;
  }
}
