/* BookCheck landing page */
:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-2: #eef3ed;
  --text: #17201b;
  --muted: #657168;
  --line: #dce3dc;
  --accent: #1f7a4c;
  --accent-dark: #145a38;
  --accent-soft: #def2e6;
  --warning: #8a5a00;
  --warning-soft: #fff2cf;
  --danger: #9b3d2c;
  --danger-soft: #fbe4de;
  --shadow: 0 24px 70px rgba(27, 46, 33, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.page-shell { overflow: hidden; }

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: white;
}
nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: white; box-shadow: 0 12px 28px rgba(31, 122, 76, .18); }
.button-primary:hover { background: var(--accent-dark); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.65); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button-light { background: white; color: var(--accent-dark); }

.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 72px;
  align-items: center;
  padding: 82px 0 94px;
}
.eyebrow {
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.eyebrow-light { color: #c8f0d7; }
h1, h2, h3 { font-family: "Manrope", sans-serif; margin-top: 0; }
h1 {
  font-size: clamp(48px, 6.3vw, 78px);
  line-height: .99;
  letter-spacing: -.055em;
  max-width: 760px;
  margin-bottom: 26px;
}
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; margin-bottom: 18px; }
h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 10px; }
.hero-subtitle { color: var(--muted); max-width: 670px; font-size: 19px; line-height: 1.65; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.microcopy { color: var(--muted); font-size: 13px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 18px; color: #4f5f54; font-size: 13px; font-weight: 600; }

.product-card-wrap { position: relative; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.product-topbar { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.product-topbar > div:first-child { display: flex; flex-direction: column; }
.product-label { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.status-pill { background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; font-size: 12px; padding: 7px 10px; border-radius: 999px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.metric { background: var(--surface-2); border-radius: 13px; padding: 14px; display: flex; flex-direction: column; }
.metric span, .metric small { color: var(--muted); font-size: 11px; }
.metric strong { font-size: 28px; line-height: 1.1; margin: 6px 0 3px; }
.client-list { border-top: 1px solid var(--line); }
.client-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.client-row > div { display: flex; flex-direction: column; min-width: 0; }
.client-name { font-weight: 700; }
.client-row small { color: var(--muted); margin-top: 3px; }
.risk { padding: 6px 9px; border-radius: 8px; font-size: 11px; font-weight: 800; }
.risk.high { color: var(--danger); background: var(--danger-soft); }
.risk.medium { color: var(--warning); background: var(--warning-soft); }
.risk.clean { color: var(--accent-dark); background: var(--accent-soft); }
.floating-note {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 300px;
  background: #17201b;
  color: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(17, 28, 21, .24);
  transform: rotate(-2deg);
}
.floating-note span { color: #b6c4ba; font-size: 11px; display: block; }
.floating-note strong { display: block; margin: 5px 0 8px; font-size: 15px; }
.floating-note small { color: #d6ddd8; line-height: 1.45; }

.pain-strip { background: #17201b; color: white; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 30px 0; }
.pain-grid div { display: flex; flex-direction: column; gap: 4px; }
.pain-grid span { color: #b8c4bb; font-size: 13px; }

.section { padding: 104px 0; }
.section-alt { background: #edf2ec; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading.narrow { max-width: 680px; }
.section-heading p, .large-copy { color: var(--muted); font-size: 18px; line-height: 1.65; }
.steps-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card, .feature-card {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}
.step-card p, .feature-card p { color: var(--muted); margin-bottom: 0; }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; border-radius: 10px; margin-bottom: 28px; }
.feature-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; background: #17201b; color: white; border-radius: 10px; margin-bottom: 22px; font-weight: 800; }

.split-section { display: grid; grid-template-columns: 1fr .88fr; gap: 86px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 13px; }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.detail-card { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.detail-header { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.detail-header > div { display: flex; flex-direction: column; }
.detail-header small { color: var(--muted); }
.detail-dot { width: 12px; height: 12px; background: var(--warning); border-radius: 50%; }
.transaction-block { padding: 22px 0; display: flex; flex-direction: column; }
.transaction-block small, .transaction-block span { color: var(--muted); }
.transaction-block strong { font-size: 25px; margin: 5px 0; }
.signal-box { background: var(--warning-soft); border-radius: 13px; padding: 18px; color: #624208; }
.signal-box p { margin-bottom: 0; font-size: 14px; }
.action-row { display: flex; gap: 10px; justify-content: flex-end; padding-top: 18px; }
.action-row button { border: 1px solid var(--line); background: white; border-radius: 9px; padding: 10px 14px; font-weight: 700; }
.action-row .action-primary { background: var(--text); color: white; border-color: var(--text); }

.roi-section { background: var(--accent); color: white; }
.roi-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.roi-section .eyebrow { color: #c9f0d8; }
.roi-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 28px; }
.roi-card span { color: #d8efe0; font-size: 13px; }
.roi-card strong { display: block; font-size: 34px; margin: 5px 0 12px; font-family: "Manrope", sans-serif; }
.roi-card p { margin: 0; color: #edf8f1; }

.cta-section { padding: 104px 0 24px; }
.cta-card { background: #17201b; color: white; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1fr .8fr; gap: 56px; align-items: center; }
.cta-card p { color: #c2cdc5; max-width: 610px; }
.signup-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.signup-form input { width: 100%; min-height: 50px; border-radius: 11px; border: 1px solid #3d4b41; background: #202b24; color: white; padding: 0 15px; outline: none; }
.signup-form input:focus { border-color: #77c597; }
.form-message { grid-column: 1 / -1; min-height: 20px; margin: 2px 0 0; font-size: 13px; color: #ffcbc2; }
.form-message.success { color: #bcebcf; }

.faq-section { padding-top: 90px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
details { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
summary { font-weight: 800; cursor: pointer; }
details p { color: var(--muted); margin-bottom: 0; }
.site-footer { padding: 30px 0 44px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
.site-footer .brand { color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero, .split-section, .roi-grid, .cta-card { grid-template-columns: 1fr; }
  .hero { gap: 50px; padding-top: 54px; }
  .floating-note { right: 10px; }
  .pain-grid, .steps-grid, .feature-grid { grid-template-columns: 1fr; }
  .pain-grid { gap: 18px; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header .button { display: none; }
  h1 { font-size: 46px; }
  .hero-subtitle { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr; }
  .floating-note { position: relative; right: auto; bottom: auto; width: calc(100% - 30px); margin: -10px auto 0; transform: rotate(-1deg); }
  .section { padding: 76px 0; }
  .cta-card { padding: 28px; }
  .signup-form { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
