/* Voicemail Rescue — "Job-Site" visual system.
   Ported from the frozen reference render at
   docs/design/mockup-a-jobsite.html (owner-approved 2026-08-16).

   One deliberate difference from the mockup: the display face is
   self-hosted Barlow Condensed (OFL, latin subset) rather than the macOS
   system condensed stack. The mockup's stack fell through to Arial Narrow
   on Android and Windows — which is most of this page's audience, read on
   a phone after a cold call. Barlow ships 700 and 800 only, so every
   display-face rule that asked for 600 in the mockup asks for 700 here;
   nothing is left to synthetic bolding. */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/barlow-condensed-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #EAE4D6;
  --surface: #F6F2E8;
  --ink: #141C24;
  --ink-2: #4B5560;
  --line: #C7BFAF;
  --line-strong: #141C24;
  --panel: #1B3350;
  --panel-ink: #F3EFE6;
  --panel-ink-2: #B7C1CE;
  --panel-line: #33507A;
  --accent: #FF6A13;
  --accent-ink: #141C24;
  --focus: #141C24;
  --focus-on-panel: #F3EFE6;
  --field-bg: #F6F2E8;
  --bubble-in: #DCD5C6;
  --bubble-out: #1B3350;
  --bubble-out-ink: #F3EFE6;
  --phone-frame: #0C1014;
  --phone-screen: #23364D;
  --notif-bg: rgba(246, 242, 232, 0.92);
  --notif-ink: #141C24;
  --notif-ink-2: #4B5560;

  --font-display: "Barlow Condensed", "Avenir Next Condensed", "Helvetica Neue Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;

  --s-1: 0.8125rem;
  --s0: 1rem;
  --s1: 1.25rem;
  --s2: 1.5625rem;
  --s3: 1.953rem;
  --s4: 2.441rem;
  --s5: 3.052rem;

  --wrap: 68rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 65ch;
  --bar-h: 4.5rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12171D;
    --surface: #1A2129;
    --ink: #EDE7DA;
    --ink-2: #A6AEB8;
    --line: #323B46;
    --line-strong: #EDE7DA;
    --panel: #1B3350;
    --panel-ink: #F3EFE6;
    --panel-ink-2: #B7C1CE;
    --panel-line: #33507A;
    --accent: #FF7A2B;
    --accent-ink: #141C24;
    --focus: #EDE7DA;
    --focus-on-panel: #F3EFE6;
    --field-bg: #1A2129;
    --bubble-in: #2A323C;
    --bubble-out: #33507A;
    --bubble-out-ink: #F3EFE6;
    --phone-frame: #05070A;
    --phone-screen: #23364D;
    --notif-bg: rgba(246, 242, 232, 0.92);
    --notif-ink: #141C24;
    --notif-ink-2: #4B5560;
  }
}

:root[data-theme="dark"] {
  --bg: #12171D;
  --surface: #1A2129;
  --ink: #EDE7DA;
  --ink-2: #A6AEB8;
  --line: #323B46;
  --line-strong: #EDE7DA;
  --panel: #1B3350;
  --panel-ink: #F3EFE6;
  --panel-ink-2: #B7C1CE;
  --panel-line: #33507A;
  --accent: #FF7A2B;
  --accent-ink: #141C24;
  --focus: #EDE7DA;
  --focus-on-panel: #F3EFE6;
  --field-bg: #1A2129;
  --bubble-in: #2A323C;
  --bubble-out: #33507A;
  --bubble-out-ink: #F3EFE6;
  --phone-frame: #05070A;
  --phone-screen: #23364D;
  --notif-bg: rgba(246, 242, 232, 0.92);
  --notif-ink: #141C24;
  --notif-ink-2: #4B5560;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--s0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
@media (min-width: 40em) { body { font-size: 1.0625rem; } }
@media (min-width: 48em) { body { padding-bottom: 0; } }

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--focus-on-panel); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* A skip link that stays hidden while focused is a skip link nobody can use.
   It is the first tab stop on the page, so it has to become visible there. */
