/*
 * Sale kit — for-sale banner and acquisition modules for the static sites.
 *
 * Every class is namespaced `sk-` and every value is set explicitly rather
 * than inherited, because this file is dropped into eight sites with eight
 * different stylesheets and must not pick up or leak styling.
 *
 * Nothing here renders until sale-kit.js puts `sk-on` on <html>. The script
 * is loaded in <head> without defer, so that happens before first paint:
 * no flash of a banner the visitor already dismissed, and no layout shift.
 */

:root {
  --sk-bar-h: 56px;
  --sk-ink: #111827;
  --sk-muted: #5b6472;
  --sk-line: #e2e5ea;
  --sk-accent: #1d4ed8;
  --sk-dark: #111827;
}

/* --- Banner ------------------------------------------------------------- */

.sk-banner {
  display: none;
}

html.sk-on .sk-banner {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  background: var(--sk-dark);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
}

/* The bar is fixed, so the page reserves its height to keep it off content. */
html.sk-on body {
  padding-bottom: calc(var(--sk-bar-h) + env(safe-area-inset-bottom, 0px)) !important;
}

html.sk-dismissed .sk-banner {
  display: none;
}

html.sk-dismissed body {
  padding-bottom: 0 !important;
}

.sk-bar {
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--sk-bar-h);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sk-bar p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: #fff;
}

.sk-bar strong {
  font-weight: 600;
}

.sk-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  background: #fff;
  color: var(--sk-dark) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

.sk-cta:hover {
  background: #e5e7eb;
}

.sk-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.sk-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sk-cta:focus-visible,
.sk-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 420px) {
  :root {
    --sk-bar-h: 60px;
  }
  .sk-bar {
    gap: 8px;
    padding: 8px 12px;
  }
  .sk-bar p {
    font-size: 13.5px;
  }
  .sk-cta {
    padding: 0 12px;
    font-size: 13px;
  }
}

/* --- Acquisition modules on /acquire ------------------------------------ */

.sk-modules {
  box-sizing: border-box;
  max-width: 1080px;
  margin: 48px auto;
  padding: 0 16px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--sk-ink);
  line-height: 1.6;
}

.sk-modules * {
  box-sizing: border-box;
}

.sk-section {
  margin: 0 0 40px;
}

.sk-kicker {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sk-accent);
  margin: 0 0 6px;
}

.sk-modules h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--sk-ink);
}

.sk-modules h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--sk-ink);
}

.sk-modules p {
  margin: 0 0 12px;
  color: var(--sk-muted);
  font-size: 15px;
}

.sk-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.sk-card {
  border: 1px solid var(--sk-line);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}

.sk-card--tint {
  background: #f8f9fb;
}

.sk-name {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--sk-ink);
}

.sk-modules a {
  color: var(--sk-accent);
}

/* Steps */
.sk-steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sk-steps li {
  display: flex;
  gap: 14px;
  border: 1px solid var(--sk-line);
  border-radius: 10px;
  padding: 14px 16px;
}

.sk-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sk-accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sk-steps p {
  margin: 0;
  font-size: 14.5px;
}

/* FAQ */
.sk-faq details {
  border: 1px solid var(--sk-line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: #fff;
}

.sk-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--sk-ink);
  font-size: 15px;
}

.sk-faq p {
  margin: 10px 0 0;
}

/* Offer form */
.sk-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-top: 16px;
}

.sk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sk-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-ink);
}

.sk-opt {
  font-weight: 400;
  color: var(--sk-muted);
}

.sk-field input,
.sk-field textarea {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--sk-line);
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  color: var(--sk-ink);
  background: #fff;
  width: 100%;
}

.sk-field textarea {
  min-height: 88px;
  resize: vertical;
}

.sk-field input:focus-visible,
.sk-field textarea:focus-visible {
  outline: 2px solid var(--sk-accent);
  outline-offset: 1px;
}

.sk-field input[aria-invalid="true"] {
  border-color: #b91c1c;
}

.sk-err {
  margin: 0;
  font-size: 13.5px;
  color: #b91c1c;
}

.sk-submit {
  justify-self: start;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--sk-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.sk-submit:hover {
  background: #000;
}

.sk-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sk-note {
  font-size: 13.5px;
  color: var(--sk-muted);
  margin: 0;
}

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.sk-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sk-done {
  padding: 16px 18px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #059669;
  color: #065f46;
  font-size: 15px;
  max-width: 640px;
}

/* Portfolio */
.sk-portfolio {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.sk-portfolio a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--sk-line);
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
}

.sk-portfolio a:hover {
  border-color: var(--sk-accent);
}

.sk-dom {
  font-weight: 700;
  color: var(--sk-accent);
  font-size: 15px;
}

.sk-cat {
  font-size: 13px;
  color: var(--sk-muted);
}

.sk-stamp {
  display: inline-block;
  font-size: 13.5px;
  color: #047857;
  margin: 0;
}

@media (max-width: 760px) {
  .sk-grid2,
  .sk-row {
    grid-template-columns: 1fr;
  }
  .sk-modules h2 {
    font-size: 22px;
  }
}
