:root {
  --bg-primary: #0c0c0e;
  --bg-surface: #141417;
  --bg-elevated: #1e1e22;
  --border: #2a2a2f;
  --accent: #4d7cfe;
  --accent-dim: rgba(77, 124, 254, 0.12);
  --text-primary: #f0f0f0;
  --text-secondary: #888;
  --text-muted: #555;
  --alert-red: #ff4d4d;
  --alert-yellow: #ffb547;
  --alert-green: #3ddc97;
  --alert-blue: #4d7cfe;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
}

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

.wordmark {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text-primary);
  text-decoration: none;
}

.header-tag {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Sections */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
}

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

.hero-kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 460px;
}

/* Widget */
.widget-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}

.widget-bar {
  background: var(--bg-elevated);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28ca41; }

.widget-title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.alert-feed {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alert-item {
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  border-left: 3px solid transparent;
}

.alert-item.alert-critical { border-left-color: var(--alert-red); }
.alert-item.alert-positive { border-left-color: var(--alert-green); }
.alert-item.alert-info { border-left-color: var(--alert-blue); }

.alert-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  padding-top: 2px;
}

.alert-body {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.alert-platform {
  font-weight: 600;
  color: var(--text-primary);
}

.widget-status {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--alert-green);
  box-shadow: 0 0 8px var(--alert-green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.status-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* How it works */
.howitworks {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.howitworks .section-heading {
  margin-bottom: 64px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.step-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  margin: 0 40px;
  align-self: center;
}

/* Features */
.features {
  padding: 100px 0;
}

.features .section-heading {
  margin-bottom: 56px;
}

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

.feature-card {
  background: var(--bg-surface);
  padding: 36px 32px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-elevated);
}

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

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Philosophy */
.philosophy {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.philosophy-heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.philosophy-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.philosophy-quote {
  padding: 40px;
  background: var(--bg-elevated);
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
}

.quote-mark {
  font-size: 80px;
  font-weight: 800;
  color: var(--accent);
  line-height: 0.6;
  margin-bottom: 20px;
  display: block;
  opacity: 0.4;
}

blockquote {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  font-style: italic;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

cite {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-style: normal;
}

/* Closing */
.closing {
  padding: 120px 0;
  text-align: center;
}

.closing-headline {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}

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

.wordmark-footer {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .site-header { padding: 16px 24px; }
  .header-tag { display: none; }
  
  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-lede { font-size: 16px; }
  
  .howitworks { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step-divider { width: 40px; height: 1px; margin: 0; }
  
  .features { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  
  .philosophy { padding: 64px 0; }
  .philosophy-block { grid-template-columns: 1fr; gap: 40px; }
  
  .closing { padding: 80px 0; }
  
  .site-footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
  .section-inner { padding: 0 24px; }
  .hero { padding: 90px 24px 50px; }
  .section-heading { font-size: 28px; }
  .closing-headline { font-size: 28px; }
  .widget-shell { font-size: 12px; }
}