.skip {
  position: absolute; left: 0; top: 0; z-index: 30;
  padding: 0.75rem 1.25rem; min-height: 44px; display: inline-flex; align-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; text-decoration: none;
  transform: translateY(-120%);
}
.skip:focus-visible, .skip:focus { transform: translateY(0); }

/* ---------- type roles ---------- */
.display { font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: 0; }
.label {
  font-family: var(--font-display); font-weight: 700; font-size: var(--s-1);
  text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.2;
}
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
.h1 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.75rem, 10vw, 5.25rem); line-height: 0.92; letter-spacing: -0.005em;
}
.h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(var(--s3), 5vw, var(--s4)); line-height: 0.98;
}
.h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--s2); line-height: 1.08;
}
.lede { font-size: var(--s1); line-height: 1.45; }
.small { font-size: var(--s-1); line-height: 1.5; }
.muted { color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3.5rem; padding: 0.75rem 1.25rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--s1);
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; text-align: center;
  text-decoration: none; border: 2px solid transparent; border-radius: 2px;
  cursor: pointer; width: 100%; flex-wrap: wrap;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--outline { background: transparent; color: var(--panel-ink); border-color: var(--accent); }
.btn--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn:hover { filter: brightness(1.05); }
@media (min-width: 40em) { .btn { width: auto; min-width: 16rem; } }

