/* ==========================================================================
   GoLeadUs v6 — base + components. Loads AFTER tokens.css.
   Fonts are self hosted. Do not add a Google Fonts link.
   ========================================================================== */

@font-face { font-family:"Archivo"; font-style:normal; font-weight:400; font-display:swap;
  src:url("../assets/fonts/archivo-400.woff2") format("woff2"); }
@font-face { font-family:"Archivo"; font-style:normal; font-weight:600; font-display:swap;
  src:url("../assets/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family:"Archivo"; font-style:normal; font-weight:900; font-display:swap;
  src:url("../assets/fonts/archivo-900.woff2") format("woff2"); }
@font-face { font-family:"JetBrains Mono"; font-style:normal; font-weight:400; font-display:swap;
  src:url("../assets/fonts/jetbrains-mono-400.woff2") format("woff2"); }
@font-face { font-family:"JetBrains Mono"; font-style:normal; font-weight:500; font-display:swap;
  src:url("../assets/fonts/jetbrains-mono-500.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
::selection { background: var(--text); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-ink :focus-visible { outline-color: var(--accent-inv); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--text-inv); padding: var(--s-3) var(--s-4);
}
.skip-link:focus { left: 0; }

/* --- layout ---------------------------------------------------------- */
.wrap { max-width: var(--page-max); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }
.measure { max-width: var(--measure); }

.section { padding-block: var(--section-y-m); }
@media (min-width: 900px) { .section { padding-block: var(--section-y); } }
.section--hero { padding-block: var(--hero-y) var(--section-y); }

/* Whitespace is the only section divider. Do not add rules or bands between
   sections. .band--ink is a deliberate device, not a separator. */
.band--bone { background: var(--bone); }
.band--ink  { background: var(--ink); color: var(--text-inv); }
.band--ink .text-2 { color: var(--text-2-inv); }
.surface--graphite { background: var(--graphite); color: var(--text-inv); }

.stack   { display: flex; flex-direction: column; gap: var(--s-5); }
.stack-l { display: flex; flex-direction: column; gap: var(--s-7); }
.row     { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; }
.grid    { display: grid; gap: var(--s-7); }
@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- type ------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }

.display, h1 {
  font-size: var(--fs-display); line-height: var(--lh-display);
  letter-spacing: var(--tr-display); text-transform: uppercase;
}
h2 {
  font-size: var(--fs-h2); line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2); text-transform: uppercase;
}
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); }
h4 { font-size: var(--fs-body); line-height: 1.35; letter-spacing: -0.008em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: var(--fs-lede); line-height: 1.5; letter-spacing: -0.008em; color: var(--text-2); }
.small, small { font-size: var(--fs-small); line-height: 1.55; color: var(--text-2); }
.text-2 { color: var(--text-2); }

.label {
  display: block; font-family: var(--mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--text-2);
}
.figure, .num {
  font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0;
}

/* Every number on the site is tabular. */
table, .price, time, .tel { font-variant-numeric: tabular-nums; }

/* --- links and buttons ------------------------------------------------ */
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding-inline: 30px; border: 0; border-radius: var(--r-inner);
  background: var(--accent); color: var(--on-accent);
  font-family: var(--sans); font-size: var(--fs-small); font-weight: 500; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background var(--t-state) var(--ease);
}
.btn:hover { background: var(--accent-hover); }
/* One primary button per page. Inside an ink band it flips to the inverse
   pair, because white on --accent over black is only 4.05:1. */
.band--ink .btn { background: var(--accent-inv); color: var(--on-accent-inv); }

.btn--secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn--secondary:hover { background: var(--text); color: var(--paper); }

.link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-small); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: opacity var(--t-state) var(--ease);
}
.link:hover { opacity: .6; }

/* --- nav -------------------------------------------------------------- */
.nav a {
  position: relative; text-decoration: none; font-size: var(--fs-small); font-weight: 400;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px;
  background: currentColor; transition: right 220ms var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

/* --- forms ------------------------------------------------------------ */
.field { display: grid; gap: var(--s-2); }
.field label {
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--text-2);
}
.field input, .field select, .field textarea {
  min-height: 52px; padding: 14px 15px;
  border: 1px solid var(--border); border-radius: var(--r-inner);
  background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 16px; /* 16px stops iOS zooming on focus */
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--text);
}
/* Validate on blur, never on keystroke. Colour alone is not an error state,
   so the message always carries words. */
.field .error { color: var(--danger); font-family: var(--mono); font-size: 13.5px; }
.field [aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }

/* --- proof blocks ------------------------------------------------------ */
/* No card chrome. A hairline above and space below. */
.case { border-top: 1px solid var(--hairline); padding-top: var(--s-5); }
.band--ink .case { border-top-color: var(--hairline-inv); }
.quote { border-left: 2px solid var(--text); padding-left: var(--s-5); }
.quote cite {
  display: block; margin-top: var(--s-2); font-style: normal;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--text-2);
}

.price-block { border-top: 1px solid var(--hairline); padding-top: var(--s-5); }
.price-block .price { font-family: var(--mono); font-size: 1.5rem; }

