/* Fleet landing page (/welcome). Editorial, document-style minimalism:
   warm monochrome surfaces, IBM Plex Serif headings (same family as the product's Plex Sans/Mono), teal only as a
   small accent, 1px hairlines, flat screenshots in a plain window frame, no gradients, glows or tilted mock-ups.
   Light and dark follow the app's theme toggle (data-theme on <html>); dark is the app default. */

.lp {
    /* dark (app default) */
    --l-bg: #121211;
    --l-surface: #191918;
    --l-raised: #1f1f1e;
    --l-line: rgba(255, 255, 255, 0.08);
    --l-line-strong: rgba(255, 255, 255, 0.14);
    --l-text: #ecebe8;
    --l-head: #f6f5f2;
    --l-muted: #9c9a95;
    --l-btn-bg: #f2f1ed;
    --l-btn-fg: #141413;
    --l-btn-hover: #ffffff;
    --l-accent: var(--accent);
    --l-serif: "IBM Plex Serif", Georgia, serif;
    --l-sans: var(--sans);
    --l-mono: var(--mono);
    --l-max: 1120px;
    --l-ease: cubic-bezier(0.16, 1, 0.3, 1);

    min-height: 100dvh;
    background: var(--l-bg);
    color: var(--l-text);
    font: 400 16px/1.6 var(--l-sans);
    -webkit-font-smoothing: antialiased;
}
:root[data-theme="light"] .lp {
    --l-bg: #fbfbfa;
    --l-surface: #ffffff;
    --l-raised: #f7f6f3;
    --l-line: #eaeaea;
    --l-line-strong: #dcdcda;
    --l-text: #2f3437;
    --l-head: #111111;
    --l-muted: #787774;
    --l-btn-bg: #111111;
    --l-btn-fg: #ffffff;
    --l-btn-hover: #333333;
    --l-accent: var(--accent-dim);
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp-wrap { width: 100%; max-width: var(--l-max); margin: 0 auto; padding: 0 28px; }
.lp :focus-visible { outline: 2px solid var(--l-accent); outline-offset: 3px; border-radius: 4px; }
.lp h1:focus, .lp h1:focus-visible { outline: none; } /* Blazor focuses the h1 after navigation */
.lp-skip { position: absolute; left: -9999px; top: 10px; z-index: 30; padding: 8px 12px; border-radius: 6px; background: var(--l-btn-bg); color: var(--l-btn-fg); }
.lp-skip:focus { left: 12px; }
.lp code { font: 500 0.88em/1 var(--l-mono); padding: 2px 6px; border-radius: 4px; background: var(--l-raised); border: 1px solid var(--l-line); }

/* ---------- nav ---------- */
.lp-nav { position: sticky; top: 0; z-index: 20; height: 64px; background: color-mix(in srgb, var(--l-bg) 88%, transparent); border-bottom: 1px solid var(--l-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (prefers-reduced-transparency: reduce) { .lp-nav { background: var(--l-bg); backdrop-filter: none; } }
.lp-nav-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.lp-logo { display: inline-flex; align-items: center; gap: 9px; font: 600 17px/1 var(--l-sans); letter-spacing: -0.01em; color: var(--l-head); }
.lp-logo-mark { color: var(--l-accent); font-size: 13px; }
.lp-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--l-muted); }
.lp-links a:hover { color: var(--l-head); }
.lp-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lp-theme { width: 34px; height: 34px; border-radius: 6px; border: 1px solid var(--l-line); background: transparent; color: var(--l-muted); cursor: pointer; font-size: 14px; }
.lp-theme:hover { color: var(--l-head); border-color: var(--l-line-strong); }
@media (max-width: 760px) { .lp-links { display: none; } }

/* ---------- buttons: solid, 6px, no shadow ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
    height: 36px; padding: 0 16px; border-radius: 6px; border: 0;
    background: var(--l-btn-bg); color: var(--l-btn-fg) !important; font: 500 14px/1 var(--l-sans);
    transition: background .2s var(--l-ease), transform .15s var(--l-ease);
}
.lp-btn:hover { background: var(--l-btn-hover); }
.lp-btn:active { transform: scale(0.98); }
.lp-btn-lg { height: 44px; padding: 0 22px; font-size: 15px; }
.lp-btn-quiet { font: 500 14.5px/1 var(--l-sans); color: var(--l-head); padding: 10px 4px; }
.lp-btn-quiet:hover { color: var(--l-accent); }
.lp-textlink { font: 500 15px/1 var(--l-sans); color: var(--l-head); }
.lp-textlink span { display: inline-block; transition: transform .2s var(--l-ease); }
.lp-textlink:hover span { transform: translateX(3px); }

/* ---------- type ---------- */
.lp h1, .lp h2 { font-family: var(--l-serif); font-weight: 500; color: var(--l-head); margin: 0; text-wrap: balance; }
.lp h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.03em; max-width: 16ch; }
.lp h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.lp-lede { margin: 22px 0 0; max-width: 58ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--l-muted); text-wrap: pretty; }
.lp-meta { margin: 22px 0 0; font: 400 13px/1.4 var(--l-mono); color: var(--l-muted); }

