:root{
  --blue:#0056e0;
  --blue-dark:#003d9f;
  --text:#172033;
  --muted:#697386;
  --bg:#f3f4fb;
  --line:#e5eaf4;
  --gold:#d6b25e;
  --green:#22c55e;
}

*{box-sizing:border-box}
html{
  height:100%;
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  overflow:hidden;
}
body{
  height:100%;
  margin:0;
  font-family:"Montserrat","Segoe UI",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  overflow:hidden;
}
img{max-width:100%;height:auto}
a{color:inherit}
button,input{font:inherit}
main{height:100%}

.container{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:absolute;
  z-index:10;
  top:0;
  left:0;
  right:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
  padding:18px 0;
  color:var(--text);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  text-decoration:none;
}
.brand-logo{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:16px;
  background:linear-gradient(135deg, var(--blue), var(--blue-dark));
  border:1px solid rgba(0,86,224,.16);
  box-shadow:0 14px 34px rgba(0,86,224,.18);
}
.brand-logo img{
  width:38px;
  height:38px;
  object-fit:contain;
  border-radius:12px;
}
.brand-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.brand-name{
  color:#102348;
  font-size:17px;
  font-weight:900;
  line-height:1.05;
}
.brand-subtitle{
  max-width:280px;
  margin-top:3px;
  color:#59677e;
  font-size:11px;
  font-weight:600;
  line-height:1.25;
}

.top-nav{
  display:flex;
  align-items:center;
  gap:8px;
}
.top-nav a{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 13px;
  border-radius:8px;
  color:#243653;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.top-nav a:hover{
  background:rgba(0,86,224,.08);
  color:var(--blue);
}
.top-nav .nav-login{
  background:var(--blue);
  color:#fff;
  box-shadow:0 12px 28px rgba(0,86,224,.2);
}

.hero{
  position:relative;
  height:100vh;
  height:100dvh;
  min-height:620px;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:var(--text);
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(248,251,255,.95) 52%, rgba(229,239,255,.9) 100%),
    url("../img/hero-bg.png") center/cover no-repeat;
  border-bottom:1px solid rgba(0,86,224,.08);
}
.hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 76% 34%, rgba(0,86,224,.13), transparent 34%),
    radial-gradient(circle at 22% 78%, rgba(214,178,94,.1), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.76));
}
.hero-content{
  position:relative;
  z-index:1;
  width:min(1180px, calc(100% - 40px));
  height:100%;
  margin:0 auto;
  padding:104px 0 22px;
}
.single-hero{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(330px, 430px);
  grid-template-rows:minmax(0, 1fr) auto;
  align-items:center;
  column-gap:56px;
}
.hero-copy{
  min-width:0;
  align-self:center;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:34px;
  padding:8px 12px;
  border-radius:8px;
  background:rgba(0,86,224,.07);
  border:1px solid rgba(0,86,224,.14);
  color:#244061;
  font-size:13px;
  font-weight:700;
}
.kicker-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--green);
  box-shadow:0 0 0 5px rgba(34,197,94,.16);
}
.hero h1{
  max-width:780px;
  margin:34px 0 0;
  font-size:clamp(42px, 5.6vw, 72px);
  line-height:.98;
  font-weight:900;
  letter-spacing:0;
}
.hero-subtitle{
  max-width:720px;
  margin:14px 0 0;
  color:#102348;
  font-size:clamp(17px, 2vw, 25px);
  line-height:1.2;
  font-weight:800;
}
.hero-lead{
  max-width:720px;
  margin:18px 0 0;
  color:#3e4d66;
  font-size:clamp(16px, 1.8vw, 22px);
  line-height:1.45;
  font-weight:600;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}
.primary-action,
.secondary-action{
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 18px;
  border-radius:8px;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
}
.primary-action{
  background:linear-gradient(135deg, var(--blue), var(--blue-dark));
  color:#fff;
  box-shadow:0 18px 36px rgba(0,86,224,.32);
}
.secondary-action{
  color:#17375d;
  border:1px solid rgba(0,86,224,.18);
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.08);
}
.primary-action:hover,
.secondary-action:hover{
  transform:translateY(-1px);
}

