/* Service pages (first: /ai-search-visibility, 20 Nov 2026).
   Same look as /newsletter and /lets-talk: black, Inter (self-hosted, the site's own font),
   white outline buttons, the 2vw rail. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.sv {
  --sv-muted: #aaaaaa;
  --sv-soft: #dddddd;
  --sv-line: #2a2a2a;
  min-height: 70vh;
  padding: 160px var(--rail-pad, 2vw) 96px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}

/* Phones: one column. From 1024px the ask sits beside the opening, so the button is on the first screen. */
.sv-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  max-width: 1240px;
}

@media (min-width: 1024px) {
  .sv-top {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    column-gap: 6vw;
    align-items: start;
  }
  .sv-ask {
    padding-top: 44px;
  }
}

.sv-eyebrow {
  color: var(--sv-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sv h1 {
  font-weight: 400;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.sv-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--sv-soft);
  max-width: 58ch;
  margin-bottom: 20px;
}

.sv-byline {
  font-size: 0.9rem;
  color: var(--sv-muted);
  line-height: 1.6;
}

.sv-ask {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sv-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  background: transparent;
  color: #ffffff;
  padding: 0.9em 2.2em;
  border-radius: 40px;
  border: 2px solid #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.sv-button:hover {
  background: #ffffff;
  color: #000000;
}

.sv-button:active {
  transform: translateY(1px);
}

.sv-button:focus-visible,
.sv a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.sv-ask-note {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--sv-soft);
  max-width: 46ch;
}

.sv-proof {
  border-left: 2px solid #ffffff;
  padding: 4px 0 4px 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--sv-soft);
  max-width: 46ch;
}

.sv-body {
  max-width: 760px;
  margin-top: 88px;
  border-top: 1px solid var(--sv-line);
}

.sv-body section {
  padding: 36px 0;
  border-bottom: 1px solid var(--sv-line);
}

.sv h2 {
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.sv-body p,
.sv-body li {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--sv-soft);
  max-width: 62ch;
}

.sv-body p + p {
  margin-top: 12px;
}

.sv-body ul {
  list-style: none;
  margin-top: 4px;
}

.sv-body li {
  position: relative;
  padding: 8px 0 8px 22px;
}

.sv-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 10px;
  height: 1px;
  background: #ffffff;
}

.sv-end {
  padding: 48px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sv-sources {
  margin-top: 40px;
  max-width: 760px;
}

.sv-sources .sv-byline {
  max-width: 62ch;
  margin-bottom: 24px;
}

.sv-sources h2 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--sv-muted);
  margin-bottom: 8px;
}

.sv-sources li {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--sv-muted);
  padding: 4px 0;
}

.sv a:not(.sv-button) {
  color: var(--sv-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .sv {
    padding: 120px 4vw 72px;
  }
  .sv-body {
    margin-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sv-button {
    transition: none;
  }
}
