/* Bound4Shelves — shared styles. Static site, no build step. */

:root {
  --cream: #f7f2e7;
  --paper: #fffdf8;
  --ink: #25231e;
  --ink-soft: #55524a;
  --green: #476b38;
  --green-dark: #2f4c26;
  --green-soft: #e7eedd;
  --sage: #8aa864;
  --red: #bc2a30;
  --line: #ddd5c0;
  --charcoal: #262626;
  --radius: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; }

a { color: var(--green-dark); }
a:hover { color: var(--green); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand .four { color: var(--red); }
.brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.main-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 4px 2px;
}
.main-nav a:hover { color: var(--green); }
.main-nav a[aria-current="page"] {
  color: var(--green-dark);
  border-bottom: 3px solid var(--green);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid var(--green-dark);
}
.btn-primary { background: var(--green); border-color: var(--green-dark); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--green-dark); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green-dark); }

/* ---------- Hero ---------- */

.hero { padding: 56px 0 40px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 10px;
}
.hero h1, .page-hero h1 {
  font-size: 2.6rem;
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 0.92rem; color: var(--ink-soft); }

.logo-plate {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 6px 24px rgba(37, 35, 30, 0.08);
}
.logo-plate img { display: block; border-radius: 6px; }

/* ---------- Sections ---------- */

section { padding: 44px 0; }
.section-soft { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
.section-intro { color: var(--ink-soft); max-width: 44rem; margin: 0 0 28px; }

.page-hero { padding: 48px 0 8px; }
.page-hero .price-line { font-size: 1.25rem; font-weight: 700; color: var(--green-dark); }

/* ---------- Cards & grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { margin: 0; color: var(--ink-soft); }

/* ---------- The ladder ---------- */

.ladder { display: grid; gap: 14px; }
.rung {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 6px 22px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--sage);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.rung.flagship { border-left-color: var(--green); background: var(--green-soft); }
.rung .price { font-size: 1.5rem; font-weight: 800; color: var(--green-dark); }
.rung .rung-name { font-weight: 700; font-size: 1.08rem; }
.rung .rung-job { color: var(--ink-soft); margin: 2px 0 0; }
.rung .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Lists ---------- */

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}
.cross-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cross-list li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.cross-list li::before {
  content: "✕";
  position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 700;
}

.contents-list { display: grid; gap: 16px; }
.contents-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.contents-item p { margin: 4px 0 0; color: var(--ink-soft); }
.contents-item .withheld { color: var(--ink); }
.contents-item .withheld strong { color: var(--green-dark); }

/* ---------- Callouts ---------- */

.callout {
  background: var(--green-soft);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin-bottom: 0; }

.honest-band { background: var(--charcoal); color: #f0ead8; }
.honest-band h2 { color: #fff; }
.honest-band a { color: #b9d29b; }
.honest-band .grid-3 .card { background: #2f2f2f; border-color: #454545; }
.honest-band .card p { color: #cfc9b8; }
.honest-band .card h3 { color: #fff; }

/* ---------- Forms ---------- */

.capture-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.capture-form label { font-weight: 600; display: grid; gap: 6px; }
.capture-form input {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  width: 100%;
}
.capture-form input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ---------- FAQ / details ---------- */

.faq { display: grid; gap: 12px; max-width: 46rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--ink-soft); margin: 8px 0 4px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--charcoal); color: #cfc9b8; padding: 40px 0 28px; margin-top: 20px; }
.site-footer .footer-logo { max-width: 300px; margin-bottom: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px; }
.site-footer nav a { color: #f0ead8; text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { color: #b9d29b; }
.site-footer p { margin: 0 0 8px; font-size: 0.94rem; max-width: 46rem; }
.site-footer .fine { font-size: 0.85rem; color: #9d9787; }

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1, .page-hero h1 { font-size: 2.1rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .rung { grid-template-columns: 1fr; }
  .rung .price { font-size: 1.3rem; }
  section { padding: 34px 0; }
}
