/* ─────────────────────────────────────────────────────────────
   FixFinder landing page
   Plain CSS, no build step, no dependencies. The page ships zero
   JavaScript — the FAQ accordion is native <details>/<summary>.
   Tokens mirror the mobile app (fixfinder/src/theme) so the page
   and the product read as one thing.
   ───────────────────────────────────────────────────────────── */
:root{
  --brand:#F89413;          /* app brand orange — surfaces only, 2.3:1 on white */
  --brand-deep:#D97706;     /* AI-estimate amber, from JobRequestSheet */
  --brand-text:#B45309;     /* orange for TEXT — reads brand, clears 4.5:1 */
  --navy:#1A1A2E;           /* app dark header */
  --ink:#12121A;
  --muted:#6B6B76;
  --line:#E7E3DC;
  --ground:#FAF8F5;         /* warm off-white */
  --card:#FFFFFF;
  --green:#16A34A;          /* HIGH confidence badge */
  --maxw:1140px;
  --r:20px;
}
[data-theme="dark"]{
  --brand:#F9A938;
  --brand-deep:#F59E0B;
  --brand-text:#FBBF24;
  --navy:#111827;
  --ink:#F7F3EC;
  --muted:#B8B4AE;
  --line:#343841;
  --ground:#17191F;
  --card:#22252D;
  --green:#4ADE80;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
  background:var(--ground);color:var(--ink);
  -webkit-font-smoothing:antialiased;line-height:1.5;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
section{padding:104px 0}
.eyebrow{
  font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--brand-text);margin-bottom:18px;
}
/* The vw term is offset by a fixed px so it stays the active term on a phone.
   A bare `clamp(32px,4.4vw,52px)` only beats its own floor above a 727px
   viewport, so every phone got the identical 32px and the heading never
   adapted. Tuned to land within a pixel of the old size at 1140px. */
h2{
  font-size:clamp(26px,calc(3.1vw + 14px),52px);font-weight:800;letter-spacing:-.03em;
  line-height:1.08;margin-bottom:18px;
}
.lede{font-size:18px;color:var(--muted);max-width:60ch}
.accent{color:var(--brand)}

