:root{
  --navy:#032B5F;
  --midnight:#071231;
  --steel:#A6AAAF;
  --slate:#5b5f66;
  --accent:#184E8D;
  --bg:#ffffff;
  --bg2:#f6f8fb;
  --card:#ffffff;
  --border: rgba(7,18,49,.10);
  --shadow: 0 18px 45px rgba(7,18,49,.10);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--midnight);
  background: var(--bg);
  line-height: 1.5;
}

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

.header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: inherit;
}
.brand__logo{
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.brand__name{
  font-weight: 900;
  letter-spacing: .04em;
}
.brand__tagline{
  font-size: 13px;
  color: var(--slate);
  margin-top: 2px;
}

.nav{
  display:flex;
  gap: 18px;
}
.nav a{
  text-decoration:none;
  color: var(--midnight);
  font-weight: 650;
  font-size: 14px;
}
.nav a:hover{ color: var(--navy); }

.hero{
  padding: 64px 0 34px;
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(3,43,95,.10), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(24,78,141,.10), transparent 55%);
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: start;
}
.hero h1{
  margin: 0 0 12px;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.accent{ color: var(--navy); }
.lead{
  margin: 0 0 18px;
  font-size: 17px;
  color: rgba(7,18,49,.86);
}
.hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.hero__badges{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.badge{
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  font-size: 13px;
  color: rgba(7,18,49,.78);
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.card__kicker{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(7,18,49,.62);
}
.card__title{
  font-size: 18px;
  font-weight: 850;
  margin: 8px 0 10px;
}
.card__note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(7,18,49,.55);
}

.section{
  padding: 70px 0;
}
.section--light{
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--dark{
  background: var(--midnight);
  color: white;
}
.section__head h2{
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.muted{
  margin: 0;
  color: rgba(7,18,49,.70);
}
.muted--on-dark{ color: rgba(255,255,255,.78); }
.small{ font-size: 12.5px; }

.form{
  margin-top: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(7,18,49,.06);
}
.form__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.form__span2{ grid-column: span 2; }
.field label{
  display:block;
  font-weight: 650;
  font-size: 13px;
  margin-bottom: 6px;
}
.field input, .field textarea{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(7,18,49,.16);
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  background: #fff;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(3,43,95,.55);
  box-shadow: 0 0 0 4px rgba(3,43,95,.12);
}
.divider{
  height: 1px;
  background: rgba(7,18,49,.10);
  margin: 6px 0;
}
.checkbox{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-weight: 520;
  font-size: 13px;
  color: rgba(7,18,49,.72);
}
.checkbox input{ margin-top: 3px; }

.form__actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration:none;
  font-weight: 780;
  letter-spacing: .01em;
  cursor:pointer;
  font-size: 14px;
}
.btn--primary{
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn--primary:hover{ opacity:.93; }
.btn--ghost{
  background: transparent;
  border-color: rgba(7,18,49,.18);
  color: var(--midnight);
}
.btn--ghost:hover{ border-color: rgba(7,18,49,.30); }
.btn--light{
  background: white;
  color: var(--midnight);
  border-color: white;
}
.btn--ghost-light{
  background: transparent;
  border-color: rgba(255,255,255,.28);
  color: rgba(255,255,255,.92);
}
.btn--ghost-light:hover{ border-color: rgba(255,255,255,.40); }

.checklist{
  list-style:none;
  padding:0;
  margin: 12px 0 0;
}
.checklist li{
  padding-left: 22px;
  position: relative;
  margin: 8px 0;
  color: rgba(7,18,49,.80);
}
.checklist li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--navy);
  font-weight: 900;
}
.checklist--dark li{ color: rgba(255,255,255,.85); }
.checklist--dark li:before{ color: rgba(255,255,255,.95); }

.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.mini-card{
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(7,18,49,.06);
}
.mini-card__title{
  font-weight: 850;
  margin-bottom: 8px;
}

.callout{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(3,43,95,.20);
  background: rgba(3,43,95,.06);
}

.courtiers{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
.panel{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 18px;
}
.panel__title{
  font-weight: 900;
  margin-bottom: 8px;
}
.panel__note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.70);
}

.flash{
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0 16px;
  border: 1px solid transparent;
}
.flash__title{ font-weight: 900; margin-bottom: 2px; }
.flash--success{
  background: rgba(0, 160, 90, .08);
  border-color: rgba(0, 160, 90, .22);
}
.flash--error{
  background: rgba(210, 40, 40, .08);
  border-color: rgba(210, 40, 40, .22);
}

.footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: #fff;
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__brand{
  font-weight: 900;
  letter-spacing: .04em;
}
.footer__muted{
  color: rgba(7,18,49,.65);
  font-size: 13px;
  margin-top: 6px;
}
.footer__links{
  display:flex;
  gap: 14px;
}
.footer__links a{
  color: rgba(7,18,49,.70);
  text-decoration:none;
  font-weight: 650;
  font-size: 13px;
}
.footer__links a:hover{ color: var(--navy); }

@media (max-width: 900px){
  .hero__grid, .courtiers{ grid-template-columns: 1fr; }
  .cards3{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .form__grid{ grid-template-columns: 1fr; }
  .form__span2{ grid-column: auto; }
}
