/* CrewCall Sites - agency site styles
   Shape rule: controls (buttons, inputs, chips) 6px; media and panels 10px. Nothing else.
   One accent (Signal Orange), used for primary actions and the formula marks only. */

/* Brand fonts, self-hosted: Latin subset of Google Fonts' variable woff2 files (SIL OFL), weight axis cut
   to the ranges below by _tools/make_fonts.py. head() in _tools/build_pages.py preloads both files. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  /* CrewCall palette: Charcoal base, Bone light, Signal Orange for calls to action only,
     Steel for secondary text, Hi-Vis Lime for tiny "live" accents. */
  --paper: #F4F1EA;      /* Bone */
  --paper-2: #EFEBE3;
  --card: #FBFAF6;
  --ink: #15171B;        /* Charcoal */
  --ink-2: #2A2D33;
  --muted: #5B6B7A;      /* Steel: 4.86:1 on Bone */
  --line: #DCD7CC;
  --accent: #FF5F1F;     /* Signal Orange: fills and marks only, 2.7:1 on Bone so never body text */
  --accent-ink: #15171B; /* Charcoal on orange buttons: 5.9:1 */
  --accent-deep: #B53A0B;/* orange text on light backgrounds: 5.2:1 on Bone */
  --lime: #D7F25A;       /* Hi-Vis Lime */
  --night: #15171B;
  --night-2: #1F2227;
  --night-line: #33373E;
  --night-text: #F4F1EA;
  --night-muted: #A7B2BD;
  --ok: #1f7a4d;
  --err: #b42318;

  --r-ctl: 6px;
  --r-box: 10px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 3.7vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 750; letter-spacing: -0.01em; line-height: 1.2; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 58ch; line-height: 1.5; }
.small { font-size: 0.875rem; color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; }
.sec-tight { padding: calc(var(--sec) * 0.6) 0; }
.eyebrow {
  font: 600 0.8125rem/1 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-ctl); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--r-ctl); border: 2px solid transparent;
  font: 650 1rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #FF7A45; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.night .btn-ghost { border-color: var(--night-text); color: var(--night-text); }
.night .btn-ghost:hover { background: var(--night-text); color: var(--night); }
.btn-block { width: 100%; }
.tlink { font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.tlink:hover { text-decoration-color: currentColor; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.1rem/1 var(--f-display); letter-spacing: -0.02em; white-space: nowrap; }
.logo svg.wordmark { height: 32px; width: auto; aspect-ratio: 762.5 / 144; flex: none; display: block; }
.logo span b { font-weight: 500; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 550; font-size: 0.98rem; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; min-height: 52px; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.4rem, 4.7vw, 4.25rem); }
.hero h1 em { font-style: normal; color: var(--accent-deep); }
.hero .lede { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-art { position: relative; margin-right: calc(var(--gut) * -0.5); }
.hero-art::before { content: ""; position: absolute; inset: -8% -12% -6% 6%; background: url("/assets/img/topo.png") center / cover no-repeat; opacity: 0.35; z-index: -1; border-radius: var(--r-box); }
.hero-art img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { margin: 8px 0 0; }
}
@media (max-width: 520px) {
  .cta-row .btn { width: 100%; }
}

/* ---------- facts strip ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 26px 24px 26px 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { font: 800 1.25rem/1.15 var(--f-display); letter-spacing: -0.01em; }
.facts span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 20px 16px 20px 0; }
  .facts li + li { padding-left: 16px; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li:nth-child(4) { border-top: 1px solid var(--line); }
}

/* ---------- problem ---------- */
.problem .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.problem-photo { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.problem-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-box); background: var(--paper-2); }
.problem-photo img:last-child { margin-top: 28px; }
.versus { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-box); overflow: hidden; background: var(--card); }
.versus > div { padding: clamp(22px, 3vw, 34px); }
.versus > div + div { background: var(--ink); color: var(--night-text); }
.versus h3 { font-size: 1.05rem; margin-bottom: 18px; }
.versus li { display: flex; gap: 12px; padding: 12px 0; align-items: flex-start; line-height: 1.4; }
.versus li + li { border-top: 1px solid var(--line); }
.versus > div + div li + li { border-top-color: var(--night-line); }
.versus svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.versus .x { color: #8b9098; }
.versus .ck { color: var(--accent); }
.problem .after { margin-top: 26px; font-weight: 600; max-width: 52ch; }
@media (max-width: 900px) {
  .problem .wrap { grid-template-columns: 1fr; }
  .problem-photo { max-width: 520px; }
}
@media (max-width: 560px) { .versus { grid-template-columns: 1fr; } }

/* ---------- formula ---------- */
.formula { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.equation { font: 800 clamp(1.9rem, 4.9vw, 4.3rem)/1.05 var(--f-display); letter-spacing: -0.03em; margin: 0 0 clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2em 0.32em; }
.equation i { font-style: normal; color: var(--accent); font-weight: 600; }
.equation .res { color: var(--muted); }
.equation .br { flex-basis: 100%; height: 0; }
.formula-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.formula-cols > div { padding: 28px 28px 8px 0; }
.formula-cols > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.formula-cols h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.formula-cols h3 small { font: 600 0.85rem/1 var(--f-body); color: var(--muted); letter-spacing: 0; }
.formula-cols li { padding: 9px 0 9px 22px; position: relative; color: var(--ink-2); line-height: 1.45; }
.formula-cols li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 10px; height: 2px; background: var(--accent); }
@media (max-width: 860px) {
  .formula-cols { grid-template-columns: 1fr; }
  .formula-cols > div, .formula-cols > div + div { padding: 24px 0 8px; border-left: 0; }
  .formula-cols > div + div { border-top: 1px solid var(--line); }
}

/* ---------- section heads ---------- */
.head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.head p { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 48px); }
.head-row .head { margin-bottom: 0; }