.landing-panel{
  min-width:0;
  justify-self:end;
  width:100%;
  padding:22px;
  border-radius:8px;
  color:var(--text);
  background:rgba(255,255,255,.88);
  border:1px solid rgba(0,86,224,.12);
  box-shadow:0 24px 58px rgba(15,23,42,.1);
  backdrop-filter:blur(12px);
}
.panel-head{
  display:flex;
  align-items:center;
  gap:13px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(0,86,224,.11);
}
.panel-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  flex:0 0 46px;
  border-radius:8px;
  color:#fff;
  background:linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.panel-head p{
  margin:0 0 4px;
  color:#66738a;
  font-size:12px;
  font-weight:700;
}
.panel-head h2{
  margin:0;
  font-size:23px;
  line-height:1.1;
  letter-spacing:0;
}
.mini-features{
  display:grid;
  gap:10px;
  margin-top:18px;
}
.mini-feature{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:46px;
  padding:10px 12px;
  border-radius:8px;
  background:#f4f8ff;
  border:1px solid rgba(0,86,224,.1);
  color:#273955;
  font-size:13px;
  font-weight:700;
  line-height:1.3;
}
.mini-feature i{
  color:var(--blue);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:1px;
  background:var(--line);
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
}
.stat-item{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:22px 24px;
  background:#fff;
}
.stat-value{
  color:var(--blue);
  font-size:34px;
  font-weight:900;
  line-height:1;
}
.stat-label{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.public-notes{
  display:grid;
  gap:10px;
  margin-top:18px;
}
.note-item{
  min-width:0;
  padding:13px 14px;
  border-radius:8px;
  background:#fff;
  border:1px solid rgba(0,86,224,.1);
}
.note-item strong{
  display:block;
  margin-bottom:5px;
  color:#102348;
  font-size:13px;
  font-weight:900;
}
.note-item span{
  display:block;
  color:#67758c;
  font-size:12px;
  font-weight:600;
  line-height:1.35;
}

.hero-footer{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-width:0;
  padding-top:16px;
  color:#66738a;
  font-size:12px;
  font-weight:600;
}

.section{
  padding:72px 0;
  background:#fff;
}
.section-soft{
  background:#f6f8ff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{
  margin-bottom:26px;
}
.section-head-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}
.section-kicker{
  margin:0 0 8px;
  color:var(--blue);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.section h2{
  max-width:780px;
  margin:0;
  color:#111827;
  font-size:clamp(27px, 4vw, 42px);
  line-height:1.08;
  letter-spacing:0;
}
.section-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:10px 13px;
  border-radius:8px;
  color:var(--blue);
  background:#eef5ff;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}

.steps-grid,
.feature-grid,
.recent-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}
.feature-grid{
  grid-template-columns:repeat(3, minmax(0,1fr));
}
.recent-grid{
  grid-template-columns:repeat(3, minmax(0,1fr));
}
.step-card,
.feature-card,
.award-card{
  min-width:0;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  box-shadow:0 16px 36px rgba(15,23,42,.06);
}
.step-card{
  padding:22px 18px 20px;
}
.step-number{
  color:var(--gold);
  font-size:13px;
  font-weight:900;
}
.step-card h3,
.feature-card h3,
.award-card h3{
  margin:12px 0 8px;
  color:#111827;
  font-size:16px;
  line-height:1.25;
}
.step-card p,
.feature-card p,
.award-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  font-weight:500;
  line-height:1.55;
}
.feature-card{
  padding:24px 22px;
}
.feature-card i{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:#fff;
  background:linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow:0 14px 26px rgba(0,86,224,.2);
}

