/* Knockout Books brand tokens */
:root {
  --ink: #2B1B14;
  --ink-soft: #4a3529;
  --red: #E8503A;
  --red-shadow: #B93A26;
  --yellow: #FFD25E;
  --cream: #FFF3DC;
  --cream-2: #FBEAC7;
  --brown: #7A5C4A;
  --white: #ffffff;
  --line: rgba(43, 27, 20, 0.10);
  --shadow-sm: 0 1px 2px rgba(43, 27, 20, 0.06), 0 1px 3px rgba(43, 27, 20, 0.05);
  --shadow-md: 0 6px 24px rgba(43, 27, 20, 0.08), 0 2px 6px rgba(43, 27, 20, 0.05);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-shadow); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 0.35em; }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 243, 220, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px max(20px, 4vw);
}
.brand img { height: 44px; }
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  color: var(--ink);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.nav a:hover {
  background: rgba(43, 27, 20, 0.06);
  text-decoration: none;
}
.nav .nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 9px 16px;
  margin-left: 6px;
}
.nav .nav-cta:hover { background: #1a100b; text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) max(20px, 4vw) clamp(56px, 8vw, 100px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
.hero h1 { margin-bottom: 20px; }
.hero .accent { color: var(--red); }
.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-emblem img {
  width: min(420px, 100%);
  margin-left: auto;
  filter: drop-shadow(0 20px 40px rgba(184, 58, 38, 0.18));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(184, 58, 38, 0.28);
}
.btn-primary:hover { background: var(--red-shadow); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(43, 27, 20, 0.18);
}
.btn-ghost:hover { background: rgba(43, 27, 20, 0.06); }

/* Hero eyebrow */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-shadow);
  background: rgba(232, 80, 58, 0.10);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

/* QBO badge (services section) */
.qbo-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid #2CA01C;
  border-radius: 12px;
  margin-bottom: 32px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.qbo-badge strong { color: var(--ink); }
.qbo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2CA01C;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(44, 160, 28, 0.15);
}

/* Fit / ideal client section */
.fit { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fit-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .fit-grid { grid-template-columns: 1fr; }
}
.fit-grid li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--cream);
  border-radius: var(--radius);
  align-items: flex-start;
}
.fit-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-top: 1px;
}
.fit-grid strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.fit-grid span { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.45; }

/* Tier / pricing cards */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier-featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 0 20px 40px rgba(43, 27, 20, 0.18);
}
.tier-featured h3, .tier-featured .tier-price strong { color: var(--yellow); }
.tier-featured .tier-lede, .tier-featured .tier-list li { color: rgba(255, 243, 220, 0.85); }
.tier-featured .tier-price { color: rgba(255, 243, 220, 0.75); }
.tier-featured .tier-price span { color: rgba(255, 243, 220, 0.6); }
.tier-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(43, 27, 20, 0.08);
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.tier-tag-featured { background: var(--red); color: var(--white); }
.tier h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tier-price {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.tier-price strong {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-right: 2px;
}
.tier-price span { font-size: 0.95rem; }
.tier-lede { color: var(--ink-soft); margin-bottom: 20px; font-size: 0.98rem; }
.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
  flex: 1;
}
.tier-list li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.tier-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.tier-featured .tier-list li::before { background: var(--yellow); }
.tier-list li em { color: inherit; font-style: italic; font-weight: 500; }
.tier-cta { align-self: flex-start; }

/* Scope card */
.scope-card {
  background: var(--cream-2);
  border: 1px dashed rgba(43, 27, 20, 0.20);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.scope-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
}
.scope-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }

/* Funds callout (below scope card) */
.funds-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 22px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
}
.funds-callout strong { display: block; color: var(--yellow); font-size: 1rem; margin-bottom: 3px; }
.funds-callout span { display: block; color: rgba(255, 243, 220, 0.75); font-size: 0.92rem; }
.funds-icon {
  flex-shrink: 0;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.funds-icon svg { width: 28px; height: 28px; }

/* How it works / onboarding steps */
.how { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
.steps li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(184, 58, 38, 0.28);
}
.step-body h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
}
.step-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* FAQ */
.faq { background: var(--cream); }
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.faq-item h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
}
.faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Contact static (non-link) rows */
.contact-static {
  cursor: default;
}
.contact-static:hover {
  transform: none;
  box-shadow: none;
}

