/* ---------- FlameMallow — cozy, muted ---------- */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #FBF6EE;
  --bg-soft: #F3DCC6;
  --surface: #FFFBF5;
  --ink: #28251D;
  --ink-soft: #5C4A3D;
  --muted: #7A7974;
  --accent: #C28568;
  --accent-strong: #A6694A;
  --line: #ECDFCB;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(60,40,20,.05), 0 6px 16px rgba(60,40,20,.04);
  --shadow-md: 0 2px 6px rgba(60,40,20,.06), 0 18px 40px rgba(60,40,20,.07);
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: "DM Sans", "Inter", sans-serif; color: var(--ink); letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: 1.12rem; line-height: 1.35; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--bg-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Optional: use the brand serif for top hero headline for tighter brand match */
h1 { font-family: "Playfair Display", "DM Sans", serif; font-weight: 500; }

/* ---------- NAV ---------- */
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--accent-strong);
  text-decoration: none;
}
.brand-mark {
  flex: none;
  height: 34px;
  width: auto;
  display: block;
}
.brand-word {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--accent-strong);
  letter-spacing: -0.01em;
}
.hero-logo {
  width: 300px;
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 0 22px;
}
.foot-brand img {
  height: 30px;
  width: auto;
}
.foot-brand .brand-word {
  font-size: 1.1rem;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ink-soft);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: .95rem;
}
.nav-links a:hover { color: var(--accent-strong); }

/* ---------- HERO ---------- */
.hero {
  max-width: var(--max);
  margin: 20px auto 0;
  padding: 40px 28px 60px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 22px; }
.lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 28px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.micro { font-size: .9rem; color: var(--muted); margin: 0; }

.btn {
  display: inline-block;
  padding: 14px 22px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-strong);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--surface);
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
}

/* Soft secondary button — used for second free kit CTA */
.btn-secondary {
  background: var(--soft);
  color: var(--accent-strong);
  border: 1px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: #FFFBF5;
}

/* ---------- STRIP ---------- */
.strip {
  max-width: var(--max);
  margin: 10px auto;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-item {
  display: flex; align-items: center; gap: 12px;
}
.strip-item span { font-size: 1.4rem; }
.strip-item p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: .95rem;
}

/* ---------- FEATURE ---------- */
.feature {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 28px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.feature-art {
  display: flex;
  justify-content: center;
}
.feature-art img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 360px;
  width: 100%;
  height: auto;
  display: block;
}
.checklist {
  list-style: none;
  padding: 0; margin: 0 0 28px;
}
.checklist li {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 30px;
  font-size: 1.02rem;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 4px; top: 10px;
  color: var(--accent);
  font-weight: 700;
}
.checklist li:last-child { border-bottom: 0; }

