/* Productive Zombie — shared site styles
   Brand: Grave moss #3F5B3A · Rot lime #A3B940 (dark text only) · Bone #EEE9DC · Tombstone #2B2F2C
   Fonts: Bricolage Grotesque (headings), Inter (body) — loaded in each page's <head>. */

:root {
  --moss: #3F5B3A;
  --lime: #A3B940;
  --bone: #EEE9DC;
  --tomb: #2B2F2C;
  --white: #FFFFFF;
  --muted: #4A504B;
  --muted-on-dark: #C9C4B8;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--tomb); background: var(--bone); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); }
a:hover { color: var(--tomb); }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap--narrow { max-width: 900px; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .15s ease; }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn:hover { animation: pz-lurch .45s ease-in-out; }
.btn--lime { background: var(--lime); color: var(--tomb); box-shadow: 0 4px 0 var(--tomb); }
.btn--lime:hover { color: var(--tomb); }
.btn--lime.btn--outlined { border: 2px solid var(--tomb); }
.btn--ghost { border: 2px solid var(--bone); color: var(--bone); font-weight: 600; padding: 0 24px; }
.btn--ghost:hover { color: var(--bone); }
.btn--dark { background: var(--tomb); color: var(--bone); }
.btn--dark:hover { color: var(--bone); }
@keyframes pz-lurch {
  0% { transform: translate(0, 0) rotate(0); }
  30% { transform: translate(3px, -2px) rotate(-1.5deg); }
  60% { transform: translate(-2px, 1px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { animation: none; }
}

/* Header / nav */
.site-header { background: var(--moss); color: var(--bone); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--bone); text-decoration: none; }
.brand:hover { color: var(--bone); }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-weight: 600; font-size: 16px; }
.nav__links a { color: var(--bone); text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--lime); }

/* Hero */
.hero { background: var(--moss); color: var(--bone); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 104px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); display: inline-block; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.hero__sub { font-size: 20px; line-height: 1.5; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero__media { position: relative; padding-bottom: 64px; }
.hero__shot { width: 100%; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.35); transform: rotate(1.5deg); }
.hero__chart { position: absolute; left: -6%; bottom: 0; width: 58%; border-radius: 12px; border: 6px solid var(--bone); background: var(--white); box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: rotate(-3deg); }
.hero__note { margin-top: 14px; text-align: right; font-size: 13px; opacity: .85; }
@media (max-width: 560px) { .hero__chart { left: 0; } }

/* Problem */
.problem { background: var(--tomb); color: var(--bone); }
.problem__inner { display: flex; flex-direction: column; gap: 20px; text-align: center; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.problem__quote { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; }
.problem__answer { font-size: 20px; color: var(--lime); font-weight: 600; }

/* How it works */
.how__inner { display: flex; flex-direction: column; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.step { background: var(--white); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 16px; border: 2px solid var(--tomb); box-shadow: 6px 6px 0 var(--moss); }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__num { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--moss); }
.step__title { font-size: 22px; font-weight: 700; }
.step__text { font-size: 17px; line-height: 1.55; }

/* Product card (homepage feature + templates page) */
.featured__inner { display: flex; flex-direction: column; gap: 32px; padding-bottom: 96px; }
.product { background: var(--white); border-radius: 22px; border: 2px solid var(--tomb); overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.product__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.product__body { padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.product__name { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.1; }
.product__line { font-size: 18px; line-height: 1.55; }
.product__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.product__list li { display: flex; gap: 12px; align-items: flex-start; }
.product__list svg { flex: none; margin-top: 1px; }
.product__meta { font-size: 14px; color: var(--muted); }
.product__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 6px; }
.product__price { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--moss); }

/* About strip */
.maker { background: var(--white); border-top: 2px solid var(--tomb); border-bottom: 2px solid var(--tomb); }
.maker__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.maker__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.maker__line { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.25; }
.maker__sub { font-size: 17px; line-height: 1.55; }

/* Subscribe band */
.notify { background: var(--lime); color: var(--tomb); }
.notify__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
.notify__text { display: flex; flex-direction: column; gap: 8px; flex: 1 1 420px; }
.notify__title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.notify__sub { font-size: 18px; }

/* Footer */
.site-footer { background: var(--tomb); color: var(--bone); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; padding-top: 48px; padding-bottom: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__joke { color: var(--muted-on-dark); }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; font-weight: 600; }
.footer__links a { color: var(--bone); }
.footer__links a:hover { color: var(--lime); }

/* 404 */
.notfound { background: var(--tomb); color: var(--bone); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 64px 32px; }
.notfound__inner { max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.notfound__code { font-family: var(--display); font-weight: 800; font-size: 120px; line-height: 1; color: var(--lime); }
.notfound__title { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
.notfound__title span { display: block; }
.notfound__text { font-size: 19px; line-height: 1.55; max-width: 40ch; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }

/* Templates listing page */
.templates-main { padding-top: 56px; padding-bottom: 96px; }
.templates-intro { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 60ch; margin-top: 16px; margin-bottom: 40px; }
.cards { display: flex; flex-direction: column; gap: 32px; margin-bottom: 48px; }
