/* Phase 7: all rules opt in to trust-pages; earlier pages and shared files are unchanged. */
body.trust-pages[data-page="certification"] section.pilot-hero { min-height: 280px; padding: 54px 0; background: #10243e; }
body.trust-pages[data-page="contact"] section.pilot-hero { min-height: 280px; padding: 48px 0; background-image: linear-gradient(90deg, rgba(8,18,36,.9), rgba(8,18,36,.52)), url('../img/hero-contact.jpg'); background-position: center 52%; }
body.trust-pages .pilot-hero h1 { max-width: 1000px; }
body.trust-pages .pilot-hero p { max-width: 820px; }
body.trust-pages .pilot-hero p + p { margin-top: 12px; }
html[lang="en"] body.trust-pages .pilot-section :is(p, li) { word-break: normal; }

/* Document originals contain their own frames. No cropping, filtering or reconstruction is applied. */
body.trust-pages .credential-navigation { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 0 0 28px; margin-bottom: 32px; border-bottom: 1px solid var(--pilot-line); }
body.trust-pages .credential-navigation label { color: var(--pilot-muted); font-size: 14px; font-weight: 600; }
body.trust-pages .credential-navigation select { width: min(100%, 540px); min-height: 48px; padding: 10px 38px 10px 14px; border: 1px solid #cbd5e1; border-radius: 3px; background-color: #fff; color: var(--pilot-ink); font: inherit; font-size: 14px; text-overflow: ellipsis; }
body.trust-pages .credential-navigation select:focus-visible { outline: 3px solid var(--pilot-blue); outline-offset: 4px; }
body.trust-pages .credential-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
body.trust-pages .credential-document { display: block; align-self: start; min-width: 0; width: 100%; padding: 0; border: 0; border-radius: 3px; background: transparent; box-shadow: none; color: var(--pilot-ink); font: inherit; text-align: left; cursor: zoom-in; scroll-margin-top: 110px; }
body.trust-pages .credential-preview { display: flex; justify-content: center; align-items: center; width: 100%; height: 340px; padding: 20px; border: 1px solid var(--pilot-line); border-radius: 3px; background: #f5f7fa; }
body.trust-pages .credential-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; transform: none; filter: none; }
body.trust-pages .credential-caption { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: baseline; margin-top: 18px; font-size: 18px; font-weight: 650; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
body.trust-pages .credential-number { color: #1858ac; font-size: 12px; font-weight: 600; }
body.trust-pages .credential-zoom-hint { display: block; margin: 8px 0 0 36px; color: var(--pilot-muted); font-size: 12px; font-weight: 400; line-height: 1.7; }
body.trust-pages .credential-document:hover .credential-preview { border-color: #8baed6; }
body.trust-pages .credential-document:hover .credential-caption { color: #1858ac; }
body.trust-pages .credential-notice { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--pilot-line); color: var(--pilot-muted); font-size: 14px; line-height: 1.9; }
body.trust-pages .credential-notice strong { display: inline-block; margin-bottom: 6px; }
html[lang="en"] body.trust-pages .credential-caption { word-break: normal; }

/* Contact actions precede guidance in both source and visual order. */
body.trust-pages .support-contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 88px; align-items: start; }
body.trust-pages .support-contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; list-style: none; padding: 0; margin: 0; }
body.trust-pages .support-contact-list > li { min-width: 0; padding: 20px 0; margin: 0; border-top: 1px solid var(--pilot-line); }
body.trust-pages .support-contact-list > li > strong { display: block; color: var(--pilot-muted); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
body.trust-pages .support-contact-list > .support-contact-method { grid-column: 1 / -1; }
body.trust-pages .support-contact-list > .support-contact-method:first-child { border-top: 2px solid #17395d; padding-top: 22px; }
body.trust-pages .support-contact-list > .support-address { grid-column: 1 / -1; }
body.trust-pages .support-contact-value { color: var(--pilot-ink); font-size: 16px; line-height: 1.85; overflow-wrap: break-word; }
body.trust-pages .support-contact-action { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: #1858ac; font-size: 26px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; text-decoration: underline; text-decoration-color: #b6cce4; text-underline-offset: 7px; overflow-wrap: anywhere; }
body.trust-pages .support-contact-action[href^="tel:"] { color: var(--pilot-ink); font-size: 30px; }
body.trust-pages .support-contact-action:hover { color: #164c96; text-decoration-color: currentColor; }
body.trust-pages .support-contact-detail a { color: #1858ac; text-underline-offset: 5px; }
body.trust-pages .support-guide { padding-top: 24px; border-top: 2px solid #17395d; }
body.trust-pages .support-guide h3,
body.trust-pages .support-materials h3 { margin: 0 0 20px; }
body.trust-pages .support-guide-list { list-style: none; padding: 0; margin: 0; }
body.trust-pages .support-guide-list li { margin: 0; padding: 14px 0; border-top: 1px solid var(--pilot-line); font-size: 15px; line-height: 1.9; }
body.trust-pages .support-guide-list li:first-child { border-top: 0; padding-top: 0; }
body.trust-pages .support-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--pilot-line); color: var(--pilot-muted); font-size: 14px; line-height: 1.9; }
body.trust-pages .support-review > .section-lead { margin-bottom: 32px; max-width: 900px; }
body.trust-pages .support-review-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 88px; align-items: start; }
body.trust-pages .support-checklist-items { list-style: none; padding: 0; margin: 0; counter-reset: inquiry; }
body.trust-pages .support-checklist-items li { position: relative; padding: 20px 0 20px 40px; margin: 0; border-top: 1px solid var(--pilot-line); line-height: 1.85; counter-increment: inquiry; }
body.trust-pages .support-checklist-items li::before { content: counter(inquiry, decimal-leading-zero); position: absolute; top: 23px; left: 0; color: #1858ac; font-size: 12px; font-weight: 600; }
body.trust-pages .support-checklist-items strong { display: block; margin-bottom: 6px; }
body.trust-pages .support-materials { padding-top: 20px; border-top: 1px solid var(--pilot-line); }
@media (min-width: 769px) and (max-width: 1100px) {
  body.trust-pages .support-contact-layout,
  body.trust-pages .support-review-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; }
  body.trust-pages .support-contact-action { font-size: 22px; }
}
@media (max-width: 900px) {
  body.trust-pages .credential-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (max-width: 768px) {
  body.trust-pages[data-page="certification"] section.pilot-hero,
  body.trust-pages[data-page="contact"] section.pilot-hero { min-height: 0; padding: 40px 0 42px; }
  body.trust-pages .credential-preview { height: 320px; padding: 18px; }
  body.trust-pages .credential-caption { font-size: 17px; }
  body.trust-pages .support-contact-layout,
  body.trust-pages .support-review-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  body.trust-pages .support-contact-action { font-size: 24px; }
  body.trust-pages .support-contact-action[href^="tel:"] { font-size: 28px; }
  body.trust-pages .support-guide { padding-top: 24px; }
  body.trust-pages .support-checklist-items li { padding-left: 36px; }
}
@media (max-width: 540px) {
  body.trust-pages .credential-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  body.trust-pages .credential-navigation { display: block; margin-bottom: 28px; padding-bottom: 24px; }
  body.trust-pages .credential-navigation label { display: block; margin-bottom: 10px; }
  body.trust-pages .credential-navigation select { width: 100%; }
  body.trust-pages .support-contact-list { grid-template-columns: minmax(0, 1fr); }
  body.trust-pages .support-contact-action { font-size: 22px; }
}
