/* ════════════════════════════════════════════════════════════
   AI Front Desk — landing page
   Premium, warm, distinct from the $5 CenterNotes surface.
   Deep forest ink + warm clay. Baloo 2 / Nunito.
   ════════════════════════════════════════════════════════════ */

:root {
  --afd-ink: #1f2a20;
  --afd-ink-2: #2a3729;
  --afd-ink-3: #35422f;
  --afd-cream: #f7f3ec;
  --afd-cream-2: #efe8da;
  --afd-clay: #e07a5f;
  --afd-clay-deep: #c05a3e;
  --afd-gold: #e9c46a;
  --afd-sage: #9dbfa4;
  --afd-muted-d: rgba(247, 243, 236, 0.72);
  --afd-muted-l: #6e5f52;
  --afd-line-d: rgba(247, 243, 236, 0.14);
  --afd-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  background: var(--afd-ink);
  color: var(--afd-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.15; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--afd-clay); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Reveal ── */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Top bar ── */
.afd-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(31, 42, 32, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.afd-top.scrolled { border-bottom-color: var(--afd-line-d); }
.afd-brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.afd-brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--afd-clay), var(--afd-clay-deep));
  color: #fff;
}
.afd-brand-mark svg { width: 22px; height: 22px; }
.afd-brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.afd-brand-copy strong { font-family: "Baloo 2", sans-serif; font-size: 1.05rem; }
.afd-brand-copy small { font-size: 0.7rem; color: var(--afd-muted-d); letter-spacing: 0.04em; }
.afd-nav { display: flex; gap: 1.4rem; }
.afd-nav a { text-decoration: none; font-size: 0.9rem; font-weight: 700; color: var(--afd-muted-d); }
.afd-nav a:hover { color: var(--afd-cream); }
.afd-top-actions { display: flex; align-items: center; gap: 0.8rem; }
.afd-lang {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em;
  color: var(--afd-muted-d); text-decoration: none;
  border: 1px solid var(--afd-line-d); border-radius: 999px; padding: 0.35rem 0.8rem;
}
.afd-lang:hover { color: var(--afd-cream); border-color: var(--afd-cream); }

/* ── Buttons ── */
.btn-call {
  display: inline-block; text-decoration: none; text-align: center;
  background: linear-gradient(135deg, var(--afd-clay), var(--afd-clay-deep));
  color: #fff; font-weight: 800; font-size: 1rem;
  padding: 0.9rem 1.8rem; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(224, 122, 95, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(224, 122, 95, 0.45); }
.btn-call-sm { padding: 0.6rem 1.3rem; font-size: 0.88rem; }

/* ── Hero ── */
.afd-hero {
  text-align: center;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.2rem, 5vw, 3rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(1100px 480px at 50% -8%, rgba(224, 122, 95, 0.16), transparent 60%),
    radial-gradient(900px 500px at 85% 110%, rgba(157, 191, 164, 0.10), transparent 60%),
    var(--afd-ink);
  max-width: 62rem; margin: 0 auto;
}
.afd-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--afd-gold); margin-bottom: 1.2rem;
}
.afd-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.01em; color: #f7f3ec; }
.afd-lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--afd-muted-d); max-width: 44rem; margin: 0 auto 2.2rem; }
.afd-hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-bottom: 1.6rem; }

.afd-callcard {
  display: block; text-decoration: none; text-align: center;
  background: rgba(247, 243, 236, 0.05);
  border: 1px solid var(--afd-line-d);
  border-radius: var(--afd-radius);
  padding: 1.3rem 2.6rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  min-width: min(26rem, 90vw);
}
.afd-callcard:hover { transform: translateY(-3px); border-color: var(--afd-clay); background: rgba(224, 122, 95, 0.08); }
.afd-callcard-label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--afd-sage); margin-bottom: 0.35rem; }
.afd-callcard-number { display: block; font-family: "Baloo 2", sans-serif; font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; color: #fff; }
.afd-callcard-hint { display: block; font-size: 0.85rem; color: var(--afd-muted-d); margin-top: 0.25rem; }
.afd-callcard-light { background: rgba(255, 255, 255, 0.06); }

.afd-ghost { font-weight: 800; color: var(--afd-cream); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--afd-clay); }
.afd-ghost:hover { color: var(--afd-clay); }
.afd-micro { font-size: 0.85rem; color: var(--afd-muted-d); }

/* ── Problem band ── */
.afd-band {
  background: var(--afd-cream); color: var(--afd-ink);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.2rem, 5vw, 3rem);
  text-align: center;
}
.afd-band .afd-h2 { color: var(--afd-ink); }
.afd-h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.01em; }
.afd-h2-light { color: var(--afd-cream); }
.afd-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  max-width: 60rem; margin: 2.2rem auto;
}
.afd-stat {
  background: #fff; border: 1px solid rgba(58, 46, 37, 0.1); border-radius: var(--afd-radius);
  padding: 1.6rem 1.2rem;
}
.afd-stat strong { display: block; font-family: "Baloo 2", sans-serif; font-size: 2rem; color: var(--afd-clay-deep); margin-bottom: 0.4rem; }
.afd-stat span { font-size: 0.92rem; color: var(--afd-muted-l); }
.afd-band-close { max-width: 46rem; margin: 0 auto; font-size: 1.05rem; color: var(--afd-muted-l); }
.afd-band-close em { color: var(--afd-ink); font-style: normal; font-weight: 800; }

/* ── Sections (dark) ── */
.afd-section { padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.2rem, 5vw, 3rem); max-width: 66rem; margin: 0 auto; }
.afd-section-tint { background: var(--afd-ink-2); border-radius: 28px; }
.afd-kicker {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--afd-clay); margin-bottom: 0.7rem;
}
.afd-kicker-light { color: var(--afd-gold); }
.afd-section .afd-h2 { margin-bottom: 2.4rem; }

