.container {
  max-width: var(--max);
}

/* ── Page banner ── */
.page-banner {
  background: var(--brand);
  color: #FFFDF7;
  padding: 40px 0 36px;
}

.page-banner h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.5vw, 40px);
  color: #FFFDF7;
}

.page-banner p {
  margin: 0;
  font-size: 16px;
  opacity: .85;
}

/* ── Meta bar ── */
.terms-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 20px 0 4px;
  flex-wrap: wrap;
}

.meta-sep { opacity: .5; }

/* ── Intro card ── */
.terms-intro {
  margin: 8px 0 24px;
  font-size: 15px;
  line-height: 1.75;
}

.terms-intro p { margin: 0 0 12px; }
.terms-intro p:last-child { margin-bottom: 0; }

/* ── Critical notice cards ── */
.critical-notices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

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

.critical-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: 14px;
  padding: 18px 20px;
  border: 1.5px solid;
}

.critical-medical {
  background: rgba(91, 7, 16, 0.05);
  border-color: rgba(91, 7, 16, 0.22);
}

.critical-emergency {
  background: rgba(176, 138, 69, 0.09);
  border-color: rgba(176, 138, 69, 0.4);
}

.critical-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.critical-medical .critical-icon { background: rgba(91, 7, 16, 0.1); }
.critical-emergency .critical-icon { background: rgba(176, 138, 69, 0.15); }

.critical-icon svg {
  width: 18px;
  height: 18px;
}

.critical-medical .critical-icon svg { fill: var(--brand); }
.critical-emergency .critical-icon svg { fill: var(--brand2); }

.critical-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--brand);
}

.critical-emergency strong { color: var(--brand2); }

.critical-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ── Terms sections ── */
.terms-section {
  padding: 36px 0;
  border-bottom: 1px solid rgba(176, 138, 69, 0.2);
}

.terms-section:last-of-type { border-bottom: none; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand2);
  margin-bottom: 8px;
}

.section-tag::before {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: var(--brand2);
  border-radius: 2px;
}

.terms-section h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(19px, 2.5vw, 24px);
  color: var(--brand);
  margin: 0 0 14px;
  font-weight: 700;
}

.terms-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 14px;
}

.terms-section p:last-child { margin-bottom: 0; }

.terms-section a {
  color: var(--brand);
  font-weight: 600;
}

.terms-section a:hover { text-decoration: underline; }

/* ALL-CAPS disclaimer sections */
.terms-section p:has(+ p),
.terms-section > p:first-of-type {
  /* normal paragraphs */
}

/* ── Terms list ── */
.terms-list {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  padding-left: 22px;
  margin: 10px 0 16px;
}

.terms-list li { margin-bottom: 6px; }
.terms-list li:last-child { margin-bottom: 0; }

/* ── Inline notice box ── */
.terms-notice {
  background: rgba(91, 7, 16, 0.05);
  border: 1px solid rgba(91, 7, 16, 0.18);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--brand);
  margin-top: 16px;
}

.terms-notice a {
  color: var(--brand);
  font-weight: 700;
}

/* ── Contact card ── */
.terms-contact {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tc-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(176, 138, 69, .22);
}

.tc-row:last-child { border-bottom: none; }

.tc-row svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  fill: var(--brand2);
  margin-top: 2px;
}

.tc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand2);
  margin-bottom: 3px;
}

.tc-value {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.tc-value a {
  color: var(--brand);
  font-weight: 600;
}

.tc-value a:hover { text-decoration: underline; }

/* ── Footer note ── */
.terms-footer-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  padding: 28px 0 48px;
  border-top: 1px solid rgba(176, 138, 69, 0.2);
  margin-top: 8px;
}
