/* === CSS RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --fg: #111110;
  --fg-muted: #6B6A68;
  --fg-subtle: #9E9C99;
  --accent: #FF4D00;
  --accent-light: #FFF0EB;
  --border: #E5E4E0;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --space-xl: 120px;
  --space-lg: 80px;
  --space-md: 48px;
  --space-sm: 24px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.header-nav { display: flex; align-items: center; gap: 24px; }
.nav-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-xl) 32px var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

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

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

.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
}

.proof-item { text-align: center; }
.proof-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.proof-label {
  display: block;
  font-size: 0.72rem;
  color: var(--fg-subtle);
  margin-top: 2px;
  letter-spacing: 0.03em;
}
.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* === HERO VISUAL === */
.automation-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}

.demo-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 20px;
}

.demo-widgets { display: flex; flex-direction: column; gap: 10px; }

.demo-widget {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.dw-icon {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.dw-text { flex: 1; min-width: 0; }
.dw-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
}
.dw-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--fg-subtle);
  margin-top: 1px;
}

.dw-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
}
.dw-status.live { color: #16A34A; }
.dw-status.done { color: var(--fg-muted); }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.w1 { border-left: 3px solid #16A34A; }
.w2 { border-left: 3px solid #16A34A; }
.w3 { border-left: 3px solid #6B6A68; }
.w4 { border-left: 3px solid #FF4D00; }

.demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.demo-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg);
}
.demo-time {
  font-size: 0.72rem;
  color: var(--fg-subtle);
}

/* === WHAT SECTION === */
.what-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 32px;
}

.section-inner { max-width: var(--max-w); margin: 0 auto; }

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

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 48px;
  max-width: 520px;
}

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

.what-card {
  background: var(--surface);
  padding: 40px 36px;
}

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

.what-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* === OUTCOMES SECTION === */
.outcomes-section {
  padding: var(--space-lg) 32px;
}

.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 480px;
  margin-bottom: 48px;
}

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

.outcome-item {
  background: var(--surface);
  padding: 36px 28px;
}

.outcome-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.outcome-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* === MANIFESTO === */
.manifesto-section {
  background: var(--fg);
  padding: var(--space-xl) 32px;
}

.manifesto-inner { max-width: 800px; margin: 0 auto; }

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 500;
  color: #F7F6F3;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.manifesto-attr {
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(247,246,243,0.4);
  letter-spacing: 0.05em;
}

/* === CLOSING === */
.closing-section {
  padding: var(--space-xl) 32px var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.closing-inner { max-width: var(--max-w); margin: 0 auto; }

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 680px;
  margin-bottom: 16px;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
}

/* === FOOTER === */
.site-footer {
  background: var(--surface);
  padding: 40px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-subtle);
  margin-top: 4px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.footer-sep { color: var(--border); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .what-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --space-xl: 72px; --space-lg: 56px; }
  .header-inner { padding: 14px 20px; }
  .hero { padding: 56px 20px 48px; }
  .hero-headline { font-size: 2.4rem; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .what-section, .outcomes-section, .closing-section { padding: 56px 20px; }
  .manifesto-section { padding: 64px 20px; }
  .site-footer { padding: 32px 20px; }
}
