/* WeGet — site styles. Tokens first, then layout, then components. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.938c6e8019b6.woff2") format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/jetbrains-mono-latin-wght-normal.b058178d7f30.woff2") format('woff2'); }

:root {
  --ground: #F7F6F2;
  --paper: #FFFFFF;
  --ink: #0E1726;
  --ink-2: #3B4658;
  --muted: #5A6475;
  --line: #E3E1DA;
  --line-2: #ECEAE3;
  --accent: #C2410C;
  --accent-hover: #A5370A;
  --accent-soft: #E86A2C;
  --accent-text: #B8430B;
  --navy-tint: #E8EEF8;
  --navy-text: #1E3A6E;
  --good: #15803D;
  --good-soft: #F1F6EF;
  --bad: #B42318;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(14, 23, 38, .04), 0 12px 32px -16px rgba(14, 23, 38, .18);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--ground); font-size: 16px; line-height: 1.55; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.035em; }
h2, .h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3, .h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.strong { font-weight: 700; }
.center { text-align: center; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 820px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.center-col { display: flex; flex-direction: column; align-items: center; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--ink); color: #F7F6F2; }
.bp { background-color: var(--ground); background-image: linear-gradient(rgba(14,23,38,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(14,23,38,.055) 1px, transparent 1px); background-size: 32px 32px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent-text); letter-spacing: .02em; margin-bottom: 6px; }
.accent-light { color: #F2A271; }
.ic { flex: 0 0 auto; color: var(--good); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(247, 246, 242, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.brand-light { color: #fff; }
.brand-light svg rect { fill: #F7F6F2; } .brand-light svg path { stroke: #0E1726; }
.nav-links { display: flex; gap: 22px; align-items: center; margin-left: auto; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { text-decoration: underline; }
.nav-check, .nav-burger, .nav .nav-cta, .nav-mobile { display: none; }
/* Phones: burger menu. A checkbox, so it opens without JavaScript too. */
@media (max-width: 760px) {
  .nav { gap: 10px 12px; }
  .nav-check { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav .nav-cta { display: inline-flex; margin-left: auto; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); cursor: pointer; margin-left: auto; }
  .nav-cta + .nav-burger { margin-left: 0; }
  .nav-check:checked ~ .nav-burger { background: var(--line); }
  .nav-check:focus-visible ~ .nav-burger { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap; width: 100%; margin-left: 0; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav-check:checked ~ .nav-links { display: flex; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; }
  .nav-links .nav-mobile { display: flex; }
  .nav-links .nav-desktop { display: none; }
  .nav-links .inline-form { margin-top: 8px; }
  .nav-links .inline-form .btn { padding-left: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; border-radius: 10px; border: 1px solid transparent; padding: 0 18px; min-height: 44px; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-accent { background: var(--accent-soft); color: var(--ink); }
.btn-accent:hover { background: #F07A40; color: var(--ink); }
.btn-outline { background: var(--paper); border-color: #CFCBC0; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; border-color: #4A5568; color: #F7F6F2; }
.btn-outline-light:hover { border-color: #F7F6F2; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 24px; font-size: 17px; }
.btn-block { width: 100%; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-top: 88px; padding-bottom: 64px; }
.hero h1 { max-width: 900px; margin: 0; }
.lead-text { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 680px; margin: 0; }
.page-head .lead-text { margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; background: var(--paper); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; color: var(--ink-2); margin: 0; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--good); display: inline-block; }
.dot.warn { background: #B7791F; }
.picker { margin-top: 10px; background: var(--paper); border: 1px solid #D9D6CC; border-radius: 16px; padding: 10px; display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 780px; box-shadow: var(--shadow); text-align: left; }
.picker-field { flex: 1 1 200px; display: flex; flex-direction: column; padding: 6px 12px; gap: 2px; }
.picker-field + .picker-field { border-left: 1px solid var(--line-2); }
@media (max-width: 640px) { .picker-field + .picker-field { border-left: 0; border-top: 1px solid var(--line-2); } }
.picker-field span { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.picker-field select { font: inherit; font-size: 17px; font-weight: 600; border: 0; background: transparent; color: var(--ink); padding: 4px 0; min-height: 36px; width: 100%; }
.picker .btn { flex: 1 1 220px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--ink-2); }
.trust li { display: inline-flex; gap: 8px; align-items: center; }
.page-head { border-bottom: 1px solid var(--line); padding: 64px 0 40px; }
.crumbs { font-size: 14px; color: var(--muted); }

/* Sections */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.step { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--ground); display: flex; flex-direction: column; gap: 10px; }
.step h3 { margin: 0; }
.step p { margin: 0; color: var(--ink-2); }
.step-n { font-size: 13px; font-weight: 600; color: var(--accent-text); }
.needs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.need-tile { text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-height: 96px; transition: border-color .15s; }
.need-tile:hover { border-color: var(--ink); color: var(--ink); }
.need-tile span { font-size: 14px; color: #4A5568; line-height: 1.45; }

/* Leads */
.sample-list { display: flex; flex-direction: column; gap: 12px; }
.lead { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.lead-main { flex: 2 1 320px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lead-side { flex: 1 1 160px; display: flex; flex-direction: column; gap: 2px; }
.lead-addr { font-size: 18px; letter-spacing: -0.01em; }
.label { font-size: 12px; color: var(--muted); font-weight: 600; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; background: var(--navy-tint); color: var(--navy-text); padding: 4px 10px; border-radius: 999px; }
.tag-likely { background: #FFF4E5; color: #8A4B08; }
.lead-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.empty-card { background: var(--paper); border: 1px dashed #CFCBC0; border-radius: var(--radius); padding: 28px; color: var(--ink-2); text-align: center; }
.skeleton { height: 92px; border-radius: var(--radius); background: linear-gradient(90deg, #EFEDE6, #F7F6F2, #EFEDE6); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.callout { margin-top: 20px; background: var(--ink); color: #F7F6F2; border-radius: 16px; padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.callout p { margin: 0; max-width: 580px; }
.callout strong { color: #fff; }
.callout-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* Plain links and muted text on the dark blocks (default link color is --ink, invisible there). */
:is(.dark, .callout, .toast, .footer-about, .footer-legal) a:not(.btn, .brand, .phone *) { color: #fff; text-decoration: underline; }
:is(.dark, .callout, .toast, .footer-about, .footer-legal) a:not(.btn, .brand, .phone *):hover { color: var(--accent-soft); }
:is(.dark, .callout) :is(.muted, small):not(.phone *) { color: #B8C0CE; }
.freeweek { margin-top: 16px; }

/* Cards & forms */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 700; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #CFCBC0; border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-soft); outline-offset: 0; border-color: var(--accent-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--bad); }
.field.inline { margin: 0; flex-direction: row; align-items: center; gap: 8px; }
.field.inline span { font-size: 13px; color: var(--muted); }
.field.inline select, .field.inline input { min-height: 40px; padding: 6px 10px; width: auto; max-width: 100%; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
.row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.row.space { justify-content: space-between; align-items: center; }
.grow { flex: 1 1 260px; margin-bottom: 0; }
.check { display: block; position: relative; padding-left: 28px; font-size: 14px; margin: 12px 0; }
.check input { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.form-status { margin: 12px 0 0; font-size: 15px; min-height: 1.2em; }
.form-status.ok { color: var(--good); font-weight: 600; }
.form-status.err { color: var(--bad); font-weight: 600; }
.contact-form h2 { margin-bottom: 4px; }

/* Digest */
.digest { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.digest-copy { flex: 1 1 380px; }
.digest-copy p { color: #C9CFDA; font-size: 17px; }
.checks { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks-light .ic { color: #F2A271; }
.big-checks li { font-size: 17px; }
.phone { flex: 0 1 340px; margin: 0 auto; background: var(--ground); color: var(--ink); border-radius: 36px; padding: 14px; border: 6px solid #2A3547; }
.phone-screen { background: #fff; border-radius: 24px; padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.mail-head { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line-2); padding-bottom: 12px; }
.mail-lead { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; }
.mail-lead .tag { font-size: 11px; padding: 2px 8px; }
.phone-caption { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.mail-btn { text-align: center; font-size: 14px; font-weight: 700; background: var(--accent); color: #fff; padding: 12px; border-radius: 10px; }

/* Pricing */
.price-card { width: 100%; max-width: 540px; background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 18px; position: relative; margin-top: 28px; }
.price-badge { position: absolute; top: -14px; left: 32px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.price-top { display: flex; flex-direction: column; gap: 8px; }
.price-name { font-size: 18px; font-weight: 700; }
.price-amount { display: flex; align-items: baseline; gap: 6px; }
.price-num { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.period-toggle { display: inline-flex; gap: 4px; background: var(--ground); border: 1px solid var(--line); border-radius: 10px; padding: 4px; align-self: flex-start; }
.period-toggle label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; }
.period-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.period-toggle label:has(input:checked) { background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.period-toggle label:has(input:focus-visible) { outline: 3px solid var(--accent-soft); }
.period-toggle em { font-style: normal; color: var(--good); font-size: 12px; }
.pricing { width: 100%; display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.pricing-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; max-width: 720px; width: 100%; margin: 0 auto; }
.pricing-expected { grid-column: 1 / -1; margin: 0; text-align: center; min-height: 1.5em; }
.tiers { display: grid; gap: 16px; align-items: stretch; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (min-width: 1040px) { .tiers-4 { grid-template-columns: repeat(4, 1fr); } .tiers-3 { grid-template-columns: repeat(3, 1fr); } }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.tier p { margin: 0; }
.tier .checks { margin: 0; flex: 1; }
.tier-pro { border: 2px solid var(--ink); }
.tier-pro .price-badge { left: 22px; }
.tier-num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.tier-leads { color: var(--ink); }
.tier-cta { margin-top: auto; }
.guarantee { background: var(--good-soft); border: 1px solid #CFE3C7; border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #1F3B1A; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accent-text); font-weight: 800; transition: transform .15s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--ink-2); }
.final-cta { border-top: 1px solid var(--line); }
.big { font-size: clamp(30px, 4.5vw, 44px); max-width: 760px; }

/* Data pages */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-size: 13px; color: var(--muted); font-weight: 700; background: #FBFAF7; }
td.num, th.num { text-align: right; font-family: var(--mono); }
tr:last-child td { border-bottom: 0; }
.stat-row { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 24px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; font-family: var(--mono); }
.two-col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.chart { margin: 0 0 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.chart svg { width: 100%; height: auto; display: block; }
.chips { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-family: var(--mono); font-size: 14px; }
.plain-list { padding-left: 20px; }
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 15px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.city-card { text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.lead-compact { padding: 14px 18px; }
.steps-list { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose ul { padding-left: 20px; }

/* Footer */
.footer { background: var(--ink); color: #C9CFDA; margin-top: 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 48px; padding-bottom: 24px; font-size: 14px; }
.footer-about { max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.footer-about p { margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #C9CFDA; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-h { font-weight: 700; color: #fff; }
.status-line { font-size: 12px; color: #8FD19E; }
.status-line.warn { color: #F5C26B; }
.footer-legal { border-top: 1px solid #263248; padding-top: 16px; padding-bottom: 32px; font-size: 13px; color: #8E97A8; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 50; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ---- Django-specific additions ---- */
.flash-wrap { padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.flash { margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; transition: opacity .4s; }
.flash-success { border-color: #CFE3C7; background: var(--good-soft); color: #1F3B1A; }
.flash-error { border-color: #F2C4BE; background: #FDF1EF; color: var(--bad); }
.flash-info, .flash-warning { border-color: #F5D9A8; background: #FFF8EC; color: #6B4508; }
.flash-hide { opacity: 0; }
.field-error { color: var(--bad); font-weight: 600; font-size: 14px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.inline-form { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.freeweek-summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; }
.freeweek-summary::-webkit-details-marker { display: none; }
.freeweek-summary::before { content: '✉ '; }
.freeweek[open] .freeweek-summary { margin-bottom: 12px; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 12px; }
.check-grid label.check { margin: 6px 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
fieldset.period-toggle { border: 1px solid var(--line); margin: 0; }
.map-fallback { padding: 16px; }
.flag summary { list-style: none; display: inline-flex; }
.flag summary::-webkit-details-marker { display: none; }
.flag[open] { width: 100%; }
.flag-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; }
.flag-form .field { margin: 0; flex: 1 1 240px; }
.nav-links form button { font-weight: 500; }
/* Flash messages float at the bottom so they are seen wherever the page is scrolled. */
.flash-wrap { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(680px, calc(100% - 32px)); padding: 0; }
.flash { box-shadow: var(--shadow); }

/* Terms, privacy and cookies: bar at the bottom, popup before leads */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; padding: 10px 20px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(14, 23, 38, .35); font-size: 14px; }
.consent-bar[hidden] { display: none; }
.consent-bar p { margin: 0; color: var(--muted); }
.consent-bar-actions { display: flex; align-items: center; gap: 8px; }
.consent-close { border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 8px; cursor: pointer; }
.consent-dialog { width: min(560px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.consent-dialog::backdrop { background: rgba(14, 23, 38, .45); }
.consent-dialog h2 { margin-top: 0; }
.consent-list { margin: 16px 0; padding-left: 20px; display: grid; gap: 10px; }
.consent-optional { margin-bottom: 16px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.consent-dialog .consent-actions { margin-bottom: 0; }

/* Contractor lists */
.tag-good { background: var(--good-soft); color: var(--good); }
.tag-muted { background: var(--line-2); color: var(--muted); }
.stat-range { font-size: 26px; line-height: 1.3; }
.buy-layout aside { align-self: start; position: sticky; top: 88px; }
@media (max-width: 860px) { .buy-layout aside { position: static; } }
.buy-card { display: flex; flex-direction: column; gap: 14px; border: 2px solid var(--ink); border-radius: 20px; margin: 0; }
.buy-card .price-num { font-size: 48px; }
.buy-card .check { margin: 4px 0; }
.buy-card p { margin: 0; }
.dir-preview { margin-bottom: 12px; position: relative; }
.dir-preview td { white-space: nowrap; }
.dir-preview td:first-child { white-space: normal; }
.lock { font-family: var(--mono); color: var(--muted); letter-spacing: .04em; user-select: none; }
.is-locked td { padding-top: 16px; padding-bottom: 16px; }
.bar { display: inline-block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #ECEAE3, #F4F2EC); vertical-align: middle; }
.bar-s { width: 28px; } .bar-m { width: 84px; } .bar-l { width: 160px; max-width: 100%; }
.dir-more { margin: 0; padding: 14px 16px; border-top: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(251,250,247,.6), #FBFAF7); text-align: center; }
.offer-table tr.is-thin td { color: var(--muted); }
.list-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 24px; }
.list-row-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 320px; }
.list-row-main h2 { margin: 0; }
.list-row-main h2 a { text-decoration: none; }
.list-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.list-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.company-list { display: flex; flex-direction: column; gap: 12px; }
.company { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.company-head { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: flex-start; }
.company-head h2 { margin: 0 0 2px; }
.company-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 20px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); }
.company-stats dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.company-stats dd { margin: 2px 0 0; font-weight: 700; }
.company-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.company-meta .chips { margin: 0; }
.jobs summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--accent-text); }
.jobs-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; }
.jobs-list li { display: grid; grid-template-columns: minmax(150px, auto) 1fr auto; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 14px; align-items: baseline; }
@media (max-width: 640px) { .jobs-list li { grid-template-columns: 1fr auto; } .jobs-list li > :first-child { grid-column: 1 / -1; } }
.hire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .hire { grid-template-columns: minmax(0, 1fr); } }
.hire .picker { margin-top: 0; }
.hire-card { margin-top: 24px; padding: 20px; }
.hire-card p { margin-bottom: 12px; }
.tag-offer { background: #FFF1E8; color: var(--accent-text); }
.offer-list { margin-bottom: 8px; }
.company-offer { border-color: #F2C9AE; box-shadow: inset 4px 0 0 var(--accent-soft); }
.company-offer .tag { margin-bottom: 6px; }
.offer-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.offer-price .strong { font-size: 20px; }
@media (max-width: 640px) { .offer-price { align-items: flex-start; text-align: left; } }
.offer-text { margin: 0; color: var(--ink-2); }
.add-card { margin-top: 16px; padding: 22px; }
.add-card p { margin: 0 0 12px; }
.add-card p:last-child { margin: 12px 0 0; }
.company-head h2 .tag { vertical-align: middle; font-size: 11px; }

/* Settings → Your plan */
.plan-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); }
.plan-row:first-of-type { border-top: 0; }
.plan-subscribe { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan-subscribe .h4 { margin: 0 0 4px; font-size: 16px; }
.plan-billing { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Three pillars, account tabs and the Marketing / Connections areas */
.pillars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillar { display: flex; flex-direction: column; gap: 8px; text-decoration: none; margin: 0; transition: border-color .15s; }
a.pillar:hover { border-color: var(--ink); color: var(--ink); }
.pillar p { margin: 0; color: var(--ink-2); }
.app-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding-top: 18px; border-bottom: 1px solid var(--line); }
.app-tabs a { padding: 10px 14px; text-decoration: none; font-weight: 600; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.app-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.tag-new { background: var(--accent); color: #fff; }
.mk-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 72px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 84px; align-self: start; }
.side-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.side-nav a[aria-current="page"] { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
@media (max-width: 860px) { .mk-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; } .side-nav { position: static; flex-direction: row; flex-wrap: wrap; } }
.stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 20px; }
.stat-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat-box strong { font-size: 26px; letter-spacing: -0.02em; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.data-table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }
.records td.copy { word-break: break-all; }
.tpl-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 24px; }
.tpl-card { font: inherit; text-align: left; cursor: pointer; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.tpl-card:hover { border-color: var(--ink); }
.editor { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: start; }
@media (max-width: 1100px) { .editor { grid-template-columns: minmax(0, 1fr); } }
.editor-preview { position: sticky; top: 84px; }
.preview-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card.inset { background: var(--ground); padding: 18px; margin: 18px 0 0; }
.card.inset legend { padding: 0 6px; font-weight: 700; }
.qr-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.qr-row img { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.tier-focus { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.thread { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.msg { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; max-width: 85%; align-self: flex-start; }
.msg p { margin: 0 0 4px; }
.msg-me { align-self: flex-end; background: var(--navy-tint); border-color: transparent; }
.signup-page { max-width: 520px; padding-top: 48px; padding-bottom: 48px; }
.embed-body { margin: 0; padding: 16px; background: var(--paper); }
.embed-body .field input { width: 100%; }
.signup-done { padding: 12px 0; }
.tpl-samples { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 32px; }
.sample-body { font-size: 14px; color: var(--ink-2); max-height: 320px; overflow: hidden; }
.poster-page { background: #fff; }
.poster { max-width: 640px; margin: 0 auto; padding: 48px 24px; text-align: center; }
.poster-qr svg { width: 70%; max-width: 360px; height: auto; }
@media print { .no-print, .topbar, .footer { display: none !important; } .poster { padding-top: 0; } }

/* Hire a company: the two ways side by side */
.hire-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; align-items: start; }
.option { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 32px; }
.option h3 { margin: 8px 0 0; }
.option .picker { margin-top: 8px; }
.option-price { position: absolute; top: -14px; left: 24px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.option-for { margin: 0; color: var(--ink-2); }
.nav-links .nav-hire { font-weight: 700; }
.hero-alt { margin: 18px 0 0; font-weight: 600; }
.tier-who { margin: 4px 0 0; color: var(--ink-2); min-height: 4.2em; }
.once-grid { gap: 16px; }

/* Marketing setup: the steps, the bar on the other Marketing pages, the DNS records. */
.setup-steps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.setup-steps li { display: flex; gap: 12px; align-items: flex-start; }
.setup-steps p { margin: 4px 0 10px; }
.setup-steps li.done a { color: var(--muted); }
.setup-n { flex: 0 0 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.setup-steps li.current .setup-n { background: var(--accent); border-color: var(--accent); color: #fff; }
.setup-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin-bottom: 20px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; }
.setup-bar div { flex: 1 1 260px; }
.setup-bar p { margin: 2px 0 0; }
.dns-recs { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dns-rec { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.dns-line { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 8px; }
.dns-line code { overflow-wrap: anywhere; font-size: 14px; }
@media (max-width: 640px) { .dns-line { grid-template-columns: minmax(0, 1fr) auto; } .dns-line > span { grid-column: 1 / -1; } }
details.help { margin: 14px 0; }
details.help summary { cursor: pointer; font-weight: 600; }
/* Long button labels wrap on small phones instead of pushing the page sideways. */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
