:root{
  --bg1:#ffffff;
  --bg2:#a9c0e6;
  --text:#0b1b2b;
  --muted:#415364;
  --card: rgba(255,255,255,0.75);
  --border: rgba(11,27,43,0.12);
  --accent:#0b5bd3;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: linear-gradient(180deg, var(--bg1) 0%, #eef3fb 35%, var(--bg2) 100%);
}

a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}

.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  backdrop-filter: blur(6px);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width: 0;
}
.brand img{height:52px; width:auto}
.brand .tagline{
  font-size: 14px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nav{
  display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end;
  font-size:14px;
}

.hero{
  margin-top: 18px;
  padding: 36px 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
  text-align:center;
}

.hero h1{margin:0 0 10px; font-size: clamp(26px, 5vw, 34px); letter-spacing: -0.02em; line-height:1.15}
.hero p{margin:0 auto 18px; max-width: 62ch; color:var(--muted); line-height:1.5}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  font-weight: 600;
}

.hero .uc{
  margin-top: 18px;
  width: min(420px, 90%);
  height:auto;
}

.cards{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.card{
  grid-column: span 12;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
}
@media (min-width: 820px){
  .card.half{grid-column: span 6;}
}

.card h2{margin:0 0 10px; font-size: 18px}
.card p, .card li{color:var(--muted); line-height:1.6}
.card ul{margin:0; padding-left: 18px}

.footer{
  margin: 18px 0 10px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.55);
  color: var(--muted);
  font-size: 13px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}

.small{font-size:13px}
hr{border:none; border-top:1px solid var(--border); margin: 18px 0}
.kv{display:grid; grid-template-columns: 220px 1fr; gap: 8px 14px; align-items:start}
@media (max-width: 640px){
  .kv{grid-template-columns: 1fr}
}
.kv div{padding: 6px 0}
.kv .k{color: var(--text); font-weight: 600}
.notice{
  border-left: 4px solid var(--accent);
  padding: 10px 12px;
  background: rgba(11,91,211,0.06);
  border-radius: 12px;
  color: var(--muted);
}
code{background: rgba(11,27,43,0.06); padding: 2px 6px; border-radius: 8px}

/* Mobile optimizations */
@media (max-width: 520px){
  .container{padding: 14px;}
  .header{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }
  .brand{justify-content:center;}
  .brand img{height:44px;}
  .brand .tagline{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    text-align:center;
    line-height:1.35;
  }
  .nav{
    justify-content:center;
    gap: 10px;
  }
  .nav a{
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.55);
    border: 1px solid var(--border);
  }
  .hero{
    padding: 24px 16px;
    border-radius: 18px;
  }
  .badge{padding: 9px 12px; font-size: 14px;}
  .card{padding: 16px;}
  .footer{
    justify-content:center;
    text-align:center;
  }
}
