:root {
  --bg: #0b0f14;
  --surface: #141a22;
  --surface-2: #1c2530;
  --text: #e6e4df;
  --text-muted: #8a9aab;
  --accent: #f0a500;
  --accent-dim: rgba(240, 165, 0, 0.12);
  --pass: #2dd478;
  --pass-dim: rgba(45, 212, 120, 0.12);
  --context: #5b8def;
  --context-dim: rgba(91, 141, 239, 0.12);
  --block: #f05858;
  --block-dim: rgba(240, 88, 88, 0.10);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 28px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner { max-width: 1100px; margin: 0 auto; }
.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* HERO */
.hero { padding: 80px 48px 64px; }
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 440px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

/* Phone card */
.phone-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px 28px;
  width: 260px;
  position: relative;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.phone-icon {
  width: 36px; height: 36px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.phone-label {
  font-size: 12px;
  font-family: 'DM Mono', monospace;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.phone-caller {
  font-family: 'DM Mono', monospace;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.phone-status {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
}
.phone-waves {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 20px;
}
.phone-waves span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.5;
  animation: wave 1.2s ease-in-out infinite;
}
.phone-waves span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.phone-waves span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.phone-waves span:nth-child(3) { height: 18px; animation-delay: 0.3s; }
.phone-waves span:nth-child(4) { height: 10px; animation-delay: 0.45s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Call bubbles */
.call-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: 'DM Mono', monospace;
  padding: 8px 14px;
  border-radius: 100px;
  opacity: 0.6;
}
.call-bubble--take { background: var(--surface-2); color: var(--text-muted); }
.call-bubble--ring { background: var(--pass-dim); color: var(--pass); }
.bubble-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}
.bubble-dot--urgent { background: var(--pass); }

/* Rule strip */
.hero-rule-strip {
  max-width: 1100px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.rule-label {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.rule-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  font-size: 13px;
  font-family: 'DM Mono', monospace;
  padding: 5px 12px;
  border-radius: 100px;
}
.pill--pass { background: var(--pass-dim); color: var(--pass); }
.pill--block { background: var(--block-dim); color: var(--block); }

/* SECTION COMMON */
.section-label {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.section-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

/* HOW IT WORKS */
.how-it-works { padding: 96px 48px; }
.how-it-works-inner { max-width: 1100px; margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 56px;
}
.step { padding: 0 32px; }
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--surface-2);
  line-height: 1;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 16px;
}
.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.step-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.step-connector {
  width: 1px;
  background: rgba(255,255,255,0.06);
  align-self: stretch;
  min-height: 100px;
  margin-top: 8px;
}

/* CONDITIONS */
.conditions { padding: 96px 48px; background: var(--surface); }
.conditions-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.conditions-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 16px;
}
.conditions-rules {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rule-card {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px 24px;
}
.rule-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.rule-card-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.rule-card-icon--pass { background: var(--pass-dim); color: var(--pass); }
.rule-card-icon--context { background: var(--context-dim); color: var(--context); }
.rule-card-icon--block { background: var(--block-dim); color: var(--block); }
.rule-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.rule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rule-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.rule-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

/* SETUP */
.setup { padding: 96px 48px; }
.setup-inner { max-width: 700px; margin: 0 auto; }
.setup-header { text-align: center; margin-bottom: 56px; }
.setup-steps { display: flex; flex-direction: column; gap: 0; }
.setup-step {
  display: flex;
  gap: 24px;
  position: relative;
}
.setup-step-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
}
.setup-step-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
.setup-step-dot--last { background: var(--pass); }
.setup-step-bar {
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,0.06);
  min-height: 60px;
}
.setup-step-content { padding-bottom: 40px; }
.setup-step:last-child .setup-step-content { padding-bottom: 0; }
.setup-step-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  margin-top: 2px;
}
.setup-step-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* CLOSING */
.closing {
  padding: 96px 48px;
  background: var(--surface);
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-kicker {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { align-items: flex-start; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step-connector { display: none; }
  .conditions-inner { grid-template-columns: 1fr; }
  .hero, .how-it-works, .conditions, .setup, .closing { padding: 64px 24px; }
  .nav { padding: 20px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}