:root { --paper: #f3efe5; --ink: #11100d; --muted: #756e61; --line: #251f1624; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.7; }
html[dir="rtl"] body { font-family: 'Noto Sans Arabic', system-ui, sans-serif; }
a { color: inherit; }
button, select { font: inherit; }
.icon { display: block; width: 20px; height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; max-width: 980px; margin: auto; padding: 1rem clamp(16px,4vw,32px); }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.site-header .brand { color: #168fb7; text-decoration: none; }
.site-header .brand-wordmark { text-shadow: none; }
.site-header .brand-symbol { filter: none; }
.site-header :is(.theme-toggle, .language-trigger) { background: var(--theme-surface); color: var(--ink); border-color: var(--line); backdrop-filter: none; }
html[data-theme="dark"] .site-header .brand { color: #43c4e9; }
.terms-page { width: min(680px, calc(100% - 32px)); margin: 1rem auto 3rem; padding: clamp(20px,5vw,40px); border: 1px solid var(--line); border-radius: 24px; background: var(--theme-surface); }
.terms-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-underline-offset: 4px; font-size: .85rem; margin-bottom: 1rem; }
.terms-eyebrow { color: #168fb7; font-size: .8rem; font-weight: 750; letter-spacing: .12em; margin: 0; }
h1 { font-size: clamp(1.8rem,7vw,2.5rem); line-height: 1.25; margin: .5rem 0 1rem; letter-spacing: -.035em; }
h2 { font-size: 1.05rem; line-height: 1.5; margin: 0 0 .6rem; }
p { font-size: .9rem; margin: .5rem 0; }
.terms-intro { color: var(--muted); font-size: .95rem; }
section { padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.terms-notifications { padding: 1.1rem; border: 1px solid #168fb740; border-radius: 17px; background: #168fb70a; }
.terms-icon { display: grid; place-items: center; color: #117a9f; width: 36px; height: 36px; border-radius: 11px; background: #168fb718; margin-bottom: .8rem; }
.terms-shop { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; padding: .5rem 1rem; border-radius: 12px; background: #117a9f; color: white; text-decoration: none; font-weight: 700; }
:is(a,button,select):focus-visible { outline: 3px solid #43c4e9; outline-offset: 3px; }
html[data-theme="dark"] :is(.terms-icon,.terms-eyebrow) { color: #59cbee; }
@media(max-width:400px) { .site-header .brand { --brand-symbol-width: 27px; gap: .3rem; max-width: none; } .site-header .brand-wordmark { font-size: 1.1rem; } .terms-page { padding: 20px; } }