/* ---------- gallery ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 0.92rem/1 var(--f-body); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .n { opacity: 0.6; margin-left: 6px; font-weight: 500; }
.grid-demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px) clamp(16px, 2vw, 28px); }
.demo { display: flex; flex-direction: column; min-width: 0; }
.demo-shot { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-box); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.demo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.demo-shot:hover img { transform: scale(1.03); }
.demo-meta { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-top: 14px; }
.demo-meta h3 { font-size: 1.08rem; margin: 0 0 4px; }
.demo-meta p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.demo-open { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 0.93rem; text-decoration: none; white-space: nowrap; min-height: 44px; padding: 6px 0; border-bottom: 2px solid var(--accent); }
.demo-open svg { width: 15px; height: 15px; }
.swatches { display: flex; gap: 4px; margin-top: 8px; }
.swatches i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(21, 23, 27, .15); }
.demo.skel .demo-shot { animation: pulse 1.4s ease-in-out infinite; }
.demo.skel .bar { height: 14px; border-radius: 4px; background: var(--paper-2); margin-top: 14px; width: 60%; animation: pulse 1.4s ease-in-out infinite; }
.demo.skel .bar + .bar { width: 38%; margin-top: 8px; }
@keyframes pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .demo.skel .demo-shot, .demo.skel .bar { animation: none; } }
.gal-msg { grid-column: 1 / -1; padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-box); color: var(--muted); }
.gal-note { margin-top: 26px; }
@media (max-width: 960px) { .grid-demos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-demos { grid-template-columns: 1fr; } }

/* ---------- night band (offer) ---------- */
.night { background: var(--night); color: var(--night-text); position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/topo-light.png") center / cover no-repeat; opacity: .16; pointer-events: none; }
.night .wrap { position: relative; }
.night .lede, .night .head p { color: var(--night-muted); }
.night .eyebrow { color: var(--accent); }
.offer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(36px, 6vw, 96px); align-items: start; }
.offer h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.ticks { margin-top: 30px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; }
.ticks svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.offer-steps { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--night-line); color: var(--night-muted); font-size: 0.98rem; }
.offer-steps b { color: var(--night-text); }
@media (max-width: 960px) { .offer .wrap { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form-card { background: var(--card); color: var(--ink); border-radius: var(--r-box); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(21, 23, 27, .45); }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 0.95rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: 0.92rem; color: var(--ink); }
.field label .opt { font-weight: 450; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #b9bcb5; border-radius: var(--r-ctl);
  background: #fff; color: var(--ink); font: 400 1rem/1.3 var(--f-body);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7078; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 95, 31, .35); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .err { color: var(--err); font-size: 0.85rem; min-height: 0; }
.field .err:empty { display: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 0.82rem; color: var(--muted); margin: 16px 0 0; line-height: 1.45; }
.form-actions { margin-top: 18px; }
.form-status { margin-top: 14px; font-weight: 600; font-size: 0.95rem; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--err); }
.form-done { text-align: left; padding: 10px 0; }
.form-done svg { width: 44px; height: 44px; color: var(--ok); margin-bottom: 12px; }
.form-done.form-card { padding: clamp(26px, 3vw, 40px); }
.btn[disabled] { opacity: .65; cursor: progress; }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- included (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-box); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; min-height: 200px; position: relative; overflow: hidden; }
.tile p { color: var(--muted); margin: 0; }
.tile svg.ic { width: 28px; height: 28px; color: var(--ink); margin-bottom: 8px; }
.tile.a { grid-column: span 3; grid-row: span 2; background: var(--ink); color: var(--night-text); border-color: var(--ink); justify-content: flex-end; min-height: 420px; }
.tile.a p { color: var(--night-muted); }
.tile.a svg.ic { color: var(--accent); }
.tile.a::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/topo-light.png") 30% 20% / 180% no-repeat; opacity: .22; }
.tile.a > * { position: relative; }
.tile.a h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.tile.b, .tile.c { grid-column: span 3; }
.tile.d, .tile.e, .tile.f { grid-column: span 2; }
.tile.g { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; min-height: 0; background: var(--accent); border-color: var(--accent); }
.tile.g p { color: var(--ink); }
.tile.g svg.ic { margin: 0; }
.tile.g .gtext { display: flex; gap: 18px; align-items: flex-start; }
.tile.g h3 { margin-bottom: 4px; }
.tile.c { background: var(--paper-2); }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.a { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .tile.b, .tile.c, .tile.d, .tile.e, .tile.f { grid-column: span 1; }
  .tile.f { grid-column: 1 / -1; }
  .tile.g { grid-column: 1 / -1; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile.b, .tile.c, .tile.d, .tile.e, .tile.f { grid-column: 1 / -1; min-height: 0; }
}

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: s; position: relative; }
.steps li { padding: 0 32px 0 0; position: relative; }
.steps .when { font: 800 clamp(2.6rem, 5vw, 4.2rem)/1 var(--f-display); letter-spacing: -0.03em; display: block; margin-bottom: 18px; }
.steps .when small { font-size: 0.4em; font-weight: 700; letter-spacing: 0; margin-left: 4px; color: var(--muted); }
.steps .rule { height: 2px; background: var(--line); margin-bottom: 22px; position: relative; }
.steps .rule::before { content: ""; position: absolute; left: 0; top: -5px; width: 12px; height: 12px; background: var(--accent); border-radius: 2px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li { padding: 0; }
}

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-box); padding: clamp(24px, 2.8vw, 36px); display: flex; flex-direction: column; position: relative; }
.tier.pop { background: var(--ink); color: var(--night-text); border-color: var(--ink); }
.tier.pop .tier-sub, .tier.pop .tier-note { color: var(--night-muted); }
.tier.pop li { border-top-color: var(--night-line); }
.tier .badge { position: absolute; top: -13px; left: clamp(24px, 2.8vw, 36px); background: var(--accent); color: var(--accent-ink); font: 700 0.78rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px; border-radius: var(--r-ctl); }
.tier h3 { margin-bottom: 4px; font-size: 1.3rem; }
.tier-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; min-height: 3.2em; }
.price { font: 800 clamp(2.4rem, 4vw, 3.2rem)/1 var(--f-display); letter-spacing: -0.03em; margin-bottom: 4px; }
.tier-note { font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }
.tier ul { margin-bottom: 26px; flex: 1; }
.tier li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.97rem; line-height: 1.4; }
.tier li svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.care { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.care > div { border: 1px solid var(--line); border-radius: var(--r-box); padding: 26px; background: var(--paper-2); }
.care > div:first-child { background: transparent; border-style: dashed; }
.care .price { font-size: 2rem; }
.care li { padding: 6px 0 6px 20px; position: relative; font-size: 0.95rem; }
.care li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 10px; height: 2px; background: var(--accent); }
.pricing-foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; max-width: 560px; }
  .care { grid-template-columns: 1fr; max-width: 560px; }
  .tier-sub { min-height: 0; }
}

