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

:root {
  --bg: #0C0C0B;
  --bg-2: #111110;
  --fg: #F0EDE8;
  --fg-muted: #8A8985;
  --accent: #FF5722;
  --accent-dim: rgba(255, 87, 34, 0.12);
  --border: #1E1D1B;
  --border-light: #2A2926;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 11, 0.8);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 300;
  padding-left: 16px;
  border-left: 1px solid var(--border-light);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 48px 80px;
  position: relative;
  z-index: 1;
  max-width: 1100px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(72px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat {}
.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.hero-stat-label {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Canvas Section */
.canvas-section {
  position: relative;
  z-index: 1;
  padding: 0 48px 120px;
}
.canvas-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto 24px;
}
.canvas-sketch, .canvas-render {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sketch-lines {
  background: #161514;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.sketch-lines svg {
  width: 100%;
  height: auto;
}
.canvas-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  font-weight: 500;
}
.canvas-meta {
  font-size: 11px;
  color: var(--fg-muted);
  opacity: 0.6;
}
.canvas-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.render-preview {
  background: #0a0908;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  border-color: rgba(255, 87, 34, 0.3);
}
.render-preview svg {
  width: 100%;
  height: auto;
}
.canvas-caption {
  text-align: center;
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 300;
  max-width: 900px;
  margin: 0 auto;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 0 48px 120px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: var(--bg-2);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover {
  background: #151412;
}
.feature-icon {
  margin-bottom: 16px;
  width: 20px;
  height: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* Philosophy */
.philosophy {
  position: relative;
  z-index: 1;
  padding: 0 48px 120px;
  border-top: 1px solid var(--border);
}
.philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 80px;
}
.philosophy-quote {
  position: sticky;
  top: 100px;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  font-style: normal;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}
cite {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: normal;
  padding-left: 24px;
  display: block;
}
.philosophy-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.philosophy-body p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}

/* Closing */
.closing {
  position: relative;
  z-index: 1;
  padding: 80px 48px 120px;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.closing p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer span {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 120px 24px 60px; }
  .hero-headline { font-size: 60px; }
  .hero-stats { gap: 32px; }
  .canvas-section, .features, .philosophy, .closing { padding-left: 24px; padding-right: 24px; padding-bottom: 80px; }
  .canvas-grid { grid-template-columns: 1fr; gap: 16px; padding: 32px 24px; }
  .canvas-arrow { transform: rotate(90deg); }
  .features-grid { grid-template-columns: 1fr; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-quote { position: static; }
  footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
}