/* Public site pages (home, legal, account pages). Palette: #2C3531 charcoal, #116466 teal, #D9B08C tan, #FFCB9A peach, #D1E8E2 mint. */
/* Font and design tokens are in tokens.css (loaded first). */

/* ---------- Base ---------- */
.lp {
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    background: var(--lp-bg);
    color: var(--lp-text);
    -webkit-font-smoothing: antialiased;
}
/* Nothing may push the page sideways (phones especially). Vertical scroll and pinch-zoom still work. */
html:has(.lp), .lp { max-width: 100%; overflow-x: hidden; overscroll-behavior-x: none; }
@supports (overflow: clip) { html:has(.lp), .lp { overflow-x: clip; } }
.lp main > section, .lp-footer { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
/* Sticky footer: the page fills the screen and the footer sits at the bottom even on short pages. */
body.lp { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.lp main { flex: 1 0 auto; display: flex; flex-direction: column; }
.lp main > .container { width: 100%; }

.lp .container { max-width: var(--lp-max); padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }
.lp h1, .lp h2, .lp h3 { font-family: inherit; letter-spacing: -.02em; color: inherit; }
.lp a { text-underline-offset: .2em; }
.lp :focus-visible { outline: 3px solid var(--lp-peach); outline-offset: 3px; border-radius: .4rem; box-shadow: none; }
.lp ::selection { background: var(--lp-peach); color: var(--lp-on-peach); }
.lp-light ::selection { background: var(--lp-teal); color: #fff; }

/* ---------- Header ---------- */
.lp-header { position: sticky; top: 0; z-index: 1030; transition: background .25s, box-shadow .25s; }
.lp-header.is-scrolled { background: rgba(37, 45, 42, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--lp-line); }
.lp-header .navbar { padding-top: 1rem; padding-bottom: 1rem; }
.lp-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.35rem; color: #fff !important; letter-spacing: -.02em; text-decoration: none; }
.lp-logo { display: inline-flex; font-size: 1.7rem; line-height: 1; color: var(--lp-peach); }
.lp-logo img { display: block; width: auto; height: 1.75rem; } /* the two-bubble mark (resources/brand/logo-mark.svg) */
.lp-header .nav-link { position: relative; color: #eef5f3; font-weight: 500; font-size: 1.02rem; padding: .5rem .25rem !important; transition: color .2s; }
.lp-header .nav-link::after { content: ''; position: absolute; left: .25rem; right: .25rem; bottom: .15rem; height: 2px; border-radius: 2px; background: var(--lp-peach); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.lp-header .nav-link:hover, .lp-header .nav-link:focus-visible { color: var(--lp-peach); }
.lp-header .nav-link:hover::after, .lp-header .nav-link:focus-visible::after { transform: scaleX(1); }
.lp-nav { row-gap: .5rem; }
.lp-nav-actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
@media (max-width: 575.98px) {
    .lp-brand { font-size: 1.15rem; gap: .45rem; }
    .lp-logo { font-size: 1.4rem; }
    .lp-logo img { height: 1.45rem; }
    .lp-nav-actions { gap: .9rem; }
    .lp-header .nav-link { font-size: .95rem; }
}

/* ---------- Buttons ---------- */
.lp-btn { --bs-btn-padding-x: 1.2rem; --bs-btn-padding-y: .6rem; --bs-btn-font-size: 1rem; font-weight: 600; border-radius: .65rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s, color .2s; }
.lp-btn .fa-arrow-right { transition: transform .2s; }
.lp-btn:hover .fa-arrow-right, .lp-btn:focus-visible .fa-arrow-right { transform: translateX(3px); }
.lp-btn-primary { color: var(--lp-on-peach); background: linear-gradient(135deg, var(--lp-peach), var(--lp-tan)); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 10px 26px -12px rgba(255, 203, 154, .6); }
.lp-btn-primary:hover, .lp-btn-primary:focus-visible { color: var(--lp-on-peach); background: linear-gradient(135deg, #ffd8b3, #e4bd9b); transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(255, 203, 154, .75); }
.lp-btn-primary:active { transform: translateY(0); }
/* Restrained secondary: quiet until hovered. */
.lp-btn-ghost { color: var(--lp-text); background: transparent; border: 1px solid rgba(209, 232, 226, .3); }
.lp-btn-ghost:hover, .lp-btn-ghost:focus-visible { color: #fff; background: rgba(209, 232, 226, .08); border-color: rgba(209, 232, 226, .6); }
.lp-btn-lg { --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: 1.08rem; border-radius: .75rem; }

/* ---------- Shared type ---------- */
.lp-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; font-weight: 700; color: var(--lp-tan); margin-bottom: .75rem; }
.lp-accent { background: linear-gradient(100deg, var(--lp-tan) 10%, var(--lp-peach) 50%, var(--lp-tan) 90%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lp-shine 6s linear infinite; }
.lp-h2 { font-size: clamp(1.85rem, 1.25rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.12; margin-bottom: 1rem; }
.lp-lead { font-size: clamp(1.1rem, 1.02rem + .3vw, 1.25rem); color: var(--lp-body); line-height: 1.6; max-width: 38rem; }
.lp-muted { color: var(--lp-muted); }
.lp-section { padding: var(--lp-section-y) 0; }
.lp-section-head { max-width: 46rem; margin: 0 auto 2.75rem; text-align: center; }
.lp-section-head .lp-lead { margin-left: auto; margin-right: auto; }

/* ---------- Shared card ---------- */
.lp-card, .lp-use, .lp-source, .lp-action, .lp-share-card, .lp-trust-item {
    background: var(--lp-card); border: 1px solid var(--lp-card-border); border-radius: var(--lp-radius); box-shadow: var(--lp-card-shadow);
}
.lp-use, .lp-source { padding: var(--lp-card-pad); transition: transform .25s, background-color .25s, border-color .25s; }
.lp-use:hover, .lp-source:hover { transform: translateY(-3px); background: var(--lp-card-hover); border-color: var(--lp-card-border-hover); }
.lp-use h3, .lp-source h3 { font-size: 1.15rem; font-weight: 700; margin: 1rem 0 .4rem; line-height: 1.3; }
.lp-use p, .lp-source p { color: var(--lp-muted); font-size: 1rem; line-height: 1.6; margin: 0; }

/* One icon tile size everywhere. */
.lp-tile, .lp-icon { width: var(--lp-icon); height: var(--lp-icon); flex-shrink: 0; border-radius: var(--lp-radius-sm); display: inline-flex; align-items: center; justify-content: center; font-size: var(--lp-icon-font); line-height: 1; }
.lp-tile { color: var(--lp-peach); background: var(--lp-bg); border: 1px solid var(--lp-card-border); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); transition: transform .3s; }
.lp-icon { color: var(--lp-peach); background: var(--lp-teal); }

/* ---------- Home page (owner's redesign brief, 2026-11-02) ---------- */
/* Hero: copy left, the scripted demo chat right (stacks below lg). */
.lp-hero { position: relative; overflow-x: clip; padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); isolation: isolate; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.lp-title { font-size: clamp(2.4rem, 1.2rem + 4vw, 4.25rem); font-weight: 700; line-height: 1.05; margin-bottom: 1.25rem; letter-spacing: -.035em; }
.lp-title .lp-accent { display: inline-block; }
.lp-hero-copy .lp-lead { max-width: 34rem; }
.lp-hero-note { margin: 1rem 0 0; color: var(--lp-peach); font-weight: 600; font-size: 1.05rem; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.lp-cta .lp-hero-actions { justify-content: center; }
.lp-checks { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: 1rem; color: var(--lp-body); }
.lp-checks :is(.fa-solid, .fa-regular) { color: var(--lp-peach); margin-right: .35rem; }
.lp-glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; pointer-events: none; }
.lp-glow-a { width: 44rem; height: 40rem; right: -10rem; top: -12rem; background: radial-gradient(circle, rgba(22, 128, 130, .45), transparent 65%); }
.lp-gridbg { position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 70% 30%, #000 20%, transparent 75%); }

/* Demo chat (components/demo_chat.php): the look of the public chat page, on a white card. System font like the real chat. */
.dc { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.1rem; background: #fff; color: #24302c; text-align: left;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: .95rem; line-height: 1.5;
    box-shadow: 0 50px 100px -45px rgba(0, 0, 0, .85), 0 0 0 1px rgba(209, 232, 226, .2), 0 0 70px -25px rgba(22, 128, 130, .55); }
.dc-head { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; background: var(--lp-teal); color: #fff; }
.dc-head-text { min-width: 0; flex: 1; line-height: 1.25; }
.dc-head-text strong { display: block; font-size: 1rem; }
.dc-head-text small { color: rgba(255, 255, 255, .85); font-size: .8rem; }
.dc-avatar { width: 2.2rem; height: 2.2rem; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--lp-teal); font-size: .95rem; }
.dc-avatar.sm { width: 1.75rem; height: 1.75rem; background: #e6f0ee; font-size: .75rem; margin-top: .1rem; }
.dc-demo-tag { padding: .15rem .55rem; border-radius: 2rem; border: 1px solid rgba(255, 255, 255, .5); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dc-body { display: flex; flex-direction: column; gap: .65rem; height: 32rem; padding: .9rem 1rem 1rem; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.dc-msg { display: flex; gap: .55rem; align-items: flex-start; }
.dc-msg p { margin: 0; }
.dc-msg.is-user { justify-content: flex-end; }
.dc-msg.is-user p { max-width: 85%; padding: .55rem .85rem; border-radius: 1rem 1rem .25rem 1rem; background: #d6e6e3; color: #1f2b27; }
.dc-msg:not(.is-user) p { flex: 1; color: #24302c; }
.dc-form { flex: 1; display: grid; gap: .45rem; padding: .75rem .9rem .8rem; border: 1px solid #d5e2de; border-radius: .9rem; background: #fff; }
.dc-form-title { font-size: .98rem; }
.dc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.dc-field { display: grid; gap: .15rem; margin: 0; font-size: .8rem; font-weight: 600; color: #2f3c37; }
.dc-field b { color: var(--lp-teal); }
.dc-field em { font-weight: 400; color: #5f716b; font-style: normal; }
.dc-field input { width: 100%; min-height: 2.25rem; padding: .35rem .65rem; border: 1px solid #bccbc6; border-radius: .55rem; font: inherit; font-weight: 400; color: #24302c; background: #fff; }
.dc-field input:focus-visible { outline: 3px solid rgba(17, 100, 102, .35); outline-offset: 1px; border-color: var(--lp-teal); }
.dc-form-error { margin: 0; color: #8a5a33; font-size: .82rem; }
.dc-submit { justify-self: start; padding: .45rem 1.3rem; border: 0; border-radius: 2rem; background: var(--lp-teal); color: #fff; font-weight: 700; }
.dc-submit:hover, .dc-submit:focus-visible { background: #0c4f51; }
.dc-thanks { flex: 1; padding: .75rem .9rem; border-radius: .9rem; background: #eef6f4; border: 1px solid #b9d9d3; color: #1f3b38; }
.dc-thanks small { display: block; margin-top: .25rem; color: #4c5d57; }
.dc-typing { display: inline-flex; gap: .25rem; padding: .5rem 0; }
.dc-typing span { width: .4rem; height: .4rem; border-radius: 50%; background: #8fa29c; animation: lp-bounce 1.1s infinite ease-in-out; }
.dc-typing span:nth-child(2) { animation-delay: .15s; }
.dc-typing span:nth-child(3) { animation-delay: .3s; }
.dc-prompts { padding: .75rem 1rem .5rem; border-top: 1px solid #e3ece9; background: #f6faf9; }
.dc-prompts-label { display: block; margin-bottom: .4rem; font-size: .78rem; font-weight: 700; color: #4c5d57; }
.dc-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.dc-chip { padding: .35rem .75rem; border: 1px solid #b9d9d3; border-radius: 2rem; background: #fff; color: #0c4f51; font-size: .84rem; font-weight: 600; text-align: left; }
.dc-chip:hover, .dc-chip:focus-visible { background: #e3f1f0; border-color: var(--lp-teal); }
.dc-chip:disabled { opacity: .55; }
.dc-note { margin: 0; padding: .45rem 1rem .7rem; background: #f6faf9; color: #5f716b; font-size: .76rem; }
.dc .lp-pop { animation: lp-pop .35s cubic-bezier(.2, .8, .3, 1.2) both; }

/* Core benefits band (teal) */
.lp-band { background: var(--lp-teal); padding: clamp(2.25rem, 4vw, 3rem) 0; }
.lp-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.lp-benefit { display: flex; gap: .9rem; align-items: flex-start; }
.lp-benefit h3 { font-size: 1.1rem; font-weight: 700; margin: .1rem 0 .3rem; }
.lp-benefit p { margin: 0; color: #eef6f3; font-size: .98rem; line-height: 1.5; }

/* How it works (mint) */
.lp-light { background: var(--lp-mint); color: var(--lp-ink); }
.lp-light .lp-eyebrow { color: var(--lp-teal); }
.lp-light .lp-lead { color: var(--lp-ink-2); }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.lp-step { padding: var(--lp-card-pad); border-radius: var(--lp-radius); background: rgba(255, 255, 255, .65); border: 1px solid rgba(17, 100, 102, .14); box-shadow: 0 18px 40px -30px rgba(17, 100, 102, .6); }
.lp-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.lp-step-num { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.15rem; color: var(--lp-on-peach); background: var(--lp-peach); }
.lp-step-icon { font-size: 1.4rem; color: var(--lp-teal); }
.lp-step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }
.lp-step p { color: var(--lp-ink-2); margin: 0; font-size: 1.02rem; }
.lp-shot.lp-builder-shot { max-width: 60rem; margin: 2.5rem auto 0; border-color: rgba(17, 100, 102, .2); box-shadow: 0 30px 60px -35px rgba(17, 100, 102, .55); }

/* Knowledge sources */
.lp-sources { background: var(--lp-bg); }
.lp-source-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.lp-source { display: flex; flex-direction: column; }
.lp-source-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.lp-source p { margin-bottom: .9rem; }
.lp-source .lp-source-detail { margin: auto 0 0; padding-top: .8rem; border-top: 1px solid var(--lp-card-border); color: var(--lp-body); font-size: .93rem; }
.lp-source-detail i { color: var(--lp-peach); margin-right: .3rem; }
.lp-source-list { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px solid var(--lp-card-border); display: grid; gap: .45rem; font-size: 1rem; color: var(--lp-body); }
.lp-source-list :is(.fa-solid, .fa-regular) { color: var(--lp-peach); margin-right: .35rem; }
.lp-label { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; border-radius: 2rem; background: rgba(255, 203, 154, .14); border: 1px solid rgba(255, 203, 154, .4); color: var(--lp-peach); font-size: .78rem; font-weight: 700; line-height: 1.4; }
.lp-feature-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: center; margin-top: 2rem;
    padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1.25rem; background: linear-gradient(135deg, rgba(17, 100, 102, .55), rgba(17, 100, 102, .2)); border: 1px solid rgba(209, 232, 226, .25); }
.lp-feature-panel h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 700; line-height: 1.2; margin: .9rem 0 .6rem; }
.lp-feature-panel p { color: var(--lp-body); margin-bottom: 1rem; }
.lp-muted-sm { font-size: .95rem; color: var(--lp-muted) !important; }
.lp-flow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: 0; margin: 0 0 1rem; }
.lp-flow li { padding: .3rem .8rem; border-radius: 2rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(209, 232, 226, .3); font-weight: 600; font-size: .92rem; }
.lp-flow li:not(:last-child)::after { content: '\2192'; margin-left: .7rem; color: var(--lp-peach); }

/* Screenshots: real product screens, never shrunk below readable size */
.lp-shot { margin: 0; overflow: hidden; border-radius: .9rem; border: 1px solid rgba(209, 232, 226, .25); background: #fff; box-shadow: 0 30px 60px -35px rgba(0, 0, 0, .8); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-shot figcaption { padding: .55rem .9rem; background: #f4f8f7; color: #3f4c47; font-size: .88rem; border-top: 1px solid #e3ece9; }
.lp-browser-bar { display: flex; gap: .35rem; padding: .5rem .75rem; background: #e9efed; border-bottom: 1px solid #d7e2de; }
.lp-browser-bar span { width: .6rem; height: .6rem; border-radius: 50%; background: #c6d3cf; }

/* Actions */
.lp-actions { background: var(--lp-bg-2); }
.lp-action-list { display: grid; gap: 1.5rem; }
.lp-action { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.25rem, 3vw, 2.25rem); }
.lp-action.is-flipped { grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); }
.lp-action.is-flipped .lp-action-text { order: 2; }
.lp-action h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.65rem); font-weight: 700; margin: 1rem 0 .5rem; }
.lp-action-text > p { color: var(--lp-muted); margin: 0; font-size: 1.05rem; }
.lp-action-shot { max-height: 26rem; }
.lp-action-shot img { object-fit: cover; object-position: top center; max-height: 26rem; }
.lp-action-head { display: flex; align-items: center; justify-content: space-between; }
.lp-status { display: inline-flex; align-items: center; padding: .2rem .65rem; border-radius: 2rem; font-size: .78rem; font-weight: 700; vertical-align: middle; letter-spacing: 0; }
.lp-status.is-live { background: rgba(209, 232, 226, .16); color: var(--lp-mint); border: 1px solid rgba(209, 232, 226, .45); }
.lp-status.is-live::before { content: ''; width: .45rem; height: .45rem; margin-right: .4rem; border-radius: 50%; background: var(--lp-mint); }
.lp-status.is-soon { background: rgba(217, 176, 140, .16); color: var(--lp-tan); border: 1px solid rgba(217, 176, 140, .5); }
.lp-actions-note { display: flex; gap: .75rem; align-items: center; justify-content: center; margin: 2rem auto 0; max-width: 52rem; text-align: center; color: var(--lp-body); }
.lp-actions-note i { color: var(--lp-peach); font-size: 1.2rem; }
/* Appointment concept (Coming soon): a drawing, not the product */
.lp-concept { position: relative; padding: 1.1rem; border-radius: .9rem; border: 1px dashed rgba(217, 176, 140, .6); background: #f7f3ee; color: #2c3531; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: .9rem; }
.lp-concept-lg { height: auto; max-width: 30rem; margin: 0 auto; }
.lp-concept-tag { position: absolute; top: .7rem; right: .7rem; padding: .1rem .55rem; border-radius: 2rem; background: #ecd5c0; color: #6f4a2b; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lp-concept-bubble { display: inline-block; margin: 1.4rem 0 .9rem; color: #2c3531; font-weight: 600; }
.lp-cal { padding: .7rem; border-radius: .75rem; background: #fff; border: 1px solid #e4d9cc; }
.lp-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; font-weight: 700; }
.lp-cal-head i { color: #8a7a6a; font-size: .8rem; }
.lp-cal-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; text-align: center; }
.lp-cal-days > span:not(.lp-cal-day) { font-size: .72rem; font-weight: 700; color: #8a7a6a; }
.lp-cal-day { padding: .3rem 0; border-radius: .45rem; background: #f4f8f7; }
.lp-cal-day.is-on { background: var(--lp-teal); color: #fff; font-weight: 700; }
.lp-cal-times { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.lp-cal-times span { padding: .3rem .7rem; border-radius: 2rem; border: 1px solid #c9d8d4; background: #fff; font-size: .82rem; }
.lp-cal-times span.is-on { background: var(--lp-teal); border-color: var(--lp-teal); color: #fff; font-weight: 600; }

/* Publishing */
.lp-share { background: var(--lp-bg); }
.lp-share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.lp-share-card { display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem); }
.lp-share-card .lp-label { align-self: flex-start; }
.lp-share-card h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.55rem); font-weight: 700; line-height: 1.25; margin: .9rem 0 .5rem; }
.lp-share-card > p { color: var(--lp-muted); }
.lp-share-card .lp-shot { margin-top: auto; }
.lp-url { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: .55rem .8rem; border-radius: .6rem; background: var(--lp-bg-3); border: 1px solid var(--lp-card-border); color: var(--lp-text) !important; font-size: .92rem; overflow-wrap: anywhere; }
.lp-url i { color: var(--lp-mint); font-size: .8rem; }
.lp-url span { margin-left: auto; color: var(--lp-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.lp-code-line code { color: var(--lp-peach); font-size: .82rem; white-space: normal; word-break: break-all; }

/* Use cases */
.lp-uses { background: var(--lp-bg-2); }
.lp-use-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.lp-use { display: flex; flex-direction: column; }
.lp-use .lp-ask { margin: auto 0 0 !important; padding: .6rem .85rem; border-radius: .9rem .9rem .9rem .25rem; background: rgba(209, 232, 226, .1); border: 1px solid var(--lp-card-border); color: var(--lp-text) !important; font-size: .95rem !important; font-style: italic; }
.lp-use > p:not(.lp-ask) { margin-bottom: 1rem; }

/* Trust */
.lp-trust { background: var(--lp-bg); }
.lp-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.lp-trust-item { padding: var(--lp-card-pad); }
.lp-trust-item h3 { font-size: 1.12rem; font-weight: 700; margin: 1rem 0 .4rem; }
.lp-trust-item p { color: var(--lp-muted); margin: 0; font-size: .98rem; }
.lp-trust-note { margin: 1.75rem auto 0; max-width: 46rem; text-align: center; color: var(--lp-muted); font-size: .98rem; }
.lp-trust-note a { color: var(--lp-peach); }
.lp-trust-note a:hover, .lp-trust-note a:focus-visible { color: #fff; }

/* Text links to the demo page ("See …" / "Try …") */
.lp-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; color: var(--lp-peach); font-weight: 600; text-decoration: none; }
.lp-link:hover, .lp-link:focus-visible { color: #fff; text-decoration: underline; }
.lp-link i { font-size: .85em; transition: transform .2s; }
.lp-link:hover i, .lp-link:focus-visible i { transform: translateX(3px); }
.lp-section-link { margin: 1.75rem 0 0; text-align: center; }
.lp-section-link .lp-link { margin-top: 0; }

/* Header section links */
.lp-nav-links { list-style: none; margin: 0 0 0 2rem; padding: 0; gap: 1.5rem; }
.lp-nav-links .nav-link { font-size: .98rem !important; }

/* Demo page (/demo) */
.lp-demo-head { padding-bottom: 1rem; }
.lp-demo-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.lp-demo-toc a { padding: .35rem .85rem; border-radius: 2rem; border: 1px solid var(--lp-card-border); color: var(--lp-body); text-decoration: none; font-size: .93rem; }
.lp-demo-toc a:hover, .lp-demo-toc a:focus-visible { border-color: var(--lp-peach); color: var(--lp-peach); }
.lp-demo-section.is-alt { background: var(--lp-bg-2); }
.lp-demo-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.lp-demo-text p { color: var(--lp-body); }
.lp-demo-text-wide { max-width: 50rem; margin-bottom: 1.75rem; }
.lp-demo-num { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; margin-bottom: .75rem; border-radius: 50%; background: var(--lp-peach); color: var(--lp-on-peach); font-weight: 700; }
.lp-demo-text .lp-h2 .lp-status { font-size: .8rem; margin-left: .4rem; }
.lp-demo-text code { color: var(--lp-peach); }
.lp-demo-shot { max-width: 70rem; }
.lp-demo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 24rem)); gap: 1.5rem; align-items: start; }
.lp-demo-pair.is-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); }
.lp-demo-pair.is-single { grid-template-columns: minmax(0, 26rem); justify-content: center; }
.lp-phone-shot { border-radius: 1.6rem; }
/* The hosted page shown on its own (owner, 2026-11-12): the computer shot wide, the phone shot at phone size and centred. */
.lp-demo-single-shot { max-width: 56rem; margin: 0 auto; }
/* A phone screenshot in a feature row sits at phone size, not stretched across the column. */
.lp-feature-phone { max-width: 15rem; margin-inline: auto; }
.lp-feature-phone img { border-radius: 1.2rem 1.2rem 0 0; }
.lp-demo-phone-only { max-width: 17rem; margin: 0 auto; }
.lp-demo-phone-only img { border-radius: 1.2rem 1.2rem 0 0; }
.lp-mini { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; color: var(--lp-body); }
.lp-mini :is(.fa-solid, .fa-regular) { color: var(--lp-peach); margin-right: .5rem; }
/* ---------- Final call to action ---------- */
.lp-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--lp-bg); }
.lp-glow-c { width: 44rem; height: 26rem; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(22, 128, 130, .5), transparent 65%); }
.lp-cta-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
.lp-cta .lp-lead { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.lp-footer { background: var(--lp-bg-3); border-top: 1px solid var(--lp-line); padding: 1.25rem 0; font-size: 1rem; }
.lp-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; } /* one line: copyright left, links right */
.lp-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.lp-footer a:not(.lp-brand) { color: var(--lp-body); text-decoration: none; }
.lp-footer a:not(.lp-brand):hover, .lp-footer a:not(.lp-brand):focus-visible { color: var(--lp-peach); text-decoration: underline; }
.lp-footer-copy { color: var(--lp-muted); font-size: .95rem; margin: 0; }

/* ---------- Legal pages (privacy, terms) ---------- */
.lp-page-head { padding: .75rem 0 clamp(1.5rem, 3vw, 2rem); text-align: center; }
.lp-page-title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin-bottom: .75rem; }
.lp-legal-wrap { background: var(--lp-bg-2); padding-top: clamp(2rem, 5vw, 3.5rem); }
.lp-legal { margin: 0; padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--lp-card); border: 1px solid var(--lp-card-border); border-radius: var(--lp-radius); box-shadow: var(--lp-card-shadow); color: var(--lp-body); font-size: 1.0625rem; line-height: 1.7; }
.lp-legal > :first-child { margin-top: 0; }
.lp-legal h2 { font-size: 1.3rem; font-weight: 700; color: var(--lp-text); margin: 2.25rem 0 .75rem; padding-top: 1.5rem; border-top: 1px solid var(--lp-card-border); }
.lp-legal h3 { font-size: 1.05rem; font-weight: 700; color: var(--lp-tan); margin: 1.25rem 0 .5rem; }
.lp-legal strong { color: var(--lp-text); }
.lp-legal ul { padding-left: 1.25rem; }
.lp-legal li { margin-bottom: .45rem; }
.lp-legal li::marker { color: var(--lp-peach); }
.lp-legal a { color: var(--lp-peach); }
.lp-legal-updated { margin: 2.25rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--lp-card-border); color: var(--lp-muted); font-size: .95rem; }
.lp-legal a:hover, .lp-legal a:focus-visible { color: #fff; }

/* ---------- Account pages (sign in, register, password reset, invitations) ---------- */
/* Same Bootstrap form markup as the app; components are themed in site-ui.css. */
/* Centered vertically between header and footer (main is a flex column). */
.lp-auth { width: 100%; margin-top: auto; margin-bottom: auto; padding-top: 2rem; padding-bottom: 2rem; }

/* ---------- Pricing ---------- */
.lp-pricing { background: var(--lp-bg-3); }
.lp-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 24rem)); justify-content: center; gap: 1.25rem; }
.lp-plan { display: flex; flex-direction: column; padding: calc(var(--lp-card-pad) + .25rem); background: var(--lp-card); border: 1px solid var(--lp-card-border); border-radius: var(--lp-radius); box-shadow: var(--lp-card-shadow); transition: transform .25s, background-color .25s, border-color .25s; }
.lp-plan:hover { transform: translateY(-3px); background: var(--lp-card-hover); border-color: var(--lp-card-border-hover); }
.lp-plan.is-featured { border-color: var(--lp-card-border-hover); box-shadow: var(--lp-card-shadow), 0 0 0 1px rgba(255, 203, 154, .25), 0 24px 60px -30px rgba(255, 203, 154, .35); }
.lp-plan-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.lp-plan h3 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.lp-plan-tag { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-on-peach); background: var(--lp-peach); border-radius: 2rem; padding: .25rem .7rem; }
.lp-plan-price { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); font-weight: 700; line-height: 1.1; color: var(--lp-peach); margin: 1rem 0 .4rem; letter-spacing: -.02em; }
.lp-plan-desc { color: var(--lp-muted); font-size: 1rem; line-height: 1.6; margin: 0 0 1.25rem; }
.lp-plan-list { flex-grow: 1; margin-bottom: 1.5rem; }
.lp-plan-list strong { color: var(--lp-text); }
.lp-plan .lp-btn { width: 100%; }
.lp-plan-note { text-align: center; color: var(--lp-muted); font-size: 1rem; margin: 2rem 0 0; }
.lp-plan-note a { color: var(--lp-peach); }
.lp-plan-note a:hover, .lp-plan-note a:focus-visible { color: #fff; }

/* ---------- Motion ---------- */
.lp-rise { animation: lp-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.lp-rise-2 { animation-delay: .15s; }
.lp-motion .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), background-color .25s, border-color .25s; transition-delay: var(--d, 0ms); }
.lp-motion .lp-reveal.is-visible { opacity: 1; transform: none; }
.lp-motion .lp-reveal.is-visible:hover { transition-delay: 0ms; }
.lp-motion .lp-use.is-visible:hover, .lp-motion .lp-source.is-visible:hover, .lp-motion .lp-plan.is-visible:hover { transform: translateY(-3px); }
@keyframes lp-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lp-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 203, 154, .5); } 50% { box-shadow: 0 0 0 6px rgba(255, 203, 154, 0); } }
@keyframes lp-shine { to { background-position: 200% center; } }
@keyframes lp-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 25px); } }
@keyframes lp-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes lp-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lp-pulse { 0%, 100% { box-shadow: 0 12px 30px -8px rgba(255, 203, 154, .7), 0 0 0 0 rgba(255, 203, 154, .45); } 50% { box-shadow: 0 12px 30px -8px rgba(255, 203, 154, .7), 0 0 0 14px rgba(255, 203, 154, 0); } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .lp-source-grid, .lp-use-grid, .lp-trust-grid, .lp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .lp-hero-grid, .lp-feature-panel, .lp-demo-row { grid-template-columns: minmax(0, 1fr); }
    .lp-hero-demo { max-width: 34rem; width: 100%; margin: 0 auto; }
    .lp-action, .lp-action.is-flipped { grid-template-columns: minmax(0, 1fr); max-width: 34rem; margin: 0 auto; }
    .lp-action.is-flipped .lp-action-text { order: 0; }
    .lp-share-grid { grid-template-columns: minmax(0, 1fr); }
    .lp-steps { grid-template-columns: minmax(0, 1fr); max-width: 34rem; margin: 0 auto; }
    .lp-demo-pair, .lp-demo-pair.is-wide { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
}
@media (max-width: 767.98px) {
    .lp-footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575.98px) {
    .lp-hero-actions .lp-btn { width: 100%; }
    /* The feature index on a phone (owner, 2026-11-12). */
    .lp-feature-index { gap: .4rem; margin-bottom: 1.75rem; }
    .lp-feature-index a { padding: .3rem .65rem; font-size: .82rem; }
    .lp-feature + .lp-feature::after { font-size: .72rem; padding: 0 .6rem; }
    .lp-source-grid, .lp-use-grid, .lp-trust-grid, .lp-benefits { grid-template-columns: minmax(0, 1fr); }
    .dc-body { height: 26rem; }
    .dc-row { grid-template-columns: minmax(0, 1fr); }
    .lp-url span { margin-left: 0; }
    .lp-actions-note { align-items: flex-start; text-align: left; }
    /* Phones: less empty space so the page isn't needlessly long (owner's refinement brief, 2026-11-02). */
    .lp-section { padding: 2.75rem 0; }
    .lp-section-head { margin-bottom: 1.5rem; }
    .lp-steps, .lp-action-list, .lp-source-grid, .lp-use-grid, .lp-trust-grid, .lp-share-grid { gap: .85rem; }
    .lp-step, .lp-source, .lp-use, .lp-trust-item { padding: 1.1rem; }
    .lp-action, .lp-share-card { padding: 1.1rem; gap: 1.1rem; }
    .lp-action-shot, .lp-action-shot img { max-height: 19rem; }
    .lp-shot.lp-builder-shot { margin-top: 1.5rem; }
    .lp-feature-panel { padding: 1.1rem; }
}

/* Features: one row per feature, alternating sides (owner, 2026-11-12). Replaces the old benefits band, which
   repeated what these rows say, and the separate Knowledge / Actions / Publishing sections. */
.lp-features { background: var(--lp-bg-2); }
.lp-feature-list { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; }
/* A hairline between features, broken in the middle by a small mark - the rows read as separate without a hard rule. */
.lp-feature + .lp-feature { position: relative; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.lp-feature + .lp-feature::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--lp-line) 18%, var(--lp-line) 82%, transparent); }
.lp-feature + .lp-feature::after { content: '\2726'; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    padding: 0 .85rem; background: var(--lp-bg-2); color: var(--lp-mint); opacity: .55; font-size: .8rem; line-height: 1; }
.lp-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.lp-feature.is-flipped { grid-template-columns: minmax(0, 28rem) minmax(0, 1fr); }
.lp-feature.is-flipped .lp-feature-text { order: 2; }
.lp-feature-head { display: flex; align-items: center; gap: .6rem; }
.lp-feature-head + h3 { margin-top: .75rem; }
.lp-feature h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); font-weight: 700; line-height: 1.2; margin: 0 0 .5rem; }
.lp-feature-text > p { margin: 0 0 .9rem; color: var(--lp-muted); font-size: 1.05rem; line-height: 1.6; }
.lp-feature-shot { align-self: center; }
.lp-feature-shot img { display: block; width: 100%; height: auto; }
.lp-status.is-new { background: rgba(17, 100, 102, .14); color: #0c4f50; }
@media (max-width: 860px) {
    .lp-feature, .lp-feature.is-flipped { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
    .lp-feature.is-flipped .lp-feature-text { order: 0; }
}

/* A skimmable index of the feature rows (owner, 2026-11-12). */
.lp-feature-index { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: -.75rem auto 2.5rem; max-width: 52rem; }
.lp-feature-index a { padding: .35rem .8rem; border: 1px solid var(--lp-line); border-radius: 999px; color: var(--lp-body);
    font-size: .88rem; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.lp-feature-index a:hover, .lp-feature-index a:focus-visible { background: rgba(209, 232, 226, .1); border-color: rgba(209, 232, 226, .32); color: #fff; }
