/* Vocatti website. Design concept d6 "Editorial, epic" (docs/website/design.md), built for production:
   one self-hosted font, no inline styles (CSP style-src 'self'), every text size 16px or more. */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/inter-tight-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F4F1EA; --paper-2: #EAE5DA; --card: #FBF9F4; --ink: #13120F; --muted: #57534B; --rule: #13120F;
  --hair: #D3CDBF; --copper: #8A4A1F; --copper-line: #B87A47; --brass: #D9A270; --urgent: #B3261E;
  --invert-bg: #13120F; --invert-ink: #F4F1EA; --invert-muted: #A9A397; --invert-hair: #3C3A34;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 1360px; --gut: clamp(16px, 3.2vw, 48px); --col-gap: clamp(16px, 2vw, 32px);
  --ease: cubic-bezier(.2, .7, .1, 1); --nav-h: 72px;
  --sec-pad: clamp(72px, 10vw, 150px); --pilot-pad: clamp(64px, 9vw, 136px);
  --grade: saturate(.86) sepia(.1) contrast(1.03);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161512; --paper-2: #1F1D19; --card: #22201C; --ink: #EDE9E0; --muted: #A9A397; --rule: #EDE9E0;
    --hair: #3C3A34; --copper: #D9A270; --copper-line: #9C6A3E; --urgent: #FF7B6B; --invert-bg: #0D0C0A;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px;
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip:focus { left: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.label { font-size: 16px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; line-height: 1.35; }
.muted { color: var(--muted); }
.cu { color: var(--copper); }
.br { color: var(--brass); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 26px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-family: var(--font); font-weight: 600;
  font-size: 17px; letter-spacing: -.005em; border: 0; cursor: pointer; transition: background .25s, color .25s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover { background: var(--copper); color: #FFFFFF; }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn-brass { background: var(--brass); color: #13120F; }
.btn-brass:hover { background: #F4F1EA; color: #13120F; }
@media (prefers-color-scheme: dark) { .btn:hover, .btn-brass:hover { color: #13120F; } }
.fallback { font-size: 16px; color: var(--muted); margin: 12px 0 0; }
.fallback a { text-underline-offset: 3px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--hair); background: color-mix(in srgb, var(--paper) 95%, transparent); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
/* Logo: the Vocatti diamond-V mark (copper on paper, brass on ink) and the VOCATTI wordmark, drawn as SVG
   outlines of Bodoni Moda 600 caps tracked .16em (founder-approved name board, 25 Nov 2026), so no extra
   font loads (Bodoni Moda: Copyright 2020 The Bodoni Moda Project Authors, SIL Open Font License 1.1). */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.logo svg { flex: none; display: block; }
.logo .logo-mark { color: var(--copper); }
.site-footer .logo { gap: 9px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; text-decoration: none;
  font-size: 16px; font-weight: 500; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 9px; height: 1.5px; background: var(--copper);
  opacity: 0; transition: opacity .2s;
}
.nav-links a:hover::after { opacity: 1; }
.menu-btn {
  display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; color: var(--ink); font-family: var(--font); font-weight: 600; font-size: 16px; cursor: pointer;
}
.menu-btn .bars { width: 22px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s;
}
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { top: 10px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; padding: clamp(20px, 3vw, 40px) 0 56px; min-height: min(calc(100vh - var(--nav-h)), 880px); }
.hero-meta, .hero-copy { margin-right: calc((100vw + min(100vw, var(--max))) / 2 - var(--gut) - 60vw + 40px); }
.hero-meta {
  display: flex; justify-content: space-between; gap: 16px; border-top: 2px solid var(--rule); padding-top: 14px;
  margin-bottom: clamp(22px, 2.6vw, 36px);
}
.hero-meta .dot { display: inline-block; width: 7px; height: 7px; background: var(--copper-line); margin-right: 10px; transform: translateY(-1px); }
.hero-h1 { margin: 0; font-weight: 700; font-size: clamp(38px, 4.9vw, 74px); line-height: 1.02; letter-spacing: -.018em; text-wrap: balance; }
.hero-copy { display: flex; flex-direction: column; }
.hero-copy .lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; margin: clamp(20px, 2.2vw, 32px) 0 0; max-width: 46ch; }
.hero-copy .scope { margin: 12px 0 0; font-size: 16px; color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(24px, 2.4vw, 36px); }
.offer { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 16px; font-weight: 500; }
.offer li { display: inline-flex; align-items: center; gap: 8px; }
.offer li::before { content: ""; width: 14px; height: 1.5px; background: var(--copper-line); }
.hero-fig { position: absolute; top: 0; right: 0; bottom: 0; width: 40vw; margin: 0; display: flex; flex-direction: column; }
.photo { position: relative; overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.photo:hover img { transform: scale(1.02); filter: saturate(.95) sepia(.05) contrast(1.03); }
.hero-fig .photo { flex: 1; }
.hero-fig .photo img { position: absolute; inset: 0; object-position: 40% 50%; filter: saturate(.92) sepia(.2) contrast(1.05) brightness(1.02); }
.hero-fig .photo:hover img { transform: none; }
.alerts { position: absolute; left: -72px; bottom: 64px; width: min(392px, 82%); display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.ex-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper);
  font-size: 16px; letter-spacing: .02em; padding: 7px 12px;
}
.ex-tag::before { content: ""; width: 6px; height: 6px; background: var(--brass); flex: none; }
.notif {
  background: var(--card); color: var(--ink); padding: 14px 16px 15px; border-left: 3px solid var(--copper-line);
  box-shadow: 0 1px 0 var(--hair), 0 24px 48px -24px rgba(19, 18, 15, .45), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
}
.notif.urgent { border-left-color: var(--urgent); }
.notif .nh { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.notif.urgent .nh { color: var(--urgent); }
.notif .nh .ico-cal { color: var(--copper); }
.notif p { margin: 0; font-size: 16px; line-height: 1.42; }
.ico { width: 18px; height: 18px; flex: none; }

/* Benefits strip */
.benefits { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--paper); }
.benefits ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.benefits li { display: flex; align-items: center; gap: 12px; padding: 22px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.benefits li + li { padding-left: var(--col-gap); border-left: 1px solid var(--hair); }
.benefits svg { width: 20px; height: 20px; flex: none; color: var(--copper); }

/* Sections. A nav jump lands the section's top rule 24px under the sticky header (scroll-padding-top = header),
   so the big top padding of each section is taken back with a negative scroll margin. */
section { padding: var(--sec-pad) 0 0; }
section[id] { scroll-margin-top: calc(24px - var(--sec-pad)); }
section.pilot[id] { scroll-margin-top: 0; }  /* the pilot opens with its photo band: it lands right under the header */
.sec-head { border-top: 2px solid var(--rule); padding-top: 14px; margin-bottom: clamp(32px, 5vw, 72px); align-items: start; }
.sec-num { grid-column: 1 / 4; display: flex; gap: 14px; }
.sec-num .n { color: var(--copper); }
.sec-head h2 { grid-column: 4 / 13; margin: 0; font-size: clamp(34px, 4.4vw, 66px); line-height: 1.03; letter-spacing: -.03em; word-spacing: .04em; font-weight: 700; max-width: 18ch; text-wrap: balance; }
.sec-head .kicker { grid-column: 4 / 13; margin: 20px 0 0; font-size: clamp(18px, 1.4vw, 21px); max-width: 54ch; color: var(--muted); }

/* Photo bands */
.band { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #F4F1EA; overflow: hidden; background: #1E1A15; padding: 0; margin-top: clamp(48px, 6vw, 96px); }
.band-img { position: absolute; inset: 0; }
.band-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(.78) sepia(.24) brightness(.66) contrast(1.1); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 10, .25) 0%, rgba(20, 15, 10, .05) 30%, rgba(20, 15, 10, .6) 68%, rgba(20, 15, 10, .9) 100%); }
.band .wrap, .pilot-band .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(40px, 6vw, 88px); }
.band .sec-num { color: #F4F1EA; }
.band .sec-num .n, .pilot-band .n { color: var(--brass); }
.band-top { display: flex; justify-content: space-between; gap: 16px; border-top: 2px solid rgba(244, 241, 234, .9); padding-top: 14px; margin-bottom: clamp(20px, 3vw, 40px); }
.band h2 { margin: 0; font-size: clamp(50px, 10.4vw, 168px); line-height: .94; letter-spacing: -.035em; word-spacing: .06em; font-weight: 700; max-width: 12ch; text-wrap: balance; }

/* Problem detail */
.problem-detail { padding-top: clamp(56px, 7vw, 104px); }
.problem-detail .grid { align-items: start; }
.problem-text { grid-column: 1 / 6; }
.problem-text p { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.38; letter-spacing: -.012em; margin: 0; }
.timeline { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.timeline li { display: grid; grid-template-columns: minmax(130px, 190px) 1fr; gap: 20px; align-items: baseline; padding: 18px 0 20px; border-bottom: 1px solid var(--hair); }
.timeline .t { font-size: clamp(40px, 4.4vw, 64px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.timeline .t small { font-size: clamp(17px, 1.85vw, 27px); letter-spacing: 0; font-weight: 500; margin-left: .18em; color: var(--copper); }
.timeline p { margin: 0; font-size: 18px; }
.timeline .miss .t, .timeline .miss p { color: var(--muted); }
.timeline .win p b { color: var(--copper); font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 0 var(--col-gap) 0 24px; border-left: 1px solid var(--hair); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.step-n { display: block; font-size: clamp(76px, 8vw, 128px); font-weight: 300; line-height: .9; letter-spacing: -.05em; color: var(--copper); margin-bottom: 28px; }
.steps h3 { font-size: 23px; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 600; }
.steps p { margin: 0; font-size: 17px; color: var(--muted); max-width: 32ch; }

/* Conversation */
.convo { background: var(--paper-2); margin-top: var(--sec-pad); padding: clamp(56px, 8vw, 120px) 0; }
.convo-grid { align-items: start; }
.phone-col { grid-column: 1 / 6; display: flex; flex-direction: column; align-items: center; }
/* The owner's texts stay beside the conversation as it plays (top-aligned, sticky under the header). */
.notes-col { grid-column: 7 / 13; align-self: start; position: sticky; top: calc(var(--nav-h) + 24px); }
.note-set[hidden], .thread[hidden], .tabs[hidden], .picks-wrap[hidden], .picks[hidden], .sms[hidden], .owner-view[hidden],
.show-all[hidden] { display: none; }
/* The demo (backlog B1): its label, then the trade tabs and the message picker (both only with the script). */
.demo-label {
  max-width: 68ch; margin: 0 0 clamp(28px, 4vw, 44px); padding: 2px 0 2px 16px; border-left: 3px solid var(--copper-line);
}
.demo-controls { margin-bottom: clamp(32px, 4vw, 48px); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.tabs button {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--muted); background: var(--paper); color: var(--ink);
  font-family: var(--font); font-weight: 600; font-size: 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.picks { border: 0; margin: 0; padding: 0; min-width: 0; }
.picks legend { padding: 0; margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; }
.pick {
  position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 12px 16px 12px 46px;
  background: var(--card); box-shadow: 0 0 0 1px var(--hair); cursor: pointer; font-size: 16px; line-height: 1.35;
  transition: box-shadow .2s;
}
.pick:hover { box-shadow: 0 0 0 1px var(--ink); }
.pick input { position: absolute; left: 16px; top: 14px; width: 20px; height: 20px; margin: 0; accent-color: var(--copper); cursor: pointer; }
.pick input:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.pick.on { box-shadow: 0 0 0 2px var(--ink), inset 4px 0 0 var(--copper-line); }
.pick-kind { font-size: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--copper); }
.pick-text { color: var(--ink); }
.phone { width: min(100%, 384px); background: #0B0B0A; border-radius: 50px; padding: 12px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .25), inset 0 0 0 2px #2A2824; }
.screen { background: #FBFAF6; border-radius: 39px; overflow: hidden; color: #13120F; }
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px 6px; font-size: 16px; font-weight: 600; }
.island { width: 96px; height: 28px; background: #0B0B0A; border-radius: 20px; }
.thread-head { text-align: center; padding: 6px 16px 14px; border-bottom: 1px solid #E4E0D6; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: #13120F; margin: 0 auto 6px; display: grid; place-items: center; }
.thread-head b { display: block; font-size: 16px; }
.thread-head small { font-size: 16px; color: #57534B; }
.sms { list-style: none; margin: 0; padding: 16px 14px 22px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; display: flex; flex-direction: column; gap: 3px; position: relative; }
.who { font-size: 16px; font-weight: 600; color: #57534B; padding: 0 6px; line-height: 1.3; }
.msg p { margin: 0; padding: 10px 13px; font-size: 16px; line-height: 1.4; border-radius: 18px; }
.msg.in { align-self: flex-end; align-items: flex-end; }
.msg.in p { background: #E4DFD3; color: #13120F; border-bottom-right-radius: 5px; }
.msg.out { align-self: flex-start; }
.msg.out p { background: #13120F; color: #F4F1EA; border-bottom-left-radius: 5px; }
.msg.form { align-self: stretch; max-width: 100%; }
.msg.form p { background: transparent; border: 1px dashed #77726A; border-radius: 10px; }
.typing { position: absolute; top: 24px; left: 0; display: flex; gap: 4px; padding: 12px 14px; border-radius: 18px; border-bottom-left-radius: 5px; background: #13120F; opacity: 0; pointer-events: none; transition: opacity .2s; }
.msg.in .typing { left: auto; right: 0; background: #E4DFD3; border-bottom-left-radius: 18px; border-bottom-right-radius: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #A9A397; animation: dot 1s infinite ease-in-out; }
.msg.in .typing i { background: #7A7468; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.play .sms-play .msg > .who, .play .sms-play .msg > p { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.play .sms-play .msg.typing-on .typing { opacity: 1; }
.play .sms-play .msg:not(.shown) > .who, .play .sms-play .msg:not(.shown) > p { visibility: hidden; }
.play .sms-play .msg.shown > .who, .play .sms-play .msg.shown > p { opacity: 1; transform: none; }
.play-ctl { display: grid; justify-items: center; margin-top: 22px; }
.play-ctl > button { grid-area: 1 / 1; }
.show-all, .replay {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: transparent;
  border: 1px solid var(--ink); color: var(--ink); font-family: var(--font); font-weight: 500; font-size: 16px; cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s, background .25s, color .25s;
}
.replay[hidden] { display: none; }
.show-all.on, .replay.on { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s, background .25s, color .25s; }
.show-all:hover, .replay:hover { background: var(--ink); color: var(--paper); }
.demo-cta { margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 18px; border-top: 1px solid var(--hair); font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; }
.demo-cta a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--copper); text-underline-offset: 4px; }
.notes-col h3 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 16px; font-weight: 700; }
.owner-view > p { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 46ch; }
.alert-card { background: var(--card); padding: 18px 20px; margin-bottom: 14px; border-left: 3px solid var(--copper-line); box-shadow: 0 0 0 1px var(--hair); }
.alert-card .label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-bottom: 8px; text-transform: none; letter-spacing: .01em; }
.alert-card p { margin: 0; font-size: 17px; line-height: 1.45; }
.alert-card.urgent { border-left-color: var(--urgent); }
.alert-card .tag { color: var(--copper); }
.alert-card.urgent .tag { color: var(--urgent); }
.alert-card .when { color: var(--muted); font-weight: 500; }
.play .alert-card { opacity: .28; transform: translateX(18px); transition: opacity .7s var(--ease), transform .8s var(--ease), box-shadow .6s; }
.play .alert-card.in { opacity: 1; transform: none; box-shadow: 0 0 0 1px var(--hair), 0 24px 44px -28px rgba(19, 18, 15, .5); }
/* The lead score (backlog A1), as the owner sees it: band as a word, the score, every reason with its points. */
.score-card { background: var(--card); padding: 18px 20px; margin-top: 22px; border-left: 3px solid var(--muted); box-shadow: 0 0 0 1px var(--hair); }
.score-card.hot { border-left-color: var(--urgent); }
.score-card.warm { border-left-color: var(--copper-line); }
.score-card .label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-bottom: 8px; text-transform: none; letter-spacing: .01em; }
.score-card .tag { color: var(--copper); }
.score-card .when { color: var(--muted); font-weight: 500; }
.score-head { margin: 0 0 10px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.score-head b { font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.score-card.hot .score-head b { color: var(--urgent); }
.score-card.warm .score-head b { color: var(--copper); }
.reasons { list-style: none; margin: 0; padding: 0; }
.reasons li { display: flex; gap: 12px; padding: 3px 0; font-size: 16px; line-height: 1.4; }
.reasons b { flex: none; min-width: 36px; text-align: right; font-weight: 600; }
.reasons li.status { padding-left: 48px; font-weight: 600; }  /* no points: a status line, lined up with the reasons */
.play .score-card { opacity: .28; transform: translateX(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.play .score-card.in { opacity: 1; transform: none; }
.js .price-card { display: none; }
.price-card { margin-top: 26px; border-top: 2px solid var(--rule); padding-top: 16px; }
.price-card h4 { margin: 0 0 14px; font-size: 18px; letter-spacing: -.01em; }
.price-card .sms { padding: 0; gap: 8px; }
.price-card .msg.in p { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--hair); }
.price-card .msg.out p { background: var(--ink); color: var(--paper); }
.price-card .who { color: var(--muted); }

/* Trades */
.trades { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px var(--col-gap); }
.trade .photo { aspect-ratio: 4 / 5; }
.trade h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 16px 0 8px; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -.02em; font-weight: 600; line-height: 1.15; }
.trade h3 span { font-size: 16px; font-weight: 600; color: var(--copper); letter-spacing: .04em; white-space: nowrap; }
.trade p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.5; }
.trade p a { color: var(--ink); text-underline-offset: 3px; }
.trade.more { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; border: 1.5px dashed var(--copper-line); background: var(--paper-2); padding: 22px 28px; }
.trade.more h3 { margin: 0; justify-content: flex-start; }
.trade.more p { grid-column: 2; max-width: 70ch; }
.more-tile { grid-row: 1 / 3; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--brass); }
.more-tile svg { width: 30px; height: 30px; }
.op-roofer { object-position: 100% 0; }
.op-plumber { object-position: 40% 50%; }
.op-hvac { object-position: 50% 60%; }
.op-electrician { object-position: 45% 30%; }

/* Features */
.never { align-items: start; }
.never-col { grid-column: span 6; }
.never-col h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; margin: 0 0 6px; color: var(--muted); }
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.015em; line-height: 1.3; }
.rule-list li::before { content: ""; flex: none; width: 12px; height: 2px; background: var(--ink); transform: translateY(-5px); }
.rule-list.no li::before { background: var(--copper-line); }
.callout { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 64px); background: var(--invert-bg); color: var(--invert-ink); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.callout .big { font-size: clamp(48px, 5vw, 76px); font-weight: 700; letter-spacing: -.04em; color: #FF7B6B; line-height: 1; }
.callout p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; max-width: 60ch; }
.charge { margin-top: clamp(64px, 8vw, 112px); }
.charge-head { grid-column: 1 / -1; margin-bottom: 28px; }
.charge-head h3 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.03em; line-height: 1; }
.cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); }
.card { border-top: 2px solid var(--rule); padding: 18px 0 0; display: flex; flex-direction: column; }
.card .label { color: var(--copper); margin-bottom: 28px; }
.card h4 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.02em; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }

/* Pilot */
/* Pilot: the closing section. A photo band ("Answer every lead.") on top, then the terms and the form. */
.pilot { background: var(--invert-bg); color: var(--invert-ink); margin-top: var(--sec-pad); padding: 0; position: relative; }
.pilot-band { position: relative; color: #F4F1EA; background: #1E1A15; overflow: hidden; min-height: min(84vh, 800px); display: flex; align-items: flex-end; }
.pilot-band .band-img img { object-position: 50% 45%; filter: saturate(.95) sepia(.1) contrast(1.04); }
.pilot-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 15, 10, .5) 0%, rgba(20, 15, 10, .15) 60%, rgba(20, 15, 10, 0) 100%), linear-gradient(180deg, rgba(20, 15, 10, .05) 0%, rgba(20, 15, 10, .22) 34%, rgba(20, 15, 10, .66) 58%, rgba(20, 15, 10, .94) 100%); }
.pilot-band h2 { margin: 0; font-size: clamp(50px, 9.6vw, 156px); letter-spacing: -.035em; word-spacing: .06em; line-height: .94; font-weight: 700; max-width: 11ch; text-wrap: balance; }
.pilot-lead { margin-top: clamp(28px, 3.4vw, 48px); max-width: 46ch; }
.pilot-lead p { margin: 0; font-size: clamp(18px, 1.5vw, 21px); color: #E6E1D6; }
.pilot-lead p + p + p { margin-top: 10px; }
.pilot-lead .pilot-offer { margin-bottom: 8px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.02em; color: #F4F1EA; }
.pilot-body { padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--pilot-pad); }
.terms { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--invert-hair); list-style: none; margin: 0; padding: 0; }
.terms li { padding: 28px 24px 32px 0; border-right: 1px solid var(--invert-hair); }
.terms li + li { padding-left: 24px; }
.terms li:last-child { border-right: 0; }
.terms .tn { display: block; font-size: 16px; color: var(--brass); letter-spacing: .06em; margin-bottom: 18px; }
.terms b { display: block; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; line-height: 1.02; font-weight: 600; margin-bottom: 12px; }
.terms .d { color: var(--invert-muted); font-size: 16px; }

/* What setup takes (under the pilot terms) */
.setup { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--invert-hair); padding-top: 24px; }
.setup h3 { margin: 0 0 20px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; line-height: 1.1; }
.setup-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px var(--col-gap); counter-reset: setup; }
.setup-list li { counter-increment: setup; color: var(--invert-muted); font-size: 16px; line-height: 1.5; padding-left: 36px; position: relative; }
.setup-list li::before { content: counter(setup); position: absolute; left: 0; top: 0; color: var(--brass); font-weight: 600; }
.setup-list b { display: block; color: var(--invert-ink); font-size: 18px; font-weight: 600; margin-bottom: 4px; }

/* Application form (inside the pilot band) */
.apply { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(48px, 6vw, 88px); align-items: start; scroll-margin-top: 24px; }
.apply-intro { grid-column: 1 / 5; }
.apply-intro h3 { margin: 0 0 14px; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.03em; line-height: 1.04; }
.apply-intro p { margin: 0 0 14px; color: var(--invert-muted); font-size: 17px; max-width: 40ch; }
.apply-intro .fallback a, .pilot .fallback a { color: var(--invert-ink); }
.apply-panel { grid-column: 6 / 13; background: var(--card); color: var(--ink); padding: clamp(20px, 3vw, 40px); }
/* #apply takes the focus when an Apply link jumps to it (tabindex="-1"), so keyboard and screen-reader users
   land on the form, with or without the script; Tab then goes on into the form. */
.apply:focus, .apply-panel:focus { outline: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--col-gap); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 17px; font-weight: 600; line-height: 1.3; }
.field .req, .field .opt { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font-family: var(--font); font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--muted); border-radius: 0;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--copper); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--urgent); border-width: 2px; }
.hint { margin: 0; font-size: 16px; color: var(--muted); }
.err { margin: 0; font-size: 16px; font-weight: 600; color: var(--urgent); }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions .btn[disabled] { opacity: .7; cursor: progress; }
.form-note { margin: 0; font-size: 16px; color: var(--muted); }
.form-note a { color: var(--ink); text-underline-offset: 3px; }
.form-status { margin-top: 18px; font-size: 17px; }
.form-status:empty { display: none; }
.form-status.problem { border-left: 3px solid var(--urgent); padding-left: 14px; }
.form-done { padding: 8px 0; }
.form-done h4 { margin: 0 0 10px; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.form-done p { margin: 0; color: var(--muted); }
.form-done p + p { margin-top: 8px; }
.form-done:focus { outline: none; }


/* Footer (every page) */
.site-footer { padding: 40px 0 40px; font-size: 16px; background: var(--paper); border-top: 1px solid var(--hair); }
.foot { align-items: start; row-gap: 24px; }
.foot .brand { grid-column: 1 / 6; }
.foot .brand p { margin: 10px 0 0; color: var(--muted); max-width: 44ch; }
.foot .footer-identity { color: var(--ink); }
.foot nav { grid-column: 6 / 10; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 8px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 8px; margin-left: -8px; text-underline-offset: 3px; }
.foot .contact { grid-column: 10 / 13; text-align: right; margin: 0; }
.foot .contact .nowrap { white-space: nowrap; }
.foot .contact a { display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }
.foot .copy { grid-column: 1 / -1; color: var(--muted); font-size: 16px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--hair); padding-top: 16px; }

