:root{
  --radius: 18px;
  --max: 1100px;

  /* Page */
  --page-bg: #ffffff;
  --page-text: #0b1220;

  /* Header gradient (blue -> dark) */
  --hdr-left: #1e3c72;
  --hdr-mid:  #142a4f;
  --hdr-right:#070b14;

  /* Card blues (lighter than header) */
  --card-top: #254f93;
  --card-bot: #173d76;

  --shadow: 0 10px 25px rgba(11,18,32,.10);
  --shadow2: 0 10px 25px rgba(11,18,32,.18);
}

*{ box-sizing: border-box; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: var(--page-bg);
  color: var(--page-text);
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }

.wrap{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER (about 125px tall) */
header{
  height: 125px;
  display:flex;
  align-items:center;
  background: linear-gradient(90deg, var(--hdr-left) 0%, var(--hdr-mid) 50%, var(--hdr-right) 100%);
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 320px;
}

.brand svg{
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.45));
}

.brand-title{
  display:flex;
  flex-direction:column;
  gap: 3px;
}

.brand-title .name{
  font-size: 30px;
  font-weight: 850;
  letter-spacing: .2px;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 8px 22px rgba(0,0,0,.35);
}

.brand-title .tag{
  font-size: 13px;
  color: rgba(232,238,252,.86);
  letter-spacing: .2px;
}

nav{
  margin-left: auto;
  display:flex;
  gap: 14px;
  align-items:center;
}

.navlink{
  font-size: 14px;
  color: rgba(232,238,252,.90);
  padding: 8px 10px;
  border-radius: 10px;
}

.navlink:hover{
  background: rgba(255,255,255,.10);
  color: #fff;
}

.right-slogan{
  text-align:right;
  max-width: 520px;
}

.right-slogan .line1{
  font-size: 16px;
  font-weight: 750;
  color: rgba(232,238,252,.95);
}

.right-slogan .line2{
  font-size: 13px;
  color: rgba(232,238,252,.72);
  margin-top: 2px;
}

/* MAIN */
main{ padding: 34px 0 34px; }

.hero, .page{
  background: #f6f8ff;
  border: 1px solid rgba(11,18,32,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px;
}

.hero h1{
  margin:0;
  font-size: 28px;
  letter-spacing: .1px;
  color: #0b1220;
}

.hero p,
.page p{
  margin: 10px 0 0;
  color: rgba(11,18,32,.78);
  max-width: 85ch;
}

.page h1{
  margin:0 0 10px;
  font-size: 28px;
  letter-spacing: .1px;
  color:#0b1220;
}

.page h2{
  margin: 18px 0 8px;
  font-size: 18px;
  color:#0b1220;
}

.page ul{
  margin: 10px 0 10px 20px;
  color: rgba(11,18,32,.78);
  max-width: 85ch;
}

.page .updated{
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(11,18,32,.62);
}

/* Buttons */
.hero-actions{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11,18,32,.14);
  background: rgba(11,18,32,.04);
  color: #0b1220;
  font-weight: 750;
  font-size: 14px;
  cursor:pointer;
}

.btn:hover{ background: rgba(11,18,32,.08); }

.btn.primary{
  background: linear-gradient(90deg, rgba(30,60,114,.16), rgba(20,42,79,.10));
  border: 1px solid rgba(11,18,32,.18);
}

/* Trust strip */
.trust-strip{
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(11,18,32,.68);
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}

.pill{
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(11,18,32,.03);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Category grid */
.section-title{
  margin: 26px 0 12px;
  font-size: 18px;
  color: #0b1220;
  letter-spacing: .2px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.20);
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  color: #ffffff;
  box-shadow: var(--shadow2);
  padding: 16px 16px;
  position: relative;
  overflow:hidden;
  min-height: 122px;
  transition: transform .12s ease, border-color .12s ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.30);
}

.card .title{
  font-size: 16px;
  font-weight: 850;
  margin:0;
}

.card .desc{
  margin: 7px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.82);
}

.badge{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 850;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.95);
}

.badge.live{
  border-color: rgba(40,199,111,.45);
  background: rgba(40,199,111,.18);
  color: #d7ffe9;
}

.badge.soon{
  border-color: rgba(245,159,0,.45);
  background: rgba(245,159,0,.18);
  color: #fff3d8;
}

.card a.stretch{
  position:absolute;
  inset:0;
  border-radius: var(--radius);
}

.card a.stretch span{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* Footer */
footer{
  border-top: 1px solid rgba(11,18,32,.10);
  padding: 18px 0 26px;
  color: rgba(11,18,32,.70);
  background: #ffffff;
}

.footer-links{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  justify-content: center;
  margin-top: 10px;
}

.footer-links a{
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(11,18,32,.04);
  font-size: 13px;
  color: rgba(11,18,32,.82);
}

.footer-links a:hover{
  background: rgba(11,18,32,.08);
  color: #0b1220;
}

.fineprint{
  text-align:center;
  font-size: 12px;
  margin-top: 12px;
  color: rgba(11,18,32,.62);
  max-width: 90ch;
  margin-left: auto;
  margin-right: auto;
}

/* Contact form */
.form{
  margin-top: 12px;
  display:grid;
  gap: 12px;
  max-width: 700px;
}

label{
  font-size: 13px;
  font-weight: 700;
  color: rgba(11,18,32,.84);
}

input, textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11,18,32,.16);
  background: #ffffff;
  font: inherit;
}

textarea{ min-height: 140px; resize: vertical; }

.helper{
  font-size: 12.5px;
  color: rgba(11,18,32,.64);
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  nav{ display:none; }
  .right-slogan{ display:none; }
  header{ height: 110px; }
  .brand-title .name{ font-size: 26px; }
}

@media (max-width: 560px){
  .grid{ grid-template-columns: 1fr; }
  .wrap{ width: min(var(--max), calc(100% - 24px)); }
  .brand svg{ width: 52px; height: 52px; }
  header{ height: 106px; }
}
