:root {
  --bg: #f6f5fb;
  --surface: #ffffff;
  --text: #241f38;
  --muted: #6b6480;
  --accent: #6c4bd6;
  --accent-2: #f7a63a;
  --border: #e6e2f2;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.5vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 16px; color: var(--muted); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 15px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline:hover { background: var(--surface); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; text-align: center; }

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.badge-light { color: #fff; background: rgba(255, 255, 255, 0.16); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.brand img { width: 68px; height: 68px; border-radius: 18px; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.locale-toggle {
  display: inline-flex;
  border-radius: 999px;
  background: var(--border);
  padding: 2px;
}
.locale-toggle button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  color: var(--muted);
}
.locale-toggle button.active { background: var(--accent); color: #fff; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
}
.hero-copy { flex: 1 1 460px; max-width: 620px; }
.accent { color: var(--accent); }
.lead { font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero-benefits li { display: flex; align-items: center; gap: 7px; }
.hero-benefits li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}

.hero-visual { flex: 0 0 300px; align-self: flex-end; margin-bottom: -40px; line-height: 0; }
.hero-visual img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(36, 31, 56, 0.22)); }

/* How it works */
.how { padding: 40px 0 56px; }
.how h2 { text-align: center; margin-bottom: 36px; }
.how-track { margin-bottom: 40px; }
.how-track:last-child { margin-bottom: 0; }
.how-track-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.how-track-label-partner { color: var(--accent-2); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-num-partner { background: var(--accent-2); }

.proof {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  margin-top: 24px;
}
.proof-copy { flex: 1 1 380px; max-width: 400px; }
.proof-copy h3 { font-size: 20px; margin: 0 0 10px; }
.proof-copy p { font-size: 14px; margin: 0 0 16px; }
.proof-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.proof-benefits li { display: flex; align-items: center; gap: 7px; }
.proof-benefits li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}
.proof-visual { flex: 0 0 540px; }
.browser-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 40px rgba(36, 31, 56, 0.16);
}
.browser-bar {
  height: 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
}
.browser-bar .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-red { background: #e6a4a4; }
.dot-yellow { background: #f0d090; }
.dot-green { background: #a8d6b4; }
.browser-url {
  flex-grow: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 18px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 10px;
  color: var(--muted);
}
.browser-frame img { display: block; width: 100%; height: auto; }

/* Founding partner */
.founding {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 56px 0;
}
.founding-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.founding-copy { flex: 1 1 380px; }
.founding h2 { color: #fff; }
.benefits { list-style: none; padding: 0; margin: 0; }
.benefits li { margin-bottom: 12px; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
}
.check svg { width: 13px; height: 13px; }

.founding-form {
  flex: 1 1 340px;
  max-width: 420px;
  background: var(--surface);
  color: var(--text);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.founding-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.founding-form input,
.founding-form select {
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.form-status {
  min-height: 18px;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.form-status.success { color: #2fa66a; }
.form-status.error { color: #e0553e; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.footer-brand img { width: 52px; height: 52px; border-radius: 12px; }

@media (max-width: 700px) {
  .footer-inner { flex-wrap: wrap; white-space: normal; justify-content: center; text-align: center; }
}

@media (max-width: 700px) {
  .hero-visual {
    flex-basis: 100%;
    align-self: center;
    max-width: 240px;
    margin: 8px auto 0;
  }
}

@media (max-width: 700px) {
  .proof { flex-direction: column; padding: 20px; }
  .proof-visual { order: -1; flex-basis: auto; width: 100%; }
  .proof-copy { max-width: none; }
}

@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; row-gap: 10px; }
  #share-btn-label { display: none; }
  .btn-outline { padding: 10px 12px; }
  .header-actions { flex-wrap: wrap; justify-content: flex-end; }
}
