/* FableForge landing page — calm, dark, professional */
:root {
  --bg: #0e1116;
  --bg-alt: #151a22;
  --card: #1a2029;
  --text: #e8ecf1;
  --muted: #9aa5b1;
  --accent: #ff7a45;
  --accent-dim: #ff7a4522;
  --hairline: #2a3240;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; }
.center { text-align: center; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 17, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; font-size: 17px; }
.nav nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 14px; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.lede { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 10px 22px; border-radius: 10px; font-size: 15px;
  transition: transform 0.1s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { border: 1px solid var(--hairline); color: var(--text); background: var(--bg-alt); }
.btn-small { background: var(--accent); color: #fff !important; padding: 6px 14px; border-radius: 8px; font-size: 13px; }
.btn-big { padding: 14px 32px; font-size: 17px; }

.fineprint { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section h2 { font-size: 30px; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 28px; text-align: center; }
.section p { color: var(--muted); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 22px;
}
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }

/* Pricing */
.price-card {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 18px; padding: 40px; text-align: center;
  box-shadow: 0 0 60px var(--accent-dim);
}
.price { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
.price-sub { color: var(--muted); margin-bottom: 24px; }
.price-card ul { list-style: none; margin-bottom: 28px; }
.price-card li { padding: 5px 0; color: var(--text); font-size: 15px; }

/* FAQ */
details {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 600; font-size: 15px; }
details p { margin-top: 10px; font-size: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--hairline); padding: 28px 0; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted);
}
.footer nav a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.footer nav a:hover { color: var(--text); }
