/* === TOKENS === */
:root {
  --bg: #faf8f4;
  --bg-alt: #f0ede6;
  --fg: #1e293b;
  --fg-muted: #64748b;
  --fg-dim: #94a3b8;
  --accent: #f59e0b;
  --accent-dim: #fbbf24;
  --accent-bg: #fffbeb;
  --slate: #334155;
  --slate-light: #475569;
  --border: #e2ddd5;
  --border-strong: #c4bfb7;
  --card-bg: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(30,41,59,0.06), 0 4px 16px rgba(30,41,59,0.08);
  --shadow-lg: 0 4px 6px rgba(30,41,59,0.05), 0 12px 40px rgba(30,41,59,0.12);
}

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

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

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  font-weight: 600;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 20px;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(250,248,244,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { text-decoration: none; }

.logo-vault {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  position: relative;
  padding: 140px 40px 100px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-bg-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.hero-bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(100,116,139,0.08) 0%, transparent 70%);
  bottom: -50px; left: 10%;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-bg);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  color: #92400e;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--slate-light);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  box-shadow: var(--shadow);
}

.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-cta-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

.hero-card-stack {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-card-1 { transform: rotate(-1.5deg); }
.hero-card-2 { transform: rotate(1deg); }
.hero-card-3 { transform: rotate(-0.5deg); }

.card-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-amber { background: var(--accent-bg); color: #92400e; }
.card-icon-slate { background: #f1f5f9; color: var(--slate); }

/* === CATEGORIES === */
.categories {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.categories .section-title { text-align: center; }

.cat-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.cat-icon {
  width: 44px; height: 44px;
  background: var(--accent-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92400e;
  margin-bottom: 18px;
}

.cat-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg);
}

.cat-card p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.55;
}

/* === HOW IT WORKS === */
.hiw {
  padding: 100px 40px;
}

.hiw-header {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}

.hiw-sub {
  font-size: 18px;
  color: var(--slate-light);
  margin-top: 8px;
}

.hiw-split {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}

.hiw-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hiw-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.7;
  min-width: 36px;
}

.step-body h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.55;
}

.hiw-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* === PRICING MODEL === */
.pricing-model {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pm-header { text-align: center; margin-bottom: 56px; }

.pm-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pm-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.pm-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1), var(--shadow);
}

.pm-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--fg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.pm-card-icon {
  width: 48px; height: 48px;
  background: var(--accent-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92400e;
  margin-bottom: 20px;
}

.pm-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.pm-desc {
  font-size: 14px;
  color: var(--slate-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pm-example {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.pm-example-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: block;
  margin-bottom: 10px;
}

.pm-math {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-light);
}

.pm-arrow { color: var(--fg-dim); }

.pm-you {
  font-weight: 600;
  color: var(--fg);
}

.pm-tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pm-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.pm-tier-active {
  background: var(--accent-bg);
  border: 1px solid rgba(245,158,11,0.3);
}

.tier-name {
  font-weight: 600;
  color: var(--fg);
}

.tier-fee {
  font-size: 13px;
  color: var(--slate-light);
}

/* === NICHES === */
.niches {
  padding: 100px 40px;
}

.niches-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.niches-sub {
  font-size: 17px;
  color: var(--slate-light);
  line-height: 1.7;
}

.niches-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.niche-item {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.niche-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.niche-emoji {
  margin-bottom: 16px;
}

.niche-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.niche-item p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.55;
}

/* === CLOSING === */
.closing {
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.closing-bg-shape {
  position: absolute;
  inset: 0;
  background: var(--fg);
  clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
}

.closing-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.closing .section-label { color: var(--accent); }

.closing-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--bg);
  margin-bottom: 24px;
  line-height: 1.2;
}

.closing-sub {
  font-size: 17px;
  color: #94a3b8;
  margin-bottom: 0;
  line-height: 1.7;
}

.closing-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 48px auto;
}

.closing-bottom {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  background: var(--fg);
  color: #94a3b8;
  padding: 64px 40px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  max-width: 280px;
}

.logo-vault-light {
  color: var(--bg);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--bg); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
  color: #475569;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 20px 80px; min-height: auto; }
  .categories, .hiw, .pricing-model, .niches, .closing { padding: 72px 20px; }
  .hiw-split { grid-template-columns: 1fr; gap: 0; }
  .hiw-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}