/* ── Nav ───────────────────────────────────────────────────── */
nav{
  position:sticky;top:0;z-index:50;background:rgba(250,248,245,.82);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--line);
}
/* position:relative so the mobile drop-down can hang off the bar. */
.nav-in{position:relative;display:flex;align-items:center;gap:32px;height:72px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;letter-spacing:-.02em}
.brand img{width:30px;height:30px;border-radius:8px;object-fit:cover}
.nav-links{display:flex;gap:30px;margin-left:auto;font-size:15px;font-weight:500;color:var(--muted)}
.nav-links a:hover{color:var(--ink)}
/* Hidden on desktop; the ≤960 block turns it on and hands it the auto margin. */
.burger{
  display:none;width:42px;height:42px;padding:0;cursor:pointer;
  border:1px solid var(--line);border-radius:50%;background:var(--card);
  flex-direction:column;align-items:center;justify-content:center;gap:4px;
}
.burger span{
  display:block;width:17px;height:2px;border-radius:2px;background:var(--ink);
  transition:transform .22s ease,opacity .18s ease;
}
/* aria-expanded is the single source of truth for open state, so the bars to
   X animation keys off it rather than a second class that could drift. */
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.burger:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 50%,transparent);outline-offset:3px}
.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;
  border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--ink);
  cursor:pointer;transition:background .25s ease,border-color .25s ease,transform .15s ease,box-shadow .25s ease;
}
.theme-toggle:hover{transform:translateY(-1px);border-color:var(--brand);box-shadow:0 5px 14px rgba(18,18,26,.1)}
.theme-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 50%,transparent);outline-offset:3px}
.theme-toggle-track{position:relative;display:grid;width:100%;height:100%;place-items:center}
.theme-toggle-symbol{grid-area:1 / 1;position:relative;z-index:1;text-align:center;font-size:19px;line-height:1;transition:color .25s ease,opacity .25s ease,transform .25s ease}
.theme-toggle-sun{color:var(--brand-text)}
.theme-toggle-moon{color:var(--brand);opacity:0;font-size:21px;transform:rotate(-25deg) scale(.7)}
.theme-toggle-thumb{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:50px;padding:0 26px;border-radius:999px;
  font-family:inherit;font-size:15px;font-weight:700;cursor:pointer;border:0;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.btn-primary{background:var(--brand);color:var(--ink);box-shadow:0 6px 18px rgba(18,18,26,.12)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(18,18,26,.18)}
.btn-ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line)}
.btn-ghost:hover{border-color:var(--ink)}
.btn-sm{height:42px;padding:0 20px;font-size:14px}
.btn-light{background:#fff;color:var(--navy)}
.btn-light:hover{transform:translateY(-2px)}

/* ── Hero ──────────────────────────────────────────────────── */
.hero{padding:80px 0 96px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
/* Same fix as h2, and this one was the worst offender: 6.4vw only clears 46px
   above a 719px viewport, so the hero headline rendered at 46px on every phone
   from a 320px screen upward. Now 34px at 375px, 72px at 1140px (the old value
   there was 73px), still capped at 82px. */
.hero h1{
  font-size:clamp(34px,calc(5vw + 15px),82px);font-weight:800;letter-spacing:-.045em;
  line-height:1;margin-bottom:26px;
}
.hero .lede{font-size:19px;margin-bottom:34px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.hero-note{font-size:13px;color:var(--muted);margin-top:18px}
.hero-art{position:relative;display:flex;justify-content:center}
.hero-blob{
  position:absolute;inset:auto 0 0 0;top:6%;background:var(--brand);
  border-radius:38px 38px 120px 38px;height:88%;
}

/* ── Phone mock (the real homeowner dashboard, idle state) ──
   Deliberately hardcoded to the app's own palette instead of the page tokens.
   The mobile app is light-only, so a mock that follows the light/dark toggle
   would stop being a picture of the product the moment anyone flips it. The
   only thing that themes here is the shadow under the device.
   Section order and copy track app/(tabs)/index.tsx. */
.phone{
  position:relative;width:348px;max-width:100%;border-radius:46px;background:#111;
  padding:10px;box-shadow:0 30px 70px rgba(18,18,26,.28);
}
[data-theme="dark"] .phone{box-shadow:0 30px 70px rgba(0,0,0,.55)}
/* aspect-ratio, not a fixed height. The phone is `max-width:100%`, so on a
   narrow screen its width shrinks while a hard 704px height did not, and the
   device slowly turned into a tall thin slab. */
.screen{
  background:#fff;border-radius:37px;overflow:hidden;
  display:flex;flex-direction:column;aspect-ratio:328/704;color:#1A1A2E;
}
.screen svg{
  width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}
.screen svg.fill{fill:currentColor;stroke:none}

/* header */
.ph-head{flex:none;display:flex;align-items:center;gap:10px;padding:16px 16px 12px}
/* Default avatar: a rounded SQUARE with initials, not a circle and not a photo.
   Matches styles.avatarBox in app/(tabs)/index.tsx (42px, radius 14, brand
   orange, white initial) which is what every account without an uploaded
   picture actually renders. */
.ph-av{
  flex:none;width:42px;height:42px;border-radius:14px;background:#F89413;
  display:grid;place-items:center;color:#fff;font-size:16px;font-weight:700;
}
.ph-id{min-width:0}
.ph-greet{font-size:11px;color:#6B7280;font-weight:500;line-height:1.3}
.ph-name{font-size:17px;font-weight:800;letter-spacing:-.02em;line-height:1.25}
.ph-loc{display:flex;align-items:center;gap:3px;font-size:10.5px;color:#F89413;font-weight:600}
.ph-loc svg{width:11px;height:11px;flex:none}
.ph-bell{
  margin-left:auto;flex:none;position:relative;width:36px;height:36px;border-radius:50%;
  background:#F3F4F6;display:grid;place-items:center;
}
.ph-bell>svg{width:17px;height:17px}
.ph-badge{
  position:absolute;top:-4px;right:-5px;background:#EF4444;color:#fff;
  font-size:8.5px;font-weight:800;min-width:19px;height:19px;padding:0 4px;
  border-radius:999px;display:grid;place-items:center;border:2px solid #fff;
}

/* headline + search */
.ph-body{flex:1;min-height:0;padding:14px 16px 8px;overflow:hidden}
.ph-h1{font-size:21px;font-weight:800;letter-spacing:-.03em;line-height:1.2;margin-bottom:14px}
.ph-h1 span{color:#F89413}
.ph-search{display:flex;gap:8px;margin-bottom:16px}
.ph-input{
  flex:1;min-width:0;height:42px;border-radius:14px;background:#F3F4F6;
  display:flex;align-items:center;gap:8px;padding:0 13px;font-size:11.5px;color:#9CA3AF;
}
.ph-input svg{width:15px;height:15px;flex:none}
.ph-filter{
  flex:none;width:42px;height:42px;border-radius:14px;background:#F3F4F6;
  display:grid;place-items:center;
}
.ph-filter svg{width:17px;height:17px}

/* trust carousel: the no-active-job counterpart to the job card */
.ph-carousel{display:flex;gap:10px;overflow:hidden;margin-bottom:11px}
.ph-trust{
  position:relative;flex:none;width:calc(100% - 34px);border-radius:20px;
  padding:15px 15px 17px;color:#fff;overflow:hidden;
  background:linear-gradient(135deg,#F89413,#EC7C0F);
}
.ph-trust-b{background:linear-gradient(135deg,#10B981,#059669)}
.ph-trust-ico{
  position:absolute;top:13px;right:13px;width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.22);display:grid;place-items:center;
}
.ph-trust-ico svg{width:18px;height:18px}
.ph-pill{
  display:inline-block;background:rgba(255,255,255,.24);font-size:8px;font-weight:800;
  letter-spacing:.11em;padding:4px 9px;border-radius:999px;margin-bottom:11px;
}
.ph-trust-title{font-size:16.5px;font-weight:800;letter-spacing:-.025em;line-height:1.2;margin-bottom:7px;max-width:80%}
.ph-trust-sub{font-size:10px;line-height:1.55;color:rgba(255,255,255,.88);max-width:92%}
.ph-dots{display:flex;justify-content:center;gap:5px;margin-bottom:16px}
.ph-dots i{width:5px;height:5px;border-radius:3px;background:#E2E3E6}
.ph-dots i.on{width:15px;background:#F89413}

/* section headers, categories, top pros */
.ph-sec{display:flex;align-items:baseline;margin:0 0 9px}
.ph-sec b{font-size:14px;font-weight:800;letter-spacing:-.02em}
.ph-sec span{margin-left:auto;font-size:10.5px;color:#F89413;font-weight:700}
/* CategoryChip.tsx values scaled by 0.845 (348px mock over a ~412dp phone):
   radius 20, paddingVertical 16, gap 8, icon 24, label 13/700. The label takes
   the icon's colour, and both tint and colour come straight from the
   CATEGORIES array in app/(tabs)/index.tsx. */
.ph-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:17px}
.ph-cat{border-radius:17px;padding:13px 4px;text-align:center;font-size:11px;font-weight:700}
.ph-cat svg{width:20px;height:20px;display:block;margin:0 auto 7px}
.c-elec{background:#FFF4E0;color:#F89413}
.c-plum{background:#EAF4FF;color:#3B82F6}
.c-carp{background:#FDF1E6;color:#D97706}
.ph-pros{display:flex;gap:10px;overflow:hidden}
.ph-pro{
  flex:none;width:calc(50% - 5px);background:#fff;border:1px solid #EEF0F2;
  border-radius:16px;padding:12px;
}
/* Same initials-avatar convention as the header, in the two colours the app
   picks from src/lib/avatarColor.ts. The verified tick sits on the avatar
   corner, which is where TopWorkerCard puts it. */
.ph-pro-av{
  position:relative;width:46px;height:46px;border-radius:13px;margin-bottom:9px;
  display:grid;place-items:center;color:#fff;font-size:15px;font-weight:800;
}
.av-a{background:#2563EB}
.av-b{background:#7C3AED}
.ph-check{
  position:absolute;right:-2px;bottom:-2px;width:17px;height:17px;border-radius:50%;
  background:#16A34A;border:2px solid #fff;display:grid;place-items:center;color:#fff;
}
.ph-check svg{width:9px;height:9px;stroke-width:3.4}
.ph-pro-name{font-size:11.5px;font-weight:800;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-pro-role{font-size:10px;color:#6B7280;margin-top:2px}
.ph-pro-div{height:1px;background:#F0F0F0;margin:9px 0}
.ph-pro-meta{display:flex;align-items:center;gap:4px;font-size:10px;color:#9CA3AF}
.ph-pro-meta .star{width:11px;height:11px;flex:none;color:#FBBF24}
.ph-pro-meta b{font-weight:700;color:#1A1A2E}

/* Tab bar, taken from (tabs)/_layout.tsx and scaled by the same 0.845:
   border #F0F0F0, paddingTop 4, paddingBottom 8, label 10/500, active #F89413,
   inactive #AAAAAA. The greys matter more than they look: #AAAAAA is what the
   app actually uses, so borrowing a darker one made the mock disagree with the
   product it is a picture of. */
.ph-tabs{
  flex:none;display:flex;align-items:center;
  background:#fff;border-top:1px solid #F0F0F0;padding:4px 10px 9px;
}
.ph-tab{flex:1;text-align:center;font-size:8.5px;font-weight:500;color:#AAAAAA}
.ph-tab svg{width:20px;height:20px;display:block;margin:0 auto 3px}
.ph-tab.on{color:#F89413}
/* styles.postBtn: a flat 46px orange circle holding a 28px "add", no shadow.
   A mock that adds a glow stops matching the app. */
.ph-fab{
  flex:none;width:39px;height:39px;margin:0 4px;border-radius:50%;
  background:#F89413;color:#fff;display:grid;place-items:center;
}
.ph-fab svg{width:24px;height:24px;stroke-width:2.4}

/* ── Proof strip ───────────────────────────────────────────── */
.proof{border-block:1px solid var(--line);background:var(--card);padding:0}
.proof-in{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.proof-i{padding:30px 22px;text-align:center;border-right:1px solid var(--line)}
.proof-i:last-child{border-right:0}
.proof-i b{display:block;font-size:15px;font-weight:800;letter-spacing:-.02em;margin-bottom:4px}
.proof-i span{font-size:13px;color:var(--muted)}

/* ── Problem ───────────────────────────────────────────────── */
.problem{background:var(--card);border-block:1px solid var(--line)}
.surface-section{background:var(--card);border-block:1px solid var(--line)}
.prob-head{max-width:660px;margin-bottom:52px}
.prob-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 56px}
.prob{display:flex;gap:18px;padding:26px 0;border-bottom:1px solid var(--line)}
.prob b{font-size:15px;font-weight:700;display:block;margin-bottom:5px}
.prob p{font-size:14.5px;color:var(--muted)}
.prob-n{font-size:12px;font-weight:800;color:var(--brand-text);padding-top:3px;flex:none}

/* ── Categories ────────────────────────────────────────────── */
.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px}
.cat{border-radius:var(--r);padding:38px 30px;position:relative;overflow:hidden}
.cat b{font-size:22px;font-weight:800;letter-spacing:-.025em;display:block;margin-bottom:6px}
.cat span{font-size:14.5px;opacity:.72}
.cat i{font-size:30px;font-style:normal;display:block;margin-bottom:20px}
.cat-e{background:#FDEBD3;color:#92400E}
.cat-p{background:#DBEAFE;color:#1E40AF}
.cat-c{background:#FBE3D0;color:#9A3412}

/* ── Steps ─────────────────────────────────────────────────── */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:48px}
.step{padding:0 26px 0 0;position:relative}
.step-n{
  width:40px;height:40px;border-radius:50%;background:var(--ink);color:#fff;
  display:grid;place-items:center;font-size:15px;font-weight:800;margin-bottom:20px;
}
.step h3{font-size:17px;font-weight:700;letter-spacing:-.02em;margin-bottom:8px}
.step p{font-size:14.5px;color:var(--muted)}
.step-line{position:absolute;top:19px;left:52px;right:12px;border-top:1.5px dashed var(--line)}
.step:last-child .step-line{display:none}

/* ── Feature split (AI estimate / tracking) ────────────────── */
.split{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.split.rev .split-art{order:-1}
.feat-list{margin-top:28px;display:grid;gap:14px}
.feat-list li{list-style:none;display:flex;gap:12px;font-size:15px;color:var(--muted)}
.feat-list b{color:var(--ink);font-weight:600}
.tick{color:var(--green);font-weight:800;flex:none}

/* AI estimate card — mirrors JobRequestSheet's real UI */
.est{
  background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;
  box-shadow:0 20px 50px rgba(18,18,26,.09);max-width:400px;
}
.est-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.est-lbl{font-size:13.5px;font-weight:700;color:#4B5563}
.conf{font-size:11px;font-weight:800;letter-spacing:.06em;padding:3px 8px;border-radius:6px;
  background:rgba(22,163,74,.09);color:var(--green)}
.est-range{font-size:34px;font-weight:800;letter-spacing:-.035em;margin-bottom:6px}
.est-note{font-size:12.5px;color:#6B7280;margin-bottom:18px}
.est-brk{display:flex;border-top:1px solid #F1F1F0;padding-top:16px}
.est-cell{flex:1}
.est-cell small{font-size:11px;font-weight:800;letter-spacing:.1em;color:#6B7280;display:block;margin-bottom:5px}
.est-cell b{font-size:17px;font-weight:700;letter-spacing:-.02em}
.est-div{width:1px;background:#F1F1F0;margin:0 18px}
.est-mat{margin-top:18px;border-top:1px solid #F1F1F0;padding-top:16px}
.est-mat small{font-size:11px;font-weight:800;letter-spacing:.1em;color:#6B7280;display:block;margin-bottom:9px}
.est-mat div{font-size:13.5px;color:#4B5563;display:flex;gap:9px;margin-bottom:6px}
.est-mat i{width:4px;height:4px;border-radius:50%;background:var(--brand);margin-top:8px;flex:none}

/* Tracking card */
.track{
  background:var(--navy);border-radius:22px;padding:26px;color:#fff;max-width:400px;
  box-shadow:0 24px 56px rgba(26,26,46,.3);
}
.track-map{height:168px;border-radius:14px;margin-bottom:22px;position:relative;overflow:hidden;
  background:#243049}
.route{position:absolute;inset:0}
.pin{position:absolute;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  font-size:11px;font-weight:800;transform:translate(-50%,-50%)}
.pin-home{background:#fff;color:var(--navy);left:78%;top:26%}
.pin-live{background:var(--brand);color:var(--ink);left:22%;top:74%;box-shadow:0 0 0 0 rgba(248,148,19,.6);
  animation:pulse 2.2s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 16px rgba(248,148,19,0)}100%{box-shadow:0 0 0 0 rgba(248,148,19,0)}}
.eta{position:absolute;left:22%;top:74%;transform:translate(20px,-50%);background:#fff;color:var(--navy);
  font-size:12px;font-weight:800;padding:4px 9px;border-radius:7px;white-space:nowrap}
.track-step{display:flex;align-items:center}
.ts{flex:1;text-align:center;position:relative}
.ts i{width:18px;height:18px;border-radius:50%;background:rgba(255,255,255,.16);display:block;margin:0 auto 8px}
.ts.on i{background:var(--brand)}
.ts span{font-size:12px;font-weight:600;color:rgba(255,255,255,.62)}
.ts.on span{color:#fff}
.ts:not(:last-child):after{content:"";position:absolute;top:8px;left:calc(50% + 12px);
  right:calc(-50% + 12px);height:2px;background:rgba(255,255,255,.16)}

/* ── Trust ─────────────────────────────────────────────────── */
.trust{background:var(--card);border-block:1px solid var(--line)}
.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 56px;margin-top:46px}
.trust-i{display:flex;gap:18px;padding:28px 0;border-bottom:1px solid var(--line)}
.trust-ico{width:42px;height:42px;border-radius:12px;background:#FDF2E3;display:grid;place-items:center;
  font-size:18px;flex:none}
.trust-i b{font-size:16px;font-weight:700;display:block;margin-bottom:6px}
.trust-i p{font-size:14.5px;color:var(--muted)}

/* ── Why now (panel / TBI) ─────────────────────────────────── */
.why{background:var(--ground)}
.why-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:46px}
.why-col{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:30px}
.why-col h3{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:var(--brand-text);margin-bottom:20px}
.why-col li{list-style:none;font-size:14.5px;color:var(--muted);padding:10px 0;
  border-bottom:1px solid #F4F1EC;display:flex;gap:10px}
.why-col li:last-child{border-bottom:0}
.why-col li b{color:var(--ink);font-weight:600}
.dot-on{color:var(--green);font-weight:800;flex:none}
.dot-next{color:#6B7280;font-weight:800;flex:none}

/* ── Worker band ───────────────────────────────────────────── */
.worker{background:var(--navy);color:#fff}
.worker .lede{color:rgba(255,255,255,.62)}
.worker .eyebrow{color:var(--brand)}
.worker-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.wk-cards{display:grid;gap:14px}
.wk{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:16px;
  padding:22px;display:flex;gap:16px;align-items:flex-start}
.wk-ico{font-size:20px;flex:none}
.wk b{font-size:15.5px;font-weight:700;display:block;margin-bottom:5px}
.wk p{font-size:14px;color:rgba(255,255,255,.58)}
.wk-price{font-size:15px;font-weight:800;color:var(--brand);white-space:nowrap;margin-left:auto}
.worker .btn-light{margin-top:32px}
.wk-fine{font-size:12.5px;color:rgba(255,255,255,.4);margin-top:16px}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq{max-width:800px;margin:44px auto 0}
details{border-bottom:1px solid var(--line);padding:4px 0}
summary{
  cursor:pointer;list-style:none;padding:22px 0;font-size:17px;font-weight:600;
  letter-spacing:-.015em;display:flex;align-items:center;gap:16px;
}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";margin-left:auto;font-size:22px;font-weight:400;color:var(--brand-text);flex:none}
details[open] summary:after{content:"–"}
details p{font-size:15.5px;color:var(--muted);padding:0 40px 24px 0;max-width:68ch}

/* ── Final CTA ─────────────────────────────────────────────── */
.final{background:var(--brand);color:var(--ink);text-align:center}
.final h2{margin-bottom:16px}
.final p{font-size:18px;color:rgba(18,18,26,.76);max-width:52ch;margin:0 auto 34px}
.final .btn-light{box-shadow:0 10px 30px rgba(0,0,0,.14)}
.final small{display:block;margin-top:20px;font-size:13px;color:rgba(18,18,26,.66)}

/* ── Footer ────────────────────────────────────────────────── */
footer{background:var(--ink);color:#fff;padding:64px 0 40px}
.ft-top{display:flex;gap:56px;padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.1)}
.ft-brand{max-width:280px}
.ft-brand img{width:34px;height:34px;border-radius:9px;margin-bottom:16px}
.ft-brand p{font-size:14px;color:rgba(255,255,255,.5);margin-top:10px}
/* 48px, not 72: a fourth column went in and the email address is the widest
   single string in the footer, so the gap is what had to give. Wrapping is on
   at every width, not just under the 960px breakpoint: four columns plus a
   280px brand block need about 742px, and between 960 and 1140 there is less
   than that, so without it the Contact column overflowed the container. */
.ft-cols{display:flex;flex-wrap:wrap;gap:48px;margin-left:auto}
/* nowrap so the address never breaks mid-domain, which reads as two addresses. */
.ft-contact a{font-size:14px;white-space:nowrap}
.ft-col h3{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.4);margin-bottom:16px}
.ft-col a{display:block;font-size:14.5px;color:rgba(255,255,255,.72);padding:6px 0}
.ft-col a:hover{color:#fff}
.ft-bot{padding-top:28px;display:flex;font-size:13px;color:rgba(255,255,255,.4);flex-wrap:wrap;gap:10px}
.ft-bot span:last-child{margin-left:auto}

/* Dark-theme surfaces and contrast refinements. The product mock stays light on purpose. */
[data-theme="dark"] nav{background:rgba(23,25,31,.84)}
[data-theme="dark"] .brand img{content:url('logo-white.png')}
[data-theme="dark"] .theme-toggle{background:var(--navy);border-color:#4B5563}
[data-theme="dark"] .theme-toggle-sun{color:#787F8C;opacity:0;transform:rotate(25deg) scale(.7)}
[data-theme="dark"] .theme-toggle-moon{color:var(--brand);opacity:1;transform:rotate(0) scale(1)}
[data-theme="dark"] .btn-light{background:#F7F3EC;color:#12121A}
[data-theme="dark"] .cat-e{background:#4A2C08;color:#FFD28A}
[data-theme="dark"] .cat-p{background:#132E57;color:#A9D0FF}
[data-theme="dark"] .cat-c{background:#4A2615;color:#FFC394}
[data-theme="dark"] .trust-ico{background:#3A2A16}
[data-theme="dark"] .why-col li{border-color:#343841}
[data-theme="dark"] .est-lbl,[data-theme="dark"] .est-mat div{color:#D8D4CE}
[data-theme="dark"] .est-note,[data-theme="dark"] .est-cell small,[data-theme="dark"] .est-mat small{color:#AFAAA3}
[data-theme="dark"] .est-brk,[data-theme="dark"] .est-mat{border-color:#343841}
[data-theme="dark"] .est-div{background:#343841}

/* ── Responsive ────────────────────────────────────────────── */
@media(max-width:960px){
  section{padding:76px 0}
  .hero-grid,.split,.worker-grid{grid-template-columns:1fr;gap:48px}
  .split.rev .split-art{order:0}
  .steps,.why-cols{grid-template-columns:repeat(2,1fr);gap:36px 26px}
  .step-line{display:none}
  .cats{grid-template-columns:1fr}
  .proof-in{grid-template-columns:repeat(2,1fr)}
  .proof-i:nth-child(2){border-right:0}
  .proof-i:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .prob-list,.trust-grid{grid-template-columns:1fr;gap:0}
  /* The links used to be flatly hidden here, which left the phone with no
     in-page navigation at all. They now become a drop-down under the bar.
     Absolute, so it does not stretch the sticky nav when open, and left/right
     0 on .nav-in gives it full bleed while its own padding keeps the links
     aligned with the page gutter. */
  .nav-links{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;gap:0;padding:6px 24px 14px;
    background:var(--card);border-bottom:1px solid var(--line);
    box-shadow:0 18px 32px rgba(18,18,26,.10);
  }
  .nav-links[data-open]{display:flex}
  .nav-links a{
    font-size:16px;padding:14px 2px;color:var(--ink);
    border-bottom:1px solid var(--line);
  }
  .nav-links a:last-child{border-bottom:0}
  /* .nav-links carried the `margin-left:auto` that pushed everything to the
     right edge, and it is now out of flow, so the auto margin moves to the
     first in-flow item after the brand. */
  .burger{display:flex;margin-left:auto}
  .ft-top{flex-direction:column;gap:36px}
  .ft-cols{margin-left:0;gap:48px;flex-wrap:wrap}
}
@media(max-width:560px){
  section{padding:56px 0}
  .nav-in{gap:12px}
  .brand{font-size:17px}
  .btn-sm{padding:0 15px}
  .steps,.why-cols,.proof-in{grid-template-columns:1fr}
  .proof-i{border-right:0;border-bottom:1px solid var(--line)}
  .hero{padding:44px 0 64px}
  .hero .lede{font-size:17px}
  .est,.track{max-width:100%}
  /* Right padding that made sense beside a neighbouring column is dead space
     once these are single-column. */
  .step{padding-right:0}
  details p{padding-right:0}
  .prob-head{margin-bottom:36px}
  /* Last resort only: nowrap keeps the address on one line wherever it fits,
     but on the narrowest phones it is wider than the viewport and would push
     out a horizontal scrollbar. */
  .nav-links{padding-bottom:12px}
  .ft-contact a{white-space:normal;overflow-wrap:anywhere;font-size:13.5px}
  /* Long unbroken words in a flex child do not shrink without this, which is
     what lets the price tag shove the text out of the card. */
  .wk>div{min-width:0}
}
@media(max-width:430px){
  /* Brand, burger, theme toggle and CTA together need about 338px, and a 375px
     phone only offers 327px inside the gutter. The toggle is the one that can
     go: the bootstrap script still sets the theme from prefers-color-scheme,
     so only the manual override is lost. Hidden rather than removed, because
     that script holds a reference to it. */
  .theme-toggle{display:none}
  .nav-in{gap:10px}
  .btn-sm{padding:0 13px}
}