/* ---------- add-ons ---------- */
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.addon { align-content: start; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.addon h3 { margin: 0; font-size: 1.08rem; }
.addon .ap { font: 800 1.2rem/1.2 var(--f-display); white-space: nowrap; }
.addon p { grid-column: 1 / -1; color: var(--muted); margin: 0; font-size: 0.97rem; max-width: 52ch; }
@media (max-width: 760px) { .addons { grid-template-columns: 1fr; } }

/* ---------- guarantee ---------- */
.guarantee .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.seal { width: clamp(124px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; text-align: center; font: 800 clamp(0.8rem, 0.95vw, 0.95rem)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; padding: 14px; position: relative; }
.seal::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed var(--ink); }
.seal b { display: block; font-size: 2.1em; color: var(--accent-deep); letter-spacing: -0.02em; }
.guarantee h2 { max-width: 18ch; }
.guarantee .lede { color: var(--ink-2); }
.fine { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 700px) { .guarantee .wrap { grid-template-columns: 1fr; } }

/* ---------- trades links ---------- */
.trades { display: flex; flex-wrap: wrap; gap: 6px 0; }
.trades a { font: 800 clamp(1.6rem, 3.6vw, 2.9rem)/1.15 var(--f-display); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); padding-right: 0.5em; transition: color .2s; display: inline-flex; align-items: baseline; gap: 0.25em; }
.trades a::after { content: "/"; color: var(--line); font-weight: 400; padding-left: 0.4em; }
.trades a:last-child::after { content: none; }
.trades a:hover { color: var(--accent-deep); }

