:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --ink: #111827;
  --muted: #6b7280;
  --brand: #5b5bd6;
  --brand-dark: #4848b2;
  --card: #ffffff;
  --border: #e5e7eb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

.container {
  width: min(1040px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.logo-image {
  width: 110px;
  height: 54px;
  object-fit: contain;
}

.nav-links a {
  margin-left: 16px;
  color: var(--ink);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--brand);
}

.hero {
  padding: 64px 0 48px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 10px 0 12px;
  line-height: 1.2;
}

.subheadline {
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
}

.hero-cta {
  margin-top: 18px;
}

.interest-form {
  margin-top: 16px;
  max-width: 520px;
}

.interest-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.interest-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.interest-row input {
  flex: 1 1 240px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.button-ghost {
  background: #ffffff;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.button-ghost:hover {
  background: rgba(91, 91, 214, 0.1);
  color: var(--brand-dark);
}

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 48px 0;
}

.section.light {
  background: #ffffff;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.demo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.demo-preview-card {
  margin: 0;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.demo-preview-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.button:hover {
  background: var(--brand-dark);
  color: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.step {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
}

.step-number {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(91, 91, 214, 0.15);
  color: var(--brand-dark);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.pill-list li {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 999px;
}

.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 14px;
}

.form input[type="email"],
.form input[type="text"] {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.form .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.form .checkbox input {
  width: 18px;
  height: 18px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.fine-print {
  font-size: 13px;
  color: var(--muted);
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.link-button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  font-family: inherit;
}

.link-button:hover {
  color: var(--brand);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  margin-left: 16px;
  color: var(--muted);
}

.legal h1 {
  margin-top: 0;
}

.legal h2 {
  margin-top: 28px;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.cookie-banner.hidden,
.cookie-modal.hidden {
  display: none;
}

.cookie-content {
  max-width: 680px;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 120;
}

.cookie-modal-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  width: min(640px, 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cookie-section {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #e5e7eb;
  transition: 0.2s;
  border-radius: 999px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.2s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: var(--brand);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

@media (max-width: 720px) {
  .nav-links a {
    margin-left: 10px;
  }

  .hero {
    padding-top: 52px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
  }

  .footer-links a {
    margin-left: 0;
    margin-right: 16px;
  }
}
