/* ==========================================================================
   APERTURE — THE PAGES APPROVED 8 OCTOBER 2026
   The reusable layout (templates/page-guide.php), the new homepage, pricing
   and apply sections, the Inquiries form and the not-found page. Built on the
   legal pages' plain-page styles. Every colour, face and size is an existing
   token; nothing new is decided here.
   ========================================================================== */

.guide-intro { max-width: var(--measure); }

.guide-item__label {
  font-weight: 500;
  color: var(--c-body-bright);
}

/* How It Works: numbered steps, the FAQ numeral treatment at body scale. */
.guide-step {
  display: grid;
  grid-template-columns: calc(48px + 16 * var(--span) / 1050) 1fr;
  gap: calc(14px + 14 * var(--span) / 1050);
  padding: 22px 0 10px;
  border-top: 1px solid var(--rule-quiet);
}
.guide-step__n {
  font-family: var(--f-display);
  font-size: calc(26px + 10 * var(--span) / 1050);
  letter-spacing: var(--ls-numeral);
  color: var(--c-gold);
  line-height: 1;
}
.guide-step__label {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: calc(15px + 3 * var(--span) / 1050);
  letter-spacing: calc(2px + 1.5 * var(--span) / 1050);
  color: var(--c-display);
  margin: 0 0 8px;
}

/* The bordered note (How It Works). The emphasised-answer gold rule. */
.guide-box {
  font-family: var(--f-body);
  font-size: calc(15px + 1 * var(--span) / 1050);
  line-height: 1.75;
  color: var(--c-body-bright);
  border-left: 1px solid var(--c-gold);
  padding: 6px 0 6px 18px;
  margin: 28px 0;
  max-width: var(--measure);
}

.guide-cta { margin: calc(28px + 12 * var(--span) / 1050) 0; }

.guide-inquiries {
  font-family: var(--f-body);
  font-size: var(--t-footer);
  letter-spacing: var(--ls-footer);
  text-transform: uppercase;
  margin: 36px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule-quiet);
}

/* The comparison table. On a phone each row becomes a stacked card. */
.guide-table-wrap { margin: 8px 0 24px; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-body);
  font-size: calc(14px + 1 * var(--span) / 1050);
  line-height: 1.6;
  color: var(--c-body);
}
.guide-table th,
.guide-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px 14px 0;
  border-top: 1px solid var(--rule-quiet);
}
.guide-table thead th {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-gold-bright);
  font-size: 13px;
  border-top: 0;
}
.guide-table tbody th { color: var(--c-body-bright); font-weight: 500; width: 22%; }
.guide-table tbody td:nth-child(2) { color: var(--c-body-bright); }

@media (max-width: 720px) {
  .guide-table thead { display: none; }
  .guide-table, .guide-table tbody, .guide-table tr, .guide-table th, .guide-table td { display: block; width: 100%; }
  .guide-table tr { border-top: 1px solid var(--rule-quiet); padding: 12px 0; }
  .guide-table tbody th { width: 100%; border: 0; padding: 0 0 6px; }
  .guide-table td { border: 0; padding: 4px 0; }
  .guide-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--c-gold-bright);
  }
}

/* Inquiries form: the application form's fields, one column. */
.guide-form { max-width: 640px; margin-top: 8px; }
.guide-form__field { margin-bottom: 22px; }
.guide-form__textarea { resize: vertical; min-height: 140px; font-family: var(--f-body); }
.guide-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.guide-thanks { max-width: 640px; }

/* Not found: the four buttons. */
.guide-nf { display: flex; flex-wrap: wrap; gap: 16px; }

/* Homepage: the four approved text sections, on the homepage's own measure. */
.home-note {
  position: relative;
  max-width: 1060px;
  padding: calc(40px + 40 * var(--span) / 1050) var(--gut-hero-r) 0 var(--gut-hero-l);
}
.home-note__head {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-section);
  letter-spacing: var(--ls-section);
  color: var(--c-display);
  margin: 0 0 16px;
}
.home-note__body {
  font-family: var(--f-body);
  font-size: calc(15px + 1 * var(--span) / 1050);
  line-height: 1.85;
  color: var(--c-body);
  max-width: var(--measure);
  margin: 0;
}
.home-note + .ins-index,
.home-note + .home-closing { margin-top: calc(40px + 40 * var(--span) / 1050); }

/* Pricing: the two approved sections under the fine print. */
.price-more { padding-top: calc(24px + 24 * var(--span) / 1050); }

/* Apply: the new line and WHAT HAPPENS NEXT. */
.apply-next__list { margin: 6px 0 0; padding-left: 20px; }
.apply-next__list li { margin-bottom: 6px; }

/* The box at the end of every article (approved section 14). */
.ins-endbox {
  border-top: 1px solid var(--rule-gold);
  margin: calc(36px + 12 * var(--span) / 1050) 0 24px;
  padding-top: 24px;
}
.ins-endbox__line {
  font-family: var(--f-body);
  font-size: calc(15px + 1 * var(--span) / 1050);
  line-height: 1.75;
  color: var(--c-body-bright);
  margin: 0 0 18px;
}
.ins-endbox__cta { margin: 0 0 20px; }
.ins-endbox__links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--f-body);
  font-size: calc(14px + 1 * var(--span) / 1050);
  line-height: 1.9;
}