/* ---------- faq ---------- */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 700 1.12rem/1.35 var(--f-body); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list .ans { padding: 0 44px 22px 0; color: var(--ink-2); }
.faq-list .ans p:last-child { margin: 0; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } }

/* ---------- final cta ---------- */
.final { text-align: left; }
.final .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.final h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 16ch; margin: 0; }
.final .side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.final .side .small a { color: inherit; }

/* ---------- page hero (inner pages) ---------- */
.phero { padding: clamp(48px, 7vw, 104px) 0 clamp(32px, 4vw, 56px); }
.phero h1 { max-width: 18ch; }
.phero .lede { margin-top: 6px; }
.split-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-hero .ph { border-radius: var(--r-box); overflow: hidden; aspect-ratio: 5 / 4; background: var(--paper-2); }
.split-hero .ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split-hero .wrap { grid-template-columns: 1fr; } .split-hero .ph { aspect-ratio: 16 / 10; } }

/* ---------- niche pages ---------- */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; counter-reset: p; }
.pains li { align-content: start; padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; }
.pains li::before { counter-increment: p; content: counter(p, decimal-leading-zero); font: 800 1.1rem/1.3 var(--f-display); color: var(--accent-deep); grid-row: span 2; }
.pains h3 { margin: 0 0 4px; font-size: 1.15rem; }
.pains p { margin: 0; color: var(--muted); grid-column: 2; }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }
.feature-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.featlist li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--night-line); }
.featlist svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.featlist b { display: block; margin-bottom: 2px; }
.featlist span { color: var(--night-muted); }
.feature-split h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
@media (max-width: 860px) { .feature-split { grid-template-columns: 1fr; } }
.priceline { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--r-box); padding: clamp(22px, 3vw, 36px); background: var(--card); }
.priceline .price { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0; }
.priceline p { margin: 0; color: var(--muted); max-width: 50ch; }

/* ---------- prose (legal/about) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 0.35em 0; }
.prose a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid aside { position: sticky; top: 100px; }
.about-grid aside .ph { border-radius: var(--r-box); overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 20px; }
.about-grid aside .ph img { width: 100%; height: 100%; object-fit: cover; }
.dl { display: grid; gap: 0; }
.dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.97rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid aside { position: static; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ways li { padding: 22px 0; border-top: 1px solid var(--line); }
.ways li:last-child { border-bottom: 1px solid var(--line); }
.ways h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ways p { margin: 0 0 8px; color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { background: var(--night); color: var(--night-muted); padding: clamp(56px, 7vw, 88px) 0 calc(32px + env(safe-area-inset-bottom)); font-size: 0.95rem; }
.ftr .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--night-line); }
.ftr .logo { color: var(--night-text); margin-bottom: 16px; }
.ftr h4 { font: 700 0.85rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--night-text); margin-bottom: 16px; }
.ftr li { padding: 0; }
.ftr li a { display: inline-flex; align-items: center; min-height: 44px; }
.ftr a { text-decoration: none; color: var(--night-muted); }
.ftr a:hover { color: var(--night-text); }
.ftr .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.88rem; }
.ftr .blurb { max-width: 34ch; }
@media (max-width: 860px) { .ftr .top { grid-template-columns: 1fr 1fr; } .ftr .top > div:first-child { grid-column: 1 / -1; } }

/* ---------- sticky mobile cta ---------- */
.mcta { display: none; }
@media (max-width: 760px) {
  .mcta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .3s var(--ease); }
  .mcta.hide { transform: translateY(110%); }
  .mcta .btn { flex: 1; min-height: 50px; }
  .mcta .call { flex: 0 0 auto; width: 54px; padding: 0; }
  body { padding-bottom: 76px; }
}
[hidden] { display: none !important; }

/* ---------- reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv.d1 { transition-delay: .08s; }
  .js .rv.d2 { transition-delay: .16s; }
  .js .rv.d3 { transition-delay: .24s; }
  .hero-load > * { animation: rise .9s var(--ease) both; }
  .hero-load > *:nth-child(2) { animation-delay: .07s; }
  .hero-load > *:nth-child(3) { animation-delay: .14s; }
  .hero-load > *:nth-child(4) { animation-delay: .21s; }
  .hero-art.hero-load-art { animation: rise 1.1s .15s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf .big { font: 800 clamp(5rem, 16vw, 12rem)/0.9 var(--f-display); letter-spacing: -0.04em; color: var(--paper-2); -webkit-text-stroke: 2px var(--ink); margin-bottom: 20px; }

/* ---------- lead service pages ---------- */
.svc-card { max-width: 440px; justify-self: end; width: 100%; }
.svc-card ul { margin-bottom: 0; }
.ftr .h4-gap { margin-top: 28px; }
@media (max-width: 900px) { .svc-card { justify-self: stretch; max-width: none; } }.demo-shot.noimg { display: grid; place-items: center; background: var(--ink) url("/assets/img/topo-light.png") center / cover; }
.demo-shot.noimg::after { content: attr(data-name); color: var(--night-text); font: 800 1.3rem/1.2 var(--f-display); padding: 0 20px; text-align: center; }

