
:root{
  --bg:#e9eef5;
  --bg-soft:#f3f6fb;
  --header:#1f4b7c;
  --header-dark:#183d66;
  --text:#0f1722;
  --muted:#5f7187;
  --line:#4b8fe8;
  --line-soft:#b7cdee;
  --card:#ffffff;
  --pill:#5f9df6;
  --pill-text:#ffffff;
  --btn:#5f9df6;
  --btn-text:#ffffff;
  --btn-secondary-bg:#ffffff;
  --btn-secondary-text:#0f1722;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.wrap{
  width:min(80vw, 1500px);
  margin:0 auto;
}

.site-header{
  background:var(--header);
  border-top:1px solid rgba(255,255,255,.1);
  border-bottom:1px solid rgba(0,0,0,.08);
  position:sticky;
  top:0;
  z-index:50;
}
.header-inner{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  color:#fff;
  letter-spacing:.02em;
}
.brand-mark{
  width:34px;
  height:34px;
  border-radius:50%;
  background:linear-gradient(180deg,#ffdd5d,#f7b500);
  display:grid;
  place-items:center;
  font-size:15px;
  color:#1b1b1b;
  box-shadow:0 1px 2px rgba(0,0,0,.18);
}
.brand-title{
  font-size:20px;
  font-weight:800;
  color:#fff;
}
.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.nav a{
  color:#fff;
  font-size:15px;
  font-weight:600;
  opacity:.95;
  padding:11px 12px;
  border-radius:999px;
}
.nav a.active-pill{
  background:var(--pill);
  padding:13px 20px;
}
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.lang-switch{
  display:flex;
  gap:6px;
  background:rgba(255,255,255,.08);
  padding:4px;
  border-radius:999px;
}
.lang-switch button{
  border:0;
  background:transparent;
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
}
.lang-switch button.active{
  background:rgba(255,255,255,.22);
}
.market-btn{
  background:var(--pill);
  color:#fff;
  padding:14px 24px;
  border-radius:999px;
  font-weight:700;
  white-space:nowrap;
}

.hero{
  padding:58px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:26px;
  align-items:start;
}
.hero-copy{
  padding-top:16px;
}
.eyebrow{
  display:inline-flex;
  padding:7px 12px;
  border-radius:10px;
  background:var(--pill);
  color:#fff;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
}
h1{
  font-family: Georgia, "Times New Roman", serif;
  font-weight:700;
  font-size:clamp(54px,5vw,78px);
  line-height:0.98;
  letter-spacing:-.04em;
  margin:0 0 22px;
}
.page-hero h1{
  font-family: Georgia, "Times New Roman", serif;
  font-size:clamp(42px,4.3vw,64px);
  line-height:1.02;
  margin:10px 0 14px;
}
.lead{
  color:var(--muted);
  font-size:18px;
  max-width:920px;
  margin:0 0 28px;
}
.lead strong,
.lead b{
  color:var(--line);
  font-weight:800;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:22px;
}
.btn,
.btn-secondary{
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 22px;
  border-radius:16px;
  font-size:15px;
  font-weight:800;
}
.btn{
  background:var(--btn);
  color:var(--btn-text);
}
.btn-secondary{
  background:var(--btn-secondary-bg);
  color:var(--btn-secondary-text);
  border:1px solid #d5deea;
}
.hero-mini{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.mini-card{
  background:#fff;
  border:2px solid var(--line);
  border-radius:24px;
  padding:18px 18px 26px;
}
.mini-card h3{
  margin:0 0 8px;
  font-size:18px;
}
.mini-card p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}
.side-panel{
  background:#fff;
  border:2px solid var(--line);
  border-radius:28px;
  padding:24px 24px 10px;
}
.panel-block{
  padding:18px 0 26px;
  border-bottom:1px solid #d7e4f6;
}
.panel-block:last-child{
  border-bottom:0;
}
.panel-block h3{
  margin:14px 0 10px;
  font-size:20px;
}
.panel-block p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}
.section{
  padding:22px 0 10px;
}
.section h2{
  font-size:34px;
  margin:0 0 10px;
  line-height:1.08;
}
.section .sub{
  color:var(--muted);
  font-size:18px;
  margin:0 0 24px;
}
.grid-3,.grid-2{
  display:grid;
  gap:18px;
}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}

