/* Trust & Security page + shared trust band. Loaded after editorial.css. */

/* ---------- Page header (ink) ---------- */
.trust-page .page-header {
  padding: 96px 0 64px;
  background: var(--yf-ink);
  color: #fff;
}
.trust-page .page-header .kicker {
  display: inline-block;
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 3px solid var(--yf-yellow);
  color: #cbd1d5;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.trust-page .page-header h1 {
  max-width: 820px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1.02;
}
.trust-page .page-header p {
  max-width: 680px;
  margin: 0;
  color: #a6afb6;
  font-size: 1.08rem;
}
.trust-page .page-header .header-links {
  margin-top: 30px;
  font-size: 0.92rem;
}
.trust-page .page-header .header-links a {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--yf-yellow);
  margin-right: 22px;
}
.trust-page .page-header .header-links a:hover { color: var(--yf-yellow); }

/* ---------- Body sections ---------- */
.trust-page { background: var(--yf-paper); color: var(--yf-copy); }
.trust-section {
  padding: 72px 0;
  border-top: 1px solid var(--yf-line);
}
.trust-section:first-of-type { border-top: 0; }
.trust-section .container { max-width: 1160px; }
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 48px 72px;
  align-items: start;
}
.trust-section h2 {
  margin: 0 0 14px;
  color: var(--yf-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
}
.trust-section .lede {
  margin: 0;
  color: var(--yf-muted);
  font-size: 1rem;
}
.trust-section p { line-height: 1.7; }
.trust-section p + p { margin-top: 14px; }

/* Entity table */
.entity-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--yf-line);
  background: var(--yf-paper-light);
}
.entity-table th,
.entity-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--yf-line);
  text-align: left;
  vertical-align: top;
  font-size: 0.97rem;
}
.entity-table th {
  width: 34%;
  color: var(--yf-ink);
  font-weight: 600;
}
.entity-table td { color: var(--yf-copy); }
.entity-table td strong { color: var(--yf-ink); }
.entity-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--yf-yellow);
  background: var(--yf-paper-light);
  color: var(--yf-copy);
  font-size: 0.95rem;
}

/* Practice list */
.practice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--yf-line);
}
.practice-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--yf-line);
}
.practice-list .num {
  color: var(--yf-yellow-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.3;
}
.practice-list h3 {
  margin: 0 0 4px;
  color: var(--yf-ink);
  font-size: 1.02rem;
  font-weight: 600;
}
.practice-list p { margin: 0; color: var(--yf-copy); font-size: 0.96rem; }

/* Two-column practice cards */
.practice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--yf-line);
  border-left: 1px solid var(--yf-line);
}
.practice-card {
  padding: 24px 22px 26px;
  border-right: 1px solid var(--yf-line);
  border-bottom: 1px solid var(--yf-line);
  background: var(--yf-paper-light);
}
.practice-card h3 {
  margin: 0 0 8px;
  color: var(--yf-ink);
  font-size: 1rem;
  font-weight: 600;
}
.practice-card p { margin: 0; color: var(--yf-copy); font-size: 0.95rem; }

/* Revocation checklist */
.checklist {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--yf-line);
}
.checklist li {
  counter-increment: step;
  position: relative;
  padding: 16px 0 16px 46px;
  border-bottom: 1px solid var(--yf-line);
  color: var(--yf-copy);
  font-size: 0.97rem;
}
.checklist li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 15px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--yf-ink);
  border-radius: 2px;
  color: var(--yf-ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  line-height: 26px;
}

/* Contact / closing */
.trust-close {
  padding: 64px 0 88px;
  background: var(--yf-ink);
  color: #fff;
}
.trust-close .container { max-width: 1160px; }
.trust-close h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.trust-close p { max-width: 640px; margin: 0 0 22px; color: #a6afb6; }
.trust-close a.cta-primary {
  background: var(--yf-yellow) !important;
  border: 1px solid var(--yf-yellow) !important;
  border-radius: 2px !important;
  color: var(--yf-ink) !important;
  padding: 13px 22px !important;
}
.trust-close a.cta-primary:hover { background: #fff !important; border-color: #fff !important; transform: none; }
.trust-close .plain-link {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--yf-yellow);
}

/* ---------- Trust band (homepage + service pages) ---------- */
.trust-band {
  padding: 34px 0;
  background: var(--yf-paper-light);
  border-top: 1px solid var(--yf-line);
  border-bottom: 1px solid var(--yf-line);
}
.trust-band .container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.trust-band .band-label {
  padding-left: 14px;
  border-left: 3px solid var(--yf-yellow);
  color: var(--yf-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-band p {
  margin: 0;
  color: var(--yf-copy);
  font-size: 0.97rem;
  line-height: 1.6;
}
.trust-band a.band-link {
  color: var(--yf-ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--yf-yellow);
  white-space: nowrap;
}
.trust-band a.band-link:hover { color: var(--yf-yellow-dark); }

/* Footer entity line */
.footer-entity {
  margin: 10px 0 0;
  color: #7f8990;
  font-size: 0.8rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; gap: 26px; }
  .practice-cards { grid-template-columns: 1fr; }
  .trust-band .container { grid-template-columns: 1fr; gap: 14px; }
  .trust-band .band-label { white-space: normal; }
}
@media (max-width: 600px) {
  .trust-page .page-header { padding: 68px 0 48px; }
  .trust-section { padding: 52px 0; }
  .entity-table th, .entity-table td { display: block; width: auto; }
  .entity-table th { padding-bottom: 4px; border-bottom: 0; }
  .entity-table td { padding-top: 0; }
}
