/* Leadly public pages: the homepage look (black, white, Geist bold, thin dividers, no cards, lots of space).
   Loaded LAST in <head> on every public page except the homepage (which inlines the same rules): /support, /privacy,
   /terms, /report-partner, /partners, /partners/login, the city pages, /paid, the 404 page and the partner dashboard
   (which adds assets/partner-v2.css after it). /app has its own layer (app/v2.css). */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/geist.woff2) format('woff2'); }
@font-face { font-family: 'Yellowtail'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/yellowtail.woff2) format('woff2'); }
:root { --fs: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --fd: var(--fs); --tx: #fff; --tx2: rgba(255, 255, 255, 0.66); --tx3: rgba(255, 255, 255, 0.46);
  --ln: rgba(255, 255, 255, 0.12); --ln2: rgba(255, 255, 255, 0.2); --hl: rgba(255, 255, 255, 0.12); --r: 2px; --max: 1360px; --gut: 32px; }
html, body { background: #000; }
body { color: #fff; font-family: var(--fs); }
.sky { display: none; }
.wrap { overflow-x: clip; }
.container { max-width: var(--max); padding-left: var(--gut); padding-right: var(--gut); }

/* type */
h1, h2, h3, .display { font-family: var(--fs); font-weight: 700; font-stretch: normal; letter-spacing: -0.04em; }
.num { font-family: var(--fs); font-weight: 700; font-stretch: normal; letter-spacing: -0.04em; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx3); }

/* nav: same as the homepage */
/* own compositing layer + a permanent blurred backdrop that only fades (toggling backdrop-filter while iOS moves its toolbar made the bar shake) */
.nav { position: sticky; top: 0; z-index: 30; background: transparent; -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.nav.scrolled { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.nav.scrolled::before { opacity: 1; }
.nav-in { height: 68px; }
.brand img { width: 26px; } .brand .script { font-size: 28px; }
.nav-cta { margin-left: auto; margin-right: 22px; }
.btn-partner, .nav-login { display: inline-flex; align-items: center; height: 40px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--tx2); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.btn-partner:hover, .nav-login:hover { background: none; color: #fff; }
.btn-partner:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); }
.nav-r { gap: 22px; }
.lang { color: var(--tx3); font-size: 12px; letter-spacing: 0.08em; }

/* buttons: plain white block, black label */
.btn { height: 52px; padding: 0 30px; border-radius: 2px; background: #fff; color: #000; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; transition: background 0.15s ease; }
.btn::before, .btn::after { display: none !important; }
.btn:hover { background: rgba(255, 255, 255, 0.84); }
.btn:active { transform: none; }
.btn.sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-ghost { height: 52px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, 0.32); background: transparent; }
.btn-link { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* no cards: what was a glass panel becomes open space with a hairline above it */
.glass { background: none !important; border: 0 !important; border-top: 1px solid var(--hl) !important; border-radius: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.glass::before, .glass::after { display: none !important; }

/* form fields: a single underline */
.pin, .cuin, .rp input, .rp textarea { min-height: 52px; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important; border-radius: 0 !important; background: transparent !important; color: #fff; padding: 12px 0 !important; font-size: 16px; }
.pin:focus, .cuin:focus, .rp input:focus, .rp textarea:focus { outline: none; border-bottom-color: #fff !important; }
textarea.pin, .rp textarea { min-height: 110px; }
select.pin { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 2px center !important; }
select.pin option { color: #111; background: #fff; }
input[type=checkbox], input[type=radio] { accent-color: #fff; }

/* footer */
.footer { border-top: 1px solid var(--hl); padding: 72px 0 calc(56px + env(safe-area-inset-bottom)); color: var(--tx3); font-size: 13px; }
.footer a { color: var(--tx2); text-decoration: none; } .footer a:hover { color: #fff; }
/* the one footer every page uses (same as the homepage): mark, five links, year */
.foot { padding: 72px 0 calc(56px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hl); font-size: 13px; color: var(--tx3); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot nav a { color: var(--tx2); text-decoration: none; } .foot nav a:hover { color: #fff; }
@media (max-width: 860px) { .foot-in { flex-direction: column; align-items: flex-start; } .foot nav a { padding: 6px 0; } }

/* ---------- legal and help pages (/privacy, /terms, /support) ---------- */
.doc { max-width: 760px; padding: 12vh var(--gut) 18vh; }
.doc h1 { font-size: clamp(48px, 8vw, 104px); line-height: 0.95; margin: 0 0 28px; }
.doc .upd { margin: 0 0 9vh; color: var(--tx3); font-size: 14px; }
.doc h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; line-height: 1.15; margin: 64px 0 14px; padding-top: 28px; border-top: 1px solid var(--hl); }
.doc h3 { font-size: 18px; letter-spacing: -0.02em; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--tx2); font-size: 16px; line-height: 1.7; }
.doc li + li { margin-top: 6px; }
.doc strong, .doc b { color: #fff; font-weight: 600; }
.doc a { color: #fff; text-underline-offset: 3px; }
.doc .lead-in { font-size: clamp(19px, 1.8vw, 22px) !important; line-height: 1.5 !important; color: #fff !important; }
.doc .box { padding: 22px 0 0; margin: 28px 0; }
.rp { padding: 28px 0 0 !important; gap: 20px !important; }
.rp label { font-size: 13px; font-weight: 600; color: var(--tx2); }
.rp button { margin-top: 6px; }

/* ---------- /partners ---------- */
.pp .hero { padding: 14vh 0 12vh; gap: 72px; }
.pp h1 { font-size: clamp(52px, 8.6vw, 140px); line-height: 0.95; margin: 22px 0 0; max-width: 12ch; }
.pp .lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; margin-top: 28px; }
.pp .ctas { margin-top: 40px; }
.pp section.s { padding: 0 0 18vh; }
.pp .s-head { max-width: 900px; margin-bottom: 8vh; }
.pp .s-head h2 { font-size: clamp(40px, 6vw, 96px); line-height: 0.98; }
.ex { padding: 26px 0 0 !important; border-radius: 0; gap: 16px; }
.ex .big { border-top-color: var(--hl); }
.ex .big b { font-family: var(--fs); font-weight: 700; font-stretch: normal; letter-spacing: -0.04em; font-size: 56px; }
.step { padding: 24px 0 0 !important; border-radius: 0; gap: 12px; }
.step .n { margin-bottom: 18px; letter-spacing: 0.12em; }
.step h3 { font-size: 24px; letter-spacing: -0.03em; }
.who { gap: 10px 28px; }
.who span { padding: 0; border: 0; border-radius: 0; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.rules li { font-size: 16px; padding: 14px 0; border-top: 1px solid var(--hl); }
.rules { gap: 0; }
.rules li i { background: none; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 0; width: 16px; height: 16px; margin-top: 3px; }
.pform { padding: 28px 0 0 !important; border-radius: 0; gap: 18px; }
.pform h3 { font-size: 30px; letter-spacing: -0.03em; }
.pform .q .opts label { border-radius: 2px; border-color: rgba(255, 255, 255, 0.28); background: transparent; }
.pform .q .opts input { accent-color: #fff; }
.rules-d { border: 0; border-top: 1px solid var(--hl); border-bottom: 1px solid var(--hl); border-radius: 0; background: none; }
.rules-d summary { padding: 22px 0; font-size: 18px; }
.role-note, .nofit, .sent { border-radius: 0; border: 0; border-left: 2px solid rgba(255, 255, 255, 0.5); background: none; padding: 4px 0 4px 18px; }
.faq { gap: 0; max-width: 920px; border-bottom: 1px solid var(--hl); }
.faq details { border-radius: 0; }
.faq summary { padding: 24px 0; font-size: 18px; letter-spacing: -0.01em; }
.faq details p { padding: 0 0 24px; font-size: 16px; line-height: 1.65; }
.signup { max-width: 640px; }
#pOut.ok, .rp .out.ok { color: #fff; }
/* the worked example ("2 roofers"): open space and white figures, no green panel */
.ex .win { padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--hl); border-radius: 0; background: none; }
.ex .win .wl { color: var(--tx3); }
.ex .win .wtot { border-top-color: var(--hl); }
.ex .win b { font-family: var(--fs); font-weight: 700; font-stretch: normal; letter-spacing: -0.04em; font-size: 56px; color: #fff; }

/* ---------- /partners/login ---------- */
.pl { max-width: 560px; padding: 16vh var(--gut) 18vh; }
.pl h1 { font-size: clamp(44px, 8vw, 80px); line-height: 0.95; margin: 22px 0 18px; }
.lform { padding: 28px 0 0 !important; border-radius: 0; gap: 18px; }
.lform .btn { min-height: 54px; }

@media (max-width: 860px) {
  :root { --gut: 20px; }
  .container { padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
  .nav-in { height: 60px; }
  .nav-cta { margin-right: 14px; }
  .nav-r { gap: 14px; }
  .btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .brand .script { font-size: 26px; } .brand img { width: 24px; }
  .btn-partner, .nav-login { font-size: 12px; letter-spacing: 0.1em; }
  .doc { padding-top: 8vh; padding-bottom: 14vh; }
  .doc h1 { font-size: clamp(44px, 13vw, 64px) !important; }
  .doc h2 { font-size: 22px !important; margin-top: 48px; }
  .doc p, .doc li { font-size: 16px; }
  .pp .hero { padding: 9vh 0 10vh; gap: 48px; }
  .pp h1 { font-size: clamp(46px, 13.4vw, 72px); }
  .pp section.s { padding-bottom: 14vh; }
  .pp .s-head h2 { font-size: clamp(36px, 10.4vw, 56px); }
  .pp .ctas .btn, .pform .btn, .lform .btn, .rp button { width: 100%; height: 56px; }
  .footer-in { gap: 18px; }
}
