/* Terms & Conditions page (/Terms, /{en|fr|ar}/terms). Page-scoped (x10t-*). Uses logical properties so the same
   rules serve LTR (en, fr) and RTL (ar); direction comes from the dir attribute, never from a visual toggle. */
.x10t { --t-bg: #001021; --t-panel: #0A1C30; --t-line: rgba(255, 255, 255, .1); --t-text: rgba(255, 255, 255, .88); --t-muted: rgba(255, 255, 255, .66); --t-gold: #E9A722;
    min-height: calc(100vh - 64px); padding: 24px 16px 56px; background: var(--t-bg); color: var(--t-text); box-sizing: border-box;
    font-family: 'Proxima Nova', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Roboto, sans-serif; }
.x10t *, .x10t *::before, .x10t *::after { box-sizing: border-box; }
.x10t-shell { width: min(1120px, 100%); margin-inline: auto; }

.x10t-skip { position: absolute; inset-inline-start: 12px; top: -64px; z-index: 10; padding: 10px 14px; border-radius: 8px; background: var(--t-gold); color: #001021; font-weight: 700; text-decoration: none; }
.x10t-skip:focus { top: 12px; }

/* breadcrumb */
.x10t-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13px; color: var(--t-muted); }
.x10t-crumbs li + li::before { content: '/'; margin-inline-end: 6px; color: var(--t-muted); }
.x10t-crumbs a { color: var(--t-muted); text-decoration: none; }
.x10t-crumbs a:hover { color: #fff; text-decoration: underline; }
.x10t-crumbs [aria-current="page"] { color: #fff; }

/* heading block (a div on purpose: the site's global CSS styles every <header> element) */
.x10t-head { height: auto; background: none; padding: 0; }
.x10t-title { margin: 0 0 10px; font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.15; color: #fff; }
.x10t-intro { margin: 0 0 12px; max-width: 70ch; font-size: 15px; line-height: 1.7; color: var(--t-text); }
.x10t-meta { margin: 0 0 18px; font-size: 13px; color: var(--t-muted); }
.x10t-meta span { color: var(--t-muted); }
.x10t-meta time { color: #fff; font-weight: 700; }

/* language selector */
.x10t-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 22px; }
.x10t-lang-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-muted); }
.x10t-lang ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.x10t-lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--t-line); border-radius: 10px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color var(--x10-dur-fast, 120ms) ease, background-color var(--x10-dur-fast, 120ms) ease; }
.x10t-lang a:hover { border-color: rgba(233, 167, 34, .6); }
.x10t-lang a.is-current { border-color: var(--t-gold); background: rgba(233, 167, 34, .14); color: var(--t-gold); }

.x10t-notice { margin: 0 0 22px; padding: 12px 16px; border-inline-start: 3px solid var(--t-gold); border-radius: 0 10px 10px 0; background: rgba(233, 167, 34, .08); font-size: 14px; line-height: 1.6; color: #fff; }
[dir="rtl"] .x10t-notice { border-radius: 10px 0 0 10px; }

/* layout: table of contents + article */
.x10t-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 992px) { .x10t-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; } }

.x10t-toc { border: 1px solid var(--t-line); border-radius: 12px; background: var(--t-panel); }
@media (min-width: 992px) { .x10t-toc { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; } }
.x10t-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.x10t-toc summary::-webkit-details-marker { display: none; }
.x10t-toc summary::after { content: ''; width: 8px; height: 8px; border-inline-end: 2px solid var(--t-muted); border-bottom: 2px solid var(--t-muted); transform: rotate(45deg); transition: transform var(--x10-dur-fast, 120ms) ease; }
.x10t-toc details[open] summary::after { transform: rotate(-135deg); }
.x10t-toc ol { margin: 0; padding: 0 8px 12px; list-style: none; }
.x10t-toc a { display: block; padding: 9px 10px; border-inline-start: 2px solid transparent; border-radius: 6px; color: var(--t-muted); font-size: 14px; line-height: 1.35; text-decoration: none; }
.x10t-toc a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.x10t-toc a.is-active { color: var(--t-gold); border-inline-start-color: var(--t-gold); background: rgba(233, 167, 34, .08); }

/* article */
.x10t-content { min-width: 0; max-width: 780px; outline: none; }
.x10t-part { margin: 0 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--t-line); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t-gold); }
.x10t-section { padding: 22px 0 6px; border-bottom: 1px solid var(--t-line); scroll-margin-top: 90px; }
.x10t-section:last-of-type { border-bottom: 0; }
.x10t-section h3 { margin: 0 0 14px; font-size: 20px; font-weight: 800; line-height: 1.3; color: #fff; }
.x10t-section p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; color: var(--t-text); overflow-wrap: anywhere; }
.x10t-related ul { margin: 0 0 14px; padding-inline-start: 20px; line-height: 2; }
.x10t-content a, .x10t-related a { color: var(--t-gold); text-underline-offset: 3px; }
.x10t-content a:hover { color: #F2B94A; }
.x10t-top { margin: 24px 0 0; font-size: 14px; }

.x10t a:focus-visible, .x10t summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }

@media (max-width: 480px) { .x10t { padding: 18px 12px 44px; } .x10t-section h3 { font-size: 18px; } .x10t-section p { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .x10t * { transition: none !important; scroll-behavior: auto !important; } }
html[data-x10-motion="reduced"] .x10t * { transition: none !important; }
