/* PaidKindly — one stylesheet for every page. System fonts only: no third-party requests. */
:root {
  --ink: #17231c;
  --muted: #4b5a51;
  --bg: #fbf8f2;
  --surface: #ffffff;
  --line: #e6dfd2;
  --green: #1f7a50;
  --green-dark: #155c3b;
  --green-soft: #e3f1e9;
  --sun: #f2b544;
  --sun-soft: #fdf1d8;
  --wa-chat: #efeae2;
  --wa-bubble: #ffffff;
  --wa-head: #075e54;
  --danger: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23, 35, 28, .06), 0 8px 24px rgba(23, 35, 28, .08);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--font);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-dark); }
a:hover { color: var(--green); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }
.section { padding: 64px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--green); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 248, 242, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; }
.logo-text span { color: var(--green); }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.nav .btn--primary, .nav .btn--primary:hover { color: #fff; }
.nav .nav-link { display: none; }
@media (min-width: 760px) { .nav .nav-link { display: inline; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn--ghost:hover { background: var(--green-soft); }
.btn--small { padding: 8px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.trust { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; }
.badge { display: inline-block; background: var(--sun-soft); color: #7a5300; font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }

/* Phone + WhatsApp preview */
.phone {
  width: min(100%, 330px); margin: 0 auto; border-radius: 34px; padding: 10px;
  background: #1b1f1d; box-shadow: var(--shadow);
}
.phone-screen { border-radius: 26px; overflow: hidden; background: var(--wa-chat); }
.wa-head { display: flex; align-items: center; gap: 10px; background: var(--wa-head); color: #fff; padding: 12px 14px; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; color: var(--ink); font-weight: 800; }
.wa-name { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.wa-sub { font-size: .75rem; opacity: .85; }
.wa-body { padding: 16px 12px 20px; min-height: 300px; }
.wa-date { text-align: center; margin-bottom: 12px; }
.wa-date span { background: #fff; color: #54656f; font-size: .72rem; padding: 3px 10px; border-radius: 8px; }
.bubble {
  background: var(--wa-bubble); border-radius: 0 10px 10px 10px; padding: 10px 12px 6px;
  font-size: .88rem; line-height: 1.45; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); max-width: 92%;
}
.bubble p { margin: 0 0 .5em; }
.bubble .time { text-align: right; font-size: .68rem; color: #667781; }
.wa-buttons { max-width: 92%; display: grid; gap: 4px; margin-top: 4px; }
.wa-buttons span { background: var(--wa-bubble); border-radius: 8px; text-align: center; padding: 8px; color: #027eb5; font-size: .85rem; font-weight: 600; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--alt .card { background: var(--bg); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.benefit h3 { display: flex; align-items: center; gap: 10px; }
.benefit .icon { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--green-soft); display: grid; place-items: center; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow); position: relative; }
.price-card .tag { position: absolute; top: -12px; left: 24px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price { font-size: 2.2rem; font-weight: 800; line-height: 1; margin: 8px 0 4px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.price-card li { padding-left: 26px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Waitlist form */
.form-card { max-width: 680px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 20px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .form-card { padding: 36px; } }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input[type=text], .field input[type=email], .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; font: inherit; color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-soft); }
fieldset.field { border: 0; padding: 0; margin-left: 0; margin-right: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .95rem; background: #fff; }
.choice input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }
.form-msg--error { background: #fdecea; color: var(--danger); }
.form-msg--ok { background: var(--green-soft); color: var(--green-dark); }
[hidden] { display: none !important; }

/* Closing CTA */
.cta-band { background: var(--green-dark); color: #fff; border-radius: 24px; padding: 40px 24px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .btn--primary { background: var(--sun); color: var(--ink); }
.cta-band .btn--primary:hover { background: #ffc85e; }

/* Footer */
.site-footer { padding: 40px 0 48px; color: var(--muted); font-size: .9rem; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.site-footer .links a { color: var(--muted); }
.site-footer .legal-line { max-width: 760px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 0 24px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .35em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--surface); }
.draft-banner { background: var(--sun-soft); border: 1px solid var(--sun); color: #6b4a00; border-radius: 10px; padding: 12px 14px; font-size: .95rem; margin-bottom: 24px; }

/* Utilities (no inline styles: the CSP blocks them) */
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.w-full { width: 100%; }