/* Steps */
.afd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.afd-step {
  background: rgba(247, 243, 236, 0.045);
  border: 1px solid var(--afd-line-d);
  border-radius: var(--afd-radius); padding: 1.8rem 1.5rem;
}
.afd-step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--afd-clay), var(--afd-clay-deep));
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.25rem; color: #fff;
  margin-bottom: 1rem;
}
.afd-step h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.afd-step p { font-size: 0.95rem; color: var(--afd-muted-d); margin: 0; }

/* Included checklist */
.afd-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.afd-checks li {
  position: relative; background: rgba(247, 243, 236, 0.045);
  border: 1px solid var(--afd-line-d); border-radius: var(--afd-radius);
  padding: 1.2rem 1.2rem 1.2rem 3.2rem;
}
.afd-checks li::before {
  content: "✓"; position: absolute; left: 1.1rem; top: 1.15rem;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(157, 191, 164, 0.18); color: var(--afd-sage);
  font-weight: 800; font-size: 0.95rem;
}
.afd-checks strong { display: block; font-size: 1.02rem; margin-bottom: 0.2rem; }
.afd-checks span { font-size: 0.9rem; color: var(--afd-muted-d); }

/* Offer */
.afd-offer { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.afd-price-card {
  background: var(--afd-cream); color: var(--afd-ink);
  border-radius: 22px; padding: 2.2rem 2rem; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.afd-price strong { font-family: "Baloo 2", sans-serif; font-size: 3.2rem; font-weight: 800; }
.afd-price span { font-size: 1.05rem; color: var(--afd-muted-l); }
.afd-price-note { font-size: 0.9rem; color: var(--afd-muted-l); }
.afd-price-list { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; text-align: left; }
.afd-price-list li { padding: 0.45rem 0 0.45rem 1.8rem; position: relative; font-size: 0.95rem; font-weight: 700; }
.afd-price-list li::before { content: "✓"; position: absolute; left: 0.2rem; color: var(--afd-clay-deep); font-weight: 800; }
.afd-price-card .btn-call { width: 100%; }
.afd-offer-copy h3 { font-size: 1.4rem; color: var(--afd-gold); }
.afd-offer-copy p { color: var(--afd-muted-d); font-size: 1.02rem; }
.afd-offer-copy strong { color: var(--afd-cream); }

/* Trust */
.afd-trust {
  background: linear-gradient(180deg, var(--afd-ink-2), var(--afd-ink));
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.2rem, 5vw, 3rem);
}
.afd-trust > * { max-width: 66rem; margin-left: auto; margin-right: auto; }
.afd-trust-lede { color: var(--afd-muted-d); font-size: 1.05rem; margin-bottom: 2rem; }
.afd-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.afd-lane {
  border: 1px solid var(--afd-line-d); border-radius: var(--afd-radius);
  padding: 1.6rem 1.5rem; background: rgba(224, 122, 95, 0.05);
}
.afd-lane h3 { font-size: 1.12rem; color: var(--afd-cream); margin-bottom: 0.5rem; }
.afd-lane h3::before { content: "— "; color: var(--afd-clay); }
.afd-lane p { font-size: 0.93rem; color: var(--afd-muted-d); margin: 0; }

/* FAQ */
.afd-faq { max-width: 48rem; }
.afd-faq details {
  border: 1px solid var(--afd-line-d); border-radius: 14px;
  margin-bottom: 0.8rem; background: rgba(247, 243, 236, 0.035);
  overflow: hidden;
}
.afd-faq summary {
  cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 800; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.afd-faq summary::-webkit-details-marker { display: none; }
.afd-faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 400;
  border: 1px solid var(--afd-line-d); color: var(--afd-clay);
  transition: transform 0.2s ease;
}
.afd-faq details[open] summary::after { content: "–"; transform: rotate(180deg); }
.afd-faq details p { padding: 0 1.4rem 1.3rem; color: var(--afd-muted-d); font-size: 0.95rem; margin: 0; }

/* Final CTA */
.afd-final {
  text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.2rem, 5vw, 3rem);
  background:
    radial-gradient(900px 420px at 50% 110%, rgba(224, 122, 95, 0.18), transparent 60%),
    var(--afd-ink-2);
  border-radius: 28px;
  max-width: 66rem; margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.afd-final h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.afd-final > p { color: var(--afd-muted-d); font-size: 1.05rem; margin-bottom: 2rem; }

/* Footer */
.afd-foot {
  text-align: center; padding: 2.5rem 1.2rem 6rem;
  border-top: 1px solid var(--afd-line-d);
  font-size: 0.88rem; color: var(--afd-muted-d);
}
.afd-foot p { margin: 0 0 0.4rem; }
.afd-foot a { color: var(--afd-sage); }
.afd-foot-sub { font-size: 0.8rem; }

/* Sticky mobile call */
.afd-sticky {
  display: none;
  position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60;
  align-items: center; justify-content: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--afd-clay), var(--afd-clay-deep));
  color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none;
  padding: 0.95rem; border-radius: 999px;
  box-shadow: 0 12px 32px rgba(224, 122, 95, 0.5);
}
.afd-sticky svg { width: 22px; height: 22px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .afd-nav { display: none; }
  .afd-stats { grid-template-columns: 1fr; }
  .afd-steps { grid-template-columns: 1fr; }
  .afd-checks { grid-template-columns: 1fr; }
  .afd-offer { grid-template-columns: 1fr; }
  .afd-lanes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .afd-sticky { display: flex; }
  .afd-foot { padding-bottom: 7rem; }
  .btn-call-sm { display: none; }
}
