/* generated by site/build.mjs from site/lf-pages.css, do not edit */
/* The new LeedFox web design on top of the older page styles (base.css from index.html, pages.css).
   lf.css (site/home/home.css) carries the design system: tokens, type, buttons, header and footer.
   This file adds what the generated pages need: the parts the build adds to the home page and the
   bridge that moves the subpage components (body.sub) onto the new tokens. */

/* ---------- shared: header and footer pieces the build adds ---------- */
.logo img { height: 28px; width: auto; }
.ftr .logo img { height: 30px; }
.ftr .pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 48px 0 0; padding: 0; list-style: none; }
.ftr .pay-logos li { display: flex; align-items: center; height: 36px; padding: 6px 8px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ftr .pay-logos li + li { margin-top: 0; }
.ftr .pay-logos img { display: block; height: 24px; width: auto; max-width: none; }
.ftr .pay-logos .pay-gopay img { min-width: 100px; }
.ftr .pay-logos li.pay-badge { padding: 2px 4px; }
.ftr .pay-logos li.pay-badge img { height: 32px; }

/* ---------- home: waitlist form ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { grid-column: 1 / -1; margin-top: -4px; font-size: .875rem; font-weight: 600; color: var(--red); }
.form .btn[aria-busy="true"] { cursor: progress; }
.done:focus { outline: 0; }

/* ---------- subpages: old component tokens mapped to the new palette ---------- */
body.sub {
  --background: var(--bg); --foreground: var(--ink); --card: #fff; --card-foreground: var(--text);
  --border: var(--line); --border-strong: var(--field); --input: var(--field); --ring: var(--ink);
  --muted-foreground: var(--muted); --primary: var(--orange); --primary-hover: var(--orange-btn-h); --primary-foreground: #fff;
  --primary-text: var(--orange-ink); --primary-soft: var(--orange-tint); --primary-soft-foreground: var(--orange-ink);
  --page-alt: var(--soft); --tint: var(--soft); --lavender-2: var(--violet-tint);
  --night-strong: #fff; --night-fg: var(--on-night-2); --night-rule: var(--line-night);
  --font: var(--sans);
  background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans);
}
body.sub main { display: block; }
body.sub h1, body.sub h2, body.sub .h2 { font-family: var(--head); font-weight: 700; font-stretch: 116%; letter-spacing: -0.035em; line-height: 1.05; color: var(--ink); text-wrap: balance; }
body.sub h2, body.sub .h2 { font-size: clamp(1.75rem, 3.6vw, 2.875rem); }
body.sub h3 { font-family: var(--head); font-weight: 650; font-stretch: 108%; letter-spacing: -0.02em; color: var(--ink); }

/* eyebrow: white pill, capitals, orange dot */
body.sub .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
body.sub .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-tint); flex: none; }

/* page head: paper instead of the old night band */
body.sub .sub-hero { padding: 56px 0 64px; background: transparent; color: var(--text); }
body.sub .sub-hero::before { display: none; }
body.sub .sub-hero h1 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); max-width: 20ch; margin-top: 20px; }
body.sub .sub-hero .answer { color: var(--text); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.55; }
body.sub .sub-hero .eyebrow { color: var(--ink); }
body.sub .crumbs { color: var(--muted); }
body.sub .crumbs a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* sections */
body.sub .sec { padding: 88px 0; }
body.sub .sec.sm { padding: 72px 0; }
body.sub .sub-hero + .sec.sm { padding-top: 8px; }
body.sub .tint, body.sub .grey { background: var(--soft); }
body.sub .lead-text { color: var(--text); }

/* buttons: orange main, ghost line */
body.sub .btn-main { background: var(--orange-btn); color: #fff; border-color: transparent; }
body.sub .btn-main:hover { background: var(--orange-btn-h); }
body.sub .btn-line { background: transparent; color: var(--ink); border: 0; box-shadow: inset 0 0 0 1.5px var(--ink); }
body.sub .btn-line:hover { background: rgba(38, 26, 102, .06); }
body.sub .btn-main, body.sub .btn-line { min-height: 52px; padding: 12px 26px; border-radius: var(--r-m); font-weight: 600; }

/* cards, tables, FAQ */
body.sub .card, body.sub .tile { background: #fff; border: 0; border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); }
body.sub .table-wrap { border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
body.sub .faq details { border-color: var(--line); }
body.sub .faq summary { font-family: var(--head); color: var(--ink); }

/* long texts (legal pages): readable measure, ink links underlined in text colour */
body.sub .prose p, body.sub .prose li { color: var(--text); }
body.sub .prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 48px; }
body.sub .prose h3 { font-size: 1.25rem; margin-top: 32px; }
body.sub .prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.sub .prose a:hover { text-decoration-thickness: 2px; }
body.sub .prose.legal { max-width: 46em; padding: 40px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
body.sub .prose .meta { color: var(--muted); }
body.sub .prose table { width: 100%; border-collapse: collapse; }
body.sub .prose th, body.sub .prose td { border-color: var(--line); }

/* call to action band: night, like the home page dark sections */
body.sub .cta-band { background: var(--night); color: var(--on-night-2); border-radius: var(--r-xl); }
body.sub .cta-band h2, body.sub .cta-band .h2 { color: #fff; }

/* contact form: inputs of the design */
body.sub .cform input, body.sub .cform textarea, body.sub .cform select { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--field); background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
body.sub .cform input:focus, body.sub .cform textarea:focus, body.sub .cform select:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(239, 95, 24, .18); }

@media (max-width: 620px) {
  body.sub .sub-hero { padding: 32px 0 40px; }
  body.sub .sec, body.sub .sec.sm { padding: 56px 0; }
  body.sub .prose.legal { padding: 24px 20px; border-radius: var(--r-l); }
  body.sub .sub-hero .btn-main, body.sub .sub-hero .btn-line, body.sub .cta-band .btn-main { width: 100%; }
}
