.legal-top { background: var(--plum); color: #fff; padding: 22px 20px 64px; }
.legal-top .in { max-width: 760px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.legal-top a.home { color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.legal-top a.home img { width: 30px; height: 30px; border-radius: 8px; }
.legal-top .switch { color: #fff; background: rgba(255,255,255,.14); border-radius: 8px; padding: 7px 14px; text-decoration: none; font-size: 14px; }
.doc { max-width: 760px; margin: -44px auto 0; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 34px 28px 30px; }
.doc h1 { font-size: 32px; margin: 0 0 4px; font-weight: 660; letter-spacing: -.4px; }
.doc .updated { color: var(--muted); margin: 0 0 24px; }
.doc h2 { font-size: 20px; font-weight: 620; margin: 30px 0 8px; }
.doc p, .doc li { line-height: 1.7; max-width: 68ch; }
.doc ul { padding-inline-start: 22px; }
.doc .summary { background: var(--violet-soft); border-radius: 14px; padding: 14px 18px; margin: 0 0 8px; }
.doc .summary p { margin: 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0; }
.doc th, .doc td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 600; }
section.lang-ar { font-size: 17px; }
@media (max-width: 560px) { .doc { padding: 26px 18px; margin-inline: 12px; } .doc table { font-size: 14px; } }
.center-doc { text-align: center; }
.center-doc p { margin-inline: auto; }
.big-code { font-size: 84px; font-weight: 700; color: var(--line); margin: 0; line-height: 1; letter-spacing: -2px; }
.doc-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.done-mark { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); }
.done-mark svg { width: 30px; height: 30px; }
.ty-next { text-align: start; max-width: 30em; margin: 18px auto 0; display: grid; gap: 8px; padding-inline-start: 22px; }
.contact-direct { margin: 0 0 18px; }
.contact-form { display: grid; gap: 14px; max-width: 560px; }
.cf-row { display: grid; gap: 6px; }
.cf-row label { font-weight: 500; font-size: 15px; }
.contact-form input, .contact-form select, .contact-form textarea { border: 2px solid var(--line); border-radius: 12px; padding: 12px; font-size: 16px; background: var(--bg); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--violet); background: #fff; }
.contact-form .btn { justify-self: start; }
.cf-legal { font-size: 13.5px; color: var(--muted); margin: 0; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
