/* ============================================================
   trust.css — shared styles for the trust/policy document pages
   (security.html, privacy.html, terms.html, compliance.html)
   OpenAI-policies aesthetic: quiet, typographic, generous space.
   ============================================================ */

/* ---------- Hero ---------- */
.tr-hero {
    padding: 152px 24px 16px;
    text-align: center;
}

.tr-hero .pg-kicker { margin-bottom: 18px; }

.tr-hero h1 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--c-n900);
    margin: 0 auto 16px;
    max-width: 720px;
}

.tr-hero-sub {
    font-size: 18px;
    line-height: 1.55;
    color: var(--c-n600);
    max-width: 620px;
    margin: 0 auto 20px;
}

.tr-hero-updated {
    font-size: 13px;
    color: var(--c-n300);
    margin: 0;
}

/* ---------- Document column ---------- */
.tr-doc {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 96px;
}

.tr-doc h2 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--c-n900);
    margin: 48px 0 14px;
    scroll-margin-top: 110px;
}

.tr-doc h2:first-child { margin-top: 0; }

.tr-doc h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--c-n900);
    margin: 28px 0 10px;
}

.tr-doc p,
.tr-doc li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-n600);
}

.tr-doc p { margin: 0 0 16px; }

.tr-doc ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 16px;
}

.tr-doc li { margin-bottom: 8px; }

.tr-doc strong { color: var(--c-n900); font-weight: 600; }

.tr-doc a {
    color: var(--c-accent-ink);
    text-decoration: underline;
    text-decoration-color: var(--c-brand-300);
    text-underline-offset: 3px;
    transition: text-decoration-color 200ms ease;
}

.tr-doc a:hover { text-decoration-color: var(--c-accent-ink); }

/* ---------- Callout ---------- */
.tr-callout {
    background: var(--c-g50);
    border: 1px solid var(--c-g200);
    border-radius: 12px;
    padding: 16px;
    margin: 24px 0;
}

.tr-callout p { margin: 0; font-size: 15px; }
.tr-callout p + p { margin-top: 10px; }

/* ---------- Status table ---------- */
.tr-table-wrap {
    margin: 24px 0 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tr-status-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.tr-status-table th {
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    color: var(--c-n300);
    padding: 10px 16px 10px 0;
    border-bottom: 1px solid var(--c-g200);
    white-space: nowrap;
}

.tr-status-table td {
    font-size: 15px;
    line-height: 1.55;
    color: var(--c-n600);
    padding: 14px 16px 14px 0;
    border-bottom: 1px solid var(--c-g100);
    vertical-align: top;
}

.tr-status-table td:first-child {
    color: var(--c-n900);
    font-weight: 600;
    white-space: nowrap;
}

/* Status chips */
.tr-chip {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.tr-chip--live        { background: #e7f6ec; color: #1f9d57; }
.tr-chip--progress    { background: #fbf1dc; color: #c98a16; }
.tr-chip--aligned     { background: #e9f1ff; color: #3a52d6; }
.tr-chip--provisional { background: #e7f6ec; color: #1f7d4a; }

/* ---------- Accreditation certificate ---------- */
.tr-cert {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--c-g50);
    border: 1px solid var(--c-g200);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.tr-cert-seal {
    flex: 0 0 auto;
    width: 120px;
    height: auto;
}

.tr-cert-body { min-width: 0; }

.tr-cert-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-n900);
    margin: 0 0 14px;
}

.tr-cert-meta { margin: 0 0 14px; }

.tr-cert-meta > div {
    display: flex;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid var(--c-g200);
}

.tr-cert-meta > div:first-child { border-top: 0; padding-top: 0; }

.tr-cert-meta dt {
    flex: 0 0 148px;
    font-size: 13px;
    color: var(--c-n300);
}

.tr-cert-meta dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--c-n900);
}

.tr-cert-note {
    font-size: 13px;
    line-height: 1.6;
    color: var(--c-n300);
    margin: 0;
}

@media (max-width: 720px) {
    .tr-cert { flex-direction: column; align-items: center; gap: 18px; text-align: left; }
    .tr-cert-seal { width: 96px; }
    .tr-cert-meta > div { flex-direction: column; gap: 2px; }
    .tr-cert-meta dt { flex-basis: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .tr-hero { padding: 128px 20px 8px; }
    .tr-hero h1 { font-size: 34px; }
    .tr-hero-sub { font-size: 16px; }
    .tr-doc { padding: 36px 20px 72px; }
    .tr-doc h2 { font-size: 20px; margin-top: 40px; }
}
