:root {
  --bg: #0a0a0a;
  --fg: #e8e4de;
  --fg-muted: #8a8580;
  --accent: #c9a96e;
  --accent-glow: rgba(201, 169, 110, 0.15);
  --card-bg: #111110;
  --card-border: #1e1d1b;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px clamp(24px, 6vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-accent {
  color: var(--accent);
}

.hero-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 520px;
  font-weight: 300;
}

/* Aperture decoration */
.hero-aperture {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 320px;
  flex-shrink: 0;
}

.aperture-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  position: relative;
  animation: apertureSpin 30s linear infinite;
}

.blade {
  position: absolute;
  width: 50%;
  height: 2px;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.4;
}

.b1 { transform: rotate(0deg); }
.b2 { transform: rotate(60deg); }
.b3 { transform: rotate(120deg); }
.b4 { transform: rotate(180deg); }
.b5 { transform: rotate(240deg); }
.b6 { transform: rotate(300deg); }

@keyframes apertureSpin {
  to { transform: rotate(360deg); }
}

/* Hero CTA */
.hero-cta {
  margin-top: 36px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a0a0a;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 8px;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  opacity: 0.88;
  box-shadow: 0 0 32px var(--accent-glow);
}

/* ═══ FEATURES ═══ */
.features {
  padding: 120px clamp(24px, 6vw, 120px);
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d0c 100%);
}

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

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

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 40px 36px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.feature-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

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

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

.feature-large {
  grid-column: span 2;
}

/* ═══ WORKFLOW ═══ */
.workflow {
  padding: 120px clamp(24px, 6vw, 120px);
  background: var(--bg);
}

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

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  padding: 32px 0;
}

.step-line {
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--card-border);
}

.step:first-child .step-line { top: 50%; }
.step:last-child .step-line { bottom: 50%; }

.step-dot {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.step-content {
  flex: 1;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 6px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
}

/* ═══ CLOSING ═══ */
.closing {
  padding: 140px clamp(24px, 6vw, 120px);
  text-align: center;
  background: radial-gradient(ellipse at 50% 80%, var(--accent-glow) 0%, transparent 60%), var(--bg);
}

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

.closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ═══ FOOTER ═══ */
.site-footer {
  padding: 40px clamp(24px, 6vw, 120px);
  border-top: 1px solid var(--card-border);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
}

.footer-sep {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 300;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding-top: 100px;
    gap: 60px;
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-aperture {
    width: 200px;
    height: 200px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: span 1;
  }

  .step {
    gap: 20px;
  }
}