/* ---------- hero ---------- */
.lp-hero { padding: clamp(56px, 9vw, 104px) 0 clamp(56px, 8vw, 96px); }
.lp-hero-copy { max-width: 760px; }
.lp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.lp-window.lp-hero-window { margin-top: clamp(48px, 7vw, 80px); }

/* plain window frame for screenshots */
.lp-window { margin: 0; border: 1px solid var(--l-line-strong); border-radius: 10px; overflow: hidden; background: var(--l-surface); }
.lp-window-bar { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--l-line); background: var(--l-raised); }
.lp-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--l-line-strong); }
.lp-window img { display: block; width: 100%; height: auto; }

/* ---------- sections ---------- */
.lp-section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--l-line); }
.lp-band { background: var(--l-surface); }
.lp-doc { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lp-doc-head p { margin: 16px 0 0; color: var(--l-muted); max-width: 40ch; text-wrap: pretty; }
.lp-doc-head { position: sticky; top: 96px; }
.lp-doc-head-wide { position: static; max-width: 720px; margin-bottom: 48px; }
.lp-doc-head-wide p { max-width: 62ch; }
@media (max-width: 860px) { .lp-doc { grid-template-columns: 1fr; } .lp-doc-head { position: static; } }

/* hairline list: title + description, separated by 1px rules */
.lp-list { margin: 0; border-top: 1px solid var(--l-line); }
.lp-list > div { padding: 24px 0; border-bottom: 1px solid var(--l-line); }
.lp-list dt { font: 600 17px/1.35 var(--l-sans); color: var(--l-head); letter-spacing: -0.005em; }
.lp-list dd { margin: 6px 0 0; color: var(--l-muted); max-width: 60ch; }
.lp-list-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 0; }
.lp-list-two > div:nth-child(-n+2) { border-top: 1px solid var(--l-line); }
@media (max-width: 640px) { .lp-list-two { grid-template-columns: 1fr; } .lp-list-two > div:nth-child(2) { border-top: 0; } }

/* screenshots with captions below, offset for rhythm */
.lp-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lp-gallery figure { margin: 0; }
.lp-gallery figure:nth-child(2) { margin-top: 64px; }
.lp-gallery figcaption { margin-top: 14px; font-size: 14px; color: var(--l-muted); max-width: 48ch; }
@media (max-width: 860px) { .lp-gallery { grid-template-columns: 1fr; } .lp-gallery figure:nth-child(2) { margin-top: 0; } }

/* FAQ: no boxes, hairlines and a +/- toggle */
.lp-faq { border-top: 1px solid var(--l-line); }
.lp-faq details { border-bottom: 1px solid var(--l-line); }
.lp-faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0;
    list-style: none; cursor: pointer; font: 600 17px/1.35 var(--l-sans); color: var(--l-head);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; flex: 0 0 auto; font: 400 22px/1 var(--l-mono); color: var(--l-muted); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq p { margin: -6px 0 22px; max-width: 64ch; color: var(--l-muted); }

/* closing */
.lp-close-inner { max-width: 720px; }
.lp-close h2 { font-size: clamp(30px, 3.4vw, 44px); }
.lp-close p { margin: 14px 0 28px; color: var(--l-muted); font-size: 17px; }

/* footer */
.lp-footer { border-top: 1px solid var(--l-line); padding: 28px 0 40px; font-size: 14px; color: var(--l-muted); }
.lp-footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.lp-footer nav { margin-left: auto; display: flex; gap: 24px; }
.lp-footer a:hover { color: var(--l-head); }

/* quiet motion: a gentle fade-up as blocks enter (CSS scroll-driven, no script), off under reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .lp-hero-copy > * { animation: lp-in .7s var(--l-ease) both; }
    .lp-hero-copy > *:nth-child(2) { animation-delay: .06s; }
    .lp-hero-copy > *:nth-child(3) { animation-delay: .12s; }
    .lp-hero-copy > *:nth-child(4) { animation-delay: .18s; }
    .lp-hero-window { animation: lp-in .9s var(--l-ease) .2s both; }
    @supports (animation-timeline: view()) {
        .lp-reveal { animation: lp-in linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    }
}
@keyframes lp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- shared public pages: pricing, free check, legal ---------- */
.lp-page-head { padding-top: 72px; padding-bottom: 24px; }
.lp-page-head h1 { font: 500 clamp(36px, 5vw, 52px)/1.1 var(--l-serif); letter-spacing: -0.025em; color: var(--l-head); margin: 0 0 16px; }
.lp-section-tight { padding-top: 16px; }
.lp-nav-actions .lp-btn { white-space: nowrap; }
@media (max-width: 560px) { .lp-nav-actions .lp-btn-quiet { display: none; } }
.lp-btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 6px; border: 1px solid var(--l-line-strong); font: 500 14.5px/1 var(--l-sans); color: var(--l-head); transition: border-color .2s, background .2s; }
.lp-btn-outline:hover { border-color: var(--l-head); }
.lp-btn-outline:active, .lp-btn:active { transform: scale(0.98); }
.lp-footer-legal { flex-basis: 100%; font-size: 13px; }
.lp-footer nav { flex-wrap: wrap; row-gap: 8px; }