/* ---------- section chrome ---------- */
.section { padding-block: clamp(2.5rem, 7vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.kicker {
  display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.25rem, 4vw, 2rem);
}
.kicker::after { content: ""; flex: 1; height: 2px; background: var(--line-strong); opacity: 0.9; }
.band { background: var(--panel); color: var(--panel-ink); }
.band .muted { color: var(--panel-ink-2); }

/* ---------- hero ---------- */
.hero { padding-block: 1.25rem clamp(2.5rem, 7vw, 4.5rem); }
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
  text-decoration: none; font-family: var(--font-display); font-weight: 700;
  font-size: var(--s1); text-transform: uppercase; letter-spacing: 0.06em;
}
.brand__mark { width: 1.35rem; height: 1.35rem; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.hero__grid {
  display: grid; gap: clamp(1.75rem, 5vw, 2.5rem);
  grid-template-areas: "top" "copy" "phone" "cta";
  margin-top: clamp(1.5rem, 5vw, 3rem);
}
.hero__top { grid-area: top; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.hero__domain { display: none; }
@media (min-width: 40em) { .hero__domain { display: inline; } }
.hero__copy { grid-area: copy; display: grid; gap: 1.25rem; }
.hero__phone { grid-area: phone; display: grid; gap: 0.75rem; justify-items: center; }
.hero__cta { grid-area: cta; display: grid; gap: 1rem; }
.cta-stack { display: grid; gap: 0.625rem; }
.cta-stack .micro { font-size: var(--s-1); color: var(--panel-ink-2); }
.disclosure {
  font-size: var(--s-1); line-height: 1.5; color: var(--panel-ink-2);
  border-left: 2px solid var(--panel-line); padding-left: 0.875rem; max-width: 60ch;
}
.disclosure b { color: var(--panel-ink); font-weight: 600; }
.disclosure a { color: var(--panel-ink); }
.hero-caption {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--panel-ink-2);
}
@media (min-width: 40em) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top top" "copy phone" "cta phone"; align-items: start; column-gap: clamp(2rem, 6vw, 4rem); }
  .hero__phone { align-self: center; }
}
@media (min-width: 60em) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* ---------- phone (CSS-built) ---------- */
.phone {
  width: min(16rem, 74vw); aspect-ratio: 9 / 17.5;
  background: var(--phone-frame); border-radius: 2.6rem; padding: 0.55rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 24px 48px -24px rgba(0,0,0,0.65);
  position: relative;
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; height: 3.5rem; background: var(--phone-frame);
  top: 30%; border-radius: 2px;
}
.phone::before { left: -3px; } .phone::after { right: -3px; top: 24%; height: 2.25rem; }
.phone__screen {
  width: 100%; height: 100%; border-radius: 2.1rem; overflow: hidden;
  background: var(--phone-screen); color: #F3EFE6;
  display: grid; grid-template-rows: auto auto 1fr; gap: 0.5rem; padding: 0.7rem 0.6rem;
  position: relative;
}
.phone__island { width: 34%; height: 1.4rem; background: var(--phone-frame); border-radius: 1rem; justify-self: center; }
.phone__time {
  justify-self: center; text-align: center; margin-top: 0.75rem;
  font-family: var(--font-display); font-weight: 700; font-size: 3.25rem; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.phone__date { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.02em; margin-top: 0.35rem; opacity: 0.85; }
.phone__notifs { display: grid; gap: 0.45rem; align-content: start; margin-top: 0.75rem; }
.notif {
  display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; align-items: start;
  background: var(--notif-bg); color: var(--notif-ink); border-radius: 0.9rem; padding: 0.55rem 0.6rem;
  font-size: 0.72rem; line-height: 1.3;
}
.notif__app {
  width: 1.6rem; height: 1.6rem; border-radius: 0.4rem; display: grid; place-items: center;
  background: #2C3E55; color: #fff;
}
.notif__app--msg { background: #1B3350; }
.notif__app svg { width: 1rem; height: 1rem; }
.notif__head { display: flex; justify-content: space-between; gap: 0.5rem; font-weight: 600; }
.notif__head span:last-child { color: var(--notif-ink-2); font-weight: 400; }
.notif__body { color: var(--notif-ink); }
.notif__body b { font-weight: 600; }
.notif--arrive { animation: arrive 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s both; }
@keyframes arrive {
  from { opacity: 0; transform: translateY(-14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.phone__home { position: absolute; left: 50%; bottom: 0.5rem; transform: translateX(-50%); width: 34%; height: 4px; border-radius: 4px; background: rgba(243,239,230,0.75); }

/* ---------- "every unanswered ring" ---------- */
.ring { display: grid; gap: 1.5rem; }
.ring__body { font-size: var(--s1); line-height: 1.45; }
.ring__note { margin-top: 1rem; color: var(--ink-2); font-size: var(--s-1); }
@media (min-width: 48em) {
  .ring { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
}

/* ---------- stat block (renders only when product.mysteryShop is set) ---------- */
.stat { border-top: 3px solid var(--line-strong); padding-top: 1rem; display: grid; gap: 0.4rem; margin-top: 1.5rem; }
.stat__figure {
  font-family: var(--font-display); font-weight: 800; font-size: var(--s5); line-height: 0.9;
  font-variant-numeric: tabular-nums lining-nums;
}
.stat__source { font-size: var(--s-1); color: var(--ink-2); }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 2.25rem; list-style: none; }
.step { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem 1.125rem; align-items: start; }
.marker {
  width: 3.5rem; height: 3.5rem; border: 3px solid var(--ink); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: var(--s3); line-height: 1;
  font-variant-numeric: tabular-nums; position: relative;
}
.marker::after { content: ""; position: absolute; inset: 4px; border: 1px dashed var(--line); pointer-events: none; }
.step__body { display: grid; gap: 0.5rem; }
.step__body p { max-width: 50ch; }
.thread {
  grid-column: 2; display: grid; gap: 0.4rem; margin-top: 0.5rem; max-width: 24rem;
  border: 1px solid var(--line); background: var(--surface); padding: 0.75rem;
}
.thread__tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.25rem; }
.bubble { max-width: 88%; padding: 0.5rem 0.7rem; font-size: var(--s-1); line-height: 1.4; border-radius: 1rem; }
.bubble--in { background: var(--bubble-in); color: var(--ink); justify-self: start; border-bottom-left-radius: 0.3rem; }
.bubble--out { background: var(--bubble-out); color: var(--bubble-out-ink); justify-self: end; border-bottom-right-radius: 0.3rem; }
.bubble small { display: block; margin-top: .4rem; font-size: .75em; opacity: .72; line-height: 1.35; }
.steps--compact .step__body p { max-width: 46ch; }
@media (min-width: 60em) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .step { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  .thread { grid-column: 1; }
  .steps--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- claims ---------- */
.claims { display: grid; gap: 2rem; list-style: none; }
.claim { border-top: 3px solid var(--line-strong); padding-top: 1rem; display: grid; gap: 0.625rem; align-content: start; }
.claim p { max-width: 48ch; }
@media (min-width: 48em) {
  .claims { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
}

/* ---------- pricing ---------- */
.pricing .kicker::after { background: var(--panel-line); }
.price-grid { display: grid; gap: 1.5rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.75rem; color: var(--accent); }
.price__amount {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 20vw, 8rem);
  line-height: 0.85; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums;
}
.price__unit { font-family: var(--font-display); font-weight: 700; font-size: clamp(var(--s2), 5vw, var(--s3)); text-transform: uppercase; }
.price__terms { font-family: var(--font-display); font-weight: 700; font-size: var(--s2); line-height: 1.1; text-transform: uppercase; }
.price__whole { margin-top: .35rem; font-weight: 600; color: var(--panel-ink); }
.price__fee { max-width: 52ch; color: var(--panel-ink-2); }
.price__fee b { color: var(--panel-ink); font-weight: 600; }
@media (min-width: 48em) {
  .price-grid { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(2rem, 6vw, 4rem); }
  .price-side { display: grid; gap: 1rem; padding-bottom: 0.5rem; }
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 1.75rem; }
.faq div { display: grid; gap: 0.4rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.faq dt { font-family: var(--font-display); font-weight: 700; font-size: var(--s1); line-height: 1.15; }
.faq dd { margin: 0; max-width: 55ch; }
@media (min-width: 48em) {
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 4rem); }
}

/* ---------- form ---------- */
.callback { display: grid; gap: 1.5rem; }
.form { display: grid; gap: 1.125rem; max-width: 34rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: var(--s0); text-transform: uppercase; letter-spacing: 0.08em; }
.field input, .field select {
  min-height: 3rem; padding: 0.5rem 0.75rem; background: var(--field-bg); border: 2px solid var(--line);
  border-radius: 2px; width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--ink); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 50%, calc(100% - 0.75rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
.consent { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; font-size: var(--s-1); line-height: 1.5; padding: 0.5rem 0; }
.consent input { width: 1.5rem; height: 1.5rem; margin: 0.1rem 0 0; accent-color: var(--ink); }
.consent a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.status { min-height: 1.5rem; font-weight: 600; }
.status:not(:empty) { border-left: 3px solid var(--ink); padding-left: 0.75rem; }
.form-alt a { font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
/* Honeypot: off-screen rather than display:none — a bot that reads computed
   style skips hidden fields, and a field nobody fills is the whole point. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 48em) {
  .callback { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
  .callback__intro { position: sticky; top: 2rem; }
}

/* ---------- policy page header ---------- */
.page-head { padding-block: 1.25rem clamp(2rem, 6vw, 3rem); }
.page-head__title { margin-top: clamp(1.5rem, 5vw, 2.5rem); font-size: clamp(2.25rem, 8vw, 4rem); }
.page-updated { color: var(--ink-2); font-size: var(--s-1); }

/* ---------- prose (terms / privacy) ---------- */
.prose { display: grid; gap: 1.25rem; max-width: var(--measure); }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--s2); text-transform: uppercase; line-height: 1.05; margin-top: 1rem; }
.prose ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2rem 2.5rem; }
.footer__row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.footer__links { display: flex; gap: 1.5rem; list-style: none; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- sticky call bar (phones only) ---------- */
.callbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 20;
  background: var(--panel); color: var(--panel-ink); border-top: 1px solid var(--panel-line);
  padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(0); transition: transform 0.25s ease;
}
.callbar[data-hidden="true"] { transform: translateY(110%); }
.callbar .btn { min-height: 3.25rem; width: 100%; font-size: var(--s1); }
.callbar .wrap { padding-inline: 0; }
@media (min-width: 48em) { .callbar { display: none; } }
