/* Header */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;

  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(38,59,102,.92);
  backdrop-filter: blur(10px);
}

.topbar *{
  color: rgba(240,248,249,.92); /* header text stays light */
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 260px;
}

/* Bigger logo */
.brand img{
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand .title{
  display:flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand .title strong{
  font-size: 15px;
  letter-spacing: .3px;
  font-weight: 900;
}
.brand .title span{
  font-size: 12px;
  color: rgba(240,248,249,.72);
  font-weight: 700;
}

/* Desktop nav */
.nav{
  display:none;
  align-items:center;
  gap: 8px;
}

.nav a{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: rgba(240,248,249,.75);
  font-weight: 900;
}
.nav a:hover{
  color: rgba(240,248,249,.95);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.10);
}
.nav a.active{
  color: rgba(240,248,249,.98);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.14);
}

/* Mobile */
.menu-btn{
  display:inline-flex;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: none;
}
.menu-btn:hover{ background: rgba(255,255,255,.12); }

@media (min-width: 900px){
  .nav{ display:flex; }
  .menu-btn{ display:none; }
}

/* Drawer */
.drawer{
  display:none;
  border-top: 1px solid rgba(255,255,255,.14);
}
.drawer.open{ display:block; }
.drawer a{
  display:block;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: rgba(240,248,249,.78);
  font-weight: 950;
}
.drawer a:hover{
  color: rgba(240,248,249,.98);
  background: rgba(255,255,255,.08);
}
.drawer a.active{ color: rgba(240,248,249,.98); }

/* Page layout */
.page{
  padding: clamp(14px, 2.2vw, 24px) 0 clamp(10px, 1.5vw, 18px);
}

/* Centered content block for landing / summary pages */
.content-center{
  max-width: 1180px;       /* visual sweet spot */
  margin: 0 auto;
}

/* Hero */
.hero{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--s-4);
}

.hero-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* When we want hero centered (Summary) */
.hero.centered{
  text-align: center;
}
.hero.centered .hero-top{
  justify-content: center;
}
.hero.centered .badge{
  margin: 0 auto;
}
.hero.centered .hero-actions{
  justify-content: center;
}

.hero h1{
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.12;
  letter-spacing: .2px;
  color: rgba(11,18,32,.92);
}

.hero p{
  max-width: 86ch;
  color: var(--muted);
  margin: 0 auto; /* keeps paragraph centered nicely */
}

/* Footer at bottom (handled by base.css flex layout) */
.footer{
  margin-top: var(--s-6);
  padding: 18px 0;
  border-top: 1px solid rgba(11,18,32,.12);
  color: rgba(11,18,32,.62);
  font-size: 13px;
}