/* NDA note */
.nda-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--brown);
  font-style: italic;
}

/* Standalone book button on contact section */
.book-btn {
  margin-top: 8px;
  margin-bottom: 4px;
  align-self: flex-start;
}

/* Contact select */
.contact-form select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid rgba(43, 27, 20, 0.15);
  border-radius: 10px;
  background: var(--cream);
  outline: none;
  transition: border 0.12s ease, background 0.12s ease;
}
.contact-form select:focus { border-color: var(--red); background: var(--white); }

/* Section shells */
section { padding: 0; }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) max(20px, 4vw);
}
.section-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 36px;
}

/* Who we serve */
.who {
  background: linear-gradient(180deg, var(--yellow) 0%, #ffc94d 100%);
  color: var(--ink);
}
.who h2, .who .section-lede { color: var(--ink); }
.who-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
.who-grid li {
  padding: 8px 0;
  text-align: center;
}
@media (max-width: 720px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Services cards */
.services { background: var(--cream); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 {
  color: var(--ink);
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.card h3::before {
  content: '';
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 3px;
  background: var(--red);
  margin-bottom: 12px;
}
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* Why Knockout Books - pillars + guarantee */
.why {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.pillar {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-icon {
  margin-bottom: 14px;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  color: var(--red);
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.pillar p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

/* The Cornerman Guarantee callout */
.guarantee {
  background: linear-gradient(135deg, var(--ink) 0%, #3d2519 100%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(43, 27, 20, 0.22);
}
.guarantee::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 210, 94, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.guarantee-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 7px 14px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  margin-bottom: 20px;
}
.guarantee h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--yellow);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.guarantee-lede {
  color: rgba(255, 243, 220, 0.88);
  max-width: 620px;
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.guarantee-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.guarantee-bullet {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 243, 220, 0.06);
  border: 1px solid rgba(255, 210, 94, 0.18);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.g-num {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
}
.g-num small {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 210, 94, 0.7);
  margin-left: 1px;
}
.g-copy strong {
  display: block;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.g-copy span {
  display: block;
  color: rgba(255, 243, 220, 0.75);
  font-size: 0.88rem;
  line-height: 1.45;
}
.guarantee-cta {
  position: relative;
  z-index: 1;
}

/* Hero guarantee ribbon */
.hero-guarantee {
  margin-top: 22px;
  padding: 10px 16px;
  background: rgba(255, 210, 94, 0.25);
  border: 1px solid rgba(232, 80, 58, 0.35);
  border-radius: 999px;
  display: inline-block;
  font-size: 0.92rem;
  color: var(--ink);
}
.hero-guarantee strong { color: var(--red-shadow); }

/* About */
.about { background: var(--cream); }
.about p { max-width: 780px; font-size: 1.08rem; color: var(--ink-soft); }

/* Contact */
.contact { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.contact-link {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.contact-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brown); font-weight: 500; }
.contact-value { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-top: 2px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.contact-form label { display: grid; gap: 6px; }
.contact-form label span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid rgba(43, 27, 20, 0.15);
  border-radius: 10px;
  background: var(--cream);
  outline: none;
  transition: border 0.12s ease, background 0.12s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
}
.contact-form button { justify-self: start; margin-top: 4px; }

/* Footer */
.footer {
  background: var(--ink);
  color: var(--cream);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px max(20px, 4vw);
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
.footer-logo { height: 52px; }
.footer-tag { color: var(--yellow); font-weight: 500; margin: 0; letter-spacing: 0.02em; }
.footer-copy { color: rgba(255, 243, 220, 0.55); font-size: 0.85rem; margin: 0; }

/* Responsive */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-emblem img { width: 220px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
}
