:root {
  --bg: #0f1115;
  --bg-card: #171a21;
  --text: #f2f3f5;
  --text-dim: #a2a8b5;
  --accent: #25d366;
  --accent-dark: #1da851;
  --border: #262b35;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
header {
  padding: 28px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: inherit;
}
.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.hero {
  padding: 64px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero h1 span {
  color: var(--accent);
}
.hero p.lead {
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 34px;
}
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #06210f;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover {
  background: var(--accent-dark);
  color: #ffffff;
  transform: translateY(-1px);
}
.sub-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input[type="email"] {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9375rem;
  padding: 13px 18px;
  border-radius: 999px;
  min-width: 260px;
  outline: none;
}
.waitlist-form input[type="email"]:focus {
  border-color: var(--accent);
}
.waitlist-form .btn {
  border: none;
  cursor: pointer;
  font: inherit;
}
.waitlist-form .btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
.waitlist-message {
  min-height: 20px;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.waitlist-message.success {
  color: var(--accent);
}
.waitlist-message.error {
  color: #ff6b6b;
}
.btn-whatsapp {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 12px 28px;
}
.btn-whatsapp:hover {
  background: var(--accent);
  color: #06210f;
}
section.how {
  padding: 40px 0 64px;
}
section.how h2 {
  text-align: center;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-bottom: 40px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 14px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
}
.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.90625rem;
}
section.why {
  padding: 0 0 64px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.why-item {
  flex: 1 1 220px;
}
.why-item h4 {
  margin: 0 0 6px;
  font-size: 0.9375rem;
  color: var(--text);
}
.why-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}
footer {
  padding: 32px 0 48px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8125rem;
  border-top: 1px solid var(--border);
}
footer a {
  color: var(--text-dim);
}
footer .footer-links {
  margin-top: 8px;
}
footer .footer-links a {
  margin: 0 8px;
}

/* Legal / static content pages */
.legal {
  padding: 24px 0 64px;
}
.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 4px;
}
.legal .updated {
  color: var(--text-dim);
  font-size: 0.8125rem;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}
.legal p, .legal li {
  color: var(--text-dim);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.legal ul {
  padding-left: 20px;
}
.legal a {
  color: var(--accent);
}
.legal .back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--text-dim);
  font-size: 0.875rem;
  text-decoration: none;
}
.legal .back-link:hover {
  color: var(--text);
}
.legal .notice {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* Accessibility widget */
.a11y-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #06210f;
  border: none;
  cursor: pointer;
  font-size: 1.375rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  background: var(--accent-dark);
  color: #ffffff;
  outline: none;
}
.a11y-panel {
  position: fixed;
  bottom: 82px;
  left: 20px;
  z-index: 1000;
  width: 270px;
  max-width: calc(100vw - 40px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.a11y-panel[hidden] {
  display: none;
}
.a11y-panel h2 {
  font-size: 0.875rem;
  margin: 0 0 14px;
  color: var(--text);
}
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.a11y-row span.a11y-label {
  font-size: 0.84375rem;
  color: var(--text);
}
.a11y-btn-group {
  display: flex;
  gap: 6px;
  align-items: center;
}
.a11y-btn-group button,
.a11y-switch {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: inherit;
}
.a11y-btn-group button:hover,
.a11y-switch:hover {
  border-color: var(--accent);
}
.a11y-switch[aria-pressed="true"] {
  background: var(--accent);
  color: #06210f;
  border-color: var(--accent);
}
.a11y-font-value {
  font-size: 0.8125rem;
  color: var(--text-dim);
  min-width: 34px;
  text-align: center;
}
.a11y-reset {
  width: 100%;
  margin-top: 4px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 8px;
  padding: 8px;
  font-size: 0.78125rem;
  cursor: pointer;
  font-family: inherit;
}
.a11y-reset:hover {
  color: var(--text);
  border-color: var(--text-dim);
}

/* Applied accessibility states */
html.a11y-contrast body {
  background: #000000;
  color: #ffffff;
}
html.a11y-contrast .step,
html.a11y-contrast .why-card,
html.a11y-contrast .waitlist-form input[type="email"],
html.a11y-contrast .a11y-panel,
html.a11y-contrast .legal .notice {
  background: #000000;
  border-color: #ffffff;
}
html.a11y-contrast .text-dim,
html.a11y-contrast .sub-note,
html.a11y-contrast .step p,
html.a11y-contrast .why-item p,
html.a11y-contrast footer,
html.a11y-contrast footer a,
html.a11y-contrast .legal p,
html.a11y-contrast .legal li,
html.a11y-contrast .legal .updated,
html.a11y-contrast .hero p.lead {
  color: #ffffff;
}
html.a11y-contrast a:not(.btn) {
  color: #ffff33;
}
html.a11y-underline-links a {
  text-decoration: underline !important;
}
html.a11y-reduce-motion,
html.a11y-reduce-motion * {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}
