:root {
  --blue-950: #032453;
  --blue-900: #073b85;
  --blue-800: #0754b8;
  --blue-700: #0868db;
  --green: #14963c;
  --green-dark: #08712d;
  --yellow: #ffc400;
  --ink: #082d64;
  --muted: #64748b;
  --surface: #f5f8fc;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 24px rgba(5, 42, 91, .11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0, rgba(23, 103, 198, .55), transparent 28rem),
    var(--blue-950);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

a { color: inherit; }

.page-shell {
  position: relative;
  width: min(100%, 620px);
  margin: 24px auto 48px;
  overflow: hidden;
  background: var(--blue-900);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 17, 45, .36);
}

.brand-stripe, .footer-stripe {
  display: grid;
  grid-template-columns: 1.1fr .9fr .7fr;
  height: 5px;
}

.brand-stripe i:nth-child(1), .footer-stripe i:nth-child(1) { background: var(--green); }
.brand-stripe i:nth-child(2), .footer-stripe i:nth-child(2) { background: var(--yellow); }
.brand-stripe i:nth-child(3), .footer-stripe i:nth-child(3) { background: var(--blue-700); }

.profile {
  position: relative;
  min-height: 560px;
  padding: 46px 24px 46px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 33%, rgba(21, 109, 219, .9), transparent 41%),
    linear-gradient(165deg, #0a4d9e 0%, #073b85 50%, #052d6a 100%);
}

.profile::before, .profile::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.09);
}

.profile::before { width: 380px; height: 380px; top: 85px; left: calc(50% - 190px); }
.profile::after { width: 470px; height: 470px; top: 40px; left: calc(50% - 235px); }

