/* ══════════════════════════════════════════════════════════════════════
   First Home Buyer Pack landing page (/first-home-buyers), 23 November 2026.
   Loaded by first-home-buyers.html only, after styles.css and home.css, and
   every rule is scoped to body.fhb-page. It reuses the homepage design layer
   (body.home tokens, Instrument Serif headlines, the lead card) and adds only
   the page's own sections. Its own file because styles.css can be a day stale
   in browsers. Remove with the page if the test ends.
   ══════════════════════════════════════════════════════════════════════ */

body.fhb-page .fhb-main { position: relative; z-index: 1; }
body.fhb-page .fhb-hero,
body.fhb-page .fhb-section {
  max-width: calc(1120px + 2 * var(--pad));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
body.fhb-page .fhb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 1024px) {
  body.fhb-page .fhb-hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 72px); padding-top: 48px; }
}
body.fhb-page .fhb-crumb { font-size: 13px; color: var(--text-muted); margin: 0 0 18px; }
body.fhb-page .fhb-crumb a { color: var(--teal); text-decoration: none; }
body.fhb-page .fhb-eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(0, 200, 200, 0.45); border-radius: 999px; padding: 5px 12px;
}
body.fhb-page .fhb-h1 {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0 0 18px;
  max-width: 13em;
}
body.fhb-page .fhb-sub { font-size: 17px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 20px; max-width: 34em; }
body.fhb-page .fhb-hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.fhb-page .fhb-hero-points li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.5; }
body.fhb-page .fhb-hero-points li::before {
  content: ''; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* The form card: one column at every width (home.css makes the homepage's a
   two-column grid on wide screens, keyed to #lead-form). */
body.fhb-page .fhb-form-card { max-width: none; margin: 0; padding: clamp(22px, 3vw, 34px); }
body.fhb-page .fhb-form-card .lead-form-content { display: block; }
body.fhb-page .fhb-form-card .lead-heading { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); }
body.fhb-page .fhb-form-card .lead-sub { margin-bottom: 18px; font-size: 14.5px; }
body.fhb-page .fhb-form-card .lead-field-label { margin-top: 16px; }
body.fhb-page .fhb-form-card .lead-submit-btn { flex: 0 0 auto; width: 100%; height: 50px; }
/* Phones: the form comes first after the headline (recordings, October 2026:
   phone visitors drop before the email field). The points repeat in "What's
   in your pack", so they go on phones. */
@media (max-width: 760px) {
  body.fhb-page .fhb-hero-points { display: none; }
  body.fhb-page .fhb-sub { font-size: 16px; margin-bottom: 4px; }
  body.fhb-page .fhb-hero { gap: 20px; }
}
@media (min-width: 600px) {
  body.fhb-page .fhb-form-card .lead-suburbs-grid.lead-suburbs-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
body.fhb-page .fhb-section { padding-top: clamp(56px, 7vw, 96px); }
body.fhb-page .fhb-h2 {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 12px;
}
body.fhb-page .fhb-lede { font-size: 16px; line-height: 1.65; color: var(--text-secondary); max-width: 44em; margin: 0 0 24px; }
body.fhb-page .fhb-fine { font-size: 13px; line-height: 1.6; color: var(--text-muted); max-width: 52em; margin: 14px 0 0; }

body.fhb-page .fhb-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
@media (min-width: 820px) { body.fhb-page .fhb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.fhb-page .fhb-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--card-pad); border-top: 3px solid var(--accent);
}
body.fhb-page .fhb-card h3 { font-size: 17px; font-weight: 650; line-height: 1.3; color: var(--text-primary); margin: 0 0 10px; }
body.fhb-page .fhb-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); margin: 0; }

body.fhb-page .fhb-example {
  margin-top: var(--grid-gap); padding: 18px 20px; border-radius: var(--radius-md);
  background: var(--accent-soft); border: 1px dashed rgba(0, 200, 200, 0.45);
}
body.fhb-page .fhb-example-tag { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
body.fhb-page .fhb-example p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-primary); }
body.fhb-page .fhb-example strong { color: var(--teal); font-variant-numeric: tabular-nums; }

