/* AskFolake Design System */
:root {
  --rosso: #C84C54;
  --garnet: #8B3A42;
  --gold: #D4AF37;
  --ivory: #F5F3F0;
  --espresso: #2C2C2C;
  --muted: #888;
  --line: #DDD;
  --white: #FFF;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
}

/* Reset & Baseline */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--espresso);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; margin-bottom: 0.75rem; }
h1 { font-size: 48px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
p { margin-bottom: 1rem; }
a { color: var(--garnet); text-decoration: none; }
a:hover { text-decoration: underline; }
.lead { font-size: 18px; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 768px) {
  .grid2 { grid-template-columns: 1fr; gap: 2rem; }
}

/* Header */
header {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--espresso);
}
.desktop-nav { display: flex; gap: 2rem; }
.desktop-nav a { color: var(--espresso); }
.nav-actions { display: flex; gap: 1rem; align-items: center; }
.navcta { background: var(--gold); color: var(--espresso); padding: 0.5rem 1rem; border-radius: 4px; }
.burger { display: none; background: none; border: none; cursor: pointer; width: 24px; height: 24px; flex-direction: column; justify-content: space-between; }
.burger span { width: 100%; height: 2px; background: var(--espresso); }
.mobile-menu { display: none; }

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .burger { display: flex; }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1rem;
  }
  .mobile-menu a { display: block; padding: 0.75rem 0; color: var(--espresso); }
}

/* Sections */
.section { padding: 4rem 0; }
.section.dark { background: var(--espresso); color: var(--white); }
.section.dark a { color: var(--gold); }
.feature-band { background: var(--ivory); }
.hero { padding: 6rem 0; }

/* Eye Brow */
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* Accent */
.accent { color: var(--rosso); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--espresso);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  background: transparent;
  color: var(--espresso);
}
.btn:hover { background: var(--espresso); color: var(--white); }
.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
}
.btn.gold:hover { opacity: 0.9; }

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}
input[type="email"], input[type="text"], textarea {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 16px;
  font-family: var(--sans);
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
  outline: none;
  border-color: var(--garnet);
  box-shadow: 0 0 0 3px rgba(200, 76, 84, 0.1);
}
input[type="checkbox"] { cursor: pointer; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.pillar {
  text-align: center;
}
.pillar .letter {
  font-size: 32px;
  margin-bottom: 1rem;
}
.pillar h3 { font-size: 18px; }

@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr; }
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.check {
  padding: 1rem;
  background: var(--white);
  border-left: 4px solid var(--gold);
  text-align: left;
}

/* Portrait */
.portrait { max-width: 100%; height: auto; border-radius: 8px; }

/* Book 3D */
.book-stage {
  perspective: 1000px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-3d {
  position: relative;
  width: 250px;
  height: 350px;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(5deg);
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); } 50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-10px); } }

.book-spine {
  position: absolute;
  left: -20px;
  top: 0;
  width: 20px;
  height: 100%;
  background: var(--garnet);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(90deg);
  transform-origin: left center;
  writing-mode: vertical-rl;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.book-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--rosso) 0%, var(--garnet) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  color: var(--white);
  border-radius: 4px 0 0 4px;
  box-shadow: -10px 10px 30px rgba(0,0,0,0.3);
}

.book-kicker { font-size: 48px; font-weight: 700; }
.book-title { font-size: 24px; font-weight: 700; line-height: 1.2; text-align: center; }
.book-subtitle { font-size: 14px; opacity: 0.9; }
.book-heart { font-size: 24px; }
.book-author { font-size: 12px; opacity: 0.8; }

/* Footer */
footer {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.links a { color: var(--espresso); font-size: 14px; }

@media (max-width: 768px) {
  .foot { flex-direction: column; text-align: center; }
  .links { justify-content: center; }
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .hero, .section { padding: 3rem 0; }
  .book-stage { height: 300px; }
}