/* ---------- CrewCall brand details ---------- */
.price, .facts strong, .steps .when, .addon .ap, .seal b, .equation { font-variant-numeric: tabular-nums; }
.logo { color: var(--ink); }
/* Tap targets: every standalone link or control is at least 44px tall. Links inside sentences are exempt. */
.logo { min-height: 44px; }
:not(p) > .tlink { display: inline-flex; align-items: center; min-height: 44px; }
.trades a { min-height: 44px; }
dd > a[href^="mailto:"], .ftr .top p > a { display: inline-flex; align-items: center; min-height: 44px; }

/* === home hero v2 "the phone rings" + trade picker (ola 2A) === */
.hero2 { background: linear-gradient(180deg, var(--night) 0%, #0D0E11 100%); color: var(--night-text); padding: clamp(44px, 6vw, 96px) 0 clamp(64px, 7vw, 104px); }
.hero2 .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.hero2 .eyebrow { color: var(--accent); }
.hero2 h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: 0.98; margin-bottom: 24px; }
.hero2 h1 em { color: var(--accent); display: inline-block; }
.hero2 .lede { color: var(--night-muted); max-width: 46ch; }
.hero2 .btn-ghost { border-color: var(--night-text); color: var(--night-text); }
.hero2 .btn-ghost:hover { background: var(--night-text); color: var(--night); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--night-muted); font-size: 0.95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--night-text); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-load > *:nth-child(5) { animation-delay: .28s; }
  /* the laptop screen is the LCP: slide it in with transform only, never start it invisible */
  .stage.hero-load-art { animation: slide-in 1.1s .1s var(--ease) both; }
}
@keyframes slide-in { from { transform: translateY(18px); } to { transform: none; } }