/* Legal pages and the thanks page */
.page-kick { border-top: 2px solid var(--rule); padding-top: 14px; margin: 0 0 clamp(20px, 3vw, 36px); color: var(--muted); }
.page-kick .n { color: var(--copper); margin-right: 12px; }
.legal { max-width: 920px; margin: 0 auto; padding: clamp(32px, 5vw, 72px) var(--gut) clamp(64px, 8vw, 112px); }
.legal h1 { border-top: 2px solid var(--rule); padding-top: clamp(16px, 2vw, 28px); margin: 0 0 18px; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; }
.legal h2 { margin: 56px 0 14px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.15; scroll-margin-top: 16px; }
.legal p, .legal li { max-width: 68ch; }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin: 6px 0; }
.legal a { text-underline-offset: 3px; }
.legal .meta { color: var(--muted); font-size: 16px; }
.draft { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-left: 3px solid var(--copper-line); background: var(--paper-2); font-weight: 600; font-size: 16px; }
.toc { margin: 32px 0 8px; border-top: 2px solid var(--rule); padding-top: 14px; }
.toc .toc-title { margin: 0 0 8px; padding: 0; border: 0; font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--col-gap); }
.toc li { margin: 0; break-inside: avoid; max-width: none; }
.toc a { display: block; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-weight: 500; }
.toc a:hover { color: var(--copper); }
.thanks { max-width: 920px; margin: 0 auto; padding: clamp(32px, 5vw, 72px) var(--gut) clamp(80px, 10vw, 150px); }
.thanks h1 { margin: 0 0 20px; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.03em; }
.thanks p { font-size: clamp(18px, 1.5vw, 21px); max-width: 52ch; }
.thanks .btn { margin-top: 20px; }
.thanks-page .nav-cta, .thanks-page .mobile-menu .btn { display: none; }
.legal .consent { margin: 0 0 16px; padding: 4px 0 4px 20px; border-left: 3px solid var(--copper-line); }
.legal .consent p { margin: 0; }

