/* VOTEible palette, taken from the logo (#009045 on white) */
:root {
  --green: #009045;
  --green-dark: #007236;
  --green-deep: #00381b;
  --green-tint: #eef7f2;
  --green-line: #d3eadd;
  --ink: #0e1a13;
  --muted: #56655c;
  --white: #ffffff;
  --radius: 14px;
  --wrap: 1180px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: var(--white);
  font: 600 0.95rem/1 var(--font-head); text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn:focus-visible, .sound-toggle:focus-visible, summary:focus-visible, .nav a:focus-visible { outline: 3px solid #7fd3a6; outline-offset: 3px; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.85rem; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--green); }
.btn--outline:hover { color: var(--white); }
.btn--white { background: var(--white); color: var(--green-deep); border-color: var(--white); }
.btn--white:hover { background: var(--green-tint); border-color: var(--green-tint); }
.wa-icon { width: 22px; height: 22px; }

/* Header: transparent over the hero, white once scrolled */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.header-inner { display: flex; align-items: center; gap: 32px; }
.brand { position: relative; display: block; width: 150px; flex: none; }
.logo { width: 100%; height: auto; transition: opacity .3s; }
.logo--dark { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--white); text-decoration: none; font: 500 0.92rem var(--font-head); opacity: .9; }
.nav a:hover { opacity: 1; }
.site-header.is-solid { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 12px 0; box-shadow: 0 1px 0 var(--green-line); }
.site-header.is-solid .logo--light { opacity: 0; }
.site-header.is-solid .logo--dark { opacity: 1; }
.site-header.is-solid .nav a { color: var(--ink); }
@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .brand { width: 120px; }
  .header-inner .btn--small { min-height: 36px; padding: 0 14px; font-size: 0.78rem; }
}

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--green-deep); overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,20,10,.55) 0%, rgba(0,20,10,0) 28%),
    linear-gradient(0deg, rgba(0,26,13,.85) 0%, rgba(0,26,13,.35) 45%, rgba(0,26,13,0) 75%);
}
.hero-content { position: relative; padding-top: 140px; padding-bottom: clamp(56px, 10vh, 110px); }
.hero h1 { font-size: clamp(2.1rem, 6vw, 4.6rem); font-weight: 800; max-width: 18ch; }
.hero h1 span { color: #7fe0a9; }
.lede { margin-top: 20px; max-width: 46ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 480px) { .hero-actions .btn { flex: 1 1 100%; } }

.sound-toggle {
  position: absolute; right: 24px; bottom: 24px; z-index: 2;
  width: 44px; height: 44px; padding: 10px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.25); color: var(--white); cursor: pointer;
}
.sound-toggle .waves { display: none; }
.sound-toggle[aria-pressed="true"] .waves { display: block; }
.sound-toggle[aria-pressed="true"] .x { display: none; }
@media (max-width: 600px) { .sound-toggle { right: 16px; top: 84px; bottom: auto; } }

/* Eyebrows and headings */
.eyebrow { font: 600 0.78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.eyebrow--light { color: #7fe0a9; }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; max-width: 20ch; margin-bottom: 48px; }

/* Languages strip */
.langs { border-bottom: 1px solid var(--green-line); }
.langs-inner { display: flex; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.langs-label { font: 600 0.78rem var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.langs ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.langs li { font: 700 1.05rem var(--font-head); color: var(--green); }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--green-tint); }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card { padding: 28px; border: 1px solid var(--green-line); border-radius: var(--radius); }
.card h3, .feature h3, .standards h3, .steps h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.card p, .feature p, .standards p, .steps p { color: var(--muted); }

/* Countdown */
.countdown { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.count-card { display: flex; align-items: center; gap: 20px; padding: 28px; border-radius: var(--radius); background: var(--green-deep); color: var(--white); }
.count-num { font: 800 clamp(2.8rem, 6vw, 4rem)/1 var(--font-head); color: #7fe0a9; min-width: 2.2ch; }
.count-label { font: 600 1rem/1.35 var(--font-head); }
.count-label small { font: 400 0.85rem var(--font-body); color: rgba(255,255,255,.7); }
@media (max-width: 680px) { .countdown { grid-template-columns: 1fr; } }

/* Features */
.feature { display: flex; gap: 18px; padding: 28px; background: var(--white); border-radius: var(--radius); }
.tick {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 18px; background-position: center; background-repeat: no-repeat;
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding-top: 24px; border-top: 2px solid var(--green); }
.step-num { display: block; font: 800 0.9rem var(--font-head); color: var(--green); margin-bottom: 18px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* Tiers */
.tier { position: relative; display: flex; flex-direction: column; padding: 36px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--green-line); }
.tier h3 { font-size: 1.5rem; font-weight: 800; }
.tier-for { color: var(--muted); margin: 6px 0 24px; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier--featured { border: 2px solid var(--green); }
.badge { position: absolute; top: -13px; left: 36px; background: var(--green); color: var(--white); font: 600 0.72rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.list { list-style: none; margin: 0 0 32px; padding: 0; }
.list li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--green-line); }
.list li:last-child { border-bottom: 0; }
.list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.fine { margin-top: 24px; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 600px) { .tier { padding: 28px 22px; } .tier .btn { align-self: stretch; } .badge { left: 22px; } }

/* Standards */
.standards { gap: 40px 32px; }
.standards > div { padding-left: 18px; border-left: 2px solid var(--green); }

/* FAQ */
.faq { border-top: 1px solid var(--green-line); }
.faq details { border-bottom: 1px solid var(--green-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 600 1.05rem/1.4 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 1.6rem/1 var(--font-head); color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); }

/* Final CTA */
.cta { background: var(--green); color: var(--white); text-align: center; padding: clamp(72px, 10vw, 120px) 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; max-width: 18ch; }
.cta p { color: rgba(255,255,255,.88); margin-bottom: 12px; }

/* Footer */
.site-footer { padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { width: 140px; height: auto; }
.site-footer p { font-size: 0.85rem; color: var(--muted); max-width: 60ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
