/* =========================================================================
   page-book.css — styles unique to book/index.html
   All canonical tokens, .card, .btn, .container come from
   foundation.css, layout.css, and design-system.css.
   ========================================================================= */

main a { color: var(--hvb-teal); text-decoration: none; }
main a:hover { text-decoration: underline; }

/* ── Two-column content grid ─────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

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

/* ── Book page scoped layout ─────────────────────────────────────────────── */
.book-page main {
  padding-inline: clamp(12px, 3vw, 24px);
  box-sizing: border-box;
}

.book-page section { padding-inline: 0; box-sizing: border-box; }

.book-page .container {
  width: min(var(--layout-container-max-width), calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(12px, 4vw, 30px);
}

@media (max-width: 720px) {
  .book-page section { padding-inline: 0; }
  .book-page .grid { gap: 12px; }
}

/* ── Numbered checklist ──────────────────────────────────────────────────── */
.list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(14, 59, 46, 0.08);
  background: rgba(31, 111, 98, 0.04);
}

.icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(233, 169, 35, 0.18);
  border: 1px solid rgba(233, 169, 35, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hvb-black);
  font-weight: 800;
  font-size: 12px;
  margin-top: 2px;
}

/* ── Calendly embed container ────────────────────────────────────────────── */
.embed-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(14, 59, 46, 0.10);
  background: #fff;
}

.embed-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(14, 59, 46, 0.10);
  background:
    linear-gradient(90deg, rgba(31, 111, 98, 0.06), rgba(31, 111, 98, 0.02)),
    url("../textures/tx_circular-flow_tile.svg");
  background-repeat: no-repeat, repeat;
  background-size: cover, 520px 520px;
}

.embed-head strong {
  font-family: var(--font-head);
  color: var(--hvb-green);
}

.embed-body { padding: 12px; }

.embed-note {
  margin-top: 10px;
  color: rgba(18, 22, 23, 0.70);
  font-size: 13px;
}

.embed-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid rgba(233, 169, 35, 0.35);
  background: #fff8ec;
  color: #4a3215;
  display: none;
}

.embed-status.is-visible { display: block; }

/* ── Calendly widget sizing ───────────────────────────────────────────────── */
.calendly-embed,
.calendly-inline-widget { width: 100%; }

.calendly-embed { border-radius: 16px; overflow: hidden; }

@media (max-width: 640px) {
  .calendly-inline-widget { height: 920px !important; }
}

/* Prevent overflow issues in grid cells */
.grid, .container, main, section { overflow: visible; }

/* ── Button group ────────────────────────────────────────────────────────── */
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
