/* Styles scoped to the Polls feature page. */
.polls-page { color: var(--color-text-primary); }
.polls-page h1, .polls-page h2 { font-family: "Segoe UI", Arial, sans-serif; font-weight: 700; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
.polls-page h1 { margin: 0 0 26px; font-size: clamp(2.8rem, 4.7vw, 4.1rem); }
.polls-page h2 { margin: 0 0 22px; font-size: clamp(2rem, 3.3vw, 2.8rem); }
.polls-page em { color: var(--color-text-brand); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.polls-page p { line-height: 1.7; color: var(--color-text-secondary); margin: 0 0 20px; }
.polls-page a, .polls-page a:hover { text-decoration: none; }
.polls-page a:focus-visible { outline: 3px solid var(--color-text-brand); outline-offset: 5px; }
.polls-page .btn-primary { border-radius: 4px; color: #fff; background: #2563eb; }
.polls-page .btn-primary:hover { background: #1d4ed8; }
.polls-page .cta-group { gap: 16px 26px; align-items: center; margin-top: 28px; }
.polls-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--color-text-brand); font-size: .9375rem; font-weight: 600; }
.polls-link:hover { opacity: .8; }
.polls-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.polls-split > * { min-width: 0; }
.polls-split--reverse > :first-child { order: 2; }
.polls-page .hero-outer { background: var(--color-bg); }
.polls-page .hero-outer .polls-split { padding-top: 36px; padding-bottom: 64px; }
.polls-hero-art img { display: block; width: 100%; max-width: 420px; height: auto; margin: auto; border-radius: 3px; }
.polls-art img { display: block; width: 100%; height: auto; }
.polls-examples, .polls-page section { scroll-margin-top: 90px; }
.polls-gallery { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin: auto; background: white; }
.polls-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 1; transition: opacity 650ms ease; }
.polls-gallery img[hidden] { display: none; }
.polls-setup { align-items: start; }
.polls-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.polls-steps li { position: relative; counter-increment: step; padding: 0 0 28px 44px; }
.polls-steps li:last-child { padding-bottom: 0; }
.polls-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 3px; color: var(--color-text-brand); font-size: .8125rem; font-weight: 600; }
.polls-steps h3 { font-size: 1.125rem; margin: 0 0 8px; font-weight: 600; }
.polls-steps p { margin: 0; font-size: .9375rem; }
.polls-close { padding: 64px 0 0; background: #0b2842; color: #fff; }
.polls-close__main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-bottom: 52px; }
.polls-close h2 { color: #fff; font-size: clamp(2.5rem, 4.4vw, 3.8rem); }
.polls-close h2 em { color: #9ec4ff; }
.polls-close__main p { max-width: 440px; margin-bottom: 32px; color: #cfdeea; font-size: 1.0625rem; }
.polls-close .btn-primary { min-height: 54px; padding: 15px 24px; background: #fff; color: #0b2842; gap: 24px; }
.polls-close .btn-primary:hover { background: #dfebff; color: #0b2842; }
.polls-close a:focus-visible { outline-color: #9ec4ff; }
.polls-close__art { width: 100%; max-width: 360px; justify-self: end; }
.polls-close__art img { display: block; width: 100%; height: auto; }
.polls-close__footer { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 22px 0; border-top: 1px solid #385167; }
.polls-close__footer p { margin: 0; max-width: none; color: #b6cbdc; font-size: .875rem; }
.polls-close__footer a { color: #fff; }
.polls-close__footer p a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; margin-left: 16px; }
.polls-close__footer a:hover { color: #9ec4ff; }
@media (max-width: 1000px) { .polls-split, .polls-close__main { gap: 36px; } }
@media (max-width: 900px) {
  .polls-split { grid-template-columns: 1fr; gap: 32px; }
  .polls-split--reverse > :first-child { order: initial; }
  .polls-art, .polls-gallery { max-width: 560px; margin: auto; }
  .polls-page .hero-outer .polls-split { padding-top: 28px; padding-bottom: 44px; }
}
@media (max-width: 768px) {
  .polls-page h1 { font-size: clamp(2.55rem, 8.5vw, 3.6rem); }
  .polls-page h2 { font-size: clamp(1.9rem, 6.8vw, 2.6rem); }
  .polls-page .cta-group { flex-direction: column; align-items: flex-start; gap: 12px; }
  .polls-close { padding-top: 44px; }
  .polls-close__main { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .polls-close h2 { font-size: clamp(2.3rem, 8vw, 3.5rem); }
  .polls-close__art { justify-self: center; max-width: 300px; }
  .polls-close__footer { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 0; }
  .polls-close__footer p a { margin-left: 10px; }
}
@media (prefers-reduced-motion: reduce) { .polls-gallery img { transition: none; } }
