:root {
  /* Official Mony palette — src/theme/colors.ts */
  --background: #FAFAFA;
  --card: #FFFFFF;
  --primary: #2C48FF;
  --primary-dark: #001BCC;
  --accent: #5C56D4;
  --text-primary: #0A0B0E;
  --text-secondary: #7A7A7F;
  --border-light: #E8E8EC;
  --success: #40F299;
  --danger: #FF7866;
  --profit: #19AF00;
  --loss: #D92A2A;
  --success-bg: #CFFCE6;
  --danger-bg: #FFD2CC;

  --radius: 16px;
  --max-width: 1080px;
  --shadow-card: 0 1px 2px rgba(10, 11, 14, 0.04), 0 8px 24px rgba(10, 11, 14, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.55;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-align: center;
}

p {
  color: var(--text-secondary);
  margin: 0 0 12px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav__brand img {
  display: block;
  height: 28px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav__links a:hover {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn--small {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(92, 86, 212, 0.1);
  border: 1px solid rgba(92, 86, 212, 0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-primary);
}

.hero__subtitle {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.waitlist {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 460px;
  margin: 0 auto;
}

.waitlist input {
  flex: 1 1 240px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--card);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.waitlist input::placeholder {
  color: var(--text-secondary);
}

.waitlist input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hero__note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(44, 72, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card p {
  font-size: 0.9rem;
  margin: 0;
}

/* Steps */
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.steps__index {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.steps p {
  font-size: 0.9rem;
  margin: 0;
}

/* FAQ */
.faq {
  max-width: 680px;
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: var(--text-primary);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer__links a {
  text-decoration: none;
  color: var(--text-secondary);
}

.footer__links a:hover {
  color: var(--text-primary);
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
  }
}
