/* ------------------------------------------------------------------ *
 * wti.css — our overrides on top of the localized Webflow stylesheet.
 * Loaded AFTER webflow.css so these win. Houses: section-dots nav,
 * scroll-snap, and the two restyled homepage CTAs.
 * ------------------------------------------------------------------ */

:root {
  --wti-purple: #8c1aec;
  --wti-purple-dark: #17012c;
}

/* Offset anchor jumps for the fixed 60px nav */
html { scroll-padding-top: 70px; }

/* ---------- Section dots + scroll-snap (homepage) ---------- */
html.snap-page { scroll-snap-type: y mandatory; }
/* The content sections (.shift etc.) are height:auto in the Webflow CSS because
   the original relied on fullPage.js to set per-section heights. Give the
   dot-tracked sections a full viewport height so snapping has firm targets. */
html.snap-page .fullpage > .snap-section:not(:empty) {
  min-height: 100vh;
  scroll-snap-align: start;
}
/* The hero (.snap-section-out) is an absolute/overlay element with no snap
   position, so mandatory snap couldn't rest at the very top. Give it a
   snap-start so scroll position 0 (the hero) stays reachable. */
html.snap-page .snap-section-out { scroll-snap-align: start; }

.wti-dots {
  position: fixed;
  right: 46px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: opacity 0.25s ease;
}
html.snap-page .wti-dots { display: flex; }
/* Hidden while on the hero/top screen, fades in once you scroll into content */
html.snap-page .wti-dots.at-top { opacity: 0; pointer-events: none; }

.wti-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid rgba(23, 1, 44, 0.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.wti-dot:hover { border-color: var(--wti-purple); }
.wti-dot.active {
  background: var(--wti-purple);
  border-color: var(--wti-purple);
  transform: scale(1.3);
}

/* Persistent vertical label naming the current section (replaces hover tips) */
.wti-dots-label {
  position: absolute;
  left: 100%;
  margin-left: 14px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wti-purple);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.wti-dots-label.show { opacity: 1; }

@media (max-width: 991px) {
  html.snap-page { scroll-snap-type: none; }
  html.snap-page .fullpage > .snap-section:not(:empty) { min-height: 0; }
  html.snap-page .wti-dots { display: none; }
}

/* ---------- Preamble "Call Congress" CTA (.link-8) ---------- */
/* The .section-4 wrapper had a light background + padding that framed the CTA
   in an out-of-place white box — neutralize it. */
.hero-cta-block .section-4 {
  background-color: transparent;
  padding: 0;
}
.hero-cta-block .link-8 {
  display: inline-block;
  max-width: 440px;
  background-color: var(--wti-purple);
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 9999px;
  box-shadow: 0 12px 32px rgba(140, 26, 236, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.hero-cta-block .link-8:hover {
  transform: translateY(-2px);
  background-color: #7a14d0;
  box-shadow: 0 16px 40px rgba(140, 26, 236, 0.55);
}

/* ---------- Amplify section: "Find your rep" card ---------- */
.wti-rep-cta {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 560px;
  background: linear-gradient(135deg, #1d0438, #36105f);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4);
}
.wti-rep-cta-art {
  flex: 0 0 132px;
  background-image:
    url("/webflow/assets/62149c43b8b4934792fcea60_rotary.png"),
    radial-gradient(circle at 50% 38%, rgba(140, 26, 236, 0.55), transparent 70%);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 86px, cover;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.wti-rep-cta-body { padding: 28px; color: #fff; }
.wti-rep-cta-title {
  font-family: Poppins, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
}
.wti-rep-cta-text {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.wti-rep-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wti-rep-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.wti-rep-btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.1); }
.wti-rep-btn.primary { background: var(--wti-purple); border-color: var(--wti-purple); }
.wti-rep-btn.primary:hover { background: #7a14d0; }
@media (max-width: 600px) {
  .wti-rep-cta { flex-direction: column; }
  .wti-rep-cta-art { flex-basis: 110px; background-size: 72px, cover; }
}

/* ---------- Long-form content pages (privacy, etc.) ---------- */
.wti-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  font-family: Manrope, sans-serif;
  color: #1c1230;
  line-height: 1.7;
}
.wti-prose h1 {
  font-family: Poppins, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 0.5em;
  color: var(--wti-purple-dark);
}
.wti-prose h2 {
  font-family: Poppins, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2em 0 0.5em;
  color: var(--wti-purple);
}
.wti-prose h3,
.wti-prose h4,
.wti-prose h5 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  margin: 1.6em 0 0.4em;
}
.wti-prose p { margin: 0 0 1.1em; }
.wti-prose ul,
.wti-prose ol { margin: 1.1em 0; padding-left: 1.3em; }
.wti-prose li { margin-bottom: 0.5em; }
.wti-prose a { color: var(--wti-purple); text-decoration: underline; text-underline-offset: 2px; }
.wti-prose a:hover { opacity: 0.8; }
.wti-prose blockquote {
  margin: 1.4em 0;
  padding-left: 1em;
  border-left: 3px solid var(--wti-purple);
  font-style: italic;
  color: #4a3d63;
}
.wti-prose hr { border: 0; border-top: 1px solid #e3dcf0; margin: 2.5em 0; }
.wti-prose-hero {
  background: var(--wti-purple-dark);
  color: #fff;
  padding: 90px 24px 50px;
  text-align: center;
}
.wti-prose-hero h1 {
  font-family: Poppins, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
}
.wti-prose-hero p { margin: 14px 0 0; color: rgba(255, 255, 255, 0.8); }