.party-pill {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 22px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.profile-photo-wrap {
  position: relative;
  z-index: 1;
  width: 194px;
  aspect-ratio: 1;
  margin: 21px auto 20px;
  padding: 6px;
  border-radius: 50%;
  background: conic-gradient(var(--yellow) 0 45%, var(--green) 45% 69%, #fff 69% 78%, var(--yellow) 78%);
  box-shadow: 0 12px 35px rgba(0,0,0,.3);
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid var(--blue-950);
  border-radius: 50%;
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 3px;
  color: var(--yellow);
  font: 800 14px/1 "Barlow Condensed", Arial Narrow, sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
}

h1, h2, .link-copy strong, .primary-cta strong, .footer > strong {
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  text-transform: uppercase;
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(46px, 12vw, 66px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.03em;
  text-shadow: 0 3px 0 rgba(0,0,0,.12);
}

h1 span { font-size: .76em; }

.candidate-number {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 17px 0 12px;
  padding: 7px 23px 8px;
  background: var(--yellow);
  color: var(--blue-950);
  border-radius: 7px;
  box-shadow: 0 7px 18px rgba(0,0,0,.23);
  font: 900 31px/1 "Barlow Condensed", Arial Narrow, sans-serif;
  letter-spacing: .08em;
}

.tagline {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.content-panel {
  position: relative;
  padding: 0 24px 36px;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
}

.content-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  border-radius: 0 20px 0 100%;
  background: radial-gradient(circle at 100% 0, rgba(8,104,219,.09) 0 24%, transparent 25% 38%, rgba(8,104,219,.045) 39% 55%, transparent 56%);
}

.support-card {
  position: relative;
  z-index: 1;
  transform: translateY(-18px);
  padding: 24px 22px 18px;
  background: #fff;
  border: 1px solid #d7e3f1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  color: #3b5f89;
  background: #eff5fc;
  border: 1px solid #d8e4f1;
  border-radius: 999px;
  font: 800 10px/1 "Barlow Condensed", Arial Narrow, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.spark { color: var(--yellow); }

h2 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: clamp(34px, 9vw, 47px);
  font-weight: 900;
  line-height: .89;
  letter-spacing: -.025em;
}

h2 span { color: var(--green); }

.support-copy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr;
  align-items: center;
  gap: 4px;
  margin: 24px -7px 20px;
}

.step { min-width: 0; text-align: center; }

.step-number {
  display: grid;
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  place-items: center;
  color: #fff;
  background: var(--blue-800);
  border-radius: 7px;
  box-shadow: 0 4px 8px rgba(8, 84, 184, .3);
  font-size: 11px;
  font-weight: 800;
}

.step-visual {
  width: clamp(64px, 19vw, 94px);
  aspect-ratio: 1;
  margin: auto;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  outline: 2px solid #e0e9f3;
  background: #f2f6fb;
}

.step-visual img { width: 100%; height: 100%; object-fit: cover; }

.frame-preview {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0a5bc4 0 60%, var(--green) 60% 72%, var(--yellow) 72%);
}

.frame-preview span {
  color: var(--yellow);
  font: 900 clamp(15px, 4vw, 21px)/1 "Barlow Condensed", Arial Narrow, sans-serif;
  text-shadow: 1px 2px 0 rgba(0,0,0,.25);
}

.step strong, .step small { display: block; text-transform: uppercase; }
.step strong { margin-top: 10px; color: var(--ink); font: 800 12px/1 "Barlow Condensed", Arial Narrow, sans-serif; }
.step small { margin-top: 3px; color: #718198; font-size: 8px; font-weight: 700; }

.step-arrow {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-top: 15px;
  color: var(--blue-800);
  background: #edf4fb;
  border-radius: 50%;
  font-size: 19px;
}

.primary-cta {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px 11px 18px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, var(--blue-900), var(--blue-800));
  border-radius: 13px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(7,59,133,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-cta span:first-child { display: grid; gap: 3px; }
.primary-cta strong { font-size: 18px; line-height: 1; letter-spacing: .025em; }
.primary-cta small { color: rgba(255,255,255,.72); font-size: 9px; }

.cta-arrow {
  display: grid;
  flex: 0 0 43px;
  height: 43px;
  place-items: center;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 11px;
  font-size: 30px;
  font-weight: 800;
}

.links { display: grid; gap: 12px; margin-top: 10px; }

.link-card {
  display: grid;
  min-height: 78px;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 11px 16px 11px 12px;
  border-radius: 15px;
  box-shadow: 0 5px 14px rgba(5, 42, 91, .08);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.icon-box {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 13px;
  background: rgba(255,255,255,.15);
}

.icon-box svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-box svg.facebook { fill: currentColor; stroke: none; }
.fill-dot { fill: currentColor; stroke: none; }

.link-copy { display: grid; min-width: 0; gap: 2px; }
.link-copy strong { font-size: 18px; font-weight: 800; line-height: 1; letter-spacing: .01em; }
.link-copy small { opacity: .76; font-size: 10px; line-height: 1.35; }
.link-arrow { padding-left: 6px; font-size: 27px; font-weight: 600; }

.card-blue { color: #fff; background: linear-gradient(110deg, var(--blue-900), var(--blue-800)); }
.card-green { color: #fff; background: linear-gradient(110deg, var(--green-dark), var(--green)); }
.card-white { color: var(--ink); background: #fff; border: 1px solid #e2e8f0; }
.card-white .social-icon { color: #fff; background: var(--blue-950); }
.footer {
  padding: 38px 0 2px;
  color: #5f7188;
  text-align: center;
}

.footer-stripe { width: 80px; height: 4px; margin: 0 auto 16px; }
.footer > strong { color: var(--ink); font-size: 20px; }
.footer p { margin: 5px 0 11px; font-size: 10px; line-height: 1.5; }
.footer-socials { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; font-size: 10px; font-weight: 700; }
.footer-socials a { text-underline-offset: 3px; }
.footer > small { font-size: 9px; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.support-card.reveal { transform: translateY(-6px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.support-card.reveal.is-visible { transform: translateY(-18px); }

@media (hover: hover) {
  .primary-cta:hover, a.link-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(5,42,91,.18); }
  .primary-cta:active, a.link-card:active { transform: translateY(-1px) scale(.995); }
}

@media (max-width: 660px) {
  .page-shell { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
}

@media (max-width: 430px) {
  .profile { min-height: 520px; padding-top: 39px; }
  .profile-photo-wrap { width: 174px; }
  .content-panel { padding-inline: 16px; }
  .support-card { padding-inline: 16px; }
  .link-card { grid-template-columns: 50px 1fr auto; padding-right: 12px; gap: 11px; }
  .icon-box { width: 50px; height: 50px; }
  .link-copy strong { font-size: 17px; }
  .link-copy small { font-size: 9px; }
}

@media (max-width: 360px) {
  .content-panel { padding-inline: 12px; }
  .support-card { padding-inline: 13px; }
  .steps { gap: 1px; }
  .step-visual { width: 65px; }
  .link-card { grid-template-columns: 46px 1fr auto; gap: 9px; }
  .icon-box { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .support-card.reveal { transform: translateY(-18px); }
}
