:root{
  /* Civic / Trust palette*/
  --ink:#0B1B36;      /* civic navy */
  --text:#0F172A;
  --muted:#4B5563;
  --line:#E5E7EB;

  --bg:#F8FAFC;
  --paper:#FFFFFF;

  --blue:#1D4ED8;     /* official blue */
  --gold:#F59E0B;     /* warm civic accent */
  --stone:#64748B;    /* neutral */

  --shadow: 0 16px 45px rgba(2,6,23,.10);
  --shadow2: 0 10px 22px rgba(2,6,23,.08);

  /* Shape language (less round) */
  --radius: 12px;
  --radius2: 16px;

  --max: 1120px;
  --pad: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Background stage: civic motion, not blobs ---------- */
.bg-stage{
  position:absolute;
  inset:0 0 auto 0;
  height: 560px;
  overflow:hidden;
  pointer-events:none;
}
.bg-wash{
  position:absolute;
  inset:-40px -40px auto -40px;
  height: 640px;
  background:
    radial-gradient(900px 450px at 12% 22%, rgba(29,78,216,.18), transparent 60%),
    radial-gradient(700px 380px at 86% 18%, rgba(245,158,11,.14), transparent 60%),
    radial-gradient(900px 520px at 58% 42%, rgba(11,27,54,.10), transparent 62%),
    linear-gradient(180deg, #ffffff, rgba(255,255,255,0));
  animation: washShift 16s ease-in-out infinite;
  filter: saturate(1.02);
}
@keyframes washShift{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(10px,-8px,0) scale(1.02); }
}

/* Civic motion pattern: diagonal “signal” lines */
.bg-lines{
  position:absolute;
  inset: 0;
  opacity: .35;
  background:
    repeating-linear-gradient(
      -35deg,
      rgba(11,27,54,.08) 0px,
      rgba(11,27,54,.08) 1px,
      transparent 1px,
      transparent 18px
    );
  mask-image: radial-gradient(520px 280px at 18% 18%, black 40%, transparent 70%);
  animation: civicDrift 14s ease-in-out infinite;
}
@keyframes civicDrift{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(14px, 12px); }
}

/* ---------- Navbar ---------- */
.nav-wrap{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

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

.seal{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display:grid;
  place-items:center;

  background: var(--ink);
  color: white;

  border: 2px solid rgba(245,158,11,.90);
  box-shadow: 0 10px 18px rgba(2,6,23,.14);
}
.seal span{
  font-weight: 900;
  letter-spacing: .8px;
  font-size: 12px;
}

.brand strong{ letter-spacing:.1px; }
.brand small{
  display:block;
  color: var(--muted);
  margin-top:2px;
  font-size:12.5px;
}

.navlinks{
  display:flex;
  gap: 18px;
  align-items:center;
}
.navlinks a{
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
  padding: 10px 2px;
  position: relative;
}
.navlinks a:hover{ color: var(--text); }
.navlinks a[aria-current="page"]{
  color: var(--text);
}
.navlinks a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:2px;
  height:2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  border-radius: 99px;
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 12px;              /* less round */
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow2);
  font-weight: 900;
  font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow); }

.btn.primary{
  background: var(--ink);
  color: white;
  border-color: rgba(11,27,54,.30);
}
.btn.primary:hover{ transform: translateY(-1px); }

.burger{
  display:none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow2);
  cursor:pointer;
}

.mobilemenu{
  padding: 10px 0 16px 0;
}
.mobilemenu[hidden]{ display:none; }
.mobilemenu .panel{
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow2);
  padding: 10px;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.mobilemenu a{
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 900;
  color: var(--muted);
}
.mobilemenu a:hover{ background: rgba(29,78,216,.08); color: var(--text); }

/* ---------- Hero + content ---------- */
main{ position:relative; }

.hero{
  position:relative;
  padding: 46px 0 22px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}

h1{
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.9px;
}
.subhead{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 16.5px;
  max-width: 62ch;
}

/* Sharper “official” underline */
.underline{
  display:inline-block;
  height: 6px;
  width: 140px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  border-radius: 6px;
  transform-origin: left;
  animation: underlineGrow 1.0s ease forwards;
}
@keyframes underlineGrow{
  from{ transform: scaleX(.25); opacity:.4; }
  to{ transform: scaleX(1); opacity:1; }
}

.cta-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Right side info box */
.info{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.info .top{
  padding: 16px 16px 12px 16px;
  border-bottom: 1px solid var(--line);
}
.info .top strong{ display:block; }
.info .top span{ display:block; color: var(--muted); font-size: 13px; margin-top: 4px; }

.info .body{
  padding: 14px 16px 16px 16px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.rule{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.dot{
  width: 12px; height: 12px;
  border-radius: 99px;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--gold), var(--blue));
}
.rule p{
  margin:0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.rule p strong{ color: var(--text); }

/* Lawful-only callout */
.callout{
  margin-top: 6px;
  border-left: 4px solid rgba(245,158,11,.70);
  padding: 10px 12px;
  background: rgba(245,158,11,.10);
  border-radius: 12px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Sections */
.section{ padding: 18px 0; }

.block{
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow2);
  padding: 18px;
}

/* “Official” section header style */
.block h2{
  margin:0 0 10px 0;
  font-size: 22px;
  letter-spacing: -0.2px;
  position: relative;
  padding-left: 12px;
}
.block h2::before{
  content:"";
  position:absolute;
  left:0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--gold);
}
.block p{ margin:0; color: var(--muted); line-height: 1.65; }

.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.feature{
  border: 1px solid var(--line);
  background: #FBFDFF;
  border-radius: 12px;
  padding: 14px;
}
.feature strong{ display:block; margin-bottom: 6px; }
.feature p{ margin:0; color: var(--muted); line-height:1.6; font-size: 14px; }

/* Footer */
.footer{
  margin-top: 22px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.60);
  padding: 22px 0 40px 0;
}
.footer .row{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  justify-content:space-between;
}
.footer small{ color: #64748b; }

/* Reveal */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .navlinks{ display:none; }
  .burger{ display:inline-flex; align-items:center; justify-content:center; }
}

@media (max-width: 860px){
  .features{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  :root{ --pad: 16px; }
  .hero{ padding-top: 32px; }
  .btn{ width: 100%; }
  .cta-row{ gap: 10px; }
}
