:root {
  --ink: #09264d;
  --navy: #071f42;
  --blue: #1265d6;
  --orange: #f36b2d;
  --sky: #eaf4ff;
  --line: #d9e6f5;
  --muted: #64748b;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font:
    16px/1.55 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--ink);
  background: #fbfdff;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 99;
  background: #fff;
  padding: 10px;
}
.skip:focus {
  top: 12px;
}
.top {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, 5vw);
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.brand img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.brand strong {
  font-size: 17px;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 750;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  font-weight: 850;
  cursor: pointer;
}
.button.small {
  padding: 9px 15px;
}
.button.orange,
.solution-grid .featured button {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.button.compact {
  padding: 10px 16px;
}
.hero {
  height: 380px;
  min-height: 380px;
  padding: 34px max(24px, 7vw);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.48fr);
  align-items: center;
  gap: 5vw;
  background:
    radial-gradient(circle at 76% 18%, #2778de, transparent 35%),
    linear-gradient(125deg, #071e3e, #0c3d78);
  color: #fff;
  overflow: hidden;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 900;
  color: #76b2ff;
  margin: 0;
}
.hero h1 {
  font-size: clamp(38px, 4.35vw, 64px);
  line-height: 1.02;
  margin: 8px 0 12px;
  letter-spacing: -0.045em;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero h1 span:last-child {
  color: #ff7967;
}
.lead {
  max-width: 790px;
  margin: 0;
  font-size: 17px;
  color: #d9eaff;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero aside {
  padding: 22px;
  border: 1px solid #5277a0;
  border-radius: 20px;
  background: #ffffff12;
}
.hero aside strong {
  font-size: 18px;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}
.trust-grid span {
  border: 1px solid #ffffff26;
  border-radius: 10px;
  padding: 9px;
  text-align: center;
  font-size: 13px;
}
.metrics {
  max-width: 1200px;
  margin: -30px auto 44px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}
.metrics article {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px #123a671c;
  border-radius: 17px;
  padding: 19px;
}
.metrics b {
  display: block;
  font-size: 27px;
}
.metrics span {
  color: var(--muted);
  font-size: 14px;
}
section:not(.hero):not(.metrics) {
  padding: 58px max(24px, 7vw);
}
.soft {
  background: var(--sky);
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 26px;
}
.heading h2 {
  font-size: clamp(29px, 3.5vw, 44px);
  line-height: 1.08;
  margin: 5px 0;
}
.heading > p {
  max-width: 440px;
  color: var(--muted);
}
.solution-grid,
.grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.solution-grid article {
  position: relative;
  min-height: 245px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 35px #173b6010;
}
.solution-grid article.featured {
  background: var(--navy);
  color: #fff;
}
.solution-grid i {
  font-style: normal;
  color: var(--orange);
  font-weight: 900;
}
.solution-grid h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 15px 0 5px;
}
.solution-grid p {
  color: var(--muted);
  font-size: 14px;
}
.solution-grid .featured p {
  color: #cbdcf0;
}
.solution-grid button {
  margin-top: auto;
  border: 1px solid #bdd0e5;
  border-radius: 11px;
  background: #edf5ff;
  color: var(--ink);
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}
.card,
.empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 22px;
  min-height: 180px;
}
.grid {
  grid-template-columns: repeat(3, 1fr);
}
.card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.25;
}
.card p {
  color: var(--muted);
}
.meta {
  font-size: 12px;
  font-weight: 850;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.progress {
  height: 8px;
  background: #e6edf6;
  border-radius: 9px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #35b37e);
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.privacy {
  margin: 50px max(24px, 7vw);
  border-radius: 28px !important;
  background: #0a2c58;
  color: #fff;
  text-align: center;
}
.privacy p {
  color: #d9eaff;
  max-width: 720px;
  margin: 10px auto 22px;
}
footer {
  padding: 32px;
  text-align: center;
  color: var(--muted);
}
dialog {
  width: min(680px, calc(100% - 24px));
  max-height: 90vh;
  border: 0;
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 35px 110px #071e3e66;
}
dialog::backdrop {
  background: #071e3eaa;
  backdrop-filter: blur(4px);
}
dialog form {
  padding: 24px;
  display: grid;
  gap: 14px;
}
dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
}
dialog h2 {
  margin: 0;
  font-size: 25px;
}
dialog header button {
  border: 0;
  background: #eaf3ff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 22px;
  cursor: pointer;
}
label {
  display: grid;
  gap: 5px;
  font-weight: 750;
  font-size: 14px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d9eb;
  border-radius: 11px;
  padding: 11px;
  background: #fbfdff;
  color: var(--ink);
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 9px;
}
.check input {
  width: auto;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
#toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  max-width: 420px;
  padding: 14px 18px;
  border-radius: 13px;
  background: #09264d;
  color: #fff;
  box-shadow: 0 15px 50px #09264d55;
  transform: translateY(120px);
  opacity: 0;
  transition: 0.25s;
}
#toast.show {
  transform: none;
  opacity: 1;
}
@media (max-width: 1000px) {
  .top nav a:not(.button) {
    display: none;
  }
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero aside {
    display: none;
  }
}
@media (max-width: 760px) {
  .hero {
    height: auto;
    min-height: 380px;
    padding-top: 38px;
    padding-bottom: 42px;
  }
  .hero h1 span {
    white-space: normal;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .heading {
    align-items: start;
    flex-direction: column;
  }
  .top {
    height: 68px;
  }
  .brand img {
    width: 48px;
    height: 48px;
  }
  .brand strong {
    font-size: 13px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .metrics {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero {
    padding-left: 19px;
    padding-right: 19px;
  }
  .privacy {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
  .actions .button {
    width: 100%;
  }
  .top nav .button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .solution-grid article {
    min-height: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #toast {
    transition: none;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  background: #071f42;
}
.hero-copy,
.hero aside {
  position: relative;
  z-index: 2;
}
.hero-slides,
.hero-slides i {
  position: absolute;
  inset: 0;
}
.hero-slides {
  z-index: -1;
  background: #071f42;
}
.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 20, 47, 0.94) 0%, rgba(5, 31, 69, 0.8) 48%, rgba(5, 35, 76, 0.52) 100%);
}
.hero-slides i {
  opacity: 0;
  background-size: cover;
  background-position: center;
  animation: democracyHero 30s infinite ease-in-out;
  will-change: opacity;
}
.hero-slides i:nth-child(1) { background-image: url("/assets/democracy/hero-democracy-01.webp"); opacity: 1; }
.hero-slides i:nth-child(2) { background-image: url("/assets/democracy/hero-democracy-02.webp"); animation-delay: 6s; }
.hero-slides i:nth-child(3) { background-image: url("/assets/democracy/hero-democracy-03.webp"); animation-delay: 12s; }
.hero-slides i:nth-child(4) { background-image: url("/assets/democracy/hero-democracy-04.webp"); animation-delay: 18s; }
.hero-slides i:nth-child(5) { background-image: url("/assets/democracy/hero-democracy-05.webp"); animation-delay: 24s; }
@keyframes democracyHero {
  0%, 16% { opacity: 1; }
  20%, 96% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides i { animation: none; opacity: 0; }
  .hero-slides i:first-child { opacity: 1; }
}
@media (max-width: 760px) {
  .hero-slides i { background-position: 60% center; }
  .hero-slides::after { background: linear-gradient(90deg, rgba(3, 20, 47, 0.94), rgba(5, 31, 69, 0.68)); }
}
