/* ============================================================
   static-pages.css — shared styles for advertise, contact, about
   Uses existing design tokens: #BD2701, #4D4F53, #00896C
   ============================================================ */

:root {
  --sp-primary:    #BD2701;
  --sp-grey:       #4D4F53;
  --sp-green:      #00896C;
  --sp-bg:         #f8f7f6;
  --sp-card-bg:    #ffffff;
  --sp-border:     #e4e0dc;
  --sp-shadow:     0 2px 12px rgba(0, 0, 0, 0.07);
  --sp-shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.12);
  --sp-radius:     10px;
  --sp-max-width:  960px;
}

/* ── Outer wrapper ─────────────────────────────────────────── */

.staticPageWrap {
  max-width: var(--sp-max-width);
  margin: 0 auto;
  padding: 40px 24px 64px;
  font-family: var(--font-furniture);
}

/* ── Page hero ─────────────────────────────────────────────── */

.spHero {
  padding: 32px 0 28px;
  border-bottom: 2px solid var(--sp-border);
  margin-bottom: 40px;
}

.spHero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sp-grey);
  margin: 0 0 10px;
  line-height: 1.15;
  border-left: 5px solid var(--sp-primary);
  padding-left: 16px;
}

.spHero .spSubtitle {
  font-size: 1.05rem;
  color: #6b6b6b;
  padding-left: 21px;
  margin: 0;
  line-height: 1.6;
}

.spSubHero {
  padding: 24px 0 28px;
}

.spSubHero h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sp-grey);
  margin: 0 0 10px;
  line-height: 1.15;
}

.spSubHero .spSubtitle {
  font-size: 0.95rem;
  color: #6b6b6b;
  margin: 0;
  line-height: 1.6;
}

/* ── Section headings ──────────────────────────────────────── */

.spSection {
  margin-bottom: 48px;
}

.spSectionTitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-primary);
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sp-border);
}

/* ── Feature / benefit cards ───────────────────────────────── */

.spCardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.spCard {
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 24px 20px;
  box-shadow: var(--sp-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.spCard:hover {
  box-shadow: var(--sp-shadow-hover);
  transform: translateY(-2px);
}

.spCard .spCardLabel {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-primary);
  margin-bottom: 8px;
}

.spCard p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--sp-grey);
  line-height: 1.55;
}

/* ── CTA strip ─────────────────────────────────────────────── */

.spCta {
  background: var(--sp-primary);
  border-radius: var(--sp-radius);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.spCta p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

.spCta strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.spCtaActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.spBtn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.spBtn--white {
  background: #fff;
  color: var(--sp-primary);
}

.spBtn--white:hover {
  background: #f0e8e6;
  color: var(--sp-primary);
}

.spBtn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.spBtn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ── Team member cards ─────────────────────────────────────── */

.spTeamGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.spTeamCard {
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 24px;
  box-shadow: var(--sp-shadow);
}

.spTeamCard header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.spAvatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sp-primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.spTeamCard header div strong {
  display: block;
  font-size: 0.95rem;
  color: var(--sp-grey);
  line-height: 1.3;
}

.spTeamCard header div span {
  font-size: 0.8rem;
  color: var(--sp-primary);
  font-weight: 600;
}

.spTeamCard p {
  margin: 0;
  font-size: 0.88rem;
  color: #5a5a5a;
  line-height: 1.65;
}

/* ── Contact info blocks ───────────────────────────────────── */

.spContactBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.spContactRow {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--sp-card-bg);
  /* border: 1px solid var(--sp-border); */
  /* border-radius: var(--sp-radius); */
  /* box-shadow: var(--sp-shadow); */
}

.spContactLabel {
  flex-shrink: 0;
  min-width: 130px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-grey);
  padding-top: 2px;
}

.spContactValue {
  font-size: 0.95rem;
  color: var(--sp-grey);
  line-height: 1.55;
}

