:root {
  color-scheme: light;
  --blue: #0057a6;
  --blue-dark: #003f7d;
  --cyan: #00aeef;
  --red: #e31e24;
  --ink: #07244a;
  --muted: #58708d;
  --line: #c9d8ea;
  --bg: #edf4fb;
  --surface: #ffffff;
  --soft: #f7fbff;
  --shadow: 0 24px 60px rgba(0, 57, 116, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 430px;
  content: "";
  background:
    linear-gradient(140deg, rgba(0, 63, 125, 0.96), rgba(0, 87, 166, 0.9)),
    var(--blue);
}

a {
  color: inherit;
}

.campaign-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px clamp(16px, 4vw, 48px);
  color: #ffffff;
  background: rgba(0, 87, 166, 0.92);
  border-bottom: 3px solid var(--red);
  backdrop-filter: blur(12px);
}

.brand {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.party-logo-placeholder {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #ffffff 0 33.333%, var(--cyan) 33.333% 66.666%, var(--red) 66.666% 100%);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: #d7ecff;
  font-size: 13px;
  line-height: 1.25;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #e9f6ff;
  font-size: 14px;
  font-weight: 800;
}

.header-nav a {
  text-decoration: none;
}

.header-nav a:hover {
  color: #ffffff;
}

.outline-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.outline-action {
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid #ffffff;
}

.primary-action {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 16px 36px rgba(227, 30, 36, 0.28);
}

.secondary-action {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.secondary-action.light {
  color: var(--blue-dark);
  background: #ffffff;
  border-color: var(--line);
}

main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px clamp(14px, 4vw, 48px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 24px;
  align-items: start;
  min-height: auto;
  margin: 0;
  padding: clamp(30px, 4.5vw, 54px);
  overflow: hidden;
  color: #ffffff;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(0, 63, 125, 0.98), rgba(0, 87, 166, 0.92)),
    var(--blue);
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #bdeeff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
}

.hero-name-lockup {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  text-shadow: 0 8px 22px rgba(0, 25, 64, 0.22);
}

.hero-name,
.hero-title {
  display: block;
}

.hero-name {
  color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-name-first {
  margin-bottom: 0.03em;
  padding-bottom: 0.03em;
  background-image: linear-gradient(180deg, #ffffff 0 50%, var(--cyan) 50% 100%);
}

.hero-name-last {
  margin-top: 0.03em;
  margin-bottom: 0.24em;
  padding-bottom: 0.03em;
  font-size: 0.56em;
  line-height: 1;
  background-image: linear-gradient(180deg, var(--cyan) 0 50%, var(--red) 50% 100%);
}

.hero-title {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.16;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  max-width: 720px;
  color: #e6f5ff;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 9px 12px;
  color: #ffffff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.party-ribbon {
  position: absolute;
  top: 0;
  right: 8px;
  left: 8px;
  height: 132px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, #ffffff 0 33.333%, var(--cyan) 33.333% 66.666%, var(--red) 66.666% 100%),
    var(--blue);
  box-shadow: var(--shadow);
}

.systems-board {
  position: absolute;
  top: 70px;
  left: 50%;
  width: min(500px, calc(100% - 32px));
  min-height: 410px;
  padding: 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.board-header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.board-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-header strong {
  color: var(--red);
  font-size: 28px;
  line-height: 1;
}

.initiative-rank {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.initiative-rank li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.initiative-rank li::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--blue);
}

.initiative-rank li:nth-child(2)::before {
  background: var(--red);
}

.initiative-rank li:nth-child(3)::before {
  background: var(--cyan);
}

.initiative-rank li:nth-child(4)::before {
  background: var(--blue-dark);
}

.initiative-rank span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  font-weight: 900;
  border-radius: var(--radius);
  background: var(--blue);
}

.initiative-rank li:nth-child(2) span {
  background: var(--red);
}

.initiative-rank li:nth-child(3) span {
  background: var(--cyan);
}

.initiative-rank li:nth-child(4) span {
  background: var(--blue-dark);
}

.initiative-rank strong,
.initiative-rank em {
  grid-column: 2;
  display: block;
}

.initiative-rank strong {
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.18;
}

.initiative-rank em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 22px 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.stats-strip div {
  position: relative;
  padding: 22px;
  background: #ffffff;
}

.stats-strip div::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--blue);
}

.stats-strip div:nth-child(2)::before,
.stats-strip div:nth-child(4)::before {
  background: var(--red);
}

.stats-strip div:nth-child(3)::before {
  background: var(--cyan);
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1;
}

.stats-strip span {
  color: var(--muted);
  line-height: 1.4;
}

.section,
.cta-section {
  margin-top: 28px;
  padding: clamp(26px, 4vw, 52px);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 28px;
}

.section-heading .eyebrow,
.initiative-head .eyebrow,
.cta-section .eyebrow {
  color: var(--blue);
}

.section-heading p,
.initiative-head p,
.fit-block li,
.roadmap-grid p,
.systems-grid p,
.cta-section p,
.campaign-footer p {
  color: var(--muted);
  line-height: 1.62;
}

.systems-section {
  border-top: 5px solid var(--red);
}

.systems-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.systems-grid article,
.roadmap-grid article {
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.systems-grid span,
.roadmap-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.systems-grid strong,
.roadmap-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1.18;
}

.systems-grid p,
.roadmap-grid p {
  margin-bottom: 0;
}

.initiative-card {
  border-top: 5px solid var(--blue);
}

.initiative-card:nth-of-type(4) {
  border-top-color: var(--red);
}

.initiative-card:nth-of-type(5) {
  border-top-color: var(--cyan);
}

.initiative-card:nth-of-type(6) {
  border-top-color: var(--blue-dark);
}

.initiative-head {
  max-width: 980px;
  margin-bottom: 26px;
}

.initiative-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.fit-block {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.fit-block.accent {
  border-color: rgba(0, 87, 166, 0.3);
  background:
    linear-gradient(180deg, rgba(0, 87, 166, 0.06), rgba(255, 255, 255, 0)),
    #ffffff;
}

.fit-block h3 {
  color: var(--blue-dark);
}

.fit-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.kpi-row span {
  position: relative;
  min-height: 74px;
  padding: 18px;
  color: var(--blue-dark);
  font-weight: 900;
  line-height: 1.35;
  background: #ffffff;
}

.kpi-row span::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--blue);
}

