.terms-brand { background: #fff; border-bottom: 1px solid #efe6eb; }
.terms-brand img { display: block; max-height: 230px; object-fit: contain; }
.purchase-terms { background: #faf7f9; padding: 42px 0 80px; font-family: Arial, Helvetica, sans-serif; }
.purchase-terms p, .terms-clause h2, .terms-index h2, .terms-help h2 { font-family: inherit; }
.terms-container { max-width: 1180px; }
.purchase-terms a { color: #96205e; text-underline-offset: 4px; }
.purchase-terms a:focus-visible { outline: 3px solid #ad276e; outline-offset: 5px; border-radius: 3px; }
.terms-back { margin-bottom: 34px; }
.terms-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.terms-eyebrow { color: #96205e; font-size: .73rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.terms-hero h1 { color: #332533; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.25rem, 4.5vw, 3.65rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; margin: 0; }
.terms-date { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; background: #fff; border: 1px solid #e9dfe5; border-radius: 30px; padding: 10px 15px; font-size: .75rem; color: #645361; }
.terms-date i { color: #ad276e; }
.terms-intro { max-width: 760px; font-size: 1rem; color: #6a5d68; line-height: 1.8; margin: 24px 0 38px; }
.terms-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 32px; align-items: start; }
.terms-sidebar { position: sticky; top: 24px; }
.terms-index { padding: 25px 22px; background: #fff; border: 1px solid #e9dfe5; border-radius: 14px; }
.terms-index h2 { font-size: .72rem; color: #645361; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 18px; }
.terms-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.terms-index a { display: flex; align-items: baseline; gap: 11px; padding: 8px 0; font-size: .8rem; text-decoration: none; color: #60545e; line-height: 1.5; }
.terms-index a span { font-size: .7rem; color: #ad276e; font-variant-numeric: tabular-nums; }
.terms-index a:hover { color: #96205e; text-decoration: underline; }
.terms-help { margin-top: 20px; border-radius: 14px; padding: 24px; background: #f1e5ed; }
.terms-help > i { font-size: 1.4rem; color: #96205e; }
.terms-help h2 { color: #432d3e; font-size: 1rem; margin: 12px 0 8px; }
.terms-help p { color: #695362; font-size: .82rem; line-height: 1.7; }
.terms-help a { display: block; font-size: .8rem; margin-top: 12px; overflow-wrap: anywhere; }
.terms-help a:last-child { font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.terms-help a:last-child i { margin-left: 6px; font-size: .85rem; }
.terms-document { background: #fff; border: 1px solid #e9dfe5; border-radius: 16px; padding: 12px 40px 0; box-shadow: 0 12px 40px rgba(63, 32, 52, .035); }
.terms-clause { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 18px; padding: 30px 0; border-bottom: 1px solid #eee7ec; scroll-margin-top: 24px; }
.terms-clause:target h2 { color: #96205e; }
.terms-number { color: #ad276e; font-size: .78rem; font-weight: 600; padding-top: 4px; font-variant-numeric: tabular-nums; }
.terms-clause h2 { color: #3f2d3b; font-size: 1.1rem; font-weight: 600; line-height: 1.5; margin: 0 0 12px; }
.terms-clause p { color: #635b62; font-size: .92rem; line-height: 1.9; margin: 0; }
.terms-clause p + p { margin-top: 12px; }
.terms-clause ul { color: #635b62; font-size: .92rem; line-height: 1.9; padding-left: 20px; margin: 12px 0; }
.terms-clause li + li { margin-top: 7px; }
.terms-clause p, .terms-clause li { overflow-wrap: anywhere; }
.terms-help.terms-related a { font-size: .8rem; font-weight: 400; line-height: 1.6; text-decoration: underline; }
.legal-table { width: 100%; margin-top: 18px; font-size: .83rem; line-height: 1.7; color: #635b62; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 15px 12px; border-bottom: 1px solid #eee7ec; vertical-align: top; overflow-wrap: anywhere; }
.legal-table thead th { background: #faf5f8; color: #733653; font-size: .72rem; letter-spacing: .04em; font-weight: 600; }
.legal-table tbody th { color: #493542; font-weight: 600; }
.terms-detail-link { display: inline-block; margin-top: 15px; font-size: .85rem; }
.terms-contact-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; }
.terms-contact-links a { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; overflow-wrap: anywhere; }
.terms-document-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding: 24px 0; font-size: .74rem; color: #786c75; }
.terms-document-footer a { text-decoration: none; }
@media (max-width: 991px) {
    .terms-heading-row { align-items: flex-start; flex-direction: column; gap: 20px; }
    .terms-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
    .terms-document { padding: 8px 25px 0; }
    .terms-index, .terms-help { padding: 20px 16px; }
}
@media (max-width: 767px) {
    .purchase-terms { padding: 28px 0 44px; }
    .terms-back { margin-bottom: 26px; }
    .terms-intro { font-size: .92rem; margin-bottom: 26px; }
    .terms-layout { grid-template-columns: minmax(0, 1fr); }
    .terms-sidebar { position: static; }
    .terms-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 18px; }
    .terms-help { display: none; }
    .terms-document { padding: 0 22px; }
    .terms-clause { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 26px 0; }
    .terms-clause h2 { font-size: 1.05rem; }
    .legal-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
    .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
    .legal-table tr { border: 1px solid #eee7ec; border-radius: 10px; margin-top: 12px; overflow: hidden; }
    .legal-table tbody th { background: #faf5f8; }
    .legal-table td:last-child { border: 0; padding-top: 0; font-size: .76rem; color: #786b75; }
}
@media (max-width: 380px) { .terms-index ol { grid-template-columns: minmax(0, 1fr); } }
@media print {
    body > .text-white, .terms-brand, .terms-back, .terms-sidebar, body > footer, .terms-document-footer a { display: none !important; }
    .purchase-terms { background: #fff; padding: 0; }
    .terms-layout { display: block; }
    .terms-heading-row { display: block; }
    .terms-hero h1 { font-size: 28pt; }
    .terms-date { border: 0; padding: 12px 0 0; }
    .terms-document { border: 0; padding: 0; box-shadow: none; }
    .terms-clause { break-inside: avoid; padding: 18px 0; }
    .terms-clause p { color: #333; font-size: 10pt; }
}
