/* GrowMarketingPro shared styles: tokens, layout, components. Used by the website, help, legal pages and the app. */
:root {
  --ink: #0F1512; --ink-2: #3B463F; --muted: #5A665E; --line: #DDE3DC; --line-2: #EDF1EC;
  --paper: #FFFFFF; --mist: #F6F7F5; --mist-2: #F1F4F0;
  --green: #0B7A3E; --green-d: #075A2D; --green-l: #5BC36A; --green-t: #E3F5E9; --green-t2: #CDEFD9;
  --yellow: #FFD84D; --yellow-t: #FFF4CC; --yellow-t2: #FFEFB3; --lav-t: #ECEBFF; --red: #B3261E; --red-t: #FDECEA;
  --eng-openai: #0F1512; --eng-gemini: #4C6EF5; --eng-anthropic: #D9772B;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--green); } a:hover { color: var(--green-d); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.grid-bg { background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 48px 48px; }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 4px; }
.eyebrow { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); font-weight: 700; margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; margin: 0; }
.h1 { font-weight: 800; font-size: clamp(42px, 7.2vw, 84px); letter-spacing: -0.04em; line-height: .98; }
.h2 { font-weight: 800; font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.035em; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 34em; margin: 0; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-green { background: var(--green); color: #fff; } .btn-green:hover { color: #fff; box-shadow: 0 10px 24px rgba(11,122,62,.28); }
.btn-ink { background: var(--ink); color: #fff; } .btn-ink:hover { color: #fff; box-shadow: 0 10px 24px rgba(15,21,18,.2); }
.btn-yellow { background: var(--yellow); color: var(--ink); } .btn-yellow:hover { color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); } .btn-outline:hover { color: var(--ink); }
.btn-soft { background: var(--mist-2); color: var(--ink); } .btn-soft:hover { color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--green); font-weight: 700; cursor: pointer; }

/* Cards and pills */
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.card-bold { background: #fff; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--yellow); }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 600; background: var(--mist-2); white-space: nowrap; }
.badge-ok { background: var(--green-t2); color: var(--green-d); } .badge-bad { background: var(--red-t); color: var(--red); } .badge-mid { background: var(--yellow-t2); color: #5C4300; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: 14px; font-weight: 700; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #CDD5CF; border-radius: 12px; background: #fff; font-size: 16px; }
textarea.input { min-height: 140px; resize: vertical; }
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-t); }
.input.bad { border-color: var(--red); }
.err { color: var(--red); font-size: 14px; }
.hint { color: var(--muted); font-size: 13.5px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* Site nav */
.announce { display: block; background: var(--ink); color: #fff; text-align: center; font-size: 14px; padding: 10px 16px; text-decoration: none; }
.announce:hover { color: #fff; }
.announce b { background: var(--yellow); color: var(--ink); border-radius: 99px; padding: 1px 9px; margin-right: 8px; font-size: 12px; }
.sitenav { border-bottom: 1px solid var(--line-2); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 40; }
.sitenav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.navlinks { display: flex; gap: 26px; font-weight: 500; font-size: 15px; }
.navlinks a { color: var(--ink-2); text-decoration: none; } .navlinks a:hover { color: var(--ink); }
.navcta { display: flex; gap: 6px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--mist-2); border: 0; cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--line-2); padding: 12px 20px 20px; flex-direction: column; gap: 4px; background: #fff; }
.mobile-menu a { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-2); }
.mobile-menu.open { display: flex; }
@media (max-width: 900px) {
  .navlinks, .navcta .hide-sm { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

.footer { border-top: 1px solid var(--line-2); padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Prose pages */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin-bottom: 8px; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 36px 0 10px; letter-spacing: -0.02em; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 22px 0 6px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose .draft { background: var(--yellow-t); border: 2px solid var(--ink); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; margin: 18px 0 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); }
.table-wrap { overflow-x: auto; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 18px; font-size: 14.5px; z-index: 100; box-shadow: 0 14px 30px rgba(15,21,18,.25); max-width: calc(100vw - 32px); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---- SEO / guide pages and the shared marketing footer ---- */
.mk-hero { max-width: 860px; padding-block: 40px 56px; display: flex; flex-direction: column; gap: 16px; }
.mk-h1 { font-size: clamp(36px, 5.6vw, 64px); max-width: 15em; text-wrap: balance; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.mk-meta { margin: 0; font-size: 14px; color: var(--muted); }
.mk-answer { background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--yellow); padding: 18px 20px; max-width: 46em; }
.mk-answer b { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.mk-answer p { margin: 6px 0 0; font-size: 17.5px; line-height: 1.6; color: var(--ink); }
.mk-body { max-width: 860px; padding-block: 24px 40px; display: flex; flex-direction: column; gap: 44px; }
.mk-sec h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; text-wrap: balance; }
.mk-sec p, .mk-sec li, .mk-sec dd { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; max-width: 44em; }
.mk-sec p { margin: 0 0 12px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-t); color: var(--green); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.mk-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mk-steps li { counter-increment: s; padding: 14px 16px 14px 58px; position: relative; background: var(--mist); border-radius: 14px; }
.mk-steps li::before { content: counter(s); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--yellow); font-family: var(--mono); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.defs { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 10px 20px; margin: 0; }
.defs dt { font-weight: 700; color: var(--ink); }
.defs dd { margin: 0; }
@media (max-width: 600px) { .defs { grid-template-columns: 1fr; gap: 2px; } .defs dd { margin-bottom: 10px; } }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.mk-table th, .mk-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.mk-table thead th { background: var(--mist); font-weight: 700; }
.mk-table tbody td:first-child { font-weight: 600; color: var(--ink); }
.rels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rel { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; transition: transform .15s, box-shadow .15s; }
.rel:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,21,18,.08); color: var(--ink); }
.rel span { color: var(--muted); font-size: 14px; }
.mk-footer { border-top: 1px solid var(--line-2); padding: 40px 0 28px; margin-top: 56px; font-size: 14.5px; }
.mk-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.mk-cols nav { display: flex; flex-direction: column; gap: 8px; }
.mk-cols nav b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.mk-cols nav a { color: var(--ink-2); text-decoration: none; } .mk-cols nav a:hover { color: var(--green); text-decoration: underline; }
.mk-brand p { color: var(--muted); max-width: 22em; margin: 10px 0 0; }
.mk-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); border-top: 1px solid var(--line-2); margin-top: 28px; padding-top: 18px; }
@media (max-width: 760px) { .mk-cols { grid-template-columns: 1fr 1fr; } .mk-brand { grid-column: 1 / -1; } }
.home-learn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
@media (max-width: 860px) { .home-learn { grid-template-columns: 1fr; } }
.home-learn .tile a { font-weight: 700; }
.h1 .h1-kicker { display: block; width: fit-content; max-width: 100%; margin: 0 auto 20px; padding: 8px 16px; border-radius: 99px; background: var(--green-t); border: 1.5px solid var(--green); color: var(--green); font-family: var(--body); font-size: clamp(12.5px, 1.4vw, 15px); font-weight: 700; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
