/* Appealify design system — shared across all inner pages
   Matches the homepage's editorial aesthetic:
   Display: Newsreader (serif). Body: IBM Plex Sans.
   Palette: deep forest green + amber accent on warm paper. */

:root {
  --ink:        #1b1e1d;
  --ink-soft:   #4d5754;
  --ink-muted:  #94a09c;
  --paper:      #f9f8f5;
  --paper-2:    #f1ece0;
  --line:       #e2d9cc;
  --green:      #173d2f;
  --green-mid:  #245e48;
  --green-soft: #e8f2ec;
  --amber:      #b8762e;
  --amber-soft: #fdf3e2;
  --danger:     #922d28;
  --shadow:     0 14px 40px rgba(23,61,47,0.09);
  --shadow-sm:  0 4px 16px rgba(23,61,47,0.06);
  --radius:     10px;
  --radius-sm:  6px;
  --maxw:       1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
p  { margin: 0 0 1rem; }
a  { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow    { max-width: 720px; }

.eyebrow {
  font-family: "IBM Plex Sans", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
  font-weight: 600;
  color: var(--green-mid);
  margin: 0 0 .9rem;
}

/* ── Header / Nav ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249,248,245,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  height: 66px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Newsreader", serif;
  font-size: 1.2rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  letter-spacing: -.015em;
}
.brand:hover { text-decoration: none; }
.mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--green); display: grid; place-items: center; flex: none;
}
.mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--ink-soft); font-size: .88rem; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: none; padding: 4px;
  margin-left: auto; cursor: pointer;
}
.nav-links.open { display: flex; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; border: none;
  transition: background .15s, transform .1s; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green) !important; color: #fff !important; }
.btn-primary:hover { background: #0f2e22; }
.btn-primary:active { transform: scale(.98); }
.btn-lg { padding: 12px 24px; font-size: .95rem; }
.nav-cta { background: var(--green); color: #fff !important; }

/* ── Page head ─────────────────────────────────────────── */
.page-head {
  padding: clamp(2rem, 4vw, 3rem) 0 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.page-head h1 { margin-bottom: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.lede {
  font-family: "Newsreader", serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ink); font-weight: 400;
  margin-top: 16px; margin-bottom: 1rem;
  line-height: 1.6;
}

/* ── Prose ─────────────────────────────────────────────── */
.prose h2 {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-top: 2.8rem;
  margin-bottom: .65rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
}
.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.8rem; margin-bottom: .4rem; }
.prose p, .prose li { font-size: 1rem; color: var(--ink); line-height: 1.75; margin-bottom: .9rem; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1rem; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--green-mid); text-decoration: underline; }
.muted { font-size: .85rem; color: var(--ink-muted); }

/* ── FAQ accordion ─────────────────────────────────────── */
.faq-item {
  border-top: 1px solid var(--line);
  padding: 2px 0;
}
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  font-family: "Newsreader", serif;
  font-size: 1.05rem; font-weight: 500;
  cursor: pointer; padding: 18px 0;
  list-style: none; display: flex;
  justify-content: space-between; align-items: center;
  gap: 12px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 300;
  color: var(--green-mid); flex: none; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-size: .93rem; color: var(--ink-soft);
  line-height: 1.7; padding-bottom: 20px;
  max-width: 66ch;
}

/* ── Forms ─────────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--ink-soft); margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: .95rem; color: var(--ink);
  background: #fff;
  transition: border-color .15s;
  display: block;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green-mid);
}
.field textarea { resize: vertical; min-height: 120px; }
.hp { display: none; } /* honeypot */

/* Notices */
.notice {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: .9rem; line-height: 1.55;
}
.notice-info { background: var(--amber-soft, #fdf3e2); color: #7a4d0a; }
.notice-err  { background: #fde9e6; color: var(--danger); }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.55);
  padding: 44px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px 40px;
  padding-bottom: 32px;
}
.foot-brand {
  font-family: "Newsreader", serif; font-size: 1.15rem;
  color: rgba(255,255,255,.85); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.site-footer h4 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.5); font-size: .88rem; }
.site-footer a:hover { color: rgba(255,255,255,.85); text-decoration: none; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
}

/* ── SEO landing page sections ─────────────────────────── */
.hero-lp {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.section-lp {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.section-lp:nth-child(even) { background: var(--paper-2); }
.section-lp h2 { margin-bottom: 1.2rem; }
.section-lp p { color: var(--ink-soft); max-width: 64ch; }
.cta-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  text-align: center; background: var(--green);
}
.cta-section h2, .cta-section p { color: rgba(255,255,255,.9); }
.cta-section p { margin-bottom: 24px; }

/* ── Blog ──────────────────────────────────────────────── */
.blog-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 40px;
}
.blog-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.3; }
.blog-card p  { font-size: .88rem; color: var(--ink-soft); flex: 1; margin-bottom: 16px; }
.blog-date { font-size: .75rem; color: var(--ink-muted); margin-bottom: 10px; }
.read-more { font-size: .85rem; font-weight: 600; color: var(--green-mid); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    box-shadow: var(--shadow-sm);
  }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
}

/* ── Missing page styles ──────────────────────────────── */

/* Section default padding */
section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
/* Reduce gap between page-head banner and first content section */
.page-head + section { padding-top: 1.5rem; }


/* Price card */
.price-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}
.price-amount {
  font-family: "Newsreader", serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin: 12px 0 8px;
}
.price-amount small {
  font-size: 1rem;
  color: var(--ink-muted);
  font-weight: 400;
  margin-left: 4px;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}
.price-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: "✓";
  color: var(--green-mid);
  font-weight: 700;
  flex: none;
}

/* Accent button */
.btn-accent { background: var(--green); color: #fff; }
.btn-accent:hover { background: #0f2e22; }
.btn-lg { padding: 13px 24px; font-size: .95rem; }

/* Generic card */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* Grid layouts */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Step number */
.num {
  font-family: "Newsreader", serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--green-mid);
  line-height: 1;
  margin-bottom: 14px;
}

/* Prose container spacing */
.prose { padding: 0; }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: var(--shadow-sm); }
.blog-card .date {
  font-size: .78rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* CTA button inside prose content */
.prose-cta {
  margin: 2rem 0 1rem;
}
.prose-cta .btn-primary { background: var(--green) !important; color: #fff !important; }
.prose-cta .btn-primary:hover {
  background: #0f2e22;
  text-decoration: none;
}

.brand-mark { width:30px;height:30px;border-radius:8px;background:var(--green);display:grid;place-items:center;flex:none; }
.brand-mark svg { width:22px;height:22px; }