/* --- motion ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Site chrome. Shared across every page.
   ========================================================================== */

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6); padding-block: var(--s-5);
}
.wordmark {
  font-weight: 900; font-size: 1.0625rem; letter-spacing: -0.03em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.nav { display: flex; gap: var(--s-5); flex-wrap: wrap; }
@media (max-width: 639px) { .nav { gap: var(--s-4); font-size: var(--fs-small); } }

.site-footer { padding-block: var(--s-8) var(--s-7); }
.site-footer .rule { border: 0; border-top: 1px solid var(--hairline); margin: 0 0 var(--s-7); }
.band--ink .site-footer .rule { border-top-color: var(--hairline-inv); }
.footer-grid { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-8); justify-content: space-between; }

/* --- hero -------------------------------------------------------------- */
.hero__eyebrow { margin-bottom: var(--s-5); }
.hero h1 { max-width: 15ch; }
.hero__lede { margin-top: var(--s-6); max-width: 54ch; }
.hero__cta { margin-top: var(--s-7); }

/* --- numbered lists that are genuinely sequential ---------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6); }
.steps > li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); }
.steps .step-n {
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: var(--tr-label); color: var(--text-2); padding-top: 6px;
}
.band--ink .steps .step-n { color: var(--text-2-inv); }

/* --- definition style blocks: category, engagement, exclusion ----------- */
.entry { border-top: 1px solid var(--hairline); padding-top: var(--s-5); }
.band--ink .entry { border-top-color: var(--hairline-inv); }
.entry h3 { margin-bottom: var(--s-3); }
.entry .meta {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: var(--fs-small); color: var(--text-2); margin-bottom: var(--s-3);
}
.band--ink .entry .meta { color: var(--text-2-inv); }
.entry .excl { margin-top: var(--s-4); font-size: var(--fs-small); color: var(--text-2); }
.band--ink .entry .excl { color: var(--text-2-inv); }

.entry .price { display: block; font-size: 1.75rem; letter-spacing: -0.02em; color: var(--text); margin-bottom: var(--s-2); }
.band--ink .entry .price { color: var(--text-inv); }

/* --- the closing ask. One oversized text link, not a second button. ----- */
.ask a {
  display: inline-block; font-size: var(--fs-h2); line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2); text-transform: uppercase; font-weight: 600;
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: var(--s-2);
  transition: opacity var(--t-state) var(--ease);
}
.ask a:hover { opacity: .6; }

/* --- misc -------------------------------------------------------------- */
.not-for li { margin-bottom: var(--s-3); }
.not-for li:last-child { margin-bottom: 0; }

/* --- vertical rhythm inside a text block -------------------------------- */
/* Headings carry no margin of their own, so the spacing is declared here
   once rather than per section. */
.label + h1, .label + h2, .label + h3 { margin-top: var(--s-3); }
h1 + p, h1 + .lede { margin-top: var(--s-6); }
h2 + p, h2 + .lede { margin-top: var(--s-4); }
h3 + p, h3 + .lede { margin-top: var(--s-3); }
.lede + p, p + .lede { margin-top: var(--s-4); }

/* --- "who this is not for": a list, without list furniture -------------- */
.not-for { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.not-for li {
  margin: 0; border-top: 1px solid var(--hairline);
  padding-block: var(--s-4);
}
.not-for li:last-child { border-bottom: 1px solid var(--hairline); }
.cta-inline { margin-top: var(--s-6); }

/* --- header and hero on small screens ----------------------------------- */
/* Below 720px the nav will not sit beside the wordmark without colliding,
   so the header stacks. No hamburger: five items fit on two lines and a
   hidden menu costs a tap for no gain at this size. */
@media (max-width: 719px) {
  .site-header {
    flex-direction: column; align-items: flex-start; gap: var(--s-4);
    padding-block: var(--s-4);
  }
  .site-header .nav { gap: var(--s-3) var(--s-4); }
  .section--hero { padding-block: var(--s-9) var(--s-8); }
  .footer-grid { gap: var(--s-6); }
}

/* --- logo -------------------------------------------------------------- */
/* Two files per lockup, ink and paper. Ink on paper and bone, paper on ink.
   There is no orange version and no Ember version. */
.logo { display: inline-block; line-height: 0; }
.logo img { height: 48px; width: auto; }
@media (max-width: 719px) { .logo img { height: 40px; } }
.mark { height: 56px; width: auto; align-self: flex-start; margin-bottom: var(--s-6); }

/* --- coverage grid: what the audit reads ------------------------------- */
.coverage { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); } }
@media (min-width: 1000px) { .coverage { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.coverage > div { border-top: 1px solid var(--hairline); padding-block: var(--s-4) var(--s-6); }
.coverage h3 { font-size: var(--fs-body); letter-spacing: -0.008em; margin-bottom: var(--s-2); }
.coverage p { font-size: var(--fs-small); color: var(--text-2); }

/* --- the finding anatomy: what one audit finding carries ---------------- */
.anatomy { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.anatomy li { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-4); border-top: 1px solid var(--hairline-inv); padding-top: var(--s-4); }
.anatomy .k { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--text-2-inv); padding-top: 5px; }
@media (max-width: 519px) { .anatomy li { grid-template-columns: 1fr; gap: var(--s-2); } }

/* --- contact hero --------------------------------------------------------- */
.hero__contact { display: grid; gap: var(--s-2); }
.email-lg { font-family: var(--mono); font-size: clamp(1.375rem, 3.2vw, 2.25rem); letter-spacing: -0.02em; }
.email-lg a { text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; transition: opacity var(--t-state) var(--ease); }
.email-lg a:hover { opacity: .6; }