/* Reveal on scroll (only when the script runs; see site.js) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .photo:hover img { transform: none; }
}

/* Responsive */
@media (max-width: 1180px) {
  .nav-links a { padding: 0 9px; }
  .nav-links a::after { left: 9px; right: 9px; }
}
@media (max-width: 1100px) {
  .hero-meta .label:last-child { display: none; }  /* the H1 and section 04 name the trades */
  .offer { display: grid; grid-template-columns: repeat(2, auto); }
}
@media (max-width: 1020px) {
  .setup-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .js .nav-cta { display: none; }
  .js .menu-btn { display: inline-flex; }
  .mobile-menu { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--paper); z-index: 49; padding: 24px var(--gut) 40px; overflow: auto; border-top: 1px solid var(--hair); }
  .mobile-menu.open { display: block; }
  .mobile-menu ol { list-style: none; margin: 0 0 32px; padding: 0; }
  .mobile-menu li a { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
  .mobile-menu li a span { font-size: 16px; color: var(--copper); font-weight: 500; letter-spacing: .04em; }
  .mobile-menu .btn { width: 100%; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-meta, .hero-copy { margin-right: 0; }
  .hero-fig { position: relative; width: auto; margin: 40px calc(-1 * var(--gut)) 0; top: auto; bottom: auto; }
  .hero-fig .photo { flex: none; aspect-ratio: 3 / 2; }
  .hero-fig .photo img { position: static; }
  .alerts { position: relative; left: auto; bottom: auto; width: auto; margin: -64px var(--gut) 0; max-width: 520px; }
  .sec-num { grid-column: 1 / -1; margin-bottom: 18px; }
  .sec-head h2, .sec-head .kicker { grid-column: 1 / -1; }
  .problem-text, .timeline { grid-column: 1 / -1; }
  .timeline { margin-top: 36px; }
  .phone-col, .notes-col { grid-column: 1 / -1; }
  .notes-col { margin-top: 48px; position: static; }
  .play .alert-card, .play .score-card { transform: translateY(12px); }
  .terms { grid-template-columns: repeat(2, 1fr); }
  .terms li:nth-child(2) { border-right: 0; }
  .terms li:nth-child(3) { padding-left: 0; }
  .terms li:nth-child(n+3) { border-top: 1px solid var(--invert-hair); }
  .apply-intro, .apply-panel { grid-column: 1 / -1; }
  .apply-intro { margin-bottom: 24px; }
  .trades { grid-template-columns: repeat(2, 1fr); }
  .foot .brand, .foot nav, .foot .contact { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  body { font-size: 17px; }
  .hero { padding-top: 14px; }
  .hero-meta { padding-top: 10px; margin-bottom: 18px; }
  .hero-h1 { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.04; letter-spacing: -.022em; }
  .hero-copy .lead { font-size: 17px; margin-top: 16px; }
  .hero-cta { margin-top: 20px; gap: 14px; }
  .hero-cta .btn { width: 100%; }
  .offer { gap: 4px 16px; }
  .hero-fig { margin-top: 32px; }
  .hero-fig .photo { aspect-ratio: 4 / 3; }
  .alerts { margin: -40px 12px 0; }
  .alerts .booked { display: none; }
  .notif { padding: 12px 14px; }
  .benefits ul { grid-template-columns: 1fr 1fr; }
  .benefits li { padding: 14px 0; font-size: 16px; }
  .benefits li + li { padding-left: 0; border-left: 0; }
  .benefits li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--hair); }
  .benefits li:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps li, .steps li:first-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); padding-top: 20px; }
  .step-n { margin-bottom: 14px; font-size: 72px; }
  .never-col { grid-column: 1 / -1; }
  .never-col + .never-col { margin-top: 40px; }
  .callout { grid-template-columns: 1fr; gap: 10px; }
  .cards { grid-template-columns: 1fr; row-gap: 32px; }
  .form-actions .btn, .thanks .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .setup-list { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 118px 1fr; gap: 14px; padding: 16px 0; }
  .timeline .t { font-size: 40px; }
  .timeline p { font-size: 17px; }
  .band { min-height: 60vh; min-height: 60svh; }
  .band-img img { object-position: 60% 75%; }
  .band h2, .pilot-band h2 { font-size: clamp(46px, 13.5vw, 60px); line-height: .98; }
  .pilot-band { min-height: auto; padding-top: 120px; }
  .pilot-band .band-img img { object-position: 62% 62%; }
  .foot .copy { flex-direction: column; }
  .toc ol { columns: 1; }
}
/* Phones: the message picker is a grid of short chips, so the conversation shows on the first swipe. The
   customer's words appear in the phone as it plays. */
@media (max-width: 640px) {
  .picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pick { justify-content: center; padding: 10px 10px 10px 40px; }
  .pick input { left: 12px; top: 50%; transform: translateY(-50%); }
  .pick-text { display: none; }
  .pick-kind { text-transform: none; letter-spacing: 0; color: var(--ink); }
}
@media (max-width: 480px) {
  .trades { grid-template-columns: 1fr; row-gap: 36px; }
  .trade .photo { aspect-ratio: 3 / 2; }
  .trade.more { padding: 18px; gap: 4px 16px; }
  .more-tile { width: 48px; height: 48px; }
  .terms { grid-template-columns: 1fr; }
  .terms li, .terms li + li { padding: 22px 0; border-right: 0; border-top: 1px solid var(--invert-hair); }
  .terms li:first-child { border-top: 0; }
  .phone { border-radius: 42px; padding: 9px; }
  .screen { border-radius: 34px; }
  .sms { padding: 14px 11px 20px; }
  .msg { max-width: 92%; }
  .nav-cta { padding: 0 12px; }
}
