/* ===================================
   HOMEPAGE SHARED STYLES
   The homepage (domains/comparison/index) wraps everything under the navigation in `.home-page`,
   which tariff-page-tokens.css lists among its token scopes, so the --tp-* set of the tariff detail
   page applies here. This file adds the tokens the page sections and the reused FAQ accordion
   (question-answers.css) read beyond that set, and the primitives every homepage partial shares:
   the content frame, the pill button, the text link, the check disc, the numbered section head and
   the lead / body paragraphs. Section-specific rules live next to their partial.
   =================================== */

.home-page {
  --tp-line-strong: rgba(37, 39, 33, 0.24);
  --tp-line-accent: rgba(14, 131, 119, 0.32);
  --tp-shadow: 0 1px 2px rgba(37, 39, 33, 0.04), 0 12px 32px -20px rgba(37, 39, 33, 0.22);
  --tp-shadow-hover: 0 2px 4px rgba(37, 39, 33, 0.05), 0 18px 40px -20px rgba(14, 131, 119, 0.28);
  --tp-stage: #0b3b36;
  --tp-stage-deep: #0a2f2b;
  --tp-r-sm: 12px;
  --tp-r-md: 18px;
  --tp-r-lg: 24px;
  --tp-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --tp-motion: 0.32s;

  font-family: var(--tp-font);
  color: var(--tp-ink);
  font-size: 16px;
  line-height: 1.5;
}
.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
}
.home-page img {
  max-width: 100%;
}
.home-page .tariff-num {
  font-variant-numeric: tabular-nums;
}
.home-page [hidden] {
  display: none !important;
}

/* The content frame of every band. */
.home-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Pill button and text link --- */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--tp-accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.home-btn:hover {
  background: var(--tp-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}
.home-btn:focus-visible {
  outline: 3px solid var(--tp-accent-bright);
  outline-offset: 3px;
}
.home-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}
.home-btn:hover svg {
  transform: translateX(2px);
}
.home-btn--ghost {
  background: var(--tp-paper);
  color: var(--tp-accent-hover);
  border: 1.5px solid var(--tp-line-strong);
}
.home-btn--ghost:hover {
  background: var(--tp-mint);
  color: var(--tp-accent-hover);
  border-color: var(--tp-line-accent);
}
.home-btn--bright {
  background: var(--tp-accent-bright);
  color: var(--tp-stage-deep);
}
.home-btn--bright:hover {
  background: #3fd0bf;
  color: var(--tp-stage-deep);
}
.home-link {
  color: var(--tp-accent-hover);
  font-weight: 700;
  text-decoration: none;
}
.home-link:hover {
  text-decoration: underline;
}

/* --- Check / x disc --- */
.home-chk {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--tp-mint);
  color: var(--tp-accent-hover);
  flex: 0 0 auto;
}
.home-chk svg {
  width: 13px;
  height: 13px;
}
.home-chk--off {
  background: var(--tp-grey-tile);
  color: var(--tp-grey-ink);
}

/* --- Content sections: alternating cream / paper bands, numbered head, lead and body text --- */
.home-section {
  padding: 64px 0;
}
.home-section--cream {
  background: var(--tp-cream);
}
.home-section--paper {
  background: var(--tp-paper);
}
.home-section__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}
.home-section__no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--tp-mint);
  color: var(--tp-accent-hover);
  font-size: 17px;
  font-weight: 800;
}
.home-page .home-section__title {
  margin: 4px 0 0;
  padding: 0;
  font-family: inherit;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.15;
  color: var(--tp-ink);
  text-wrap: balance;
  text-align: left;
}
.home-page .home-section__title::after {
  content: none;
}
.home-lead {
  margin: 0 0 16px;
  max-width: 820px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--tp-ink);
}
.home-para {
  margin: 0 0 16px;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tp-ink-2);
}
.home-lead .home-em,
.home-para .home-em {
  font-weight: 800;
  color: var(--tp-accent-hover);
}
.home-lead a,
.home-para a {
  color: var(--tp-accent-hover);
  font-weight: 700;
  text-decoration: none;
}
.home-lead a:hover,
.home-para a:hover {
  text-decoration: underline;
}
.home-spacer {
  height: 28px;
}

@media (max-width: 820px) {
  .home-wrap {
    padding: 0 16px;
  }
  .home-section {
    padding: 44px 0;
  }
  .home-lead {
    font-size: 16.5px;
  }
}
