/* Tradesmen's Edge Consulting — site styles */

/* Self-hosted Barlow (SIL Open Font License, see assets/fonts/OFL.txt).
   Served from this site so no visitor data goes to Google Fonts. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }

:root {
  --fh: 'Barlow Condensed', 'Barlow Semi Condensed', system-ui, sans-serif;
  --fb: 'Barlow', system-ui, sans-serif;

  --navy: #22384E;
  --navy-900: #172636;
  --steel: #3E6C8E;
  --steel-700: #325A78;
  --steel-100: #E9F0F5;
  --steel-050: #F3F7FA;
  --orange: #E8710A;
  --orange-700: #B95905;
  --orange-050: #FDF1E6;
  --orange-line: #F0C79B;
  --orange-on-navy: #F5923E; /* orange text on navy: 5.2:1 */
  --orange-text: #9A4A04;    /* orange text on light: 5.6:1 */

  --ink: #1D2733;
  --muted: #57616C;
  --line: #D7DFE6;           /* decorative dividers only */
  --field-line: #7D8B99;     /* form control borders: 3.5:1 */
  --bg: #F4F7F9;
  --paper: #FFFFFF;

  --ok: #237A54;
  --ok-050: #E9F4EF;
  --warn: #B26A12;
  --warn-050: #FBF1E1;
  --bad: #B23E2A;
  --bad-050: #FBECE8;

  --on-navy: #B9C6D2;
  --on-navy-soft: #8FA3B5;

  --r: 6px;
  --rc: 14px;
  --sh: 0 10px 24px -6px rgba(34, 56, 78, .14);
  --wrap: 1160px;
  --section-pad: clamp(48px, 7vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: var(--steel-700); text-decoration: none; }
a:hover { color: var(--orange-700); }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(232, 113, 10, .22); }
*:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r); font-family: var(--fh); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
h1, h2, h3 { font-family: var(--fh); font-weight: 700; color: var(--navy); margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
/* Keep in-page jumps (e.g. #pricing) clear of the sticky header */
[id] { scroll-margin-top: 84px; }

.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;
}

@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 18px; padding-right: 18px; }
.wrap--1000 { max-width: 1000px; }
.wrap--820 { max-width: 820px; }
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.band-tint { background: var(--steel-050); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-paper { background: var(--paper); border-bottom: 1px solid var(--line); }
.band-navy { background: var(--navy); }
.band-orange { background: var(--orange); }

.grid { display: grid; gap: 18px; }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grid--230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* ---------- Type ---------- */
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--fh); font-weight: 600; color: var(--steel-700); font-size: 14px; }
.kicker::before { content: ""; width: 10px; height: 10px; border-left: 2px solid var(--steel); border-top: 2px solid var(--steel); flex: none; }
.kicker--orange { color: var(--orange-on-navy); }
.kicker--orange::before { border-color: var(--orange-on-navy); }
.kicker--plain::before { display: none; }

