/* ============================================================
   FrameForge — Theme CSS
   Typography: DM Sans (body) + Fraunces (display/headings)
   Palette: Deep charcoal bg, warm amber accent, cream text
   ============================================================ */

:root {
  --bg: #0c0d0f;
  --bg-2: #111317;
  --bg-card: #16181d;
  --fg: #f0ece3;
  --fg-2: #a8a39a;
  --fg-3: #6b6762;
  --accent: #e8a838;
  --accent-dim: rgba(232, 168, 56, 0.12);
  --accent-border: rgba(232, 168, 56, 0.25);
  --border: rgba(240, 236, 227, 0.07);
  --border-strong: rgba(240, 236, 227, 0.12);
  --radius: 10px;
  --radius-lg: 18px;
}

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

html { scroll-behavior: smooth; }

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

/* ── HERO ── */
.hero {
  position: relative;
  padding: 120px 48px 100px;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,236,227,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,236,227,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(232,168,56,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  position: relative;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
}

.hero-headline {
  position: relative;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 900px;
  margin-bottom: 40px;
}

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

.hero-headline-accent {
  display: block;
  color: var(--fg-2);
  font-size: 0.65em;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.hero-sub {
  position: relative;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--fg-2);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 60px;
}

.hero-stats {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 40px 0 0;
}

.hero-stat:first-child { padding-left: 0; }

.hero-stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.4;
  max-width: 120px;
}

.hero-stat-sep {
  width: 1px;
  height: 44px;
  background: var(--border-strong);
  margin-right: 40px;
  flex-shrink: 0;
}

/* ── PROOF (industry tags) ── */
.proof {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.proof-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}

.proof-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.proof-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  color: var(--fg-2);
  background: var(--bg-2);
}

/* ── FEATURES ── */
.features {
  padding: 100px 48px;
  background: var(--bg-2);
}

.features-header {
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.features-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 600px;
}

.features-title em {
  font-style: italic;
  color: var(--fg-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.feature-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 100px 48px;
  background: var(--bg);
}

.how-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 500px;
}

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

.step {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.step:last-child { border-bottom: 1px solid var(--border); }

.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 3px;
  flex-shrink: 0;
  width: 40px;
}

.step-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 560px;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--fg-2);
  margin-bottom: 32px;
}

.manifesto-text--accent {
  color: var(--fg);
  font-weight: 400;
}

.manifesto-lead {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  font-style: italic;
  color: var(--accent);
  margin-top: 40px;
}

/* ── FOOTER ── */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-3);
}

.footer-meta {
  font-size: 13px;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-sep { color: var(--border-strong); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { padding: 80px 28px 80px; }
  .proof { padding: 32px 28px; }
  .features { padding: 80px 28px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how { padding: 80px 28px; }
  .manifesto { padding: 80px 28px; }
  .footer { padding: 32px 28px; }
  .hero-stats { gap: 20px; }
  .hero-stat-sep { display: none; }
  .hero-stat { padding: 0; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .step { gap: 24px; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 3px; }
