/*
Theme Name: RankedChoiceVoting
Theme URI: https://example.org/
Author: Harmedia Studios
Description: A modern, nonpartisan WordPress block theme for Ranked Choice Voting education, civic engagement, and public awareness.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: more-choice-more-voice
Tags: block-theme, full-site-editing, accessibility-ready, education, news, custom-colors, wide-blocks
*/

:root {
  --mcmv-shadow-sm: 0 10px 30px rgba(10, 24, 40, .08);
  --mcmv-shadow-lg: 0 24px 70px rgba(10, 24, 40, .14);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #ffd86b; color: #0b1f33; }

.wp-site-blocks { overflow: clip; }

.mcmv-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mcmv-kicker::before {
  content: "";
  width: .65rem;
  height: .65rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 1.05rem 0 0 color-mix(in srgb, currentColor 55%, transparent), 2.1rem 0 0 color-mix(in srgb, currentColor 25%, transparent);
  margin-right: 2rem;
}

.mcmv-hero {
  position: relative;
  isolation: isolate;
}

.mcmv-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -36% 38%;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38,194,175,.20) 0%, rgba(38,194,175,0) 66%);
  z-index: -1;
  pointer-events: none;
}

.mcmv-rank-card {
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--mcmv-shadow-lg);
  backdrop-filter: blur(12px);
}

.mcmv-rank-row {
  display: grid !important;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 1rem !important;
  row-gap: .25rem !important;
  min-height: 5.25rem;
  transition: transform .18s ease, border-color .18s ease;
}

.mcmv-rank-row:hover {
  transform: translateX(.25rem);
}

/*
 * WordPress Group blocks normally inject flex/constrained layout rules.
 * The ballot is intentionally a 3-column grid:
 * rank number | candidate copy | choice badge
 */
.mcmv-rank-row > .mcmv-rank-number {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: center !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 3.25rem !important;
  min-width: 3.25rem !important;
  max-width: 3.25rem !important;
  height: 3.25rem !important;
  min-height: 3.25rem !important;
  max-height: 3.25rem !important;
  aspect-ratio: 1 / 1;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1 !important;
}

.mcmv-rank-row > .wp-block-group {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
}

.mcmv-rank-row > .wp-block-group > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mcmv-rank-row > .mcmv-pill {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: center !important;
  flex: none !important;
  width: auto !important;
  margin: 0 !important;
}

.mcmv-pill {
  display: inline-block;
  border-radius: 999px;
  padding: .38rem .7rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mcmv-card {
  height: 100%;
  box-shadow: var(--mcmv-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}

.mcmv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mcmv-shadow-lg);
}

.mcmv-step-number {
  display: inline-grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
  font-size: 1.35rem;
  font-weight: 900;
  transform: rotate(-3deg);
}

.mcmv-stat {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.055em;
}

.mcmv-quote {
  position: relative;
}

.mcmv-quote::before {
  content: "“";
  position: absolute;
  left: -1rem;
  top: -2.5rem;
  font-size: 8rem;
  line-height: 1;
  opacity: .09;
  font-family: Georgia, serif;
}

.mcmv-grid-lines {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

.mcmv-checklist { list-style: none; padding-left: 0; }
.mcmv-checklist li { position: relative; padding-left: 2rem; margin-bottom: .75rem; }
.mcmv-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .06rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #26c2af;
  color: #081927;
  font-size: .78rem;
  font-weight: 900;
}

.mcmv-faq details {
  border-top: 1px solid rgba(11,31,51,.14);
  padding: 1.25rem 0;
}
.mcmv-faq details:last-child { border-bottom: 1px solid rgba(11,31,51,.14); }
.mcmv-faq summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; }
.mcmv-faq details p { margin-bottom: .35rem; max-width: 52rem; }

.wp-block-button__link { transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10,24,40,.16); }

.wp-block-navigation a { text-decoration-thickness: .12em; text-underline-offset: .3em; }
.wp-block-navigation a:hover { text-decoration: underline; }

