/* DitchBook ledger-revival offer page — page-specific styles. */
/* Builds on styles.css tokens. Callback-form styles live in styles.css */
/* because the same form appears on the homepage and /tour/. */

/* ---------- Hero override ----------
   styles.css's shared .hero-grid uses align-items: end, which works on
   the homepage because its H1 (long, narrow max-width) is roughly as
   tall as its hero-aside content, so both columns bottom-align near the
   same point. This page's H1 is short (two lines) next to a much taller
   hero-aside (long story paragraph + slot counter + actions + secondary
   link), so bottom-alignment pushed the H1 ~400px down the page, leaving
   the top-left column empty. Top-align instead so the eyebrow, H1, and
   story all start at the same line. */

.hero-grid {
  align-items: start;
}

/* ---------- Breadcrumb (mirrors /tour/, /guides/, /companies/) ---------- */

.breadcrumb {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin: 1.75rem 0 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  padding: 0;
  margin: 0;
  max-width: none;
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  color: var(--water-deep);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink-mid);
}

/* ---------- Slot counter ---------- */

.slot-counter {
  display: inline-block;
  margin: 0 0 1.6rem;
  padding: 0.5em 0.95em;
  background: var(--water-tint);
  border: 1px solid var(--water-line);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--water-deep);
  max-width: none;
}

.slot-counter strong {
  font-variant-numeric: tabular-nums;
}

/* ---------- The two promises ---------- */

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-dim);
}

.promise-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.promise-card + .promise-card {
  border-left: 1px solid var(--border-strong);
}

.promise-card h3 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--water-deep);
  margin-bottom: 0.7em;
}

.promise-card p {
  margin: 0;
  color: var(--ink-mid);
  max-width: 38ch;
}

@media (max-width: 640px) {
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .promise-card + .promise-card {
    border-left: none;
    border-top: 1px solid var(--border-strong);
  }
}

/* ---------- Closing call-to-action + callback ---------- */

.revival-cta .cta-lead {
  max-width: 52ch;
  color: var(--ink-mid);
}

.revival-cta .callback {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--border);
}

.revival-cta .callback h2 {
  font-size: var(--step-2);
}

/* ---------- Print: keep the offer, drop the chrome ---------- */

@media print {
  .site-nav,
  .skip-link,
  .callback,
  .revival-cta .hero-actions {
    display: none;
  }

  .promise-grid {
    border-color: #999;
    background: none;
  }

  .promise-card + .promise-card {
    border-left-color: #999;
    border-top-color: #999;
  }
}