.stage { position: relative; min-width: 0; }
.devices { position: relative; padding: 6% 22% 4% 0; }
.laptop .lid { background: #2A2D33; border: 1px solid #3A3E46; border-radius: 14px 14px 4px 4px; padding: 2.2% 2.2% 3%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.laptop .screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #0D0E11; }
.laptop .base { height: 14px; margin: 0 -6%; background: linear-gradient(180deg, #4A4F57, #2A2D33); border-radius: 2px 2px 12px 12px; position: relative; }
.laptop .base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: #1F2227; border-radius: 0 0 6px 6px; }
.stage .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .9s ease; }
.stage .screen img.on { opacity: 1; }
.phone { position: absolute; right: 0; bottom: 0; width: 30%; padding: 2.4%; background: #0D0E11; border: 1px solid #3A3E46; border-radius: 30px; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .8); }
.phone .screen { position: relative; aspect-ratio: 390 / 800; overflow: hidden; border-radius: 22px; background: var(--card); }
.phone .screen::before { content: ""; position: absolute; z-index: 2; top: 2.5%; left: 50%; width: 30%; height: 3.4%; margin-left: -15%; background: #0D0E11; border-radius: 99px; }
.notif { position: absolute; z-index: 3; top: 15%; right: 8%; width: 300px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); color: var(--ink); border-radius: var(--r-box); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(21, 23, 27, .06); font-size: 0.78rem; line-height: 1.3; opacity: 0; transform: translateY(-14px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.notif.show { opacity: 1; transform: none; }
.notif .nt { display: flex; flex-direction: column; min-width: 0; }
.notif b { font-weight: 650; display: flex; align-items: center; gap: 6px; }
.notif .nt > span { color: var(--muted); }
.notif .live { align-self: flex-start; margin-top: 4px; }
.ring { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.ring svg { width: 16px; height: 16px; color: var(--accent-ink); position: relative; }
.ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px rgba(21, 23, 27, .14); }
@media (prefers-reduced-motion: no-preference) {
  .notif.show .ring i { animation: ring 1.3s .35s var(--ease) 2 both; }
  .notif.show .ring i + i { animation-delay: .6s; }
  .notif.show .ring svg { animation: buzz .5s .3s ease-in-out 2; }
}
@keyframes ring { from { opacity: .75; transform: scale(1); } to { opacity: 0; transform: scale(2); } }
@keyframes buzz { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .stage .screen img, .notif { transition: none; } }
.cap { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--night-muted); font-size: 0.9rem; }
.cap .live { box-shadow: 0 0 0 3px rgba(215, 242, 90, .16); }
.tally { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; border: 1px solid var(--night-line); border-radius: var(--r-box); background: var(--night-2); }
.tally .tl { color: var(--night-muted); font-size: 0.86rem; line-height: 1.35; max-width: 30ch; }
.tally strong { font: 800 clamp(2rem, 3vw, 2.6rem)/1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--night-text); min-width: 3ch; text-align: right; }
@media (max-width: 900px) {
  .hero2 .wrap { grid-template-columns: 1fr; gap: 40px; }
  .devices { padding: 10% 18% 2% 0; }
  .phone { width: 33%; border-radius: 22px; }
  .phone .screen { border-radius: 16px; }
  .notif { width: 280px; right: 14%; top: 10%; }
}
@media (max-width: 520px) {
  .hero2 h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .trust { gap: 8px 18px; font-size: 0.9rem; }
  .notif { width: 262px; padding: 9px 10px; gap: 9px; font-size: 0.74rem; }
  .ring { width: 28px; height: 28px; }
  .ring svg { width: 13px; height: 13px; }
  .laptop .lid { border-radius: 9px 9px 3px 3px; }
  .laptop .base { height: 9px; }
  .cap { font-size: 0.84rem; }
  .tally { padding: 12px 16px; }
  .tally .tl { font-size: 0.8rem; }
}

/* trade picker */
.picker { scroll-margin-top: 72px; }
.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pk-chips .chip .n { font-variant-numeric: tabular-nums; }
.pk-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.browser { border: 1px solid var(--line); border-radius: var(--r-box); background: var(--card); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(21, 23, 27, .45); }
.browser .bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.browser .dots { display: flex; gap: 6px; flex: none; }
.browser .dots i { width: 10px; height: 10px; border-radius: 50%; background: #CFC9BD; }
.browser .url { flex: 1; min-width: 0; max-width: 420px; margin: 0 auto; padding: 5px 12px; border-radius: var(--r-ctl); background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.view { position: relative; height: clamp(420px, 62vh, 620px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper-2); }
.view img { width: 100%; height: auto; }
.pk-js .view { overflow: hidden; }
.pk-js .view img { transform: translateY(0); transition: transform 1.1s var(--ease); will-change: transform; }
.pk-js .view.go img { transform: translateY(var(--shift, 0)); transition: transform var(--dur, 12s) cubic-bezier(.45, 0, .55, 1); }
@media (hover: hover) and (pointer: fine) {
  .pk-js .view:hover img { transform: translateY(var(--shift, 0)); transition: transform var(--dur, 12s) cubic-bezier(.45, 0, .55, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .pk-js .view { overflow-y: auto; }
  .pk-js .view img, .pk-js .view:hover img, .pk-js .view.go img { transform: none; transition: none; }
}
.pk-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 0.92rem/1 var(--f-body); cursor: pointer; }
.pk-toggle:hover { border-color: var(--ink); }
.pk-play { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.pk-toggle[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pk-toggle[aria-pressed="true"] .pk-play { width: 10px; height: 12px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pk-side { padding-top: 6px; }
.pk-side h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.pk-city { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); }
.pk-city svg { width: 18px; height: 18px; color: var(--ink); }
.pk-tag { font-size: 0.78rem; padding: 3px 8px; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.pk-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 4px 0 6px; }
.pk-alt .small { flex-basis: 100%; }
.pk-alt button { min-height: 44px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 0.86rem/1 var(--f-body); cursor: pointer; }
.pk-alt button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pk-points { margin: 22px 0 30px; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.pk-points li { display: flex; gap: 12px; align-items: flex-start; }
.pk-points svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent-deep); }
.pk-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.pk-live svg { width: 16px; height: 16px; margin-left: 4px; }
@media (max-width: 900px) {
  .pk-body { grid-template-columns: minmax(0, 1fr); }
  .pk-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 22px; padding: 2px var(--gut) 6px; scroll-padding-inline: var(--gut); scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gut), #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gut), #000 calc(100% - 28px), transparent 100%); }
  .pk-chips::-webkit-scrollbar { display: none; }
  .pk-chips .chip { flex: none; scroll-snap-align: start; }
  .view { height: min(520px, 70vh); }
}
@media (max-width: 520px) {
  .pk-ctas .btn { width: 100%; }
  .browser .bar { height: 36px; padding: 0 10px; gap: 10px; }
  .browser .dots i { width: 8px; height: 8px; }
}

/* === home conversion blocks (ola 3): before/after slider, job value calculator, 3-step form === */
/* before / after */
.ba .head { max-width: 640px; }
.ba .head .eyebrow { color: var(--accent); }
.ba-fig { margin: 0; }
.ba-frame {
  --p: .5; --x: calc(22px + (100% - 44px) * var(--p));
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate;
  border-radius: var(--r-box); border: 1px solid var(--night-line); background: #0D0E11;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85);
  -webkit-user-select: none; user-select: none;
}
.ba-frame picture, .ba-old { position: absolute; inset: 0; }
.ba-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ba-old { z-index: 1; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--x); width: 0; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--paper); box-shadow: 0 0 0 1px rgba(21, 23, 27, .3); }
.ba-knob { position: absolute; top: 50%; left: -24px; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .65), 0 0 0 1px rgba(21, 23, 27, .2); }
.ba-knob svg { width: 22px; height: 22px; }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 44px; height: 44px; }
.ba-range::-moz-range-thumb { width: 44px; height: 44px; border: 0; }
.ba-range:focus-visible ~ .ba-handle .ba-knob { outline: 3px solid var(--accent); outline-offset: 3px; }
.ba-tag { position: absolute; z-index: 2; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: var(--r-ctl); background: rgba(21, 23, 27, .86); color: var(--night-text); font: 650 0.74rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; transition: opacity .2s; }
.ba-tag-old { left: 14px; }
.ba-tag-new { right: 14px; }
.ba-tag-new::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.ba-lo .ba-tag-old, .ba-hi .ba-tag-new { opacity: 0; }
.ba-fig figcaption { margin-top: 16px; color: var(--night-muted); font-size: 0.92rem; line-height: 1.6; max-width: 80ch; }
.ba-fig figcaption p { margin: 0; }
.ba-fig figcaption a { color: var(--night-text); }
.ba-label { display: inline-block; margin-right: 8px; padding: 3px 8px; border: 1px solid var(--night-line); border-radius: var(--r-ctl); color: var(--night-text); font-size: 0.74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.ba-diff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--night-line); }
.ba-diff li { padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.ba-diff li + li { padding-left: 24px; border-left: 1px solid var(--night-line); }
.ba-diff .was { color: var(--night-muted); font-size: 0.95rem; text-decoration: line-through; text-decoration-color: rgba(167, 178, 189, .55); }
.ba-diff .now { font: 700 1.15rem/1.3 var(--f-display); letter-spacing: -0.01em; }
@media (max-width: 600px) {
  .ba-frame { aspect-ratio: 390 / 620; }
  .ba-tag { bottom: 10px; padding: 6px 9px; }
  .ba-tag-old { left: 10px; }
  .ba-tag-new { right: 10px; }
}
@media (max-width: 760px) {
  .ba-diff { grid-template-columns: 1fr; }
  .ba-diff li, .ba-diff li + li { padding: 18px 0; border-left: 0; }
  .ba-diff li + li { border-top: 1px solid var(--night-line); }
}

/* job value calculator */
.roi { background: var(--card); border-top: 1px solid var(--line); }
.roi .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.roi-intro .lede { margin-bottom: 0; }
.roi-card { border: 1px solid var(--line); border-radius: var(--r-box); overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px rgba(21, 23, 27, .4); }
.roi-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 14px; padding: clamp(20px, 3vw, 32px); }
.roi-in .roi-jobs { grid-column: 1 / -1; }
.money { position: relative; }
.money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.money input { padding-left: 28px; font-variant-numeric: tabular-nums; font-weight: 600; }
.roi-jobs label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.roi-jobs output { font: 800 1.45rem/1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); min-width: 2ch; text-align: right; }
.field.roi-jobs input[type="range"] { --fill: .111; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; }
.roi-jobs input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) calc(var(--fill) * 100%), var(--line) 0); }
.roi-jobs input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--ink), 0 6px 14px -4px rgba(21, 23, 27, .5); }
.roi-jobs input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line); }
.roi-jobs input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--ink); }
.roi-jobs input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.roi-jobs input[type="range"]:focus { outline: none; }
.roi-jobs input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 5px rgba(255, 95, 31, .55); }
.roi-jobs input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 5px rgba(255, 95, 31, .55); }
.roi-scale { display: flex; justify-content: space-between; margin-top: -4px; color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.roi-out { background: var(--night); color: var(--night-text); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; align-items: flex-start; }
.roi-k { margin: 0 0 8px; color: var(--night-muted); font-size: 0.86rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.roi-big { margin: 0 0 10px; font: 800 clamp(2.6rem, 5vw, 4rem)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.roi-pay { margin: 0 0 6px; font-size: 1.1rem; }
.roi-pay b { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.roi-math { margin: 0 0 22px; color: var(--night-muted); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.roi-fine { margin: 14px 0 0; color: var(--night-muted); font-size: 0.8rem; line-height: 1.45; }
@media (max-width: 960px) { .roi .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .roi-in { grid-template-columns: 1fr; }
  .roi-out .btn { align-self: stretch; }
}

/* 3-step preview form (home). Without JS the three fieldsets show as one form. */
.sform { scroll-margin-top: 88px; }
.sf-progress { margin: 18px 0 0; }
.sf-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sf-meta [data-sf-name] { color: var(--ink); font-weight: 600; }
.sf-bar { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.sf-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(var(--k, .3333)); transition: transform .45s var(--ease); }
.sf-step { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.sf-step legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font: 750 1.1rem/1.25 var(--f-display); letter-spacing: -0.01em; color: var(--ink); }
.sf-step > :not(legend) { clear: both; }
.sf-step .fgrid { margin-top: 0; }
form:not(.sf-on) .sf-step + .sf-step { border-top: 1px solid var(--line); padding-top: 22px; }
.tcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tcard { position: relative; display: block; cursor: pointer; }
.tcard input { position: absolute; top: 10px; left: 10px; width: 1px; height: 1px; opacity: 0; margin: 0; }
.tc-in { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 86px; padding: 12px; border: 1.5px solid #CFC9BD; border-radius: var(--r-ctl); background: #fff; color: var(--ink); transition: border-color .15s, background-color .15s, color .15s; }
.tc-in svg { width: 24px; height: 24px; flex: none; color: var(--ink-2); }
.tc-l { font-weight: 600; font-size: 0.9rem; line-height: 1.2; }
.tcard:hover .tc-in { border-color: var(--ink); }
.tcard input:checked + .tc-in { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tcard input:checked + .tc-in svg { color: var(--accent); }
.tcard input:focus-visible + .tc-in { outline: 3px solid var(--accent); outline-offset: 2px; }
.sf-err { margin: 10px 0 0; color: var(--err); font-size: 0.85rem; }
.sf-err:empty { display: none; }
.sf-consent { margin-top: 18px; }
.sf-consent label { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 0.86rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.sf-consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.sf-consent input[aria-invalid="true"] { outline: 2px solid var(--err); outline-offset: 2px; }
.sf-consent a { color: var(--ink); }
.sf-nav { display: flex; gap: 10px; margin-top: 22px; }
.sf-nav .btn-primary { flex: 1; }
.sf-nav .sf-back { flex: none; padding: 0 22px; }
.night .form-card .btn-ghost { border-color: var(--ink); color: var(--ink); }
.night .form-card .btn-ghost:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 440px) {
  .tcards { grid-template-columns: 1fr 1fr; }
  .tc-in { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; min-height: 54px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { .sf-bar i, .ba-tag { transition: none; } }

/* Home performance: sections below the trade picker skip rendering until they come near the viewport.
   Cuts the full-page re-layout when the web fonts arrive (Lighthouse mobile TBT 360-510ms -> 240-290ms).
   Checked: nothing visible overflows these sections, so the implied paint containment clips nothing. */
.hero2 ~ section:not(.picker) { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- photo layer (27 oct): own Google Flow images from assets/img/brand/ ---------- */
.fm-photo { margin: 0 0 22px; border-radius: var(--r-box); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.fm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 901px) { .fm-photo { aspect-ratio: auto; height: 172px; } }
.hero2 { background: linear-gradient(180deg, rgba(21,23,27,.80) 0%, rgba(13,14,17,.94) 100%), url("/assets/img/brand/hero_fondo.webp") center 40% / cover no-repeat, var(--night); }
.offer::before { background: linear-gradient(rgba(21,23,27,.84), rgba(21,23,27,.90)), url("/assets/img/brand/fondo_plano_obra.webp") center / cover no-repeat; opacity: 1; }
.ba::before { background: linear-gradient(rgba(21,23,27,.35), rgba(21,23,27,.55)), url("/assets/img/brand/fondo_concreto.webp") center / cover no-repeat; opacity: 1; }
.final { position: relative; overflow: hidden; color: var(--night-text); background: var(--night); padding: clamp(96px, 12vw, 168px) 0; }
.final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,23,27,.92) 0%, rgba(21,23,27,.72) 48%, rgba(21,23,27,.35) 100%), url("/assets/img/brand/cta_atardecer.webp") center / cover no-repeat; }
.final .wrap { position: relative; }
.final .small { color: var(--night-muted); }
.final .small a, .final .tlink { color: var(--night-text); }
@media (max-width: 700px) { .final::before { background: linear-gradient(180deg, rgba(21,23,27,.88), rgba(21,23,27,.70)), url("/assets/img/brand/cta_atardecer.webp") 62% center / cover no-repeat; } }
.svc-band { margin: 0 auto; max-width: var(--wrap); padding: 0 var(--gut); }
.svc-band img { width: 100%; height: clamp(220px, 34vw, 440px); object-fit: cover; object-position: center 55%; border-radius: var(--r-box); display: block; }
.guarantee { background: linear-gradient(rgba(244,241,234,.90), rgba(244,241,234,.94)), url("/assets/img/brand/fondo_madera.webp") center / cover no-repeat; }
