/* StashOS — dark artisan brand aesthetic */
:root {
  --bg: #0c0c0f;
  --surface: #141418;
  --surface-2: #1c1c22;
  --accent: #E8A838;
  --accent-dim: rgba(232,168,56,0.15);
  --text: #F0EDE8;
  --text-muted: #8A8690;
  --border: rgba(255,255,255,0.08);
}

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

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

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

/* ─── Navigation ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo { display: flex; }
.nav-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: -2rem; right: -2rem;
  height: 60%;
  background: radial-gradient(ellipse at 20% 50%, rgba(232,168,56,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 3.5rem;
  line-height: 1.5;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  width: fit-content;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}
.hero-stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}
.hero-cta-strip {
  padding: 1rem 1.5rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 0 6px 6px 0;
  width: fit-content;
}
.hero-cta-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

/* ─── Manifesto ─── */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 3rem;
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.manifesto-quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 6rem;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.4;
}
.manifesto-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-weight: 300;
}
.manifesto-text strong { color: var(--text); font-weight: 500; }

/* ─── Features ─── */
.features {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.features-header { margin-bottom: 3.5rem; }
.features-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  transition: background 0.2s ease;
}
.feature-card:hover { background: var(--surface-2); }
.feature-icon {
  margin-bottom: 1.25rem;
  display: block;
}
.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── Process ─── */
.process {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 3rem;
}
.process-header { margin-bottom: 4rem; }
.process-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.process-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  max-width: 900px;
}
.process-step {
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--border);
  padding-right: 2rem;
}
.process-step:last-child { border-right: none; }
.process-num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.process-step-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-style: italic;
}
.process-step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── Closing ─── */
.closing {
  padding: 7rem 3rem;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 3rem;
}
.closing-callout {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
  border: 1px solid rgba(232,168,56,0.3);
  background: rgba(232,168,56,0.05);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}
.footer-legal {
  font-size: 0.72rem;
  color: rgba(138,134,144,0.5);
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav-tagline { display: none; }
  .hero { padding: 3rem 1.5rem 2.5rem; min-height: auto; }
  .hero-stat-row { gap: 1.25rem; padding: 1.25rem 1.5rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .manifesto { padding: 3.5rem 1.5rem; }
  .features { padding: 4rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .process { padding: 4rem 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; }
  .process-step:last-child { border-bottom: none; }
  .closing { padding: 5rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
}