.h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); line-height: 1.02; letter-spacing: .3px; margin-bottom: 18px; text-wrap: balance; }
.h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.04; margin-bottom: 8px; }
.h2--sm { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.05; }
.h3 { font-size: 1.25rem; line-height: 1.1; margin: 14px 0 6px; }
.lead { color: var(--muted); max-width: 58ch; font-size: 1.08rem; margin-bottom: 32px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.on-navy { color: var(--on-navy); }
.white { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 24px; border-radius: var(--r); border: 0;
  font-family: var(--fh); font-weight: 700; font-size: 18px; letter-spacing: .3px;
  text-align: center; line-height: 1.1; transition: background .15s, color .15s, opacity .15s;
}
.btn--primary { background: var(--orange); color: var(--navy-900); }
.btn--primary:hover { background: var(--orange-700); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--steel); }
.btn--outline:hover { background: var(--steel-100); color: var(--navy); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 48px; font-size: 15px; padding: 0 20px; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--steel-100); color: var(--steel-700); opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta-row p { color: var(--muted); max-width: 44ch; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--rc); box-shadow: var(--sh); padding: 22px; }
.card--top { border-top: 3px solid var(--steel); }
.card--lg { padding: 26px 24px; }
.card--dashed { border: 1px dashed var(--steel); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.site-header__logo img { height: 42px; width: auto; }
@media (max-width: 400px) { .site-header__logo img { height: 34px; } }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a { font-family: var(--fh); font-weight: 600; font-size: 16px; letter-spacing: .4px; color: var(--navy); }
.site-nav a:hover { color: var(--orange-700); }
.site-nav .btn { font-size: 15px; min-height: 44px; padding: 0 18px; }
.site-nav .btn--navy, .site-nav .btn--navy:hover { color: #fff; }
.site-header__mob { display: none; margin-left: auto; font-size: 14px; min-height: 42px; padding: 0 14px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--steel-050), var(--bg)); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: clamp(44px, 7vw, 84px); padding-bottom: clamp(44px, 7vw, 84px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__sub { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 44ch; margin-bottom: 16px; text-wrap: pretty; }
.hero__cred { font-size: clamp(1rem, 2.2vw, 1.12rem); color: var(--ink); max-width: 44ch; margin-bottom: 16px; padding-left: 14px; border-left: 3px solid var(--orange); text-wrap: pretty; }
.hero__result { font-size: 1.08rem; color: var(--navy); font-weight: 600; max-width: 44ch; margin-bottom: 28px; }
.hero__note { font-size: .9rem; color: var(--muted); margin-top: 16px; }
.hero__aside { display: flex; flex-direction: column; gap: 18px; }
/* While the hero photo slot is empty: single column with a wider text measure. */
.hero--solo .wrap { grid-template-columns: minmax(0, 1fr); }
.hero--solo .hero__sub, .hero--solo .hero__cred, .hero--solo .hero__result { max-width: 62ch; }

.placeholder { background: var(--steel-100); border: 1px dashed var(--steel); border-radius: var(--rc); display: grid; place-items: center; text-align: center; color: var(--steel-700); padding: 20px; font-family: var(--fh); font-weight: 600; }
.placeholder svg { display: block; margin: 0 auto 8px; }
.placeholder--4x3 { aspect-ratio: 4 / 3; }
.placeholder--square { aspect-ratio: 1; box-shadow: var(--sh); font-size: 12px; }

.mini-steps { display: flex; flex-direction: column; gap: 14px; }
.mini-steps__label { font-family: var(--fh); font-weight: 600; color: var(--steel-700); font-size: 13px; margin-bottom: 16px; }
.mini-step { display: flex; gap: 12px; align-items: flex-start; }
.mini-step__n { flex: none; width: 28px; height: 28px; border-radius: var(--r); background: var(--steel-100); color: var(--steel-700); display: grid; place-items: center; font-family: var(--fh); font-weight: 700; }
.mini-step__n--orange { background: var(--orange-050); color: var(--orange-700); }
.mini-step strong { font-family: var(--fh); color: var(--navy); font-size: 1.05rem; }
.mini-step div div { color: var(--muted); font-size: .95rem; }

/* ---------- How it works ---------- */
.step-card { position: relative; }
.step-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.step-card__n { width: 36px; height: 36px; border-radius: var(--r); background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--fh); font-weight: 700; font-size: 1.15rem; }
.tag-free { font-family: var(--fh); font-weight: 700; font-size: 12px; color: var(--ok); background: var(--ok-050); padding: 3px 8px; border-radius: 4px; }
.step-card h3 { font-size: 1.18rem; margin: 0 0 6px; line-height: 1.1; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Deliverable previews ---------- */
.preview { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.preview__art { position: relative; aspect-ratio: 4 / 3; background: var(--steel-050); border-bottom: 1px solid var(--line); overflow: hidden; }
.preview__doc { position: absolute; top: 16px; left: 18px; right: 18px; bottom: 0; background: #fff; border-radius: 8px 8px 0 0; box-shadow: 0 6px 16px -8px rgba(34, 56, 78, .35); padding: 14px; display: flex; flex-direction: column; gap: 7px; filter: blur(1.8px); }
.preview__doc i { display: block; height: 6px; border-radius: 3px; background: #C9D5DF; }
.preview__doc i.t { height: 10px; background: var(--navy); }
.preview__doc i.o { background: var(--orange); }
.preview__doc i.s { background: var(--steel); }
.preview__doc .row { display: flex; align-items: center; gap: 8px; }
.preview__doc .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--steel); }
.preview__doc .box { flex: none; width: 11px; height: 11px; border: 1.5px solid var(--steel); border-radius: 2px; }
.preview__doc .bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; min-height: 34px; }
.preview__doc .bars i { flex: 1; height: auto; border-radius: 2px 2px 0 0; }
.preview__badge { position: absolute; top: 10px; right: 10px; font-family: var(--fh); font-weight: 700; font-size: 11px; background: var(--navy); color: #fff; padding: 3px 8px; border-radius: 99px; }
.preview__body { padding: 16px 18px 18px; }
.preview__body h3 { font-size: 1.18rem; margin: 0 0 4px; line-height: 1.1; }
.preview__body p { color: var(--muted); font-size: .95rem; }

/* ---------- Every trade ---------- */
.trades { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.trades__label { font-family: var(--fh); font-weight: 700; color: var(--steel-700); font-size: 14px; margin: 4px 0 14px; letter-spacing: .02em; }
.trades__note { margin-top: 18px; color: var(--muted); font-size: .95rem; }

/* ---------- Booking ---------- */
.book__frame { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--rc); box-shadow: var(--sh); overflow: hidden; }
.book__gate { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 32px 22px; background: var(--steel-050); }
.book__gate-title { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 1.35rem; }
.book__gate-text { color: var(--muted); max-width: 52ch; font-size: .95rem; margin-bottom: 8px; }
.book__gate-text a { text-decoration: underline; }
.book__iframe { display: block; width: 100%; height: 600px; border: 0; }
@media (max-width: 767px) { .book__iframe { height: 700px; } }
.book__fallback { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.book__fallback a { text-decoration: underline; overflow-wrap: anywhere; }

/* ---------- Collapsible sections ---------- */
.toggle {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  min-height: 48px; padding: 0 18px; border-radius: var(--r);
  background: transparent; color: var(--navy); border: 2px solid var(--steel);
  font-family: var(--fh); font-weight: 700; font-size: 16px; letter-spacing: .3px;
}
.toggle:hover { background: var(--steel-100); }
.toggle--on-navy { color: #fff; border-color: rgba(255, 255, 255, .45); }
.toggle--on-navy:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.toggle__icon { transition: transform .2s; }
.toggle[aria-expanded="true"] .toggle__icon { transform: rotate(180deg); }
.collapsible#processes-more { margin-top: 14px; }
.pills--more { margin-top: 10px; }
.compare.collapsible { margin-top: 18px; }

/* ---------- Pricing ---------- */
.price-card { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.price-card--featured { border-color: var(--orange-line); }
.price-card__body { padding: 26px 24px; flex: 1; }
.price-card h3 { font-size: 1.5rem; margin: 0 0 6px; line-height: 1.1; }
.price-card__body > p { color: var(--muted); margin-bottom: 16px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.price-row strong { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 2rem; line-height: 1; white-space: nowrap; }
/* Informational note (plain text, not a link or button) */
.price-card__foot {
  margin: 0; padding: 14px 24px; background: var(--orange-050); color: var(--orange-text);
  border-top: 1px solid var(--orange-line); font-family: var(--fh); font-weight: 600; font-size: 1.05rem; line-height: 1.25;
}

/* ---------- Founding ---------- */
.founding { background: var(--orange-050); border: 1px solid var(--orange-line); border-radius: var(--rc); box-shadow: var(--sh); padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: center; }
.founding__places { text-align: center; }
.founding__box { background: var(--paper); border: 1px solid var(--orange-line); border-radius: var(--rc); box-shadow: var(--sh); padding: 26px 20px; display: inline-block; min-width: 180px; }
.founding__num { font-family: var(--fh); font-weight: 700; color: var(--orange); font-size: clamp(3rem, 8vw, 4.5rem); line-height: 1; }

/* ---------- Processes (navy) ---------- */
.process { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-left: 4px solid var(--c); border-radius: var(--rc); box-shadow: var(--sh); padding: 16px 18px; }
.process__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.process__n { font-family: var(--fh); font-weight: 700; color: color-mix(in srgb, var(--c) 78%, #fff); font-size: .85rem; letter-spacing: .5px; }
.process__cat { font-family: var(--fh); font-weight: 600; font-size: 11px; color: #A9BCCD; }
.process__title { font-family: var(--fh); font-weight: 700; color: #fff; font-size: 1.1rem; line-height: 1.12; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; align-items: center; padding: clamp(22px, 4vw, 36px); }
.founder__photo { max-width: 240px; width: 100%; justify-self: center; }
.founder--solo { grid-template-columns: minmax(0, 1fr); }
.founder--solo p { max-width: 70ch; }
.founder__role { font-family: var(--fh); font-weight: 600; color: var(--steel-700); font-size: 1.05rem; margin: -6px 0 12px; }
.video-slot { margin-top: 22px; aspect-ratio: 16 / 9; background: var(--navy); border-radius: var(--rc); box-shadow: var(--sh); display: grid; place-items: center; text-align: center; color: var(--on-navy); padding: 16px; }
.video-slot__play { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--orange); }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--rc); box-shadow: var(--sh); overflow: hidden; }
.compare > div { padding: 16px 18px; display: flex; align-items: flex-start; gap: 10px; }
.compare__head { background: var(--navy); font-family: var(--fh); font-weight: 600; color: var(--on-navy-soft); font-size: 13px; }
.compare__head--us { font-weight: 700; color: var(--orange-on-navy); }
.compare__them { background: rgba(255, 255, 255, .03); color: var(--on-navy); }
.compare__us { background: rgba(232, 113, 10, .07); color: #fff; }
.compare svg { flex: none; margin-top: 3px; }

/* ---------- Trades ---------- */
.ticks { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-family: var(--fh); font-weight: 600; color: var(--navy); font-size: 1.05rem; line-height: 1.1; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 14px; font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 1; }
.faq summary svg { flex: none; color: var(--steel); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); line-height: 1.6; }

/* ---------- Teaser ---------- */
.teaser { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: center; }
.teaser h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.05; margin-bottom: 8px; }
.teaser p { color: var(--on-navy); font-size: 1.08rem; }
.band-cta { border-top: 4px solid var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-navy); }
.site-footer__grid { padding-top: 44px; padding-bottom: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.site-footer__logo { width: 240px; max-width: 100%; height: auto; }
.site-footer__head { font-family: var(--fh); font-weight: 600; letter-spacing: .6px; color: var(--on-navy-soft); font-size: 13px; margin-bottom: 12px; }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #D6DEE5; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: .9rem; line-height: 1.7; }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__base .wrap { padding-top: 16px; padding-bottom: 16px; font-size: .82rem; color: var(--on-navy-soft); }

/* ---------- Sticky mobile CTA + cookie banner ---------- */
.sticky-cta { display: none; transition: transform .25s ease; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.sticky-cta .btn { min-height: 52px; font-size: 17px; }

.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); border-top: 2px solid var(--steel); }
.cookie .wrap { max-width: 1000px; padding-top: 18px; padding-bottom: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: center; }
.cookie p { color: #D6DEE5; font-size: .95rem; }
.cookie p a { color: #fff; text-decoration: underline; }
.cookie__btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie__btns button { min-height: 48px; padding: 0 22px; background: transparent; border: 2px solid #6E8398; color: #fff; font-family: var(--fh); font-weight: 700; font-size: 15px; letter-spacing: .3px; border-radius: var(--r); }
.cookie__btns button:hover { border-color: #fff; }

@media (max-width: 880px) {
  .site-nav { display: none; }
  .site-header__mob { display: inline-flex; }
  .sticky-cta { display: block; }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  body.has-sticky .site-footer { padding-bottom: 88px; }
}

/* =====================================================================
   Leak Check
   ===================================================================== */
.leak { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 52px) 18px; }
.leak__screen { animation: fade-up .3s ease; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fh); font-weight: 600; letter-spacing: .4px; font-size: 14px; color: var(--steel-700); margin-bottom: 22px; }
.leak h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.03; margin-bottom: 16px; text-wrap: balance; }
.leak__intro { color: var(--muted); font-size: 1.12rem; margin-bottom: 28px; text-wrap: pretty; }
.leak__start { min-height: 58px; font-size: 19px; }

.progress-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--fh); font-weight: 700; font-size: 14px; color: var(--steel-700); }
.progress-head span:last-child { color: var(--navy); }
.progress { height: 8px; background: var(--steel-100); border-radius: 99px; overflow: hidden; margin-bottom: 28px; }
.progress__bar { height: 100%; background: var(--orange); border-radius: 99px; transition: width .3s; }

.q { margin-bottom: 16px; border: 1px solid var(--line); }
.q legend { float: left; width: 100%; padding: 0; font-family: var(--fh); font-weight: 600; color: var(--navy); font-size: 1.28rem; line-height: 1.2; margin: 0 0 18px; }
.q legend + * { clear: both; }
fieldset.q { min-width: 0; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale__ends { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: .8rem; }

/* Radio "chips": real radio inputs for keyboard + screen reader support */
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 8px 12px; border-radius: var(--r);
  font-family: var(--fh); font-weight: 700; font-size: 17px; line-height: 1.1;
  background: #fff; color: var(--navy); border: 1px solid var(--field-line);
  transition: all .12s;
}
.scale .chip span { font-size: 20px; padding: 8px 4px; }
.chip:hover span { border-color: var(--steel); }
.chip input:checked + span { background: var(--steel); color: #fff; border: 2px solid var(--steel); box-shadow: 0 4px 10px -4px rgba(62, 108, 142, .7); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

.leak__nav { display: flex; gap: 12px; margin-top: 26px; }
.leak__nav .btn { min-height: 54px; font-size: 17px; }
.leak__nav .btn--primary { flex: 1; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--fh); font-weight: 600; color: var(--navy); font-size: .92rem; }
.field__label em { color: var(--muted); font-style: normal; font-weight: 400; }
.field input[type="text"], .field input[type="email"] {
  min-height: 50px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: var(--r);
  font-size: 1rem; background: #fff; font-family: var(--fb); color: var(--ink);
}
.field input[aria-invalid="true"] { border: 2px solid var(--bad); background: var(--bad-050); }
.field__error { color: var(--bad); font-size: .85rem; }
.gate-form { display: flex; flex-direction: column; gap: 16px; }
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .95rem; }
.consent input { width: 22px; height: 22px; accent-color: var(--steel); flex: none; margin-top: 2px; cursor: pointer; }
.consent a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-box { margin-top: 20px; min-height: 65px; }
.gate-note { color: var(--muted); font-size: .85rem; margin-top: 12px; }
.alert { border-radius: var(--r); padding: 12px 14px; font-size: .92rem; margin-top: 12px; }
.alert--bad { background: var(--bad-050); color: var(--bad); border: 1px solid #E9B8AD; }

.result-score { border-top: 5px solid var(--band); margin-bottom: 18px; padding: 26px; }
.result-score__nums { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.result-score__total { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 3.4rem; line-height: 1; }
.result-score__of { font-family: var(--fh); font-weight: 600; color: var(--muted); font-size: 1.4rem; }
.result-score__band { flex-basis: 100%; font-family: var(--fh); font-weight: 700; font-size: 1.35rem; line-height: 1.15; color: var(--band-text); background: var(--band-tint); padding: 10px 14px; border-radius: var(--r); margin-top: 6px; }
.result-label { font-family: var(--fh); font-weight: 700; color: var(--steel-700); font-size: 14px; margin-bottom: 14px; }
.result-card { margin-bottom: 18px; }
.weak { display: flex; flex-direction: column; gap: 10px; }
.weak__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--steel-050); }
.weak__score { flex: none; width: 54px; height: 48px; border-radius: var(--r); background: var(--bad-050); color: var(--bad); display: flex; align-items: center; justify-content: center; white-space: nowrap; font-family: var(--fh); font-weight: 700; font-size: 1.2rem; }
.weak__title { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 1.12rem; line-height: 1.15; }
.weak__text { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.pkg h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.05; margin-bottom: 14px; }
.pkg__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.pkg__price strong { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 3rem; line-height: 1; }
.pkg__pill { display: inline-block; margin-top: 14px; font-family: var(--fh); font-weight: 700; font-size: 14px; background: var(--steel-100); color: var(--steel-700); padding: 5px 12px; border-radius: 99px; }
.pkg__note { color: var(--muted); font-size: .92rem; margin-top: 14px; }

/* ---------- Simple content page (privacy) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 52px) 18px var(--section-pad); }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 16px; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--ink); margin-bottom: 12px; }
.prose .todo { background: var(--warn-050); border: 1px solid #EAC98C; border-radius: var(--r); padding: 12px 14px; color: var(--warn); }

/* =====================================================================
   Leak visual — 3D "leaking toolbox" in the "Where the money leaks out"
   section. Scene is built by assets/js/leak-visual.js. All classes are
   prefixed lv- so nothing clashes with the rest of the site.
   ===================================================================== */
.lv-section {
  --lv-quotes: #5FA8D3; --lv-money: #F5923E; --lv-materials: #7FB27A; --lv-callbacks: #C98BB9;
  --lv-leak-red: #E0634C;
}

/* Layout: mobile = intro, stage, cards. Desktop = intro + cards left, stage right. */
.lv-layout { display: grid; gap: 28px; grid-template-areas: "intro" "visual" "cards"; }
.lv-intro { grid-area: intro; }
.lv-visual { grid-area: visual; width: 100%; max-width: 620px; justify-self: center; }
.lv-cards { grid-area: cards; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 900px) {
  .lv-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "intro visual" "cards visual";
    column-gap: clamp(32px, 4vw, 56px); row-gap: 26px; align-items: start;
  }
  .lv-visual { max-width: none; align-self: center; }
  .lv-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* Cards linked to the leaks */
.lv-card__title { display: flex; align-items: center; gap: 9px; }
.lv-marker {
  flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--lv-c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lv-c) 25%, transparent); transition: background .4s, box-shadow .4s;
}
/* Space is always reserved so cards don't change height (no layout shift);
   the line fades in when fixed and is hidden from screen readers when not. */
.lv-outcome {
  visibility: hidden; opacity: 0; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
  font-family: var(--fh); font-weight: 700; font-size: 1.02rem; color: var(--ok);
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.lv-is-fixed .lv-card { border-top-color: var(--ok); }
.lv-is-fixed .lv-marker { background: var(--ok); box-shadow: 0 0 0 3px rgba(35, 122, 84, .2); }
.lv-is-fixed .lv-outcome { visibility: visible; opacity: 1; transition: opacity .35s ease, visibility 0s; }

/* Stage */
.lv-stage {
  position: relative; width: 100%; aspect-ratio: 560 / 450; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(95, 168, 211, .18), transparent 70%),
    radial-gradient(130% 95% at 50% 30%, #2D4A67 0%, #1B2E43 55%, #111E2C 100%);
  border: 1px solid #2E4258;
  box-shadow: 0 30px 60px -28px rgba(23, 38, 54, .65), inset 0 1px 0 rgba(255, 255, 255, .06);
  touch-action: pan-y;
}
/* Under 768px the stage is about a third shorter, so the first leak card
   shows without scrolling past the whole graphic. */
@media (max-width: 767px) { .lv-stage { aspect-ratio: 560 / 300; } }
@media (max-width: 520px) { .lv-stage { aspect-ratio: 1 / .7; } }
.lv-scene { position: absolute; inset: 0; perspective: 1300px; perspective-origin: 50% 30%; }
.lv-world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.lv-world div { transform-style: preserve-3d; }
.lv-g, .lv-box { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.lv-face { position: absolute; backface-visibility: visible; border: 1px solid rgba(8, 16, 26, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10); }
.lv-face--front.lv-ribbed::before, .lv-face--right.lv-ribbed::before {
  content: ""; position: absolute; inset: 14px 14px 16px; border-radius: 3px;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .16) 0 2px, rgba(255, 255, 255, .07) 2px 3px, transparent 3px 17px);
}
.lv-lid-panel::before { content: ""; position: absolute; inset: 12px 16px; border: 2px solid rgba(255, 255, 255, .14); border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.lv-plate {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--fh); font-weight: 700; font-size: 11px; letter-spacing: .08em; color: #fff; white-space: nowrap;
}
.lv-rivet { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9FB2C3 45%, #4A6076); box-shadow: 0 1px 1px rgba(0, 0, 0, .4); }

/* Particles (all aria-hidden) */
.lv-p { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.lv-p > .lv-s { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.lv-world .lv-s, .lv-world .lv-s * { transform-style: flat; }
.lv-drop { width: 9px; height: 12px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .18), inset 2px 2px 0 rgba(255, 255, 255, .35); }
.lv-clock { width: 24px; height: 24px; }
.lv-phone { width: 24px; height: 24px; border-radius: 50%; background: var(--lv-callbacks); display: grid; place-items: center; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2), 0 0 10px rgba(201, 139, 185, .5); }
.lv-paper { width: 32px; height: 40px; background: #fff; border-radius: 3px; padding: 0 0 3px; box-shadow: 0 2px 4px rgba(0, 0, 0, .4); overflow: hidden; }
.lv-paper__head { display: block; background: var(--orange-700); color: #fff; font-family: var(--fh); font-weight: 700; font-size: 6.5px; letter-spacing: .06em; text-align: center; line-height: 9px; }
.lv-paper--quote .lv-paper__head { background: #2F6F98; }
.lv-paper__amt { display: block; text-align: center; font-family: var(--fh); font-weight: 700; font-size: 15px; line-height: 16px; color: var(--navy); margin-top: 2px; }
.lv-paper b { display: block; height: 2px; background: #C9D5DF; margin: 3px 4px 0; }
.lv-coin .lv-d { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; }
.lv-coin .lv-d1 { background: radial-gradient(circle at 35% 30%, #FFE3B5, #F5B04A 45%, #D8751A); display: grid; place-items: center; font-family: var(--fh); font-weight: 700; font-size: 19px; line-height: 1; color: #7A3A04; box-shadow: inset 0 0 0 2px rgba(138, 67, 6, .35); }
.lv-coin .lv-d2 { background: #B9620F; }
.lv-coin .lv-d3 { background: radial-gradient(circle at 60% 60%, #F5B04A, #C86A12); box-shadow: inset 0 0 0 2px rgba(138, 67, 6, .35); }
.lv-bead { width: 12px; height: 12px; border-radius: 50%; animation: lv-bead 1.2s ease-in-out infinite; transition: background .5s, box-shadow .5s; }
@keyframes lv-bead { 0%, 100% { box-shadow: 0 0 6px 2px var(--bc); } 50% { box-shadow: 0 0 14px 5px var(--bc); } }
.lv-fixed .lv-bead { background: var(--lv-materials) !important; animation: none; box-shadow: 0 0 8px 2px rgba(127, 178, 122, .7); }
.lv-badge { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9FD39A, #3E9A5E 60%, var(--ok)); display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(127, 178, 122, .25), 0 0 26px rgba(127, 178, 122, .6); }

/* Floor */
.lv-floor-item { position: absolute; left: 0; top: 0; border-radius: 50%; }
.lv-puddle { border-radius: 48% 52% 44% 56% / 54% 46% 56% 44%; transition: width .45s ease, height .45s ease; }
.lv-fixed .lv-puddle { transition: width 1.6s ease, height 1.6s ease; }
.lv-grid {
  position: absolute; left: -500px; top: -500px; width: 1000px; height: 1000px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 50px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 12%, transparent 55%);
          mask-image: radial-gradient(circle at 50% 50%, #000 12%, transparent 55%);
}

/* Overlays: status label + toggle */
.lv-hud {
  position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 0 14px; border-radius: 12px;
  background: rgba(17, 30, 44, .72); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lv-hud__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lv-leak-red); animation: lv-ping 1.6s infinite; }
.lv-fixed .lv-hud__dot { background: var(--lv-materials); animation: none; box-shadow: 0 0 8px rgba(127, 178, 122, .8); }
@keyframes lv-ping { 0% { box-shadow: 0 0 0 0 rgba(224, 99, 76, .55); } 100% { box-shadow: 0 0 0 9px rgba(224, 99, 76, 0); } }
.lv-hud__label { font-family: var(--fh); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1; }
.lv-fixed .lv-hud__label { color: #9FD39A; }

.lv-toggle {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; cursor: pointer;
  font-family: var(--fh); font-weight: 700; font-size: 15px; letter-spacing: .02em; color: #fff;
  background: rgba(17, 30, 44, .6); border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 10px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s;
}
.lv-toggle:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.lv-toggle:focus-visible { outline: 3px solid var(--orange-on-navy); outline-offset: 2px; }
@media (max-width: 520px) {
  .lv-hud { left: 10px; top: 10px; padding: 0 10px; }
  .lv-hud__label { font-size: 13px; }
  .lv-toggle { right: 10px; top: 10px; font-size: 14px; padding: 0 12px; }
}

.lv-labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lv-anchor { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.lv-label {
  position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transition: opacity .35s ease;
  font-family: var(--fh); font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: .02em; color: #fff;
  background: rgba(17, 30, 44, .82); border: 1px solid rgba(255, 255, 255, .14); border-left: 3px solid var(--lv-c);
  border-radius: 6px; padding: 4px 7px;
}
.lv-label.is-on { opacity: 1; }
.lv-fixed .lv-label { opacity: 0; }
@media (max-width: 520px) { .lv-label { font-size: 11px; padding: 3px 6px; } }

@media (prefers-reduced-motion: reduce) {
  .lv-label { transition: none; }
  .lv-bead, .lv-hud__dot { animation: none !important; }
  .lv-outcome, .lv-is-fixed .lv-outcome { transition: none; }
}