/* ---------- KITS ---------- */
.kits {
  background: var(--surface);
  padding: 80px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kits-head {
  max-width: var(--max);
  margin: 0 auto 40px;
  text-align: center;
}
.kits-head p { color: var(--muted); margin-top: 10px; }
.kit-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.kit {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}
.kit h3 { margin: 14px 0 10px; }
.kit p { font-size: .96rem; flex: 1; }
.kit-link {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: var(--accent-strong);
  margin-top: 8px;
}
.kit-link:hover { color: var(--ink); }
.badge {
  align-self: flex-start;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
.badge-soft {
  background: var(--bg-soft);
  color: var(--accent-strong);
}
.kit-free { border-color: var(--accent); }

/* ---------- ABOUT ---------- */
.about {
  padding: 90px 28px;
}
.about-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about h2 { margin-bottom: 22px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 38px 28px;
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.foot-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.foot-links a {
  color: var(--ink-soft);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: .95rem;
}
.foot-links a:hover { color: var(--accent-strong); }
.foot-contact {
  font-size: .92rem;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  margin: 4px 0 0;
}
.foot-contact a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
.foot-contact a:hover { color: var(--accent); }
.foot-fine {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- GUIDES (SEO long-form) ---------- */
.guides {
  background: linear-gradient(180deg, #F3DCC6 0%, #F8E7D2 100%);
  padding: 72px 28px 84px;
  margin: 40px auto 0;
  max-width: var(--max);
  border-radius: var(--radius-lg);
}
.guides-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.guides-head h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
}
.guides-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.eyebrow-strong {
  display: inline-block;
  background: var(--accent-strong);
  color: #FFFBF5;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: .82rem;
  text-transform: none;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.guide-tag {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--soft);
  padding: 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.guide-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 4px 0 0;
}
.guide-card p {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.guide-cta {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: var(--accent-strong);
  font-size: .95rem;
  margin-top: 6px;
}
.guide-card-soon {
  opacity: 0.6;
  cursor: default;
}
.guide-card-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.guide-card-soon .guide-cta {
  color: var(--muted);
}

/* ---------- ARTICLE (guide detail page) ---------- */
.article {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 20px 28px 80px;
}
.crumbs {
  font-family: "DM Sans", sans-serif;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.crumbs a {
  color: var(--accent-strong);
  text-decoration: none;
}
.crumbs a:hover { text-decoration: underline; }
.article-head {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.article-head h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 14px 0 18px;
}
.article-head .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 16px;
}
.article-head .meta {
  font-family: "DM Sans", sans-serif;
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
}
.article-body-inner h2 {
  font-size: 1.6rem;
  margin: 44px 0 14px;
  scroll-margin-top: 80px;
}
.article-body-inner h3 {
  font-size: 1.15rem;
  margin: 28px 0 8px;
  color: var(--ink);
}
.article-body-inner p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 18px;
}
.article-body-inner ul {
  margin: 0 0 22px;
  padding-left: 22px;
}
.article-body-inner ul li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--ink);
}
.article-body-inner a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
blockquote.prompt {
  background: var(--soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 16px 0 24px;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
}
blockquote.prompt strong {
  display: block;
  color: var(--accent-strong);
  font-size: .82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.article-rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0 24px;
}
.article-back a {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: none;
}
.article-back a:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .guides { padding: 56px 22px 64px; border-radius: var(--radius-md); }
  .guide-grid { grid-template-columns: 1fr; }
  .article { padding: 12px 22px 64px; }
  .article-body-inner h2 { font-size: 1.4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-logo { margin: 0 auto 22px; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 60px 28px; }
  .feature-art { order: -1; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .kit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nav { padding: 18px 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .9rem; }
  .hero { padding: 24px 20px 40px; }
  .hero-art img { max-width: 280px; }
  .feature-art img { max-width: 240px; }
  .strip { grid-template-columns: 1fr 1fr; padding: 18px 20px; }
  .kits { padding: 60px 20px; }
  .kit-grid { grid-template-columns: 1fr; }
  .about { padding: 60px 20px; }
  .btn { width: 100%; text-align: center; }
}

/* ====== Guide page link strip (hidden from visitors but kept for SEO/reference) ====== */
.article-links {
  display: none;
}

.guides-all-link {
  text-align: center;
  margin-top: 36px;
}

.guides-index {
  background: linear-gradient(180deg, #F3DCC6 0%, #F8E7D2 100%);
  padding: 64px 28px 80px;
}
.guides-head {
  max-width: var(--max);
  margin: 0 auto 32px;
  text-align: center;
}
.guides-head h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  margin: 14px 0 10px;
}
.guides-head p { color: var(--ink); opacity: .8; }
.guides-list {
  max-width: var(--max);
  margin: 0 auto;
}
.cat-heading {
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  margin: 44px 0 18px;
  color: var(--accent-strong);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.example {
  background: var(--surface);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 18px 0 22px;
}
.example strong {
  display: block;
  color: var(--accent-strong);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.example p { margin: 0; }

@media (max-width: 640px) {
  /* .article-links remains hidden on mobile */
  .guides-index { padding: 44px 18px 60px; }
  .cat-heading { margin: 32px 0 14px; font-size: 1.3rem; }
}
