/* ===================================================
   menna makes sense — site styles
   Palette:
     --orange   #d77655  (Claude orange, primary brand color)
     --beige    #fcf2ee  (light beige, background)
     --ink      #2b241f  (warm dark brown, main text)
     --navy     #1d3345  (deep dusk blue, nod to hero photo sky)
   =================================================== */

:root{
  --orange: #d77655;
  --orange-dark: #b85c3f;
  --beige: #fcf2ee;
  --beige-deep: #f5e4db;
  --ink: #2b241f;
  --ink-soft: #5c5148;
  --navy: #1d3345;
  --white: #ffffff;
  --radius: 18px;
  --max-width: 1080px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
}

a{ text-decoration: none; color: inherit; }

.section-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px;
}

/* ============ NAV ============ */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 242, 238, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige-deep);
}
.nav-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  white-space: nowrap;
}
.logo span{
  color: var(--orange);
  font-weight: 600;
}
.nav-links{
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover{ color: var(--orange); }
.nav-socials{ display: flex; gap: 12px; }
.nav-socials a{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  transition: background 0.2s ease;
}
.nav-socials a:hover{ background: var(--orange); }

/* ============ HERO ============ */
.hero{
  background: linear-gradient(180deg, var(--beige) 0%, var(--beige-deep) 100%);
}
.hero-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow{
  color: var(--orange-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero-text h1{
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-text h1 span{ color: var(--orange); }
.hero-sub{
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta{ display: flex; gap: 16px; flex-wrap: wrap; }

.btn{
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary{
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(215, 118, 85, 0.35);
}
.btn-primary:hover{ background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover{ background: var(--ink); color: var(--white); }

.hero-photo{ display: flex; justify-content: center; }
.photo-frame{
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, var(--navy), var(--orange));
  box-shadow: 0 20px 45px rgba(29, 51, 69, 0.25);
}
.photo-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-fallback{
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
}

/* ============ ABOUT ============ */
.about-inner{ max-width: 760px; }
.about h2, .learn h2, .resources h2, .newsletter h2{
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 26px;
}
.bio{
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.bio-signoff{
  font-weight: 600;
  color: var(--ink);
}

/* ============ LEARN / PILLARS ============ */
.learn{ background: var(--white); }
.pillar-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.pillar-card{
  background: var(--beige);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--beige-deep);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(43, 36, 31, 0.08);
}
.pillar-icon{
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.pillar-card h3{ font-size: 1.1rem; margin-bottom: 10px; }
.pillar-card p{ color: var(--ink-soft); font-size: 0.96rem; }

/* ============ RESOURCES ============ */
.section-sub{ color: var(--ink-soft); margin-bottom: 36px; margin-top: -14px; }
.resource-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.resource-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--beige-deep);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resource-tag{
  align-self: flex-start;
  background: var(--beige-deep);
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.resource-card h3{ font-size: 1.05rem; }
.resource-card p{ color: var(--ink-soft); font-size: 0.93rem; flex-grow: 1; }

/* Home teaser CTA — opens the prompt's own page */
.btn-open{
  align-self: flex-start;
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-open:hover{ background: var(--orange-dark); transform: translateY(-1px); }

/* Copyable prompt preview */
.resource-prompt{
  background: var(--beige);
  border: 1px solid var(--beige-deep);
  border-radius: 12px;
  padding: 16px;
  margin: 4px 0 2px;
  max-height: 220px;
  overflow-y: auto;
  font-family: 'SFMono-Regular', ui-monospace, 'Menlo', 'Consolas', monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  flex-grow: 1;
}
.resource-prompt::-webkit-scrollbar{ width: 8px; }
.resource-prompt::-webkit-scrollbar-thumb{
  background: var(--beige-deep);
  border-radius: 999px;
}

.resource-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.btn-copy{
  border: none;
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-copy:hover{ background: var(--orange-dark); transform: translateY(-1px); }
.btn-copy.copied{ background: var(--navy); }
.resource-download{
  font-weight: 700;
  color: var(--orange);
  font-size: 0.88rem;
}
.resource-download:hover{ color: var(--orange-dark); }
.resource-share{
  font-weight: 700;
  color: var(--navy);
  font-size: 0.88rem;
  border-bottom: 1.5px solid transparent;
}
.resource-share:hover{ border-bottom-color: var(--navy); }

/* ============ SINGLE PROMPT PAGE ============ */
.prompt-page{ background: var(--beige); min-height: 60vh; }
.prompt-page-inner{ max-width: 760px; padding-top: 56px; padding-bottom: 70px; }
.prompt-detail .resource-tag{ margin-bottom: 14px; }
.prompt-detail h1{
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 12px;
}
.prompt-detail-desc{
  color: var(--ink-soft);
  font-size: 1.03rem;
  margin-bottom: 22px;
}
.resource-prompt.tall{
  max-height: none;
  font-size: 0.82rem;
  padding: 22px;
  margin-bottom: 20px;
}
.prompt-detail .resource-actions{ margin-top: 4px; }
.prompt-detail-foot{
  margin-top: 26px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Toast */
.toast{
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(43, 36, 31, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ NEWSLETTER ============ */
.newsletter{
  background: var(--navy);
  color: var(--white);
}
.newsletter-inner{ text-align: center; max-width: 640px; }
.newsletter h2{ color: var(--white); }
.newsletter p{ color: #c7d2da; margin-bottom: 30px; }
.signup-form{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input{
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-family: var(--font-body);
}
.signup-message{
  margin-top: 16px;
  font-weight: 600;
  color: var(--orange);
  min-height: 1.2em;
}

/* ============ FOOTER ============ */
.footer{ background: var(--ink); color: var(--beige); }
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 30px;
}
.footer-logo{ color: var(--white); }
.footer-tagline{ color: #b9ada2; margin-top: 6px; font-size: 0.9rem; }
.footer-socials{ display: flex; gap: 20px; font-weight: 600; }
.footer-socials a:hover{ color: var(--orange); }
.footer-copy{
  text-align: center;
  font-size: 0.8rem;
  color: #8a7f75;
  padding-bottom: 30px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-photo{ order: -1; }
  .photo-frame{ max-width: 260px; }
  .nav-links{ display: none; }
  .pillar-grid{ grid-template-columns: 1fr; }
}
