/* OwnStack marketing site — shared styles.
   Colors follow the Karoo earth palette: docs/brand.md + docs/brand-karoo.md.
   Sand is the host, clay is the guest, ink does the reading. Plain HTML, no framework. */

:root {
  --green: #a4512c;        /* clay — primary accent (kept old var names so pages don't break) */
  --green-dark: #8a3f20;   /* clay deep — hover/footer */
  --olive: #3d5c33;
  --bg: #f7f2ea; --card: #ffffff;
  --ink: #33261c; --muted: #6b6152;
  --red: #b3261e; --amber: #d9822b;
  --border: #e3d8c6; --radius: 10px;
  --wa: #25d366;           /* WhatsApp platform green — recognised, not ours */
  --clay-tint: #f3e2d8;    /* hover fills, light clay wash */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }

/* Header / nav — quiet: sand background, ink text, clay only on the one button */
header.site { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
header.site .bar { max-width: 1080px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand .word { font-size: 20px; font-weight: 600; }
.brand .word em { font-style: normal; font-weight: 400; }
nav.main { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
nav.main a:hover { color: var(--ink); background: var(--clay-tint); }
nav.main a.cta { background: var(--green); color: #fff; font-weight: 600; }
nav.main a.cta:hover { background: var(--green-dark); color: #fff; }

/* Layout */
main { max-width: 1080px; margin: 0 auto; padding: 40px 24px 64px; }
.hero { padding: 64px 0 40px; max-width: 720px; }
.hero .kicker { font-size: 14px; font-weight: 700; color: var(--green); letter-spacing: 0.3px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.1; font-weight: 700; margin: 0 0 18px; }
.hero p.sub { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 0 28px; }
.hero .sub2 { color: var(--ink); font-weight: 600; font-size: 20px; margin: -14px 0 26px; }
h2.section { font-size: 28px; margin: 56px 0 8px; text-align: center; }
p.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 24px; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 26px; border-radius: 10px; border: none; cursor: pointer; }
.btn:hover { background: var(--green-dark); }
.btn.wa { background: var(--wa); }
.btn.wa:hover { background: #1da851; }
.btn.olive { background: var(--olive); }
.btn.olive:hover { background: #2e4527; }
.btn.ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.btn.ghost:hover { background: var(--clay-tint); }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn-row { justify-content: flex-start; }

/* Cards & grids — flat white cards, big soft corners, no borders */
.grid { display: grid; gap: 18px; margin: 24px 0; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--card); border: none; border-radius: 16px; padding: 26px; box-shadow: 0 1px 4px rgba(51,38,28,0.07); }
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--green-dark); }
.card p { color: var(--ink); font-size: 15px; }
.card .icon { font-size: 28px; margin-bottom: 10px; display: block; }
.card ul { list-style: none; margin-top: 10px; }
.card ul li { padding: 7px 0; font-size: 15px; }
.card ul li::before { content: "✓ "; color: var(--olive); font-weight: 700; }

.pain h3 { color: var(--red); }
.answer-pair { text-align: center; color: var(--muted); font-size: 14px; margin: -8px 0 8px; }

/* Pricing */
.price-card { text-align: left; position: relative; }
.price-card .tier { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.price-card .amount { font-size: 34px; font-weight: 700; margin: 6px 0 2px; }
.price-card .per { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.price-card .once { font-size: 14px; color: var(--ink); margin-bottom: 14px; }
.price-card.featured { border: 2px solid var(--green); }
.price-card .badge { position: absolute; top: -12px; right: 16px; background: var(--green); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }

/* Timeline — olive numbered circles, quiet line */
.timeline { margin: 24px 0; padding-left: 0; display: grid; gap: 20px; }
.timeline .step { position: relative; padding-left: 56px; }
.timeline .step .n { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--olive); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.timeline .step h3 { font-size: 16px; color: var(--green-dark); margin-bottom: 4px; }
.timeline .step p { font-size: 15px; }

/* FAQ */
details.faq { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; }
details.faq summary { font-weight: 600; cursor: pointer; font-size: 16px; }
details.faq p { margin-top: 10px; color: var(--ink); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 24px 0; }
.contact-grid .card a { color: var(--green-dark); font-weight: 600; text-decoration: none; }
.contact-grid .card a:hover { text-decoration: underline; }

form.contact { display: grid; gap: 14px; max-width: 560px; margin: 24px auto 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
form.contact label { font-size: 14px; font-weight: 600; }
form.contact input, form.contact textarea { padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-family: inherit; }
form.contact .note { font-size: 13px; color: var(--muted); }

/* Screenshot placeholder */
.shot { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; max-width: 760px; margin: 28px auto; box-shadow: 0 6px 24px rgba(28,43,28,0.08); }
.shot .bar-mock { display: flex; align-items: center; justify-content: space-between; background: var(--green); color: #fff; border-radius: 8px 8px 0 0; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.shot .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; padding: 16px 0; }
.shot .kpi { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.shot .kpi .l { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.shot .kpi .v { font-size: 20px; font-weight: 700; }
.shot .kpi .v.alert { color: var(--red); }
.shot .caption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 8px; }

/* Footer */
footer.site { background: var(--green-dark); color: #fff; padding: 32px 24px; }
footer.site .inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer.site a { color: #e3d8c6; text-decoration: none; margin-left: 18px; }
footer.site a:hover { color: #fff; }
footer.site .tag { font-size: 14px; opacity: 0.9; }

@media (max-width: 640px) {
  main { padding: 24px 16px 48px; }
  header.site .bar { padding: 12px 16px; }
  nav.main { width: 100%; justify-content: center; }
  nav.main a { padding: 8px 10px; font-size: 14px; }
}
