:root {
  --cream: #F6F1EA;
  --cream-2: #EFE8DE;
  --paper: #FFFFFF;
  --ink: #1C1A17;
  --muted: #7A736A;
  --muted-2: #A39A8F;
  --tan: #E3D8C8;
  --green: #1F4A3C;
  --green-2: #2A5E4D;
  --green-soft: #E4EDE8;
  --orange: #E07A2F;
  --orange-2: #C9661F;
  --orange-soft: #FCEBDD;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(60, 44, 24, .04), 0 8px 24px rgba(60, 44, 24, .07);
  --shadow-lg: 0 2px 6px rgba(60, 44, 24, .06), 0 18px 40px rgba(60, 44, 24, .14);
  --display: "Fredoka", system-ui, sans-serif;
  --sans: "Nunito", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --edge: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tilt-left, .tilt-right, .logo-tile { transform: none !important; }
}
html, body { margin: 0; }
html { max-width: 100%; overflow-x: hidden; }
body {
  max-width: 100%;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
:focus { outline: none; }
:focus-visible { outline: 2px solid rgba(31, 74, 60, .5); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px; top: 16px;
  transform: translateY(-120%);
  background: var(--green); color: #fff;
  padding: 8px 14px; border-radius: 999px;
  z-index: 80; text-decoration: none; font-weight: 700;
}
.skip:focus { transform: none; }

.edge { height: var(--edge); background: var(--green); }
.edge-top { position: sticky; top: 0; z-index: 40; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: var(--edge);
  z-index: 30;
  background: rgba(246, 241, 234, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227, 216, 200, .7);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-tile {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(31, 74, 60, .22);
  transform: rotate(-4deg);
}
.logo-tile-sm { width: 32px; height: 32px; border-radius: 10px; box-shadow: none; }

.nav-desktop { display: none; }
.btn.header-cta { display: none; }

.nav-mobile { margin-left: auto; position: relative; }
.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.burger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.burger span { display: block; height: 2px; background: var(--green); border-radius: 2px; }
.nav-mobile nav {
  position: absolute;
  right: 0; top: calc(100% + 6px);
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
}
.nav-mobile nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 12px;
}
.nav-mobile nav a:hover { background: var(--cream); }
.nav-mobile nav .btn { margin-top: 8px; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(31, 74, 60, .22); }
.btn-primary:hover { background: var(--green-2); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--tan);
}
.btn-outline:hover { background: var(--paper); border-color: var(--green); }
.btn-cream { background: var(--cream); color: var(--green); font-weight: 800; }
.btn-cream:hover { background: #fff; }

/* Hero */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 36px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow-light { color: #F3C7A0; }
.hero h1, .section-title, .card-title, .steps h3, .features h3, .biz-card h3, .footer-name {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}
.hero h1 {
  font-size: clamp(34px, 8vw, 58px);
  margin: 0 0 16px;
  max-width: 16ch;
}
.lede {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  max-width: 42ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-cards { position: relative; min-height: 280px; }
.hero-cards .prompt-card { margin: 0; }
.tilt-left { transform: rotate(-2.5deg); width: 86%; }
.tilt-right {
  transform: rotate(3deg);
  width: 88%;
  margin: -28px 0 0 auto;
  position: relative;
  z-index: 1;
}
.featured { box-shadow: var(--shadow-lg); }

/* Prompt cards */
.prompt-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 16px;
}
.prompt-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.prompt-emoji {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--green-soft);
  display: grid; place-items: center;
  font-size: 22px;
}
.pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.pill-date { background: var(--green-soft); color: var(--green); }
.pill-kind { background: var(--orange-soft); color: var(--orange-2); }
.card-title { font-size: 20px; margin: 0 0 8px; }
.prompt-card p { margin: 0; color: #4F4942; font-size: 15px; line-height: 1.5; }
.clips {
  margin-top: 14px !important;
  color: var(--green) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--cream-2); }
.section-title { font-size: clamp(28px, 5vw, 40px); margin: 0 0 10px; }
.section-lead { margin: 0 0 32px; color: var(--muted); max-width: 46ch; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.steps li {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
}
.steps h3 { margin: 0 0 8px; font-size: 22px; }
.steps p { margin: 0; color: #4F4942; }

.prompt-grid {
  display: grid;
  gap: 16px;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.features li {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  border-top: 3px solid var(--green-soft);
}
.features h3 { margin: 0 0 8px; font-size: 20px; color: var(--green); }
.features p { margin: 0; color: #4F4942; font-size: 15.5px; }

/* Business */
.section-green {
  background: var(--green);
  color: #F6F1EA;
}
.section-green .section-title { color: #fff; }
.section-green p { color: #D8E4DE; }
.biz-grid { display: grid; gap: 28px; }
.biz-card {
  background: var(--green-2);
  border-radius: var(--radius);
  padding: 24px;
}
.biz-card h3 { margin: 0 0 8px; font-size: 22px; color: #fff; }
.biz-card p { margin: 0 0 18px; }
.biz-email { margin: 0 0 14px !important; color: #F6F1EA !important; font-weight: 700; font-size: 14px; word-break: break-all; }
.biz-card .btn { width: 100%; }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq-list details {
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 4px 20px;
  margin-bottom: 10px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  flex: none;
  margin-top: -4px;
  transition: transform .15s ease;
}
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq-list details p {
  margin: 0 0 18px;
  color: #4F4942;
  padding-right: 16px;
}
.faq-list a { font-weight: 700; }

.cta-band { text-align: center; padding-top: 24px; }
.cta-inner { background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); padding: 40px 24px; }
.cta-inner h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 5vw, 36px); margin: 0 0 10px; }
.cta-inner p { margin: 0 0 22px; color: var(--muted); }

/* Footer */
.site-footer { padding: 48px 0 28px; color: var(--muted); }
.footer-inner { display: grid; gap: 24px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-name { margin: 0 0 4px; font-size: 18px; color: var(--ink); }
.footer-meta { margin: 0; font-size: 14px; max-width: 36ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--green); text-decoration: none; font-weight: 700; font-size: 14px; }
.footer-links a:hover { text-decoration: underline; }
.copyright { margin: 0; font-size: 13px; color: var(--muted-2); }

@media (min-width: 760px) {
  .nav-mobile { display: none; }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
  }
  .nav-desktop a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
  }
  .nav-desktop a:hover { color: var(--green); }
  .btn.header-cta { display: inline-flex; margin-left: 8px; min-height: 42px; padding: 8px 16px; font-size: 14px; }
  .brand-name { font-size: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .prompt-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; }
  .biz-card .btn { width: auto; }
  .cta-inner { padding: 56px 40px; }
}

@media (min-width: 980px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .hero-cards { min-height: 360px; }
  .tilt-left { width: 78%; }
  .tilt-right { width: 82%; margin-top: -40px; }
  .prompt-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
}


/* Offset anchor jumps for the sticky header */
#how, #prompts, #features, #businesses, #faq, #top {
  scroll-margin-top: calc(var(--header-h) + var(--edge) + 12px);
}