.card{
  background:#fff;
  border:2px solid var(--line);
  border-radius:24px;
  padding:22px;
}
.card h3{
  margin:0 0 10px;
  font-size:18px;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}
.icon-box{
  width:48px;
  height:48px;
  border-radius:14px;
  background:#eef4fd;
  border:1px solid #b8d1f1;
  display:grid;
  place-items:center;
  color:var(--line);
  font-size:20px;
  margin-bottom:14px;
}
.band{
  background:#fff;
  border:2px solid var(--line);
  border-radius:28px;
  padding:24px;
  margin:12px 0 10px;
}
.band h3{
  margin:0 0 10px;
  font-size:28px;
}
.band p{
  margin:0;
  color:var(--muted);
  font-size:17px;
}
.feature-list{
  display:grid;
  gap:14px;
  margin-top:8px;
}
.feature-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding-top:14px;
  border-top:1px solid #dbe6f4;
}
.feature-item:first-child{
  padding-top:0;
  border-top:0;
}
.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  margin-top:8px;
  background:var(--line);
  flex:0 0 auto;
}
.list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.list li{
  background:#f7faff;
  border:1px solid #d7e4f6;
  border-radius:14px;
  padding:12px 14px;
  color:#2c3d53;
}
.table-like{
  display:grid;
  gap:10px;
}
.row{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  overflow:hidden;
  border:1px solid #d7e4f6;
  border-radius:14px;
}
.row strong,
.row span{
  padding:14px 16px;
}
.row strong{
  background:#f5f9ff;
}
.row span{
  color:var(--muted);
}
.cta{
  padding:26px 0 70px;
}
.cta-box{
  background:#fff;
  border:2px solid var(--line);
  border-radius:28px;
  padding:26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.kicker{
  display:inline-flex;
  padding:7px 12px;
  border-radius:10px;
  background:var(--pill);
  color:#fff;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
  margin-bottom:10px;
}
.small{
  font-size:14px;
  color:var(--muted);
}
.footer{
  border-top:1px solid #cad7e8;
  padding:24px 0 40px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:18px;
}
.lang-block{display:none}
.lang-block.active{display:block}

@media (max-width: 1180px){
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .hero-mini{
    grid-template-columns:1fr;
  }
  .nav{
    display:none;
  }
}
@media (max-width: 760px){
  .wrap{width:min(92vw, 1500px)}
  h1{font-size:46px}
  .page-hero h1{font-size:40px}
  .lead{font-size:17px}
  .header-inner{
    min-height:auto;
    padding:14px 0;
    flex-wrap:wrap;
  }
}


/* XBSC menu refinement */
.nav{
  gap:10px;
}
.nav-group{
  position:relative;
}
.nav-link{
  color:#fff;
  font-size:15px;
  font-weight:700;
  padding:11px 12px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.nav-link:hover{
  background:rgba(255,255,255,.08);
}
.nav-link.pill{
  background:var(--pill);
  padding:13px 20px;
}
.nav-drop{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  min-width:270px;
  background:#ffffff;
  border:1px solid #d7e4f6;
  border-radius:16px;
  box-shadow:0 16px 36px rgba(9,28,54,.16);
  padding:10px;
  display:none;
}
.nav-group:hover .nav-drop{
  display:block;
}
.nav-drop a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:#14345a;
  font-size:14px;
  font-weight:700;
}
.nav-drop a:hover{
  background:#f4f8ff;
}
.brand{
  gap:10px;
}
.brand-title{
  font-size:18px;
}
.brand-subtitle{
  color:rgba(255,255,255,.82);
  font-size:11px;
  font-weight:600;
  margin-top:1px;
  letter-spacing:.03em;
}
@media (max-width:1180px){
  .nav-group:hover .nav-drop{display:none;}
}


/* clickable submenu support */
.nav-group.open .nav-drop{
  display:block !important;
}
.nav-link.has-drop::after{
  content:"▾";
  font-size:12px;
  margin-left:6px;
  opacity:.9;
}


/* logo-only header */
.brand{
  display:flex;
  align-items:center;
  gap:0;
}
.brand-logo{
  height:56px;
  width:auto;
  display:block;
  border-radius:4px;
}
.header-inner{
  gap:30px;
}
.page-hero-compact{
  padding-top:48px;
}
.page-hero-compact h1{
  margin-top:8px;
}
@media (max-width:760px){
  .brand-logo{height:46px;}
}