/* What's in your pack: a static preview, no images of figures. */
body.fhb-page .fhb-preview { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
@media (min-width: 820px) { body.fhb-page .fhb-preview { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
body.fhb-page .fhb-preview-col { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--card-pad); }
body.fhb-page .fhb-preview-pack { border-color: rgba(0, 200, 200, 0.5); }
body.fhb-page .fhb-preview-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 12px; }
body.fhb-page .fhb-preview-pack .fhb-preview-label { color: var(--teal); }
body.fhb-page .fhb-preview-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
body.fhb-page .fhb-preview-list li { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
body.fhb-page .fhb-preview-list strong { color: var(--text-primary); font-weight: 650; }

/* House or unit table. */
body.fhb-page .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.fhb-page .fhb-table { width: 100%; min-width: 360px; max-width: 720px; border-collapse: collapse; font-size: 15px; }
body.fhb-page .fhb-caption { caption-side: top; text-align: left; font-size: 13px; color: var(--text-muted); padding: 0 0 10px; }
body.fhb-page .fhb-table th,
body.fhb-page .fhb-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
body.fhb-page .fhb-table thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
body.fhb-page .fhb-table td.num,
body.fhb-page .fhb-table thead th + th { text-align: right; }
body.fhb-page .fhb-table td.num { font-variant-numeric: tabular-nums; color: var(--text-primary); white-space: nowrap; }
body.fhb-page .fhb-table tbody th { font-weight: 600; color: var(--text-primary); }
body.fhb-page .fhb-note { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
body.fhb-page .fhb-none { color: var(--text-muted); }
body.fhb-page .fhb-table tfoot th,
body.fhb-page .fhb-table tfoot td { font-weight: 700; border-bottom: none; }
body.fhb-page .fhb-table tfoot tr:last-child td { color: var(--teal); font-size: 17px; }
@media (max-width: 600px) {
  body.fhb-page .fhb-table { min-width: 0; font-size: 14px; }
  body.fhb-page .fhb-table th,
  body.fhb-page .fhb-table td { padding: 10px 6px; }
  body.fhb-page .fhb-table th:first-child { padding-left: 0; }
  body.fhb-page .fhb-table td:last-child,
  body.fhb-page .fhb-table thead th:last-child { padding-right: 0; }
}

/* Grants and stamp duty: one block per state, links only. */
body.fhb-page .fhb-states { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
@media (min-width: 640px) { body.fhb-page .fhb-states { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { body.fhb-page .fhb-states { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.fhb-page .fhb-state { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--card-pad); }
body.fhb-page .fhb-state-name { font-size: 17px; font-weight: 650; color: var(--text-primary); margin: 0 0 2px; }
body.fhb-page .fhb-state-office { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; }
body.fhb-page .fhb-state-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.fhb-page .fhb-state-links a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface-inset); color: var(--teal); font-size: 14.5px; font-weight: 600; text-decoration: none; line-height: 1.35;
}
body.fhb-page .fhb-state-links a::after { content: ' \2197'; font-weight: 400; }
body.fhb-page .fhb-state-links a:hover { border-color: var(--accent); }

/* FAQ. */
body.fhb-page .fhb-faq { display: grid; gap: 10px; max-width: 820px; }
body.fhb-page .fhb-faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 20px; }
body.fhb-page .fhb-faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font-size: 16px; font-weight: 600; color: var(--text-primary);
}
body.fhb-page .fhb-faq-item summary::-webkit-details-marker { display: none; }
body.fhb-page .fhb-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--teal); }
body.fhb-page .fhb-faq-item[open] summary::after { content: '\2212'; }
body.fhb-page .fhb-faq-item p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }

/* Close. */
body.fhb-page .fhb-close { padding-bottom: clamp(48px, 6vw, 80px); }
body.fhb-page .fhb-close-line { font-family: var(--font-editorial); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.15; color: var(--text-primary); margin: 0 0 18px; }
body.fhb-page .fhb-close-btn {
  display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-ink); font-weight: 650; font-size: 15px; text-decoration: none;
}
body.fhb-page .fhb-close-btn:hover { background: var(--accent-hover); }
body.fhb-page .fhb-method { font-size: 13px; line-height: 1.65; color: var(--text-muted); max-width: 56em; margin: 26px 0 0; }
body.fhb-page .fhb-method a { color: var(--teal); }

/* Light theme: cards follow styles.css's light tokens; the lead card stays
   dark-surfaced as it does everywhere else. */
body.fhb-page.light .fhb-example { border-color: rgba(0, 126, 126, 0.45); }
body.fhb-page.light .fhb-eyebrow { border-color: rgba(0, 126, 126, 0.45); }
