/* Local Rank Tracker: site-wide styles (marketing pages and shared parts). */
:root {
  --ink: #12201c;
  --ink-2: #2b3a36;
  --muted: #5b6b67;
  --paper: #f6f8f6;
  --card: #ffffff;
  --line: #dfe6e2;
  --brand: #0f5c4d;
  --brand-2: #13806b;
  --brand-soft: #e3f1ec;
  --sun: #f6c344;
  --good: #1f9d63;
  --ok: #f0b429;
  --weak: #e2554b;
  --none: #9aa7a3;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(18, 32, 28, .06), 0 8px 24px rgba(18, 32, 28, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font); }
img, svg { max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--brand-soft); padding: 1px 5px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1360px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand-2); margin-bottom: .6em; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 2px solid var(--brand);
  background: var(--brand); color: #fff; font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.button:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.button.ghost { background: transparent; color: var(--brand); }
.button.ghost:hover { background: var(--brand-soft); color: var(--brand); }
.button.light { background: #fff; color: var(--brand); border-color: #fff; }
.button.light:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.button.small { padding: 8px 14px; font-size: .92rem; }
.button.full { width: 100%; }
.button:disabled { opacity: .55; cursor: wait; }
.link-button { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.logo-mark { flex: none; display: block; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.button) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:not(.button):hover { color: var(--brand); }
@media (max-width: 680px) {
  .site-nav { gap: 14px; }
  .site-nav a:not(.button):not([href="/login/"]) { display: none; }
  .brand span { font-size: .95rem; }
}

.hero { padding: 64px 0 56px; background: radial-gradient(1200px 500px at 85% 0%, #e2f1eb 0%, rgba(246, 248, 246, 0) 60%), var(--paper); }
.hero.slim { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.hero-visual { margin: 0; }
.hero-visual figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.hero-map { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 32px rgba(15, 92, 77, .14)); }
.hero-map .hp circle { stroke: #12201c; stroke-width: 1.6; }
.hero-map .hp text { font: 800 12px var(--font); text-anchor: middle; fill: #12201c; }
.hero-map .hp.good circle { fill: var(--good); } .hero-map .hp.good text { fill: #fff; }
.hero-map .hp.ok circle { fill: var(--ok); }
.hero-map .hp.weak circle { fill: var(--weak); } .hero-map .hp.weak text { fill: #fff; }
.hero-map .hp.none circle { fill: var(--none); } .hero-map .hp.none text { font-size: 9px; fill: #fff; }
.hero-map .hm-label { font: 600 13px var(--font); fill: #4b6f7d; }
.hero-map .hm-biz rect { fill: var(--ink); }
.hero-map .hm-biz text { font: 800 11px var(--font); fill: #fff; text-anchor: middle; letter-spacing: .05em; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

.band { padding: 72px 0; }
.band.tight { padding: 32px 0 56px; }
.band.light { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 32px; }
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--ink-2); }
.band.light .card { box-shadow: none; background: var(--paper); }
@media (max-width: 860px) { .cards.three { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: var(--paper); border-radius: var(--radius); padding: 22px 22px 22px 22px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.steps span { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-bottom: 18px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--brand); }
.plan-tag { position: absolute; top: -13px; left: 24px; background: var(--sun); color: var(--ink); font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin: 0; }
.plan .price { font-size: 1rem; color: var(--muted); }
.plan .price b { font-size: 2.2rem; color: var(--ink); letter-spacing: -.02em; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 22px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; border-top: 1px solid var(--line); position: relative; }
.plan li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 10px; height: 6px; border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0 18px; }
.band.light .faq details { background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style-position: outside; }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

.cta-band { background: var(--brand); color: #fff; padding: 64px 0; }
.cta-band .lead { color: #d8ece6; }

.prose h1 { font-size: 2.2rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

.site-footer { background: var(--ink); color: #c9d6d2; padding: 40px 0 24px; margin-top: 0; }
.site-footer .brand { color: #fff; }
.site-footer a { color: #e7efec; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.site-footer .fine { color: #9fb2ad; }
.legal-line { margin-top: 24px; }

.auth { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 48px 20px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.7rem; }
label { display: block; font-weight: 600; margin: 0 0 6px; }
input[type=email], input[type=text], input[type=url], input[type=number], select, textarea {
  width: 100%; font: 400 1rem var(--font); padding: 11px 12px; border: 1.5px solid #c8d3cf; border-radius: 9px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(19, 128, 107, .25); border-color: var(--brand-2); }
form .button { margin-top: 14px; }
.form-error { color: #b42318; font-weight: 600; min-height: 1.2em; margin: 10px 0 0; }
.sent h2 { font-size: 1.3rem; }

.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.compare thead th.us { color: var(--brand); }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare td.us { background: var(--brand-soft); font-weight: 600; color: var(--ink); }
.compare td:not(.us) { color: var(--muted); }
.free-strip { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: linear-gradient(135deg, #fffbea 0%, #ffffff 70%); border: 2px solid var(--sun); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 28px; }
.free-strip h2 { font-size: 1.6rem; margin-bottom: .2em; }
.free-strip p { margin: 0; max-width: 60ch; }
.mt-xl { margin-top: 2.2em; }
.cf-turnstile { margin-top: 14px; }