.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--l-line); border: 1px solid var(--l-line); border-radius: 12px; overflow: hidden; }
@media (max-width: 960px) { .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pr-grid { grid-template-columns: minmax(0, 1fr); } }
.pr-plan { background: var(--l-surface); padding: 28px 26px 26px; display: flex; flex-direction: column; }
.pr-plan h2 { font: 600 18px/1.2 var(--l-sans); color: var(--l-head); margin: 0 0 14px; }
.pr-price { margin: 0; color: var(--l-muted); font-size: 14px; }
.pr-price b { font: 500 32px/1 var(--l-serif); color: var(--l-head); letter-spacing: -0.02em; margin-right: 4px; }
.pr-sub { margin: 6px 0 0; font-size: 13px; color: var(--l-muted); }
.pr-for { margin: 16px 0 14px; color: var(--l-text); font-size: 15px; }
.pr-plan ul { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; flex: 1; }
.pr-plan li { padding-left: 18px; position: relative; }
.pr-plan li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 1.5px; background: var(--l-accent); }
.pr-plan .lp-btn, .pr-plan .lp-btn-outline { align-self: stretch; }
.pr-featured { background: var(--l-raised); }
.pr-flag { margin: 0 0 10px; font: 500 12px/1 var(--l-mono); color: var(--l-accent); text-transform: uppercase; letter-spacing: 0.06em; }
.pr-note { margin: 18px 0 0; font-size: 13.5px; color: var(--l-muted); max-width: 75ch; }

.fc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
@media (max-width: 880px) { .fc-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.fc-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 16px; }
.fc-steps li { counter-increment: s; padding-left: 40px; position: relative; color: var(--l-text); }
.fc-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--l-line-strong); display: grid; place-items: center; font: 500 12px/1 var(--l-mono); color: var(--l-muted); }
.fc-steps b { color: var(--l-head); font-weight: 600; }
.fc-small { margin-top: 24px; font-size: 14px; color: var(--l-muted); }
.fc-card { background: var(--l-surface); border: 1px solid var(--l-line); border-radius: 12px; padding: 28px; }
.fc-form { display: flex; flex-direction: column; gap: 16px; }
.fc-form label { display: block; font: 500 14px/1.3 var(--l-sans); color: var(--l-head); }
.fc-form label > input:not([type="checkbox"]), .fc-form label > select, .fc-form label > textarea { display: block; margin-top: 6px; }
.fc-form label > .fc-field-error { display: block; margin-top: 5px; }
.fc-opt { margin-left: 4px; }
.fc-form input:not([type="checkbox"]), .fc-form select, .fc-form textarea {
    font: 400 15px/1.4 var(--l-sans); color: var(--l-text); background: var(--l-bg); border: 1px solid var(--l-line-strong); border-radius: 6px; padding: 10px 12px; width: 100%; }
.fc-form input:focus, .fc-form select:focus, .fc-form textarea:focus { outline: 2px solid var(--l-accent); outline-offset: 0; border-color: transparent; }
.fc-form textarea { resize: vertical; }
.fc-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.fc-opt { font-weight: 400; color: var(--l-muted); font-size: 12.5px; }
.fc-consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 13.5px !important; color: var(--l-text) !important; }
.fc-consent input { margin-top: 3px; accent-color: var(--l-accent); }
.fc-consent a { text-decoration: underline; }
.fc-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fc-field-error { font: 400 13px/1.3 var(--l-sans); color: #c2412d; }
.fc-error { margin: 0; padding: 10px 12px; border-radius: 6px; background: color-mix(in srgb, #c2412d 12%, transparent); color: #c2412d; font-size: 14px; }
.fc-form .lp-btn { align-self: flex-start; margin-top: 4px; border: 0; cursor: pointer; }
.fc-done h2 { font: 500 26px/1.2 var(--l-serif); color: var(--l-head); margin: 0 0 10px; }
.fc-done a { text-decoration: underline; }

.lg-doc { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.lg-doc h1 { font: 500 clamp(34px, 4.5vw, 46px)/1.1 var(--l-serif); letter-spacing: -0.025em; color: var(--l-head); margin: 0 0 10px; }
.lg-meta { color: var(--l-muted); font-size: 14px; margin: 0 0 32px; }
.lg-draft { padding: 12px 14px; border-radius: 8px; border: 1px solid color-mix(in srgb, #b7791f 45%, var(--l-line)); background: color-mix(in srgb, #b7791f 10%, transparent); font-size: 14px; }
.lg-doc h2 { font: 600 18px/1.3 var(--l-sans); color: var(--l-head); margin: 36px 0 10px; }
.lg-doc p, .lg-doc li { max-width: 68ch; }
.lg-doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.lg-doc a { text-decoration: underline; text-underline-offset: 2px; }
