:root{
  --brand:#6ea8fe;
}

/* Page loading overlay */
#page-loading{
  position:fixed;
  inset:0;
  background:rgba(11,18,32,.78);
  backdrop-filter: blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10000;
  transition:opacity .35s ease, visibility .35s ease;
}
#page-loading.is-hidden{
  opacity:0;
  visibility:hidden;
}
.loading-card{
  width:min(420px, 92vw);
  background:rgba(16,26,49,.65);
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.loading-logo{
  width:92px;
  height:92px;
  display:block;
  animation:spin-slow 1.2s linear infinite;
}
.loading-text{
  font-weight:900;
  letter-spacing:.2px;
}
.loading-sub{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  text-align:center;
}
@keyframes spin-slow{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}

:root{

  --bg:#0b1220;
  --surface:#101a31;
  --text:#e9eefc;
  --muted:#b7c2e0;
  --primary:#6ea8fe;
  --primary-2:#8a5cff;
  --border:rgba(255,255,255,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:radial-gradient(1200px 600px at 20% -10%, rgba(110,168,254,.25), transparent 55%),
             radial-gradient(1000px 600px at 85% 10%, rgba(138,92,255,.18), transparent 55%),
             var(--bg);
  color:var(--text);
}

a{color:inherit}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px;
  width:auto; height:auto;
  padding:10px 12px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  z-index:9999;
}

.container{max-width:1100px; margin:0 auto; padding:0 16px;}

.site-header{
  position:sticky; top:0;
  background:rgba(11,18,32,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
  z-index:50;
}
 .header-inner{display:flex; align-items:center; gap:12px; padding:14px 0;}
.brand{text-decoration:none; font-weight:800; letter-spacing:.2px; display:flex; align-items:center; gap:10px;}
.brand-logo{width:34px; height:34px; display:block;}
.brand-name{color:var(--text)}


.nav{display:flex; gap:18px; margin-left:auto; align-items:center;}
.nav-link{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.nav-link[aria-current="page"], .nav-link:hover{color:var(--text)}

.nav-toggle{
  display:none;
  margin-left:auto;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(16,26,49,.6);
  cursor:pointer;
}
.nav-toggle-bar{display:block; width:18px; height:2px; background:var(--text); margin:0 auto;}
.nav-toggle-bar + .nav-toggle-bar{margin-top:4px;}

.hero{padding:42px 0 22px;}
.hero-content{
  background:rgba(16,26,49,.55);
  border:1px solid var(--border);
  border-radius:18px;
  padding:26px;
}
.hero-title{margin:0 0 8px; font-size:40px; line-height:1.1;}
.hero-tagline{margin:0 0 16px; font-size:16px; color:var(--text)}
.hero-intro{margin:0 0 12px; color:var(--muted); line-height:1.7}
.hero-divider{height:1px; background:var(--border); margin:22px 0;}

.section-title{margin:0 0 14px; font-size:18px;}

.news-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  margin-bottom:2px;
}

.news-card{
  background:rgba(11,18,32,.35);
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.news-badge{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(110,168,254,.25), rgba(138,92,255,.25));
  border:1px solid rgba(255,255,255,.14);
  margin-bottom:10px;
  color:var(--text);
}

.news-title{
  margin:0 0 8px;
  font-size:16px;
  line-height:1.3;
}

.news-snippet{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

.card-grid{list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px;}
.card{
  background:rgba(11,18,32,.35);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 12px;
  color:var(--text);
  font-weight:700;
  text-align:center;
}

.page{padding:42px 0 22px;}
.page-title{margin:0 0 16px; font-size:34px;}
.prose{background:rgba(16,26,49,.55); border:1px solid var(--border); border-radius:18px; padding:22px;}
.prose p{margin:0 0 14px; color:var(--muted); line-height:1.8}
.prose p:last-child{margin-bottom:0}

.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:22px 0;}
.contact-card{background:rgba(16,26,49,.55); border:1px solid var(--border); border-radius:18px; padding:22px;}
.sub-title{margin:0 0 14px; font-size:18px;}
.contact-item{margin:10px 0;}
.contact-label{display:inline-block; min-width:70px; color:var(--muted); font-weight:700;}
.contact-link{color:var(--text); text-decoration:underline; text-decoration-color:rgba(110,168,254,.6);}
.contact-text{color:var(--muted)}
.contact-note{color:var(--muted); line-height:1.7; margin:16px 0 0;}

.contact-form{display:flex; flex-direction:column; gap:14px;}
.field{display:flex; flex-direction:column; gap:8px;}
.field-label{color:var(--muted); font-weight:700; font-size:14px;}
input,textarea{
  width:100%;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(11,18,32,.35);
  color:var(--text);
  padding:12px;
  outline:none;
}
textarea{resize:vertical}
input:focus, textarea:focus{border-color:rgba(110,168,254,.7);}

.btn{
  border:none;
  border-radius:14px;
  padding:12px 16px;
  font-weight:800;
  cursor:pointer;
  color:#0b1220;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
}
.form-hint{margin:0; color:var(--muted); font-size:13px; line-height:1.6;}

.site-footer{border-top:1px solid var(--border); padding:28px 0; background:rgba(11,18,32,.35);}
.footer-inner{display:flex; gap:20px; align-items:flex-start;}
.footer-brand{min-width:240px;}
.footer-title{font-weight:900; margin-bottom:8px;}
.footer-copy{color:var(--muted); font-size:13px; line-height:1.6;}
.footer-columns{display:flex; gap:28px; flex:1; justify-content:space-between;}
.footer-col{display:flex; flex-direction:column; gap:10px; min-width:180px;}
.footer-logo{width:34px; height:34px; display:block; margin-bottom:10px;}
.footer-heading
.footer-link{color:var(--muted); text-decoration:none; font-weight:700;}
.footer-link:hover{color:var(--text); text-decoration:underline; text-decoration-color:rgba(110,168,254,.6)}
.footer-text{color:var(--muted); font-weight:700;}

@media (max-width: 900px){
  .card-grid{grid-template-columns:repeat(2, minmax(0,1fr));}
  .hero-title{font-size:32px;}
  .contact-grid{grid-template-columns:1fr;}
  .footer-inner{flex-direction:column;}
  .footer-columns{width:100%; justify-content:flex-start;}
}

@media (max-width: 900px){
  .news-grid{grid-template-columns:1fr;}
}

@media (max-width: 720px){
  .nav{display:none;}
  .nav-toggle{display:block;}
  .nav.is-open{display:flex; position:absolute; left:16px; right:16px; top:72px; background:rgba(16,26,49,.95); border:1px solid var(--border); border-radius:16px; padding:14px; flex-direction:column; gap:10px;}
  .header-inner{position:relative;}
  .hero-content{padding:18px;}
  .page-title{font-size:28px;}
  .news-title{font-size:15px;}
}


