@import url('/enhancements.css');
@import url('/theme.css');
@import url('/site-shell.css');
:root{
  --ink:#071426;
  --ink-2:#10233c;
  --muted:#607087;
  --line:#dfe5eb;
  --paper:#f7f9fb;
  --white:#ffffff;
  --accent:#c8a85d;
  --accent-strong:#af8a34;
  --success:#237a57;
  --radius:22px;
  --shadow:0 20px 60px rgba(7,20,38,.10);
  --shell:min(1180px,calc(100% - 40px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--white);line-height:1.55}
html[dir="rtl"] body{font-family:"Segoe UI",Tahoma,Arial,sans-serif}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
.shell{width:var(--shell);margin-inline:auto}
.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}
.skip-link{position:fixed;z-index:1000;inset-inline-start:16px;top:-60px;background:var(--ink);color:#fff;padding:10px 14px;border-radius:8px}
.skip-link:focus{top:16px}

.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid transparent;transition:.2s ease}
.site-header[data-elevated="true"]{border-color:rgba(7,20,38,.08);box-shadow:0 8px 24px rgba(7,20,38,.05)}
.header-inner{height:78px;display:flex;align-items:center;gap:28px}
.brand{display:inline-flex;align-items:center;gap:11px;min-width:max-content}
.brand-mark{width:38px;height:38px;color:var(--ink);display:grid;place-items:center}
.brand-mark svg{width:100%;height:100%}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-copy strong{font-size:1.14rem;letter-spacing:.14em}
.brand-copy small{font-size:.68rem;margin-top:4px;color:var(--muted);letter-spacing:.02em}
.desktop-nav{display:flex;align-items:center;gap:27px;margin-inline:auto;font-size:.91rem;color:#344459}
.desktop-nav a{position:relative;padding:28px 0}
.desktop-nav a:after{content:"";position:absolute;left:50%;right:50%;bottom:19px;height:1px;background:var(--accent);transition:.2s}
.desktop-nav a:hover:after{left:0;right:0}
.header-actions{display:flex;align-items:center;gap:10px}
.language-switch,.menu-toggle{border:0;background:transparent;color:var(--ink)}
.language-switch{padding:10px;font-weight:650}
.menu-toggle{width:40px;height:40px;display:none;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.menu-toggle span{width:18px;height:1.5px;background:currentColor}
.mobile-nav{display:none}

.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid transparent;font-weight:720;font-size:.9rem;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.button:hover{transform:translateY(-1px)}
.button-ghost{border-color:#ccd5df;background:#fff}
.button-accent{background:var(--accent);color:#111827;box-shadow:0 10px 24px rgba(200,168,93,.22)}
.button-accent:hover{background:#d3b66f}
.button-light{background:#fff;color:var(--ink)}
.button-outline-light{border-color:rgba(255,255,255,.35);color:#fff}

.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fbfcfd 0%,#f4f7fa 100%);border-bottom:1px solid #e5eaf0}
.hero-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(7,20,38,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(7,20,38,.035) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,black,transparent 88%)}
.hero-glow{position:absolute;border-radius:50%;filter:blur(10px);opacity:.55;pointer-events:none}
.hero-glow-a{width:520px;height:520px;right:-190px;top:-230px;background:radial-gradient(circle,rgba(200,168,93,.19),transparent 68%)}
.hero-glow-b{width:420px;height:420px;left:-160px;bottom:-180px;background:radial-gradient(circle,rgba(50,103,151,.12),transparent 70%)}
.hero-layout{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:70px;align-items:center;padding:88px 0 92px}
.eyebrow,.section-kicker{font-size:.74rem;text-transform:uppercase;letter-spacing:.15em;font-weight:780;color:#53657a}
.eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #d9e0e7;background:rgba(255,255,255,.72);border-radius:999px;text-transform:none;letter-spacing:.02em;font-size:.78rem}
.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 0 4px rgba(35,122,87,.1)}
.hero h1{font-size:clamp(3.15rem,6vw,6.2rem);line-height:.94;letter-spacing:-.055em;max-width:920px;margin:25px 0 24px;font-weight:760}
html[dir="rtl"] .hero h1{letter-spacing:-.025em;line-height:1.05}
.hero-lead{font-size:clamp(1.05rem,1.7vw,1.27rem);max-width:760px;color:#54657b;margin:0 0 34px}
.registry-search{display:grid;grid-template-columns:44px 1fr auto;align-items:center;max-width:780px;background:#fff;border:1px solid #d9e1e9;padding:8px;border-radius:18px;box-shadow:0 15px 45px rgba(7,20,38,.08)}
.search-icon{display:grid;place-items:center;color:#718197}.search-icon svg{width:22px;height:22px}
.registry-search input{width:100%;min-width:0;border:0;outline:0;padding:14px 8px;background:transparent;color:var(--ink);font-size:1rem}
.registry-search input::placeholder{color:#8c98a8}
.search-note{font-size:.78rem;color:#77869a;margin:10px 4px 0}
.hero-actions{display:flex;gap:24px;align-items:center;margin-top:27px}
.text-link{font-weight:720;font-size:.9rem}.muted-link{color:#65758a;font-weight:620}

.identity-card{position:relative;background:rgba(255,255,255,.92);border:1px solid rgba(132,149,170,.26);box-shadow:var(--shadow);border-radius:26px;padding:24px;overflow:hidden}
.identity-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--accent),#e3d19d 55%,transparent)}
.card-topline,.card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}
.status-pill{display:inline-flex;align-items:center;gap:7px;background:#edf7f2;color:#1d684a;border-radius:999px;padding:6px 10px;font-size:.76rem;font-weight:760}
.status-pill span:first-child{width:7px;height:7px;border-radius:50%;background:#2f8d67}
.record-label{font-size:.72rem;color:#8390a0;text-transform:uppercase;letter-spacing:.08em}
.entity-avatar{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;margin:34px 0 16px;background:#0c1c31;color:#fff;font-weight:800;letter-spacing:.09em}
.meta-label{margin:0;color:#8b97a6;font-size:.72rem;text-transform:uppercase;letter-spacing:.11em;font-weight:760}
.entity-heading h2{font-size:1.52rem;margin:4px 0 2px}.entity-heading p:last-child{margin:0;color:#637287;font-size:.9rem}
.gsein-number{margin:25px 0;background:#f3f6f8;border:1px solid #e0e6ec;border-radius:14px;padding:14px 15px;display:flex;flex-direction:column;gap:3px}
.gsein-number span{font-size:.68rem;letter-spacing:.12em;color:#79889a;font-weight:800}.gsein-number strong{font-size:.96rem;letter-spacing:.045em}
.entity-details{margin:0;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e5eaf0;border-bottom:1px solid #e5eaf0;padding:16px 0}
.entity-details div{padding:0 10px;border-inline-end:1px solid #e5eaf0}.entity-details div:first-child{padding-inline-start:0}.entity-details div:last-child{border:0}
.entity-details dt{font-size:.68rem;color:#8492a2}.entity-details dd{margin:3px 0 0;font-size:.82rem;font-weight:740}
.card-footer{margin-top:18px}.trust-mark{font-size:.75rem;color:#65758a}.trust-mark span:first-child{color:var(--success);font-weight:900}.arrow-button{width:36px;height:36px;border-radius:50%;border:1px solid #d6dee7;display:grid;place-items:center}

.metrics-strip{background:#fff;border-bottom:1px solid #e4e9ee}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.metric-grid article{padding:29px 30px;border-inline-end:1px solid #e4e9ee}.metric-grid article:first-child{padding-inline-start:0}.metric-grid article:last-child{border:0}
.metric-grid span,.metric-grid small{display:block;color:#728196;font-size:.76rem}.metric-grid strong{display:block;font-size:1.85rem;letter-spacing:-.035em;margin:6px 0 1px}.metric-grid small{font-size:.66rem}

.section{padding:102px 0}
.section-kicker{margin:0 0 14px;color:#7b6a41}
.section-kicker.light{color:#d8bf82}
.split-intro{display:grid;grid-template-columns:1.05fr .95fr;gap:110px;align-items:end;margin-bottom:46px}
.split-intro h2,.trust-copy h2,.interop-copy h2,.institution-inner h2{font-size:clamp(2.15rem,4vw,3.8rem);line-height:1.02;letter-spacing:-.045em;margin:0}
html[dir="rtl"] .split-intro h2,html[dir="rtl"] .trust-copy h2,html[dir="rtl"] .interop-copy h2,html[dir="rtl"] .institution-inner h2{letter-spacing:-.015em;line-height:1.12}
.split-intro>p,.trust-copy>p,.interop-copy>p,.institution-inner>div>p:last-child{color:#66768b;font-size:1rem;margin:0;max-width:620px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e0e6ec;border-radius:22px;overflow:hidden}
.feature-card{position:relative;padding:34px 32px 38px;min-height:310px;border-inline-end:1px solid #e0e6ec;background:#fff}.feature-card:last-child{border:0}
.feature-index{position:absolute;top:22px;right:24px;font-size:.7rem;color:#a3adba;font-weight:800;letter-spacing:.08em}html[dir="rtl"] .feature-index{right:auto;left:24px}
.feature-icon{width:48px;height:48px;border-radius:15px;background:#f0f3f6;display:grid;place-items:center;font-size:1.35rem;margin-bottom:54px}
.feature-card h3{font-size:1.18rem;margin:0 0 11px}.feature-card p{color:#6d7c90;margin:0;font-size:.92rem;max-width:300px}

.section-dark{background:#071426;color:#fff;overflow:hidden}
.interoperability-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:center}
.interop-copy>p{color:#aeb9c7;margin:25px 0 30px}
.network{position:relative;min-height:520px;display:grid;place-items:center}
.network:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(200,168,93,.13),transparent 58%)}
.network-ring{position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%}.ring-one{width:255px;height:255px}.ring-two{width:425px;height:425px}
.network-core{position:relative;z-index:2;width:126px;height:126px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#081429;font-weight:850;letter-spacing:.12em;box-shadow:0 0 0 12px rgba(255,255,255,.05),0 0 70px rgba(200,168,93,.2)}
.network-node{position:absolute;width:92px;height:92px;border-radius:50%;border:1px solid rgba(255,255,255,.17);background:#10233c;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 12px 30px rgba(0,0,0,.22)}
.network-node span{font-size:.72rem;font-weight:850;letter-spacing:.07em}.network-node small{color:#9cabbc;font-size:.64rem;margin-top:2px}
.node-a{top:45px;left:50%;transform:translateX(-50%)}.node-b{right:75px;top:50%;transform:translateY(-50%)}.node-c{bottom:45px;left:50%;transform:translateX(-50%)}.node-d{left:75px;top:50%;transform:translateY(-50%)}

.trust-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:center}
.trust-panel{min-height:430px;border-radius:26px;background:linear-gradient(145deg,#f4f6f8,#edf1f4);border:1px solid #dde4ea;padding:40px;display:flex;flex-direction:column;justify-content:space-between}
.trust-badge{width:118px;height:118px;border-radius:28px;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:2.4rem;font-weight:850;letter-spacing:-.04em;box-shadow:0 20px 50px rgba(7,20,38,.18)}
.trust-panel h3{font-size:1.45rem;margin:6px 0 9px}.trust-panel p:last-child{color:#68788c;margin:0;max-width:410px}
.trust-copy>p{margin:21px 0 28px}
.trust-list{display:grid;gap:4px}.trust-list>div{display:grid;grid-template-columns:34px 1fr;gap:13px;padding:14px 0;border-top:1px solid #e4e8ed}.trust-list>div>span{width:26px;height:26px;border-radius:50%;background:#edf7f2;color:var(--success);display:grid;place-items:center;font-weight:900;font-size:.76rem}.trust-list p{margin:0;display:flex;flex-direction:column}.trust-list strong{font-size:.91rem}.trust-list small{font-size:.79rem;color:#78879a;margin-top:2px}

.institution-band{background:#0f2744;color:#fff;padding:78px 0}
.institution-inner{display:grid;grid-template-columns:1fr auto;gap:60px;align-items:end}
.institution-inner>div>p:last-child{color:#b5c1cf;margin:18px 0 0}.institution-actions{display:flex;gap:10px;flex-wrap:wrap}

.site-footer{background:#06101f;color:#fff;padding:60px 0 22px}
.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-bottom:50px}.footer-brand .brand-mark{color:#fff}.footer-brand .brand-copy small{color:#8697aa}.footer-note{max-width:420px;color:#8fa0b3;font-size:.82rem;margin:22px 0 0}.footer-links{display:grid;grid-template-columns:repeat(2,1fr);gap:30px}.footer-links div{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.footer-links strong{font-size:.73rem;text-transform:uppercase;letter-spacing:.12em;color:#d5bd83;margin-bottom:5px}.footer-links a{font-size:.84rem;color:#a7b4c4}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;display:flex;justify-content:space-between;gap:20px;color:#728398;font-size:.72rem}
.demo-toast{position:fixed;z-index:100;left:50%;bottom:22px;transform:translate(-50%,130%);background:#071426;color:#fff;border:1px solid rgba(255,255,255,.15);padding:12px 16px;border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.24);font-size:.84rem;transition:.25s ease;opacity:0}.demo-toast.visible{transform:translate(-50%,0);opacity:1}

@media (max-width:1040px){
  .desktop-nav,.desktop-only{display:none}.menu-toggle{display:flex}.header-inner{height:70px}.mobile-nav{position:absolute;left:20px;right:20px;top:70px;background:#fff;border:1px solid #dfe5eb;border-radius:18px;padding:12px;box-shadow:var(--shadow);flex-direction:column}.mobile-nav.open{display:flex}.mobile-nav a{padding:12px;border-radius:10px}.mobile-nav a:hover{background:#f2f5f7}
  .hero-layout{grid-template-columns:1fr;gap:45px;padding:70px 0}.hero-copy{max-width:900px}.identity-card{max-width:620px}.split-intro,.interoperability-layout,.trust-layout{grid-template-columns:1fr;gap:45px}.split-intro{margin-bottom:35px}.network{min-height:470px}.trust-panel{min-height:360px}.institution-inner{grid-template-columns:1fr;align-items:start}
}
@media (max-width:760px){
  :root{--shell:min(100% - 28px,1180px);--radius:18px}.brand-copy small{display:none}.hero-layout{padding:52px 0 60px}.hero h1{font-size:clamp(2.75rem,14vw,4.5rem)}.hero-lead{font-size:1rem}.registry-search{grid-template-columns:42px 1fr}.registry-search .button{grid-column:1 / -1;width:100%;margin-top:3px}.hero-actions{align-items:flex-start;flex-direction:column;gap:12px}.identity-card{padding:20px}.entity-details{grid-template-columns:1fr;gap:0}.entity-details div{border-inline-end:0;border-bottom:1px solid #e5eaf0;padding:10px 0}.entity-details div:last-child{border-bottom:0}.metric-grid{grid-template-columns:repeat(2,1fr)}.metric-grid article{border-bottom:1px solid #e4e9ee;padding:22px 18px}.metric-grid article:nth-child(2){border-inline-end:0}.metric-grid article:nth-child(3){border-bottom:0;padding-inline-start:0}.metric-grid article:nth-child(4){border-bottom:0}.section{padding:75px 0}.split-intro{gap:24px}.feature-grid{grid-template-columns:1fr}.feature-card{min-height:240px;border-inline-end:0;border-bottom:1px solid #e0e6ec}.feature-icon{margin-bottom:34px}.network{min-height:390px;transform:scale(.86)}.ring-two{width:360px;height:360px}.ring-one{width:220px;height:220px}.node-a{top:18px}.node-b{right:20px}.node-c{bottom:18px}.node-d{left:20px}.trust-panel{padding:28px}.institution-band{padding:58px 0}.institution-actions{width:100%}.institution-actions .button{flex:1}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.footer-links{gap:18px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}



/* Protected administration entry */
.admin-login-button{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:40px;padding:9px 14px;border:1px solid rgba(7,20,38,.14);
  border-radius:10px;background:#fff;color:var(--ink);font-size:.8rem;
  font-weight:750;white-space:nowrap;transition:.2s ease;
}
.admin-login-button:hover{
  border-color:var(--accent-strong);color:#7a5a16;
  background:#fffaf0;transform:translateY(-1px);
}
.admin-login-icon{font-size:.82rem;color:var(--accent-strong)}
@media(max-width:860px){.admin-login-button{display:none}}
