/* Infinity Advisors — palette and original artwork from the supplied identity guide. */
@font-face{font-family:'Brand Arabic';src:url('assets/naskh-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Brand Arabic';src:url('assets/naskh-bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
:root{--primary:#184754;--primary-hover:#0c3441;--teal:#218289;--accent:#e9dccf;--sand:#c4aa89;--ink:#183941;--muted:#43646d;--border:#dedbd5;--bg:#fff5ee;--radius:12px;--font-display:'Lyon Arabic Text','Brand Arabic',serif;--font-body:'Lyon Arabic Text',Arabic,Arial,sans-serif}
body{font-family:var(--font-body)}
h1,h2,h3{font-family:var(--font-display)}
h2{font-size:32px}h3{font-size:25px}
.header{height:116px;background:#fffaf7;border-bottom:1px solid #e9dccf}
.header-inner{gap:34px}
.brand{display:block;flex-shrink:0;line-height:0}
.brand img{display:block;width:290px;height:80px;object-fit:contain}
.header nav{gap:38px;font-size:15px}
.navlink.active:after{background:var(--teal);height:3px}
.edition{font-size:11px;line-height:1.9}
.edition b{font-family:var(--font-display);font-size:26px;color:var(--primary)}
.hero{background:radial-gradient(ellipse at 0% 0%,#218289 0%,#184754 58%,#0c3441 100%);border-bottom:4px solid var(--accent)}
.hero:after{width:640px;height:460px;top:auto;bottom:-200px;left:-70px;border:0;border-radius:0;box-shadow:none;background:url('assets/identity-pattern.svg') center/cover no-repeat;opacity:.27}
.hero-inner{padding:44px 36px 50px;grid-template-columns:1.15fr 1fr;gap:70px;min-height:390px}
.hero h1{font-size:54px;line-height:1.4;font-weight:700;letter-spacing:0}
.hero h1 span{color:var(--accent)}
.eyebrow{color:var(--accent);font-size:12px;margin-bottom:20px}
.eyebrow i{background:var(--sand)}
.hero-copy p{color:#f3eae1;font-size:15px;line-height:1.95;margin-top:18px;max-width:480px}
.hero-action{display:inline-flex;gap:24px;align-items:center;margin-top:24px;padding:10px 19px;min-height:46px;color:var(--primary);background:var(--accent);border:1px solid var(--accent);border-radius:6px;font-size:14px;font-weight:700;transition:background .15s,transform .15s}
.hero-action:hover{background:#fff5ee;transform:translateY(-1px)}
.hero-action span{font-family:Arial,sans-serif;font-size:20px}
.hero-tags{font-size:11px;color:#e9dccf;margin-top:19px;gap:20px}
.hero-tags span+span{padding-inline-start:20px;border-color:#e9dccf44}
.identity-visual{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;padding:16px 12px}
.hero-monogram{width:180px;height:167px;object-fit:contain}
.brand-motto{font-family:var(--font-display);font-size:27px;line-height:1.5;color:#fff5ee;margin-top:16px}
.journey-strip{display:flex;align-items:center;justify-content:center;gap:14px;font-size:12px;color:#e9dccf;border-top:1px solid #e9dccf44;margin-top:24px;padding-top:18px;width:100%;max-width:355px}
.journey-strip i{height:3px;width:3px;border-radius:50%;background:#c4aa89}
.page-wrap{padding-top:40px}
.section-kicker{font-size:12px;color:var(--muted)}
.form-card{box-shadow:0 7px 24px #18475405;border-color:#e3d9cf}
.section-nav{background:#faf3ec;border-bottom-color:#e9dccf;padding-block:15px}
.section-nav a{font-size:13px;border-bottom-color:#c4aa89}
.form-section-title{font-size:27px}
.type-choice span{border-radius:7px;transition:background .15s,border-color .15s}
.type-choice input:checked+span{background:#edf5f4;border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal)}
.type-choice input:checked+span svg{color:var(--teal)}
.type-choice:hover span{background:#f4f8f7}
.field-label,legend{color:var(--primary)}
button.primary,.primary-link{background:var(--primary);border-color:var(--primary);border-radius:6px}
button.primary:hover,.primary-link:hover{background:var(--primary-hover)}
button.secondary{border-color:#c8d2d3;border-radius:6px}
.side-guide{background:#e9dccf;border-color:#e1d1bf;position:sticky;top:24px;overflow:hidden}
.side-guide:after{content:'';position:absolute;bottom:-120px;left:-150px;width:450px;height:320px;background:url('assets/identity-pattern.svg') center/cover no-repeat;opacity:.08;pointer-events:none}
.side-guide>*{position:relative;z-index:1}
.side-guide h3{font-size:34px;line-height:1.35;color:var(--primary)}
.side-guide>p,.side-guide li small,.aside-foot p{color:#3e5961}
.aside-icon{background:#fff5ee;border-radius:7px;color:var(--primary)}
.side-guide li b{font-size:15px;color:var(--primary)}
.checkmark{background:#184754;color:#fff5ee}
.aside-foot{border-color:#c4aa89}
.aside-foot b{font-weight:700}
#execution-path{border-top-color:#d1c3b1;margin-top:40px}
.result-placeholder{background:#faf0e6;border-color:#c4aa89}
.result-placeholder h3{font-size:28px}
.results-head{border-inline-start:3px solid var(--teal)}
.results-head h3{font-size:29px}
.stat.highlight{background:var(--primary);border-color:var(--primary)}
.stat.highlight small,.stat.highlight p{color:#e9dccf}
.stat.highlight strong{color:#fff5ee}
.stat strong{font-variant-numeric:tabular-nums}
.result-tabs button.active{border-bottom-color:var(--teal)}
.timeline h3{font-size:25px}
.timeline .time{font-family:var(--font-body);background:#e9dccf;color:#184754}
.timeline>li:before{background:var(--primary);color:#fff5ee}
.panel-note{background:#f4eae0;color:#43646d}
.rule-card h3{font-size:24px}
.ref{color:var(--primary);border-color:#d5dede;border-radius:4px}
.ref:hover{background:#edf5f4}
.law-article{border-color:#e2d6ca;border-radius:10px;max-width:1040px;margin:20px auto}
.article-heading{background:#f5ebe1;border-bottom-color:#e9dccf;border-inline-start:3px solid var(--teal);padding:18px 28px 13px}
.article-heading h3{font-size:28px;color:var(--primary)}
.article-body{font-family:var(--font-display);font-size:21px;line-height:2;padding:4px 30px 26px;color:#183941}
.article-body a{font-family:var(--font-body);color:var(--muted);font-size:12px}
.library-tools{margin-top:28px}
.pill{border-color:#d1c3b1;background:#faf3ec;color:#43646d}
dialog{border-radius:12px;border-color:#d1c3b1;background:#fffaf7}
dialog::backdrop{background:#0c3441c2}
#dialog-body{font-family:var(--font-display);font-size:21px;line-height:1.95}
footer{max-width:none;padding:30px max(36px,calc((100vw - 1208px)/2));background:#e9dccf;border-top:1px solid #d1c3b1;color:var(--primary)}
.footer-brand{line-height:0;display:block;flex-shrink:0}
.footer-brand img{width:230px;height:64px;object-fit:contain;display:block}
.footer-copy{display:flex;flex-direction:column;gap:3px}
.footer-copy b{font-family:var(--font-display);font-size:24px;font-weight:400}
.footer-copy span{font-size:12px;color:var(--muted)}
@media(max-width:1000px){.header-inner{gap:20px}.brand img{width:250px;height:70px}.hero-inner{gap:35px;padding-inline:24px}.hero h1{font-size:46px}.hero-monogram{width:150px;height:139px}.brand-motto{font-size:24px}.journey-strip{gap:10px;font-size:11px}.side-guide h3{font-size:30px}}
@media(max-width:750px){
 .header{height:auto}.header-inner{padding:17px 20px 0;justify-content:center;gap:10px}.brand img{width:258px;height:72px}.header nav{justify-content:center;width:100%;height:46px;gap:35px;font-size:14px}.edition{display:none}
 .hero-inner{grid-template-columns:1fr;min-height:0;padding:30px 24px 32px;gap:0}.hero h1{font-size:42px;line-height:1.45;letter-spacing:0}.hero-copy p{font-size:14px;margin-top:14px}.hero:after{left:-280px;bottom:-150px;width:520px;height:370px;opacity:.16}.identity-visual{display:none}.hero-action{font-size:13px;margin-top:20px}.hero-tags{font-size:11px;margin-top:18px;gap:15px}.hero-tags span+span{padding-inline-start:15px}.eyebrow{margin-bottom:17px;font-size:11px}
 h2{font-size:28px}.page-wrap{padding:28px 16px 40px}.form-section-title{font-size:25px}.section-nav{padding:14px 16px;gap:10px}.section-nav a{font-size:12px}.type-choice span{font-size:13px}.side-guide{position:relative;top:auto}.side-guide h3{font-size:30px}.side-guide>p{font-size:14px}.results-head h3{font-size:26px}.result-placeholder h3{font-size:25px}.timeline h3{font-size:23px}.rule-card h3{font-size:22px}
 .article-heading{padding:16px 18px 10px}.article-heading h3{font-size:25px}.article-body{font-size:20px;padding-inline:20px;line-height:1.95}.law-article{margin:16px 0}#dialog-body{font-size:20px}
 footer{padding:27px 24px;align-items:flex-start;gap:17px}.footer-brand img{width:240px;height:66px}.footer-copy{display:none}footer .text-button{padding:0}
}
@media(prefers-reduced-motion:reduce){.hero-action,.type-choice span{transition:none}.hero-action:hover{transform:none}}
@media print{body{background:white}.stat.highlight{background:white;border-color:#aaa}.stat.highlight small,.stat.highlight p,.stat.highlight strong{color:#183941}.identity-visual,.hero-action{display:none}.results-head h3{font-size:24px}.timeline h3,.rule-card h3{font-size:20px}a{color:#184754}}