.award-card{
  position:relative;
  overflow:hidden;
  padding:20px;
  animation:floatIn .5s ease both;
}
.award-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg, var(--blue), var(--gold));
}
.award-type{
  display:inline-flex;
  min-height:28px;
  align-items:center;
  padding:6px 9px;
  border-radius:8px;
  color:var(--blue);
  background:#edf5ff;
  font-size:11px;
  font-weight:900;
}
.award-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:16px;
  color:#8792a5;
  font-size:12px;
  font-weight:700;
}
.skeleton-card{
  min-height:170px;
  background:
    linear-gradient(90deg, #f2f5fb 25%, #e7edf8 37%, #f2f5fb 63%);
  background-size:400% 100%;
  animation:skeleton 1.4s ease infinite;
}

.site-footer{
  padding:28px 0;
  background:#0f172a;
  color:#cbd5e1;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.site-footer strong{
  display:block;
  color:#fff;
  margin-bottom:3px;
}
.site-footer span{
  font-size:13px;
}
.footer-social{
  display:flex;
  gap:8px;
}
.footer-social a{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:var(--blue);
  background:#fff;
  border:1px solid rgba(0,86,224,.1);
  text-decoration:none;
}
.footer-social a:hover{
  color:#fff;
  background:var(--blue);
}

@keyframes skeleton{
  0%{background-position:100% 50%}
  100%{background-position:0 50%}
}
@keyframes floatIn{
  from{opacity:0; transform:translateY(12px)}
  to{opacity:1; transform:translateY(0)}
}

@media (max-width:980px){
  .site-header{
    position:absolute;
    width:calc(100% - 28px);
    padding-top:14px;
  }
  .brand-subtitle{
    max-width:210px;
  }
  .top-nav a:not(.nav-login){
    display:none;
  }
  .hero{
    min-height:0;
  }
  .single-hero{
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    align-content:center;
    row-gap:16px;
    padding-top:92px;
    padding-bottom:14px;
  }
  .landing-panel{
    justify-self:stretch;
    padding:18px;
  }
  .mini-features{
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:8px;
  }
  .mini-feature{
    align-items:flex-start;
    min-height:0;
    padding:10px;
    font-size:12px;
  }
  .public-notes{
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:8px;
  }
  .steps-grid,
  .feature-grid,
  .recent-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width:640px){
  .container,
  .hero-content{
    width:calc(100% - 28px);
  }
  .site-header{
    gap:12px;
  }
  .brand-logo{
    width:42px;
    height:42px;
    flex-basis:42px;
  }
  .brand-logo img{
    width:34px;
    height:34px;
  }
  .brand-name{
    font-size:15px;
  }
  .brand-subtitle{
    display:none;
  }
  .top-nav .nav-login{
    padding:9px 11px;
  }
  .hero{
    min-height:0;
  }
  .single-hero{
    row-gap:12px;
    padding-top:82px;
    padding-bottom:10px;
  }
  .hero h1{
    margin-top:20px;
    font-size:clamp(40px, 14vw, 58px);
  }
  .hero-kicker{
    min-height:30px;
    padding:7px 10px;
    font-size:11.5px;
  }
  .hero-subtitle{
    margin-top:10px;
    font-size:16px;
  }
  .hero-lead{
    margin-top:10px;
    font-size:13.5px;
    line-height:1.38;
  }
  .hero-actions{
    flex-direction:column;
    gap:9px;
    margin-top:16px;
  }
  .primary-action,
  .secondary-action{
    width:100%;
    min-height:42px;
    padding:10px 14px;
  }
  .landing-panel{
    padding:13px;
  }
  .panel-head{
    gap:10px;
    padding-bottom:10px;
  }
  .panel-icon{
    width:36px;
    height:36px;
    flex-basis:36px;
  }
  .panel-head p{
    display:none;
  }
  .panel-head h2{
    font-size:17px;
  }
  .mini-features{
    display:none;
  }
  .public-notes{
    grid-template-columns:1fr;
    gap:8px;
    margin-top:10px;
  }
  .note-item{
    padding:10px 11px;
  }
  .note-item strong{
    margin-bottom:3px;
    font-size:12px;
  }
  .note-item span{
    font-size:10.5px;
    line-height:1.25;
  }
  .hero-footer{
    align-items:center;
    flex-direction:column;
    gap:8px;
    padding-top:0;
    font-size:10.5px;
    text-align:center;
  }
  .footer-social a{
    width:30px;
    height:30px;
    font-size:13px;
  }
  .steps-grid,
  .feature-grid,
  .recent-grid{
    grid-template-columns:1fr;
  }
  .stat-item{
    padding:18px;
  }
  .section{
    padding:50px 0;
  }
  .section-head-row{
    align-items:flex-start;
    flex-direction:column;
  }
  .footer-inner{
    align-items:flex-start;
    flex-direction:column;
  }
}
