:root {
  --bg: #fef3f3;
  --bg-soft: #fce9e9;
  --bg-card: #ffffff;
  --pink-50: #fef1f1;
  --pink-100: #fcdada;
  --pink-200: #f7bcbc;
  --pink-300: #f29a9a;
  --pink-400: #e87878;
  --pink-500: #d95757;
  --lavender: #e8e1f2;
  --yellow: #fef3c7;
  --ink: #1a0f0f;
  --ink-soft: #4a3838;
  --ink-mute: #7a6868;
  --border: #f3d4d4;
  --shadow: 0 1px 2px rgba(217, 87, 87, 0.06), 0 8px 24px rgba(217, 87, 87, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --max-w: 1180px;
  --font-serif: "Fraunces", "Lora", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--pink-500);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--pink-400); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- NAV ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 243, 243, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-200), var(--pink-400));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(217, 87, 87, 0.25);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}
.nav-links a:hover { color: var(--pink-500); }
.nav-links a.active {
  color: var(--pink-500);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: var(--pink-300);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 24px; cursor: pointer; color: var(--ink);
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--pink-400);
  color: white;
  box-shadow: 0 4px 14px rgba(232, 120, 120, 0.35);
}
.btn-primary:hover {
  background: var(--pink-500);
  transform: translateY(-1px);
  color: white;
}
.btn-ghost {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--pink-50);
  color: var(--ink);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* ---------------- HERO ---------------- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, var(--pink-100), transparent 60%);
  z-index: -1;
}
.eyebrow {
  display: inline-block;
  background: var(--pink-100);
  color: var(--pink-500);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--pink-500);
}
.hero p {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------------- SECTIONS ---------------- */
section.block {
  padding: 60px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--ink-mute);
  margin: 8px 0 0;
  max-width: 540px;
}
.section-head .view-all {
  font-weight: 600;
  font-size: 14px;
}

/* ---------------- CARDS GRID ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(217, 87, 87, 0.08), 0 16px 40px rgba(217, 87, 87, 0.12);
}
.card-thumb {
  aspect-ratio: 8.5 / 11;
  background: linear-gradient(135deg, var(--pink-50), var(--bg-soft));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.card-thumb .thumb-emoji {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 26px;
}
.card-thumb .thumb-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink-500);
}
.card-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}
.card-desc {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0;
  flex: 1;
}
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* ---------------- DOWNLOADS PAGE ---------------- */
.page-head {
  padding: 60px 0 30px;
  text-align: center;
}
.page-head h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 52px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.page-head p {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.search {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-50);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.15s;
}
.search:focus-within {
  border-color: var(--pink-200);
}
.search input {
  border: none;
  background: transparent;
  outline: none;
  font: inherit;
  flex: 1;
  color: var(--ink);
}
.search input::placeholder { color: var(--ink-mute); }
.search-icon { color: var(--ink-mute); }

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  background: var(--bg);
  color: var(--ink-soft);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover { background: var(--pink-50); }
.chip.active {
  background: var(--pink-400);
  color: white;
  border-color: var(--pink-400);
}

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-mute);
  background: white;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ---------------- ABOUT ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.about-grid p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 16px;
}
.about-visual {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--pink-100), var(--lavender));
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  box-shadow: var(--shadow);
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------------- VALUE PROPS ---------------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.value {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.value .emoji {
  font-size: 32px;
  margin-bottom: 12px;
}
.value h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.value p {
  color: var(--ink-mute);
  font-size: 15px;
  margin: 0;
}

/* ---------------- START-HERE STEPS ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.step {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.step-num {
  position: absolute;
  top: 22px; right: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--pink-500);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step .emoji { font-size: 34px; margin-bottom: 12px; }
.step h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.step p {
  color: var(--ink-mute);
  font-size: 15px;
  margin: 0 0 16px;
}
.step em { font-style: italic; color: var(--pink-500); }
.step-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
  color: var(--pink-500);
}
.step-link:hover { color: var(--pink-400); }

/* ---------------- CTA BAND ---------------- */
.cta {
  margin: 60px 0;
  padding: 56px 40px;
  background: linear-gradient(135deg, var(--pink-200), var(--pink-300));
  border-radius: 28px;
  text-align: center;
  color: white;
  box-shadow: var(--shadow);
}
.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.cta p {
  font-size: 17px;
  margin: 0 0 24px;
  opacity: 0.95;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta .btn-primary {
  background: white;
  color: var(--pink-500);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.cta .btn-primary:hover {
  background: var(--pink-50);
  color: var(--pink-500);
}

/* ---------------- FOOTER ---------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
  color: var(--ink-mute);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer .brand { font-size: 18px; }
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a { color: var(--ink-soft); font-weight: 500; }
.footer-links a:hover { color: var(--pink-500); }

/* ---------------- PROSE (privacy, long-form) ---------------- */
.prose {
  max-width: 760px;
}
.prose-meta {
  color: var(--ink-mute);
  font-size: 14px;
  margin: 0 0 28px;
}
.prose h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
  margin: 34px 0 10px;
}
.prose p, .prose li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.prose ul {
  padding-left: 22px;
  margin: 0 0 8px;
}
.prose li { margin-bottom: 8px; }
.prose em { font-style: italic; color: var(--pink-500); }

/* ---------------- DOWNLOAD ICON ---------------- */
.icon {
  width: 16px; height: 16px;
  display: inline-block;
  vertical-align: -3px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 40px; }
  section.block { padding: 40px 0; }
  .cta { padding: 40px 24px; margin: 30px 0; border-radius: 22px; }
}

/* ---------------- FREE-SAMPLE BADGE ---------------- */
.card-free {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--yellow);
  color: #92680a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(146, 104, 10, 0.15);
}

/* ---------------- JOIN-THE-GARDEN GATE ---------------- */
.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 15, 15, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
  overflow-y: auto;
}
.gate-overlay.open { opacity: 1; }
.gate-overlay[hidden] { display: none; }

.gate-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(217, 87, 87, 0.25);
  padding: 34px 32px 28px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}
.gate-overlay.open .gate-modal { transform: translateY(0) scale(1); }

.gate-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border: none;
  background: transparent;
  color: var(--ink-mute);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}
.gate-close:hover { background: var(--pink-50); color: var(--ink); }

.gate-mark {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-200), var(--pink-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 16px rgba(217, 87, 87, 0.25);
  margin-bottom: 16px;
}
.gate-modal h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
}
.gate-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 22px;
}
.gate-sub em { color: var(--pink-500); font-style: italic; }

.gate-form { display: flex; flex-direction: column; gap: 14px; }
.gate-field { display: flex; flex-direction: column; gap: 6px; }
.gate-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.gate-field label span {
  font-weight: 400;
  color: var(--ink-mute);
}
.gate-field input,
.gate-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--pink-50);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gate-field input:focus,
.gate-field select:focus {
  outline: none;
  border-color: var(--pink-300);
  box-shadow: 0 0 0 3px rgba(242, 154, 154, 0.25);
  background: #fff;
}
.gate-error {
  margin: 0;
  color: var(--pink-500);
  font-size: 14px;
  font-weight: 600;
}
.gate-error[hidden] { display: none; }
.gate-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.gate-submit:disabled { opacity: 0.7; cursor: default; transform: none; }
.gate-privacy {
  margin: 2px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
}

@media (max-width: 480px) {
  .gate-modal { padding: 30px 22px 24px; }
  .gate-modal h2 { font-size: 23px; }
}
