
/* Respect Voters Coalition — component styles. Every value comes from tokens.css. */

.rv-root, [data-env] { background: var(--surface); color: var(--ink-body); font-family: var(--font-sans); font-size: 19px; line-height: 1.5; }

/* Type helpers */
.rv-display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--ink); margin: 0; line-height: 1; }
.rv-display .rv-em { color: var(--ink-emphasis); }
.rv-display--xl { font-size: 72px; line-height: 0.95; }
.rv-display--lg { font-size: 56px; }
.rv-display--md { font-size: 40px; }
.rv-display--sm { font-size: 28px; line-height: 1.05; }
.rv-eyebrow { font-family: var(--font-sans); font-weight: 900; font-size: 14px; line-height: 1.2; letter-spacing: 1.5px; text-transform: uppercase; color: var(--eyebrow); margin: 0; }
.rv-eyebrow--accent { color: var(--ink-emphasis); } /* only at 19px bold and up on light grounds */
.rv-eyebrow--lg { font-size: 19px; letter-spacing: 2px; }
.rv-lead { font-size: 21px; line-height: 1.5; color: var(--ink-muted); margin: 0; }
.rv-caption { font-size: 14px; line-height: 1.4; color: var(--ink-subtle); margin: 0; }
.rv-lockup { display: flex; flex-direction: column; gap: var(--space-3); }

/* Buttons: pill, Roboto Black, uppercase */
.rv-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 12px var(--space-5); border: 0; border-radius: var(--radius-full); font-family: var(--font-sans); font-size: 19px; font-weight: 900; line-height: 1; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.rv-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.rv-btn--primary { background: var(--action); color: var(--on-action); }
.rv-btn--alt { background: var(--action-alt); color: var(--on-action-alt); }
.rv-btn--bright { background: var(--action-bright); color: var(--on-action-bright); }
.rv-btn--primary:hover, .rv-btn--alt:hover, .rv-btn--bright:hover { filter: brightness(1.08); }
.rv-btn--wide { padding-inline: 40px; }
.rv-cta { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-sans); font-size: 19px; font-weight: 900; text-transform: uppercase; text-decoration: none; color: var(--eyebrow); }
.rv-cta::after { content: "\2192"; }
.rv-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.rv-link { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* Cards */
.rv-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--surface); border: var(--stroke-hairline) solid var(--border); border-radius: var(--radius-md); }
.rv-card--raised { background: var(--surface-alt); border-color: transparent; }
.rv-card--inverse { background: var(--surface-inverse); border-color: transparent; }
.rv-card--inverse .rv-card__title { color: var(--surface); }
.rv-card--inverse .rv-card__body { color: var(--surface-alt); }
.rv-card--inverse .rv-card__index { color: var(--stat-inverse); }
.rv-card--top-cyan { border-top: var(--stroke-accent) solid var(--cyan); }
.rv-card--top-red { border-top: var(--stroke-accent) solid var(--red); }
.rv-card--top-yellow { border-top: var(--stroke-accent) solid var(--yellow); }
.rv-card__index { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 0.9; color: var(--stat); margin: 0; }
.rv-card__title { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; color: var(--ink); margin: 0; }
.rv-card__body { font-size: 17px; line-height: 1.45; color: var(--ink-muted); margin: 0; }

/* Stat block */
.rv-stat { display: flex; flex-direction: column; gap: var(--space-2); }
.rv-stat__value { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 0.9; color: var(--stat); margin: 0; }
.rv-stat__label { font-family: var(--font-sans); font-weight: 900; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); margin: 0; }
.rv-stat__note { font-size: 16px; line-height: 1.45; color: var(--ink-muted); margin: 0; }
.rv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-6); }

/* Form fields */
.rv-field { display: flex; flex-direction: column; gap: var(--space-2); }
.rv-field__label { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink); }
.rv-field__input { font-family: var(--font-sans); font-size: 18px; color: var(--ink-body); background: transparent; border: var(--stroke-hairline) solid var(--field-border); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-4); min-height: 44px; }
.rv-field__input::placeholder { color: var(--ink-subtle); }
.rv-field__input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rv-field__help { font-size: 14px; color: var(--ink-subtle); }

/* Table */
.rv-table { width: 100%; border-collapse: collapse; font-size: 17px; color: var(--ink-body); border: var(--stroke-hairline) solid var(--border); }
.rv-table th { background: var(--navy); color: var(--white); font-weight: 700; text-align: left; padding: var(--space-3) var(--space-4); }
.rv-table td { padding: var(--space-3) var(--space-4); border-top: var(--stroke-hairline) solid var(--border); }
.rv-table tbody tr:nth-child(even) td { background: var(--surface-alt); }
.rv-table .rv-num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Quote */
.rv-quote { margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.rv-quote__text { font-family: var(--font-sans); font-weight: 400; font-size: 24px; line-height: 1.4; color: var(--ink); margin: 0; }
.rv-quote__text::before { content: "\201C"; font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: 0.6; color: var(--ink-emphasis); display: block; margin-bottom: var(--space-2); }
.rv-quote__who { font-weight: 900; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.rv-quote__role { font-size: 15px; color: var(--ink-muted); }

/* Ballot badge: the logo's check pill used as a marker */
.rv-badge { display: inline-block; width: 28px; height: auto; flex: none; }

/* Top accent bar for navy covers */
.rv-bar { height: var(--stroke-bar); background: var(--accent-bar); }

/* Lower third (video) */
.rv-lower-third { display: inline-flex; flex-direction: column; }
.rv-lower-third__plate { display: flex; align-items: center; gap: var(--space-5); background: var(--navy); border-top: 5px solid var(--cyan); padding: 16px 36px 18px 18px; }
.rv-lower-third__name { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 0.9; letter-spacing: 0.5px; text-transform: uppercase; color: var(--white); margin: 0; white-space: nowrap; }
.rv-lower-third__title { font-size: 18px; font-weight: 500; letter-spacing: 0.25px; color: var(--mist); margin: 0; white-space: nowrap; }
.rv-lower-third__tag { display: flex; align-items: center; background: var(--white); padding: 8px 18px; }