.spContactValue a {
  color: var(--sp-primary);
  text-decoration: none;
}

.spContactValue a:hover {
  text-decoration: underline;
}

.spAddressBlock {
  padding: 20px 24px;
  background: var(--sp-bg);
  border-left: 4px solid var(--sp-border);
  border-radius: 0 var(--sp-radius) var(--sp-radius) 0;
  font-size: 0.95rem;
  color: var(--sp-grey);
  line-height: 1.8;
  font-style: normal;
}

/* ── Long-form prose (privacy, permitted use) ──────────────── */

.spProse {
  font-size: 0.95rem;
  color: var(--sp-grey);
  line-height: 1.7;
}

.spProse p {
  margin: 0 0 18px;
}

.spProse a {
  color: var(--sp-primary);
  text-decoration: none;
}

.spProse a:hover {
  text-decoration: underline;
}

.spProse .spNote {
  font-size: 0.85rem;
  color: #6b6b6b;
}

/* numbered clauses — nested levels render as 1, 1.1, 1.1.1 */
.spProse ol.spNumList,
.spProse ol.spNumList ol {
  counter-reset: spclause;
  list-style: none;
  padding-left: 0;
  margin: 0 0 24px;
}

.spProse ol.spNumList ol {
  margin: 12px 0 0;
}

.spProse ol.spNumList li {
  counter-increment: spclause;
  position: relative;
  padding-left: 2.6em;
  margin-bottom: 14px;
}

.spProse ol.spNumList li::before {
  content: counters(spclause, ".") ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--sp-primary);
}

.spProse ol.spNumList ol li::before {
  color: var(--sp-grey);
  font-weight: 600;
}

.spProse ol.spNumList > li > strong:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--sp-grey);
}

/* lettered sub-clauses — a, b, c (no inherited counter numbering) */
.spProse ol.spAlphaList {
  counter-reset: none;
  list-style: lower-alpha;
  padding-left: 1.6em;
  margin: 12px 0 0;
}

.spProse ol.spAlphaList li {
  counter-increment: none;
  position: static;
  padding-left: 0;
  margin-bottom: 10px;
}

.spProse ol.spAlphaList li::before {
  content: none;
}

.spProse .spAddressBlock {
  margin-bottom: 18px;
}

.spProse h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sp-grey);
  margin: 0 0 14px;
  line-height: 1.3;
}

/* ── Inline notices ────────────────────────────────────────── */

.spNotice {
  padding: 16px 20px;
  border-radius: var(--sp-radius);
  border-left: 4px solid var(--sp-border);
  background: var(--sp-bg);
  margin-bottom: 28px;
}

.spNotice p {
  margin: 0 0 8px;
}

.spNotice p:last-child {
  margin-bottom: 0;
}

.spNotice--warn {
  border-left-color: var(--sp-primary);
}

/* ── Forms ─────────────────────────────────────────────────── */

.spForm {
  margin: 28px 0 0;
  max-width: 420px;
}

.spFormLabel {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-grey);
  margin-bottom: 8px;
}

.spFormInput {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--sp-grey);
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  margin-bottom: 16px;
}

.spFormInput:focus {
  outline: 2px solid var(--sp-primary);
  outline-offset: 1px;
  border-color: var(--sp-primary);
}

.spBtn--solid {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: var(--sp-green);
  color: #fff;
}

.spBtn--solid:hover {
  background: #00705a;
  color: #fff;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 560px) {
  .staticPageWrap {
    padding: 24px 16px 48px;
  }

  .spHero h1 {
    font-size: 1.6rem;
  }

  .spCardGrid {
    grid-template-columns: 1fr;
  }

  .spTeamGrid {
    grid-template-columns: 1fr;
  }

  .spCta {
    flex-direction: column;
    align-items: flex-start;
  }

  .spContactRow {
    flex-direction: column;
    gap: 6px;
  }

  .spContactLabel {
    min-width: auto;
  }
}