.kpi-row span:nth-child(2)::before {
  background: var(--red);
}

.kpi-row span:nth-child(3)::before {
  background: var(--cyan);
}

.product-passport {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0, 87, 166, 0.04), rgba(255, 255, 255, 0)),
    #ffffff;
}

.passport-title {
  max-width: 980px;
}

.passport-title span,
.demo-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.passport-title h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.12;
}

.passport-title p,
.product-demo p,
.passport-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.passport-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.passport-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.passport-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 19px;
  line-height: 1.2;
}

.passport-grid p {
  margin-bottom: 0;
}

.workflow {
  padding: 20px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 63, 125, 0.98), rgba(0, 87, 166, 0.92)),
    var(--blue);
}

.workflow h3 {
  color: #ffffff;
}

.workflow ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  min-height: 150px;
  padding: 14px;
  color: #e6f5ff;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.workflow li span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 900;
  border-radius: var(--radius);
  background: var(--red);
}

.product-demo {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-demo > div {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.product-demo strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1.12;
}

.product-demo table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.product-demo th,
.product-demo td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.product-demo th {
  color: var(--blue-dark);
  font-size: 13px;
  text-transform: uppercase;
  background: #f1f7fd;
}

.product-demo td {
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-demo tr:last-child td {
  border-bottom: 0;
}

.roadmap-section {
  border-top: 5px solid var(--red);
}

.cta-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 63, 125, 0.96), rgba(0, 87, 166, 0.92)),
    var(--blue);
}

.cta-section .eyebrow {
  color: #bdeeff;
}

.cta-section p {
  max-width: 900px;
  color: #e6f5ff;
}

.campaign-footer {
  margin-top: 28px;
  padding: 28px clamp(14px, 4vw, 48px) 36px;
  color: #ffffff;
  background: var(--blue-dark);
  border-top: 4px solid var(--red);
}

.campaign-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.campaign-footer p {
  margin: 0;
  color: #d7ecff;
}

.campaign-footer code {
  color: #ffffff;
}

@media (max-width: 1080px) {
  .campaign-header {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 34px clamp(18px, 4vw, 36px);
    min-height: auto;
  }

  .hero-visual {
    max-width: 640px;
    min-height: 500px;
  }

  .systems-grid,
  .roadmap-grid,
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .passport-grid,
  .workflow ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-demo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .campaign-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .brand {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .party-logo-placeholder {
    width: 48px;
    height: 48px;
  }

  .header-nav {
    gap: 10px;
  }

  .header-nav a {
    padding: 8px 0;
  }

  .outline-action,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero {
    padding: 28px 16px 22px;
  }

  h1 {
    font-size: clamp(26px, 7vw, 31px);
  }

  .hero-name-last {
    font-size: 0.62em;
  }

  .hero-title {
    font-size: clamp(22px, 6vw, 27px);
    line-height: 1.18;
  }

  .lead {
    font-size: 15px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .systems-board {
    width: calc(100% - 18px);
    padding: 14px;
  }

  .initiative-rank li {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 88px;
    padding: 12px;
  }

  .initiative-rank span {
    width: 46px;
    height: 46px;
  }

  .initiative-rank strong {
    font-size: 17px;
  }

  .stats-strip,
  .systems-grid,
  .roadmap-grid,
  .initiative-layout,
  .kpi-row,
  .passport-grid,
  .workflow ol,
  .product-demo {
    grid-template-columns: 1fr;
  }

  .workflow li {
    min-height: 0;
  }

  .section,
  .cta-section {
    padding: 24px 16px;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    font-size: 12px;
  }

  .board-header strong {
    font-size: 28px;
  }
}
