/* TaxiHat marketing landing pages (/lp/*) and the presentation deck: tokens + section components. Mobile first (360-430px is the primary target).
   The LP shell (header, lead form, thank-you, footer, sticky bar, cookie bar on the lean layout) lives in lp-shell.css,
   which only the /lp/* layout (landing/page.php) loads; /presentation (site chrome) loads this file without it.
   Spec: specs/marketing-landing-pages/ux-plan.md. No Bootstrap, no jQuery. Logical properties only. Hex colors live in the token blocks only.
   Art (mockups, hero scenes, animation): lp-art.css */

:root {
  --lp-yellow: #f5b800; --lp-yellow-soft: #fff3cc; --lp-yellow-ink: #1a1a1a;
  --lp-ink: #14161f; --lp-ink2: #3b4254; --lp-mute: #566074; --lp-line: #dfe4ee; --lp-white: #fff; --lp-soft: #F2F7F4;
  --lp-green: #0b7a4b; --lp-green-bg: #dff5e8; --lp-amber-ink: #6b4500; --lp-amber-bg: #fff0c2; --lp-red: #b3261e;
  --lp-wa: #128c4a; --lp-focus: #0d6efd; --lp-navy: #0b1330; --lp-navy2: #172354; /* navy = product mockups only */
  /* brand 2026-12 (Itai: no blue wash): page canvases use the logo greens, amber stays the one accent */
  --lp-deep: #0A2A21; --lp-deep2: #12392C; --lp-hat: #0F5C45; --lp-mint: #E6F2EC;
  --lp-r: 16px;
  --lp-shadow-s: 0 1px 2px rgba(20, 22, 31, .06), 0 4px 12px rgba(20, 22, 31, .08);
  --lp-shadow: 0 2px 4px rgba(20, 22, 31, .06), 0 12px 28px rgba(20, 22, 31, .12), 0 32px 56px -16px rgba(20, 22, 31, .22);
  --lp-warm: 0 18px 40px -14px rgba(245, 184, 0, .6);
  --lp-pad: 20px;
  /* theme tokens (default = ink) */
  --lp-hero-bg: linear-gradient(135deg, var(--lp-mint) 0%, #fff 38%) , #fff;
  --lp-fg: var(--lp-ink); --lp-fg2: var(--lp-ink2); --lp-accent: var(--lp-hat);
  --lp-band-bg: var(--lp-soft); --lp-final-bg: var(--lp-deep); --lp-final-fg: #fff;
  --lp-page-bg: #fff;
}
.lp-t-night {
  --lp-hero-bg: radial-gradient(120% 70% at 85% 0%, #1B6B50 0%, transparent 60%), linear-gradient(180deg, var(--lp-deep), #0D3528);
  --lp-fg: #fff; --lp-fg2: #D3E4DA; --lp-accent: var(--lp-yellow);
  --lp-band-bg: var(--lp-deep2); --lp-final-bg: var(--lp-deep);
}
.lp-t-blueprint {
  --lp-hero-bg: linear-gradient(rgba(15, 92, 69, .09) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(15, 92, 69, .09) 1px, transparent 1px) 0 0 / 28px 28px, #F1F7F3;
  --lp-accent: #0B6B4A; --lp-final-bg: var(--lp-hat);
}
.lp-t-ledger {
  --lp-hero-bg: radial-gradient(90% 60% at 100% 100%, #7fd8b0 0%, transparent 60%), linear-gradient(165deg, #fff 0%, #e6f6ee 60%, #c6ecd9 100%);
  --lp-accent: #0b7a4b; --lp-final-bg: #07553a;
}
.lp-t-chat {
  --lp-hero-bg: radial-gradient(rgba(255, 255, 255, .55) 1.5px, transparent 2px) 0 0 / 22px 22px, #dfead9;
  --lp-accent: #128c4a; --lp-final-bg: #0e6e3b;
}

*, *::before, *::after { box-sizing: border-box; }
/* Element resets apply only inside the LP shell (html.lp-doc) and the presentation deck root (.lp-scope), so the deck can sit
   inside the Bootstrap site chrome (/presentation) without restyling the site header and footer. :where() keeps the
   specificity of the bare element selectors, so the LP cascade is unchanged. */
:where(html.lp-doc) { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-block-start: 12px; }
:where(.lp-doc) body {
  margin: 0; font-family: 'Heebo', 'Heebo Fallback', -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 18px; line-height: 1.55; color: var(--lp-ink); background: var(--lp-page-bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-block-end: calc(76px + env(safe-area-inset-bottom, 0px));
}
:where(.lp-doc, .lp-scope) :is(img, svg) { max-inline-size: 100%; }
:where(.lp-doc, .lp-scope) img { block-size: auto; display: block; }
:where(.lp-doc, .lp-scope) :is(h1, h2, p, ul, ol) { margin: 0; padding: 0; }
:where(.lp-doc, .lp-scope) :is(ul, ol) { list-style: none; }
:where(.lp-doc, .lp-scope) a { color: inherit; }
:where(.lp-doc, .lp-scope) button { font: inherit; }
:where(.lp-doc, .lp-scope) :focus-visible { outline: 3px solid var(--lp-focus); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.lp-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-i { inline-size: 1.25em; block-size: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-wrap { max-inline-size: 1140px; margin-inline: auto; padding-inline: var(--lp-pad); }
bdi { unicode-bidi: isolate; }
#main-content:focus { outline: none; }

/* Header logo scales with the viewport: 160px on phones, ~370px at 1440, 400px cap (specs/marketing-landing-pages/ux-plan.md, Decisions 2026-12-01).
   Same formula as the `sizes` attr in page.php and .lp-focus-head (homepage2/main.css); 880/1320w WebP keep it sharp.
   The header overlays the hero, so the hero's top padding follows the header height (--lp-head-h), never a constant. */
:root { --lp-logo-w: clamp(160px, calc(20vw + 82px), 400px); --lp-head-h: calc(var(--lp-logo-w) * 400 / 1330 + 16px); }
/* hero */
.lp-hero { background: var(--lp-hero-bg); color: var(--lp-fg); position: relative; overflow: hidden; padding-block: calc(var(--lp-head-h) + 8px) 36px; }
.lp-t-night .lp-hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background: repeating-linear-gradient(100deg, transparent 0 46px, rgba(245, 184, 0, .12) 46px 49px, transparent 49px 120px) ; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
.lp-hero-in { display: grid; gap: 28px; position: relative; }
.lp-hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.lp-hl { color: inherit; background: linear-gradient(transparent 62%, var(--lp-yellow) 62% 92%, transparent 92%); padding-inline: .08em; }
/* mobile: the definition line + sub were 6 lines of 18px and pushed the product visual fully below a 360x640 fold. Tighter, still 16px+. */
.lp-def { margin-block-start: 12px; font-size: 16.5px; font-weight: 600; line-height: 1.45; color: var(--lp-fg2); }
.lp-sub { margin-block-start: 8px; font-size: 17px; line-height: 1.5; color: var(--lp-fg2); }
.lp-note { margin-block-start: 10px; font-size: 16px; color: var(--lp-fg2); padding-inline-start: 12px; border-inline-start: 4px solid var(--lp-yellow); }
.lp-ctas { margin-block-start: 20px; display: grid; gap: 6px; }
.lp-ctas--both { grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-ctas--both .lp-btn { font-size: 16px; padding-inline: 8px; line-height: 1.2; }
.lp-trust { margin-block-start: 14px; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--lp-fg2); }
.lp-trust .lp-i { color: var(--lp-green); }
.lp-t-night .lp-trust .lp-i { color: var(--lp-yellow); }

/* buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 56px; padding: 10px 20px; border-radius: 14px; border: 2px solid transparent; font-weight: 800; font-size: 18px; text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.lp-btn:active { transform: translateY(1px) scale(.99); }
.lp-btn--y { background: var(--lp-yellow); color: var(--lp-yellow-ink); box-shadow: var(--lp-warm); }
.lp-btn--o { background: transparent; color: var(--lp-fg); border-color: currentColor; }
.lp-btn--wa { background: #fff; color: var(--lp-wa); border-color: var(--lp-wa); font-size: 17px; }
.lp-btn--wa[hidden] { display: none; }
.lp-btn--block { inline-size: 100%; }
.lp-link { display: inline-flex; align-items: center; gap: 8px; min-block-size: 48px; font-weight: 700; font-size: 17px; text-decoration: underline; text-underline-offset: 4px; color: var(--lp-fg); }
.lp-link .lp-i { text-decoration: none; }
.lp-link--c { justify-content: center; inline-size: 100%; }
.lp-link--w { color: inherit; }

/* feature strip */
.lp-strip { background: var(--lp-white); border-block-end: 1px solid var(--lp-line); }
.lp-strip-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 18px; }
.lp-strip li { display: flex; align-items: center; gap: 10px; min-block-size: 56px; padding: 6px 10px; border-radius: 14px; background: var(--lp-soft); font-weight: 700; font-size: 16px; line-height: 1.25; }
.lp-strip li .lp-i { inline-size: 40px; block-size: 40px; padding: 9px; border-radius: 12px; background: var(--lp-yellow); color: var(--lp-yellow-ink); }

/* shared bits */
.lp-h2 { font-size: clamp(1.5rem, 6vw, 2.25rem); line-height: 1.2; font-weight: 800; text-wrap: balance; }
.lp-h2--c { text-align: center; }
.lp-hint { margin-block-start: 6px; font-size: 17px; color: var(--lp-mute); }
.lp-cap { margin-block-start: 10px; text-align: center; font-size: 14px; color: var(--lp-mute); }

/* lead band + form */
.lp-band { background: var(--lp-band-bg); padding-block: 36px; }
/* proof rows */
.lp-proof { padding-block: 40px; }
.lp-proof:nth-of-type(even) { background: var(--lp-soft); }
.lp-prow { display: grid; gap: 24px; align-items: center; }
.lp-ptext p { margin-block-start: 10px; color: var(--lp-ink2); }
.lp-checks { margin-block-start: 14px; display: grid; gap: 8px; }
.lp-checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 17px; }
.lp-checks .lp-i { color: var(--lp-green); margin-block-start: 3px; stroke-width: 3; }
.lp-legend { margin-block-start: 14px; display: grid; gap: 8px; font-size: 16px; color: var(--lp-ink2); }
.lp-legend li { display: flex; align-items: center; gap: 10px; }
.lp-dotn { display: inline-grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 50%; background: var(--lp-yellow); color: var(--lp-yellow-ink); font-weight: 800; font-size: 14px; flex: none; }
.lp-steps { margin-block-start: 24px; display: grid; gap: 12px; max-inline-size: 760px; margin-inline: auto; }
.lp-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border-radius: 16px; box-shadow: var(--lp-shadow-s); }
.lp-steps b { font-size: 20px; }
.lp-steps li > span:last-child { grid-column: 2; color: var(--lp-ink2); font-size: 16px; }
.lp-stepn { grid-row: 1 / 3; inline-size: 48px; block-size: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--lp-yellow); color: var(--lp-yellow-ink); font-weight: 800; font-size: 22px; }

/* faq */
.lp-faq { padding-block: 40px; background: #fff; }
.lp-faq-in { max-inline-size: 760px; }
.lp-faq details { margin-block-start: 12px; border: 2px solid var(--lp-line); border-radius: 14px; background: #fff; }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-block-size: 56px; padding: 8px 16px; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--lp-accent); flex: none; }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { padding: 0 16px 16px; color: var(--lp-ink2); }
.lp-faq details a { color: var(--lp-accent); font-weight: 700; }

/* final band */
.lp-final { background: var(--lp-final-bg); color: var(--lp-final-fg); padding-block: 44px; text-align: center; }
.lp-final-in { display: grid; gap: 18px; justify-items: center; }
.lp-final-cta { inline-size: 100%; max-inline-size: 420px; }
.lp-final-cta .lp-btn { inline-size: 100%; }
.lp-share-d { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; inline-size: 100%; }
.lp-share-d .lp-btn { flex: 1 1 160px; max-inline-size: 240px; }

/* balanced page (D): two equal buttons in one row wrapped each label to 2 lines at 360px. Stack them, same size, below 420px. */
@media (max-width: 419px) {
  .lp-ctas--both { grid-template-columns: 1fr; }
  .lp-ctas--both .lp-btn { font-size: 18px; }
}
@media (min-width: 768px) {
  .lp-def { font-size: 19px; }
  .lp-sub { font-size: 18px; }
}

@media (min-width: 640px) {
  .lp-strip-in { grid-template-columns: repeat(4, 1fr); }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-steps li { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 6px; padding: 20px 14px; }
  .lp-stepn { grid-row: auto; }
  .lp-steps li > span:last-child { grid-column: 1; }
}
@media (min-width: 768px) {
  :root { --lp-pad: 28px; }
  .lp-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
  .lp-ctas--both { display: grid; max-inline-size: 560px; }
  .lp-ctas .lp-btn--y { padding-inline: 28px; }
  .lp-link--o { padding: 0 22px; min-block-size: 56px; border: 2px solid currentColor; border-radius: 14px; text-decoration: none; }
  .lp-proof { padding-block: 64px; }
  .lp-prow { grid-template-columns: 1fr 1fr; gap: 56px; }
  .lp-prow--rev .lp-ptext { order: 2; }
  .lp-band { padding-block: 56px; }
  .lp-hero { padding-block: calc(var(--lp-head-h) + 16px) 64px; }
}
@media (min-width: 960px) {
  .lp-hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* features explorer (ux-plan 19): card grid + in-page <dialog> sheet (bottom sheet on phones, centered panel on desktop) */
.lp-link--feat { gap: 8px; }
.lp-link--feat .lp-i { inline-size: 1.1em; block-size: 1.1em; }
.lp-feats { padding-block: 44px; background: var(--lp-soft); }
.lp-feats-sub { text-align: center; margin-block-end: 20px; }
.lp-fgrid-h { margin-block-start: 8px; text-align: center; font-size: 20px; font-weight: 800; }
.lp-fgrid { margin-block-start: 24px; display: grid; gap: 14px; }
.lp-fcard { position: relative; display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto 1fr auto; column-gap: 14px; padding: 12px; background: var(--lp-white); border-radius: 18px; box-shadow: var(--lp-shadow-s); }
.lp-fthumb { grid-row: 1 / 4; block-size: 112px; border-radius: 12px; overflow: hidden; background: var(--lp-mint); display: grid; place-items: start center; padding-block-start: 8px; }
.lp-fthumb .lp-shot { pointer-events: none; }
.lp-fthumb .lp-phone { --pw: 92px; }
.lp-fthumb { position: relative; }
.lp-fthumb .lp-shot--card { position: absolute; inset-block-start: 8px; left: 50%; inline-size: 220px; translate: -50% 0; scale: .5; transform-origin: top center; }
.lp-fh { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; line-height: 1.25; }
.lp-fic { inline-size: 32px; block-size: 32px; padding: 6px; border-radius: 10px; background: var(--lp-yellow); color: var(--lp-yellow-ink); }
.lp-fs { margin-block-start: 4px; font-size: 16px; color: var(--lp-ink2); }
.lp-fopen { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; margin-block-start: 4px; padding: 0; border: 0; background: none; color: var(--lp-hat); font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.lp-fopen[hidden] { display: none; }
.lp-fopen::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }   /* the whole card is the target */
.lp-fopen:focus-visible { outline: none; }
.lp-fcard:has(.lp-fopen:focus-visible) { outline: 3px solid var(--lp-focus); outline-offset: 2px; }
.lp-fcard:has(.lp-fopen:not([hidden])):hover { box-shadow: var(--lp-shadow); }
.lp-fsheet { position: relative; inline-size: 92px; display: grid; gap: 5px; padding: 8px; margin-block-start: 6px; background: var(--lp-white); border: 1.5px solid #B9D8C4; border-radius: 8px; }
.lp-fsheet i { display: block; block-size: 10px; border-radius: 3px; background: repeating-linear-gradient(90deg, #DCEFE3 0 30%, transparent 30% 34%); }
.lp-fsheet .hd { background: #1D6F42; }
.lp-fsheet span { position: absolute; inset-block-end: -10px; inset-inline-end: -10px; padding: 1px 6px; border-radius: 6px; background: #1D6F42; color: var(--lp-white); font-weight: 700; font-size: 11px; }

.lp-sheet { --lp-fg: var(--lp-ink); --lp-fg2: var(--lp-ink2); inline-size: 100%; max-inline-size: 100%; max-block-size: 88dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--lp-white); color: var(--lp-ink); box-shadow: var(--lp-shadow); overflow: auto; overscroll-behavior: contain; }
.lp-sheet::backdrop { background: rgba(10, 42, 33, .55); }
.lp-sheet-in { padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; }
.lp-sheet-in::before { content: ""; justify-self: center; inline-size: 44px; block-size: 5px; border-radius: 99px; background: var(--lp-line); }
.lp-sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-sheet-h { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; line-height: 1.25; }
.lp-sheet-x { flex: none; display: grid; place-items: center; inline-size: 48px; block-size: 48px; border: 0; border-radius: 50%; background: var(--lp-soft); color: var(--lp-ink); cursor: pointer; }
.lp-sheet-art { display: grid; place-items: center; padding-block: 8px; border-radius: 16px; background: var(--lp-mint); }
.lp-sheet-art .lp-phone { --pw: 200px; }
.lp-sheet-art .lp-shot--card { inline-size: min(100%, 440px); }
.lp-sheet-art .lp-fsheet { inline-size: 160px; margin-block: 10px 18px; gap: 8px; padding: 12px; }
.lp-sheet-art .lp-fsheet i { block-size: 16px; }
/* Excel export art (features sheet only, lp.js adds .is-in on open): rows drop into the file one by one, then the download badge pops and
   nudges down. 5s loop. Base style = the final frame (rows in, badge shown) = thumbnail, reduced motion, no JS. */
.lp-fsheet .dl { position: absolute; inset-block-start: -10px; inset-inline-start: -10px; inline-size: 26px; block-size: 26px; display: grid; place-items: center; border-radius: 50%; background: #1D6F42; box-shadow: 0 2px 8px rgba(10, 42, 33, .3); }
.lp-fsheet .dl svg { inline-size: 15px; block-size: 15px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-fsheet.is-in i { animation: xl-row 5s ease-out infinite; }
.lp-fsheet.is-in i:nth-child(2) { animation-delay: .25s; } .lp-fsheet.is-in i:nth-child(3) { animation-delay: .5s; }
.lp-fsheet.is-in i:nth-child(4) { animation-delay: .75s; } .lp-fsheet.is-in i:nth-child(5) { animation-delay: 1s; }
.lp-fsheet.is-in .dl { animation: xl-dl 5s ease-out infinite; }
@keyframes xl-row { 0% { opacity: 0; transform: translateY(-22px); } 10%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-22px); } }
@keyframes xl-dl { 0%, 34% { opacity: 0; transform: scale(.5); } 42% { opacity: 1; transform: scale(1.2); } 48%, 88% { opacity: 1; transform: none; } 62% { translate: 0 3px; } 70% { translate: 0 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lp-fsheet.is-in i, .lp-fsheet.is-in .dl { animation: none; } }
.lp-sheet .lp-checks { margin-block-start: 0; }
.lp-sheet-note { margin-block-start: 0; }
.lp-sheet-cta .lp-btn { inline-size: 100%; }
.lp-js .lp-sheet[open] { animation: lp-sheet-up .25s ease-out; }
@keyframes lp-sheet-up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 640px) {
  .lp-fgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .lp-feats { padding-block: 64px; }
  .lp-sheet { inline-size: min(92vw, 620px); margin: auto; border-radius: 22px; max-block-size: 90dvh; }
  .lp-sheet-in { padding: 16px 24px 24px; }
  .lp-sheet-in::before { display: none; }
  @keyframes lp-sheet-up { from { transform: scale(.97); opacity: 0; } }
}
@media (min-width: 960px) {
  .lp-fgrid { grid-template-columns: repeat(3, 1fr); }
}