@media (max-width: 781px) {
  .mcmv-rank-row {
    grid-template-columns: 2.8rem minmax(0, 1fr) !important;
  }

  .mcmv-rank-row > .mcmv-rank-number {
    width: 2.8rem !important;
    min-width: 2.8rem !important;
    max-width: 2.8rem !important;
    height: 2.8rem !important;
    min-height: 2.8rem !important;
    max-height: 2.8rem !important;
  }

  .mcmv-rank-row > .wp-block-group {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .mcmv-rank-row > .mcmv-pill {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    margin-top: .35rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ==============================================================
   HERO ABOVE-THE-FOLD COMPRESSION
   Keeps the full primary message + ballot visible on desktop.
   ============================================================== */

@media (min-width: 1100px) {

  .mcmv-hero {
    min-height: calc(100vh - 105px);
    display: flex;
    align-items: center;
  }

  .mcmv-hero > .wp-block-columns {
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .mcmv-hero.alignfull {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .mcmv-hero h1 {
    font-size: clamp(4.2rem, 6.3vw, 6.6rem) !important;
    line-height: .92 !important;
    margin-top: .65rem !important;
    margin-bottom: 1rem !important;
  }

  .mcmv-hero .mcmv-kicker {
    margin-bottom: .25rem !important;
  }

  .mcmv-hero .has-large-font-size {
    font-size: 1.28rem !important;
    line-height: 1.42 !important;
  }

  .mcmv-hero .wp-block-buttons {
    margin-top: 1.25rem !important;
  }

  .mcmv-rank-card {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .mcmv-rank-card > p:first-child {
    margin-top: 0 !important;
    margin-bottom: .75rem !important;
  }

  .mcmv-rank-row {
    min-height: 4.65rem !important;
    padding-top: .6rem !important;
    padding-bottom: .6rem !important;
  }
}

@media (min-width: 1400px) and (min-height: 850px) {
  .mcmv-hero.alignfull {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}

/* ==============================================================
   TRY RCV V1 - INTERACTIVE PIZZA ELECTION
   ============================================================== */

.mcmv-try-hero-button .wp-block-button__link { box-shadow: 0 10px 28px rgba(255,216,107,.22); }
.mcmv-rcv-app { margin-top: 3rem; }

.mcmv-rcv-stage {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(11,31,51,.12);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--mcmv-shadow-lg);
}
.mcmv-rcv-stage + .mcmv-rcv-stage { margin-top: 2rem; }

.mcmv-rcv-stage-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.mcmv-rcv-stage-heading h3 { margin: .2rem 0 .35rem; font-size: clamp(1.6rem,3vw,2.35rem); }
.mcmv-rcv-stage-heading p { margin: 0; }

.mcmv-rcv-step-label,.mcmv-method-label,.mcmv-your-ballot-label,.mcmv-rcv-winner > span {
  display: inline-block;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #123d5a;
}

.mcmv-ranking-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.mcmv-ranking-list li {
  display: grid;
  grid-template-columns: 3rem 3rem minmax(0,1fr) auto;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(11,31,51,.13);
  border-radius: 18px;
  background: #f7f4ec;
}

.mcmv-rank-pos {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: #0b1f33;
  color: #fff;
  font-weight: 900;
}
.mcmv-pizza-icon { font-size: 1.7rem; line-height: 1; }
.mcmv-option-name { min-width: 0; font-size: 1.1rem; font-weight: 850; }
.mcmv-rank-controls { display: flex; gap: .4rem; }

.mcmv-rank-controls button,.mcmv-rcv-reset {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(11,31,51,.18);
  border-radius: 12px;
  background: #fff;
  color: #0b1f33;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.mcmv-rank-controls button:disabled { opacity: .3; cursor: default; }

.mcmv-rcv-primary-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.mcmv-rcv-primary-actions button {
  min-height: 48px;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.mcmv-rcv-count-button,.mcmv-rcv-compare-button { border: 0; background: #26c2af; color: #081927; }
.mcmv-rcv-secondary-button { border: 1px solid rgba(11,31,51,.18); background: #fff; color: #0b1f33; }

.mcmv-your-ballot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-bottom: 1.5rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: #fff5cf;
}
.mcmv-your-ballot-path { font-weight: 800; }
.mcmv-rounds { display: grid; gap: 1rem; }

.mcmv-round-card {
  padding: 1.25rem;
  border: 1px solid rgba(11,31,51,.12);
  border-radius: 20px;
  background: #f8faf9;
}
.mcmv-round-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.mcmv-round-heading > span { font-size: .74rem; font-weight: 900; letter-spacing: .1em; color: #123d5a; }
.mcmv-round-heading > strong { color: #123d5a; }

.mcmv-result-row + .mcmv-result-row { margin-top: .8rem; }
.mcmv-result-row.is-user-choice { padding: .6rem; margin-inline: -.6rem; border-radius: 12px; background: #fff5cf; }
.mcmv-result-label { display: grid; grid-template-columns: 1.8rem minmax(0,1fr) auto; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.mcmv-result-label b { font-variant-numeric: tabular-nums; }
.mcmv-result-track { height: .65rem; overflow: hidden; border-radius: 999px; background: #dce6e8; }
.mcmv-result-track > span { display: block; height: 100%; border-radius: inherit; background: #123d5a; }
.mcmv-result-row.is-user-choice .mcmv-result-track > span { background: #26c2af; }

.mcmv-round-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; background: #ece8ff; font-weight: 750; }
.mcmv-round-status.is-winner { background: #d7f5ef; }

.mcmv-rcv-winner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: #0b1f33;
  color: #fff;
}
.mcmv-rcv-winner > span { color: #ffd86b; }
.mcmv-rcv-winner > strong { font-size: 1.35rem; }

.mcmv-method-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mcmv-method-comparison > section { min-width: 0; padding: 1.25rem; border: 1px solid rgba(11,31,51,.12); border-radius: 20px; background: #f8faf9; }
.mcmv-method-comparison h4 { margin: .3rem 0 1rem; font-size: 1.2rem; }
.mcmv-method-note { margin-bottom: 0; padding-top: .9rem; border-top: 1px solid rgba(11,31,51,.12); }

.mcmv-rcv-takeaway { display: grid; gap: .2rem; margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 16px; background: #ffd86b; color: #0b1f33; }
.mcmv-rcv-noscript { padding: 1rem; border: 1px solid #a54; border-radius: 12px; }
.mcmv-rcv-app button:focus-visible { outline: 3px solid #7c70e8; outline-offset: 3px; }

@media (max-width: 700px) {
  .mcmv-ranking-list li { grid-template-columns: 2.8rem 2.5rem minmax(0,1fr); }
  .mcmv-rank-controls { grid-column: 3; }
  .mcmv-method-comparison { grid-template-columns: 1fr; }
  .mcmv-rcv-stage-heading { display: block; }
  .mcmv-rcv-reset { margin-top: 1rem; }
}

/* ==============================================================
   TRY RCV V1.1 - TRANSFERS / JOURNEY / EXHAUSTION
   ============================================================== */

.mcmv-unrank-button {
  width: auto !important;
  padding: 0 .7rem;
  font-size: .78rem;
}

.mcmv-unranked-box {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(11,31,51,.22);
  border-radius: 16px;
  background: #fff;
}

.mcmv-unranked-box > strong {
  display: block;
  margin-bottom: .6rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mcmv-unranked-box [data-unranked-list] {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.mcmv-restore-rank {
  min-height: 42px;
  padding: .55rem .8rem;
  border: 1px solid rgba(11,31,51,.15);
  border-radius: 999px;
  background: #f7f4ec;
  color: #0b1f33;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.mcmv-restore-rank small {
  margin-left: .35rem;
  opacity: .6;
}

.mcmv-my-ballot-status {
  margin-bottom: 1rem;
  padding: .9rem 1rem;
  border-left: 5px solid #26c2af;
  border-radius: 12px;
  background: #e5f8f5;
}

.mcmv-my-ballot-status strong {
  display: block;
  margin-bottom: .2rem;
}

.mcmv-my-ballot-status.is-transfer {
  border-left-color: #ffd86b;
  background: #fff5cf;
}

.mcmv-my-ballot-status.is-exhausted {
  border-left-color: #7c70e8;
  background: #ece8ff;
}

.mcmv-round-results {
  margin-top: 1rem;
}

.mcmv-transfer-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #0b1f33;
  color: #fff;
}

.mcmv-transfer-title {
  display: block;
  margin-bottom: .7rem;
  color: #ffd86b;
}

.mcmv-transfer-box ul {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mcmv-transfer-box li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: .55rem;
  align-items: center;
}

.mcmv-transfer-box li.is-exhausted {
  color: #d8d0ff;
}

.mcmv-round-heading {
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(11,31,51,.12);
}

.mcmv-rcv-winner {
  justify-content: center;
  padding: 1.4rem;
}

.mcmv-rcv-winner > strong {
  font-size: 1.7rem;
}

@media (max-width:700px) {

  .mcmv-rank-controls {
    flex-wrap: wrap;
  }

  .mcmv-unrank-button {
    flex-basis: 100%;
  }

  .mcmv-round-heading > strong {
    flex-basis: 100%;
  }
}

/* ==============================================================
   RANKEDVOTING.US STRUCTURE V1
   ============================================================== */

.mcmv-mega-number {
  margin: 0;
  font-size: clamp(3.8rem,8vw,7rem);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.055em;
}

.mcmv-big-number-card,
.mcmv-history-number-card,
.mcmv-decline-ballot,
.mcmv-evidence-card {
  box-shadow: var(--mcmv-shadow-sm);
}

.mcmv-decline-ballot p {
  margin-top: .55rem;
  margin-bottom: .55rem;
  padding: .65rem .8rem;
  border-radius: 10px;
  background: #f7f4ec;
}

.mcmv-democracy-callout {
  box-shadow: 0 16px 44px rgba(0,0,0,.12);
}

.mcmv-bound-card,
.mcmv-evidence-card {
  height: 100%;
}

.mcmv-timeline {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.mcmv-timeline article {
  min-height: 145px;
  padding: 1.3rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.mcmv-timeline strong {
  display: block;
  margin-bottom: .6rem;
  color: #ffd86b;
  font-size: 1.25rem;
}

.mcmv-timeline span {
  color: #eaf2f4;
}

.mcmv-timeline article.future {
  border-color: #26c2af;
  background: rgba(38,194,175,.12);
}

.mcmv-current-stat {
  padding: 1rem;
  text-align: center;
}

.mcmv-source-framework {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.mcmv-source-framework section {
  padding: 1.25rem;
  border: 1px solid rgba(11,31,51,.13);
  border-radius: 16px;
  background: #fff;
}

.mcmv-source-framework strong {
  display: block;
  margin-bottom: .35rem;
  font-size: 1.05rem;
}

.mcmv-source-framework span {
  display: block;
}

.mcmv-source-framework a {
  font-weight: 800;
}

@media (max-width:900px) {

  .mcmv-timeline {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:650px) {

  .mcmv-timeline,
  .mcmv-source-framework {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================
   POLITICAL INCENTIVES V1
   ============================================================== */

.mcmv-power-card {
  height: 100%;
  box-shadow: 0 16px 44px rgba(0,0,0,.12);
}

.mcmv-power-label {
  margin-bottom: .4rem;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .11em;
}

.mcmv-power-question {
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
}

.mcmv-power-statement h2 {
  line-height: 1.05;
}

.mcmv-three-questions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}

.mcmv-three-questions > div {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: .7rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.65);
}

.mcmv-three-questions strong {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: #0b1f33;
  color: #fff;
  font-size: 1.1rem;
}

.mcmv-three-questions span {
  font-weight: 800;
}

@media (max-width:750px) {

  .mcmv-three-questions {
    grid-template-columns: 1fr;
  }
}


/* ==============================================================
   RVUS HERO V2 FOUR STEP
   ============================================================== */

.rvus-hero-v2{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(
      circle at 75% 110%,
      rgba(38,194,175,.22),
      transparent 40%
    ),
    linear-gradient(
      105deg,
      #0b2941 0%,
      #123f5c 100%
    );
  color:#fff;
}

.rvus-hero-v2::after{
  content:"";
  position:absolute;
  right:-8%;
  bottom:-110px;
  width:48%;
  height:180px;
  border-radius:50% 50% 0 0;
  background:rgba(38,194,175,.08);
  pointer-events:none;
}

.rvus-hero-v2-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(390px,.85fr);
  gap:clamp(3rem,6vw,6rem);
  align-items:center;
  width:min(1180px,calc(100% - 40px));
  min-height:620px;
  margin:0 auto;
  padding:54px 0;
}

.rvus-hero-v2-copy{
  min-width:0;
}

.rvus-hero-v2-kicker{
  display:flex;
  align-items:center;
  gap:7px;
  margin-bottom:20px;
  color:#28c5b2;
  font-size:.78rem;
  font-weight:950;
  letter-spacing:.1em;
}

.rvus-hero-v2-kicker span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#28c5b2;
}

.rvus-hero-v2-kicker span:nth-child(2){
  opacity:.55;
}

.rvus-hero-v2-kicker span:nth-child(3){
  opacity:.28;
}

.rvus-hero-v2 h1{
  margin:0;
  font-size:clamp(4rem,6.4vw,6.9rem);
  line-height:.9;
  letter-spacing:-.055em;
}

.rvus-hero-v2 h1 span,
.rvus-hero-v2 h1 strong{
  display:block;
}

.rvus-hero-v2 h1 span{
  color:#fff;
}

.rvus-hero-v2 h1 strong{
  margin-top:.12em;
  color:#28c5b2;
}

.rvus-hero-v2-lead{
  max-width:720px;
  margin:27px 0 0;
  color:#fff;
  font-size:clamp(1.15rem,1.6vw,1.45rem);
  line-height:1.45;
}

.rvus-hero-v2-explain{
  max-width:720px;
  margin:14px 0 0;
  color:#cce0e9;
  font-size:1.02rem;
  line-height:1.5;
}

.rvus-hero-v2-actions{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:26px;
}

.rvus-hero-v2-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:58px;
  padding:0 25px;
  border:2px solid transparent;
  border-radius:999px;
  font-size:1.07rem;
  font-weight:950;
  text-decoration:none;
  transition:
    transform .15s ease,
    filter .15s ease;
}

.rvus-hero-v2-button:hover{
  transform:translateY(-2px);
  filter:brightness(1.04);
}

.rvus-hero-v2-button.is-gold{
  background:#ffd260;
  color:#071d31;
}

.rvus-hero-v2-button.is-teal{
  background:#28c5b2;
  color:#071d31;
}

.rvus-hero-v2-button.is-white{
  border-color:#071d31;
  background:#fff;
  color:#071d31;
}


.rvus-hero-v2-ballot{
  display:grid;
  gap:16px;
  padding:22px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:27px;
  background:rgba(255,255,255,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05);
}

.rvus-hero-v2-ballot-title{
  color:#fff;
  font-size:.78rem;
  font-weight:950;
  letter-spacing:.03em;
}

.rvus-hero-v2-choice{
  display:grid;
  grid-template-columns:56px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  min-height:94px;
  padding:14px;
  border:2px solid;
  border-radius:17px;
  background:rgba(255,255,255,.08);
}

.rvus-hero-v2-number{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:50%;
  color:#071d31;
  font-size:1.15rem;
  font-weight:950;
}

.rvus-hero-v2-choice-copy{
  min-width:0;
}

.rvus-hero-v2-choice-copy strong{
  display:block;
  color:#fff;
  font-size:1.15rem;
  line-height:1.25;
}

.rvus-hero-v2-choice-copy span{
  display:block;
  margin-top:5px;
  color:#e9f2f5;
  font-size:.78rem;
  line-height:1.3;
}

.rvus-hero-v2-pill{
  padding:8px 13px;
  border-radius:999px;
  color:#071d31;
  font-size:.67rem;
  font-weight:950;
  white-space:nowrap;
}


.rvus-hero-v2-choice.is-first{
  border-color:#28c5b2;
}

.rvus-hero-v2-choice.is-first
.rvus-hero-v2-number,
.rvus-hero-v2-choice.is-first
.rvus-hero-v2-pill{
  background:#28c5b2;
}


.rvus-hero-v2-choice.is-second{
  border-color:#ffd260;
}

.rvus-hero-v2-choice.is-second
.rvus-hero-v2-number,
.rvus-hero-v2-choice.is-second
.rvus-hero-v2-pill{
  background:#ffd260;
}


.rvus-hero-v2-choice.is-third{
  border-color:#7c70e8;
}

.rvus-hero-v2-choice.is-third
.rvus-hero-v2-number,
.rvus-hero-v2-choice.is-third
.rvus-hero-v2-pill{
  background:#7c70e8;
  color:#fff;
}


.rvus-hero-v2-choice.is-final{
  border-color:#fff;
  background:rgba(255,255,255,.12);
}

.rvus-hero-v2-choice.is-final
.rvus-hero-v2-number{
  background:#fff;
  color:#123f5c;
  font-size:1.5rem;
}

.rvus-hero-v2-choice.is-final
.rvus-hero-v2-pill{
  background:#fff;
  color:#123f5c;
}


@media(max-width:960px){

  .rvus-hero-v2-inner{
    grid-template-columns:1fr;
    min-height:0;
    padding:55px 0;
  }

  .rvus-hero-v2-ballot{
    max-width:680px;
  }
}


@media(max-width:620px){

  .rvus-hero-v2-inner{
    width:min(100% - 28px,1180px);
    gap:34px;
  }

  .rvus-hero-v2 h1{
    font-size:clamp(3.5rem,16vw,5rem);
  }

  .rvus-hero-v2-choice{
    grid-template-columns:48px minmax(0,1fr);
  }

  .rvus-hero-v2-number{
    width:46px;
    height:46px;
  }

  .rvus-hero-v2-pill{
    grid-column:2;
    justify-self:start;
  }

  .rvus-hero-v2-actions{
    display:grid;
  }

  .rvus-hero-v2-button{
    width:100%;
    box-sizing:border-box;
  }
}


/* ==============================================================
   RVUS HOW IT WORKS V2 FOUR STEP
   ============================================================== */

.rvus-how-v2{
  background:#f5f1e8;
  color:#071d31;
}

.rvus-how-v2-inner{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  padding:58px 0 64px;
}

.rvus-how-v2-kicker{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:16px;
  font-size:.68rem;
  font-weight:950;
  letter-spacing:.12em;
}

.rvus-how-v2-kicker span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#174b68;
}

.rvus-how-v2-kicker span:nth-child(2){
  opacity:.55;
}

.rvus-how-v2-kicker span:nth-child(3){
  opacity:.25;
}

.rvus-how-v2-header{
  max-width:760px;
  margin:0 auto 32px;
  text-align:center;
}

.rvus-how-v2-header h2{
  margin:0;
  color:#071d31;
  font-size:clamp(1.9rem,3vw,2.65rem);
  line-height:1.1;
  letter-spacing:-.035em;
}

.rvus-how-v2-header p{
  max-width:680px;
  margin:18px auto 0;
  font-size:clamp(1.15rem,2vw,1.55rem);
  line-height:1.45;
}

.rvus-how-v2-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.rvus-how-v2-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:315px;
  padding:22px;
  border-radius:20px;
  background:#fff;
  box-shadow:
    0 12px 30px rgba(7,29,49,.055);
}

.rvus-how-v2-step{
  display:grid;
  place-items:center;
  width:106px;
  height:72px;
  margin-bottom:18px;
  border-radius:13px;
  color:#071d31;
  font-size:1.05rem;
  font-weight:950;
  transform:rotate(-3deg);
}

.rvus-how-v2-card:nth-child(even)
.rvus-how-v2-step{
  transform:rotate(3deg);
}

.rvus-how-v2-card h3{
  margin:0 0 14px;
  color:#071d31;
  font-size:1.35rem;
  line-height:1.15;
  letter-spacing:-.025em;
}

.rvus-how-v2-card p{
  margin:0;
  color:#071d31;
  font-size:.94rem;
  line-height:1.55;
}

.rvus-how-v2-card.is-rank
.rvus-how-v2-step{
  background:#28c5b2;
}

.rvus-how-v2-card.is-count
.rvus-how-v2-step{
  background:#ffd260;
}

.rvus-how-v2-card.is-continue
.rvus-how-v2-step{
  background:#7c70e8;
  color:#fff;
}

.rvus-how-v2-card.is-winner{
  border:2px solid #174b68;
}

.rvus-how-v2-card.is-winner
.rvus-how-v2-step{
  background:#174b68;
  color:#fff;
  font-size:1.45rem;
}

.rvus-how-v2-note{
  margin-top:14px !important;
  padding-top:14px;
  border-top:1px solid #d9dfe3;
  font-size:.82rem !important;
  font-weight:750;
}

.rvus-how-v2-result{
  align-self:flex-start;
  margin-top:auto;
  padding:8px 15px;
  border-radius:999px;
  background:#174b68;
  color:#fff;
  font-size:.7rem;
  font-weight:950;
  letter-spacing:.08em;
}

@media(max-width:1000px){

  .rvus-how-v2-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .rvus-how-v2-card{
    min-height:280px;
  }
}

@media(max-width:620px){

  .rvus-how-v2-inner{
    width:min(100% - 28px,1180px);
    padding:45px 0;
  }

  .rvus-how-v2-grid{
    grid-template-columns:1fr;
  }

  .rvus-how-v2-card{
    min-height:0;
  }
}
