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

:root {
  --bg: #FAF9F6;
  --surface: #F0EDE7;
  --fg: #1A1A2E;
  --fg-muted: #6B6B7B;
  --fg-subtle: #A0A0AE;
  --accent: #5B5FC7;
  --accent-warm: #E8673A;
  --border: #E2DDD8;
  --card-bg: #FFFFFF;
  --hero-em: #5B5FC7;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-logo {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 8px;
  display: inline-block;
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
}

/* Hero */
.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--accent-warm);
  border-radius: 50%;
  display: inline-block;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-em {
  font-style: normal;
  color: var(--hero-em);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* Hero Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(26,26,46,0.08), 0 1px 4px rgba(26,26,46,0.04);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}

.card-header {
  background: #F5F4F1;
  padding: 14px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.card-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }

.card-content { padding: 20px; }

.signal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.signal-bar {
  width: 4px;
  background: var(--accent);
  border-radius: 4px;
  opacity: 0.7;
  min-height: 30px;
}

.signal-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.alert-banner {
  background: #FEF2EC;
  border: 1px solid #FDDBC7;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.alert-dot {
  width: 8px; height: 8px;
  background: var(--accent-warm);
  border-radius: 50%;
  flex-shrink: 0;
}

.alert-banner span:last-child {
  font-size: 0.75rem;
  font-weight: 600;
  color: #C0391B;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.card-btn {
  flex: 1;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}

.card-btn-secondary {
  flex: 1;
  background: var(--surface);
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}

/* How It Works */
.works {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.works-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 60px;
}

.works-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step { position: relative; }

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--border);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Features */
.features {
  padding: 100px 48px;
  background: var(--surface);
}

.features-inner { max-width: 1200px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--card-bg);
  padding: 40px;
}

.feature-icon {
  width: 48px; height: 48px;
  background: #F5F4F1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Who It's For */
.who {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.who-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.who-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.who-quote {
  border-left: 3px solid var(--accent-warm);
  padding-left: 28px;
}

.who-quote blockquote {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--fg);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 16px;
}

.who-quote cite {
  font-size: 0.85rem;
  color: var(--fg-subtle);
  font-style: normal;
}

/* Closing */
.closing {
  padding: 120px 48px;
  text-align: center;
  background: var(--fg);
  color: white;
}

.closing-inner { max-width: 700px; margin: 0 auto; }

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--fg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.footer-logo {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  display: inline-block;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* Mobile */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero { grid-template-columns: 1fr; padding: 40px 24px; gap: 48px; min-height: auto; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2rem; }
  .works-steps { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .who-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .works, .features, .who, .closing { padding: 60px 24px; }
}