:root {
  --color-bg: #ffffff;
  --color-text: #19253b;
  --color-text-muted: #6b7280;
  --color-accent: #aadcf5;
  --color-accent-dark: #0077b6;
  --color-dark: #19253b;
  --max-width: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--color-dark); }
.brand img { width: 32px; height: 32px; }
.lang-switch { font-size: 14px; }
.lang-switch a { color: var(--color-text-muted); }

/* Hero */
.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { font-size: 36px; font-weight: 800; color: var(--color-dark); max-width: 640px; margin: 0 auto 16px; }
.hero p.lead { font-size: 18px; color: var(--color-text-muted); max-width: 560px; margin: 0 auto 28px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--color-dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #0f1826; text-decoration: none; }

/* Sections */
section { padding: 48px 0; }
section.tinted { background: rgba(170, 220, 245, 0.15); }
section.dark { background: var(--color-dark); color: #fff; }
section.dark .muted { color: rgba(255,255,255,0.65); }
h2 { font-size: 26px; font-weight: 700; color: var(--color-dark); margin-bottom: 20px; }
section.dark h2 { color: #fff; }

ul.check-list { list-style: none; padding: 0; margin: 0; }
ul.check-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.06);
}
ul.check-list li:before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent-dark);
}

/* Quote block */
.quote {
  max-width: 640px;
  margin: 0 auto;
  font-style: italic;
  color: var(--color-text-muted);
}
.quote .attribution { font-style: normal; font-weight: 600; margin-top: 12px; color: var(--color-dark); }

/* FAQ */
.faq-item { border-top: 1px solid #eee; padding: 20px 0; }
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 16px; color: var(--color-dark); }
.faq-item p { margin: 12px 0 0; color: var(--color-text-muted); }

/* Forms */
form.stack { max-width: 480px; margin: 0 auto; }
form.stack label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
form.stack input, form.stack textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
form.stack textarea { min-height: 120px; resize: vertical; }
form.stack button { margin-top: 20px; width: 100%; }
.form-note { font-size: 12px; color: var(--color-text-muted); margin-top: 14px; text-align: center; }
.form-status { margin-top: 14px; font-size: 14px; text-align: center; display: none; }
.form-status.success { color: #2aa876; display: block; }
.form-status.error { color: #d64545; display: block; }

/* Waitlist inline form on homepage */
.waitlist-inline { display: flex; gap: 10px; max-width: 420px; margin: 24px auto 0; }
.waitlist-inline input { flex: 1; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; }
.waitlist-inline button { white-space: nowrap; }

/* Legal pages */
.legal h2 { font-size: 18px; margin-top: 32px; }
.legal p, .legal li { color: var(--color-text-muted); }
.legal .effective-date { color: var(--color-text-muted); font-size: 14px; margin-bottom: 32px; }

/* Footer */
footer { border-top: 1px solid #eee; padding: 40px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer nav a { color: var(--color-text-muted); margin-left: 20px; font-size: 14px; }
footer nav a:first-child { margin-left: 0; }
footer .copyright { color: var(--color-text-muted); font-size: 13px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  .waitlist-inline { flex-direction: column; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  footer nav a { margin-left: 0; margin-right: 16px; }
}
