/**
 * Landing page styles.
 *
 * design-system.css (loaded before this file) defines the shared
 * deep-charcoal/brass/ivory palette used across the app, admin, and
 * marketing pages. This file re-themes the marketing pages to a fully
 * dark, immersive surface (a fixed animated canvas behind every
 * section, translucent dark panels for content) by REDEFINING a
 * handful of design-system.css's semantic tokens --text-dark,
 * --text-medium, --text-light, --border-color-- inside landing.css's
 * OWN :root block. That's safe: only index.html/pricing.html load this
 * file, so the redefinition never reaches the app or admin screens
 * (design-system.css itself is untouched). It also means most of the
 * existing component CSS below re-themes for free just by using those
 * tokens as it already did -- only the handful of rules that
 * explicitly referenced --white/--background for a card surface (which
 * intentionally stays literal white elsewhere, e.g. button text) are
 * individually retargeted to the new --panel-bg tokens.
 */

:root {
    /* Deeper shadows and sharper corners than the shared app default —
       intentional for this page's more editorial, less data-dense feel. */
    --shadow-sm: 0 1px 2px rgba(10, 10, 11, 0.05);
    --shadow-md: 0 8px 20px -6px rgba(10, 10, 11, 0.12);
    --shadow-lg: 0 20px 40px -12px rgba(10, 10, 11, 0.22);
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
    --radius-xl: 6px;

    --lux-line-dark: rgba(246, 243, 236, 0.14);
    --lux-line-dark-faint: rgba(246, 243, 236, 0.08);

    /* Same color as --lux-accent (#b68a4e), as a bare "r, g, b" triplet
       for canvas/rgba() contexts (landing.js's cursor-reactive light
       bands) and CSS translucent fills alike. Keep in sync with
       design-system.css's --lux-accent by hand. */
    --lux-accent-rgb: 182, 138, 78;

    /* System monospace only — no font request, no new network cost.
       Used sparingly (ticker labels, timestamps, capability chips) for
       a "data terminal" texture against the sans-serif headline type. */
    --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

    /* ---- Dark-panel surface tokens (new) ---- */
    --panel-bg: rgba(23, 23, 26, 0.6);
    --panel-bg-strong: rgba(20, 20, 23, 0.85);
    --panel-border: var(--lux-line-dark);
    --input-bg: rgba(255, 255, 255, 0.06);

    /* ---- Re-themed semantic tokens: the whole marketing site reads
       light-on-dark now, so these flip from design-system.css's
       light-mode values. --white and --background are deliberately
       NOT redefined here -- --white still needs to mean literal white
       for button label text (.btn-primary), and retargeting every
       existing "white card" background individually (below) is safer
       than a blanket override that would also silently repaint things
       that should stay white. ---- */
    --text-dark: var(--lux-ivory);
    --text-medium: rgba(246, 243, 236, 0.68);
    --text-light: rgba(246, 243, 236, 0.45);
    --border-color: var(--lux-line-dark);
}

/* Background lives ONLY on html -- body and every section are
   transparent. This matters: body is a plain, non-positioned box (no
   position/z-index of its own), so if body ALSO had an explicit
   background, that background would paint as normal in-flow content,
   which happens AFTER (on top of) negative-z-index positioned
   descendants in the root stacking context's paint order -- it would
   silently cover the fixed canvas below even though the canvas is
   behind every section content-wise. One source of truth for the dark
   base color avoids that trap entirely. */
html {
    background: var(--lux-black);
}

body {
    overflow-x: hidden;
    background: transparent;
}

/* No `scroll-behavior: smooth` here -- Lenis (vendor/lenis.min.js) now
   owns scroll easing for anchor links (see landing.js's click-delegate
   + lenis.scrollTo). Running native smooth-scroll at the same time
   would fight Lenis's own rAF-driven easing on every anchor jump. */

/* ===================== Fixed sitewide fluted-glass background ===================== */

/* This pair (.site-bg underneath, .site-gl-canvas on top) is the ONLY
   background for the entire site -- every section, header, and wrapper
   below is transparent and lets this show through. Both are
   `position: fixed`, sized to the viewport. Deliberately NOT negative
   z-index (see the html/body comment above for why that's fragile) --
   instead both sit at z-index:0 (site-bg painting first by DOM order,
   canvas on top of it), and .site-content below wraps literally every
   other section at z-index:1, so the stacking order is a flat,
   unambiguous 0 / 0 / 1 comparison within one stacking context, not a
   negative-vs-non-positioned-box footgun. */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #09090a;
    background-image:
        radial-gradient(ellipse 60% 65% at 50% 18%, rgba(var(--lux-accent-rgb), 0.18), transparent 72%),
        repeating-linear-gradient(
            90deg,
            rgba(var(--lux-accent-rgb), 0.05) 0px,
            rgba(var(--lux-accent-rgb), 0.05) 1px,
            transparent 1px,
            transparent calc(100% / 34)
        );
}

/* The live WebGL layer (landing.js): same rib pattern, lit by a point
   light that eases toward the cursor and fades toward a faint floor as
   you scroll down (never a hard cutoff -- see u_scrollFade in the
   fragment shader). Starts at opacity:0 and only fades in once WebGL
   actually compiles (`.is-ready`), so a browser with no WebGL support
   just keeps showing .site-bg underneath, permanently. */
.site-gl-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.site-gl-canvas.is-ready {
    opacity: 1;
}

/* Wraps every section (announcement bar, header, main, footer) in one
   container at z-index:1, above both fixed background layers. */
.site-content {
    position: relative;
    z-index: 1;
}

/* ---- Small uppercase eyebrow label, reused above every section heading ---- */

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lux-accent-text);
    margin-bottom: 1.25rem;
}

/* ---- Scroll reveal: subtle fade + rise, no bounce. Elements start
   hidden via .reveal and get .in-view added by an IntersectionObserver
   in landing.js. Falls back to fully visible if JS never runs or the
   visitor prefers reduced motion. ---- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===================== Announcement bar ===================== */

.announcement-bar {
    background: transparent;
    border-bottom: 1px solid var(--lux-line-dark-faint);
    text-align: center;
    padding: 0.4375rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(246, 243, 236, 0.55);
}

.announcement-bar a {
    color: var(--lux-accent-text);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(143, 108, 58, 0.5);
}

.announcement-bar a:hover {
    border-bottom-color: var(--lux-accent-text);
}

/* ===================== Site header (sticky, transparent -> blurred) ===================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* A moderate blur (8px) over a mostly-opaque background -- most of the
   "frosted glass" read comes from the opacity, not the blur radius, so
   this stays cheap even with a continuously-animating canvas behind it
   (backdrop-filter forces a recompute of everything visually behind the
   header on every repaint; a previous version of this page hit a real,
   measured jank bug from exactly this combination over a much larger
   area -- same risk here, at header-sized scale). */
body.scrolled .site-header {
    background: rgba(9, 9, 10, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: var(--lux-line-dark);
}

.landing-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: -0.02em;
    color: var(--lux-ivory);
    white-space: nowrap;
    text-decoration: none;
}

/* ---- Logo mark: a rounded square in the accent color holding two
   short horizontal lines, the bottom one shorter and offset -- two
   records being reconciled, the product's whole premise, as a mark.
   Solid fills only (no hairline strokes) so it stays crisp at 16px,
   including as the favicon (see favicon.svg, same mark). ---- */
.landing-logo-mark {
    width: 1.375rem;
    height: 1.375rem;
    flex-shrink: 0;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(246, 243, 236, 0.65);
}

.landing-nav-links a {
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.landing-nav-links a:hover {
    color: var(--lux-ivory);
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-self: end;
}

.nav-client-login {
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(246, 243, 236, 0.65);
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-client-login:hover {
    color: var(--lux-ivory);
}

.nav-book-demo {
    padding: 0.5625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

/* ---- Mobile nav toggle + panel: hidden on desktop, shown under the
   breakpoint below. Real collapse (a hamburger opening a clean vertical
   menu), replacing the previous behavior of just centering/stacking
   every nav item in place, which is what read as "a test page." ---- */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: transparent;
    border: 1px solid var(--lux-line-dark);
    border-radius: var(--radius-sm);
    color: var(--lux-ivory);
    cursor: pointer;
    justify-self: end;
}

.nav-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.nav-mobile-panel {
    display: none;
}

/* ===================== Hero ===================== */

/* No background of its own -- the hero is transparent and shows the
   sitewide .site-bg/.site-gl-canvas fixed layers straight through, so
   there's nothing here to create a seam against the section below it. */
.hero {
    position: relative;
    padding: 4.5rem 1.5rem 6rem;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-inner-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 3.5rem;
    text-align: left;
}

/* The shader's light can end up directly behind the headline (it
   follows the cursor, which can go anywhere) -- this scrim keeps the
   copy column legible regardless of where the glow currently sits,
   rather than relying on hoping the light stays elsewhere. Its own
   stacking context (position:relative + z-index) keeps the ::before at
   z-index:-1 sandwiched between the canvas (z-index:0, one level up)
   and the actual text (default/auto level within THIS context) instead
   of escaping behind the canvas entirely. */
.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy::before {
    content: '';
    position: absolute;
    inset: -3rem -4rem;
    z-index: -1;
    background: linear-gradient(90deg, rgba(9, 9, 10, 0.82) 0%, rgba(9, 9, 10, 0.6) 50%, transparent 100%);
    pointer-events: none;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2.75rem, 5.2vw, 4.5rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
    color: var(--lux-ivory);
    margin: 0 0 1.5rem;
}

.hero h1 .accent {
    color: var(--lux-accent-text);
}

.hero-subhead {
    font-size: 1.1875rem;
    color: rgba(246, 243, 236, 0.7);
    max-width: 520px;
    margin: 0 0 2.25rem;
    line-height: 1.6;
    font-weight: 400;
}

/* ===================== Hero CTA ===================== */

.hero-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.hero-cta {
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

/* ===================== btn-secondary override (dark context) =====================
   design-system.css's .btn-secondary (white bg, --text-dark label) is
   tuned for the app/admin's light UI. --text-dark is redefined to
   near-white above for this page, which would make that white-on-white
   and unreadable -- pricing.js actually renders this class at runtime
   for the Starter tier's CTA, so this isn't a hypothetical. */
.btn-secondary,
.hero-cta-secondary {
    background: transparent;
    color: var(--lux-ivory);
    border: 1px solid var(--lux-line-dark);
}

.btn-secondary:hover,
.hero-cta-secondary:hover {
    border-color: var(--lux-accent);
    background: rgba(255, 255, 255, 0.04);
}

/* Gentle hover lift + accent glow on every button on this site,
   including design-system.css's .btn-primary (already has its own
   lift; this adds the glow on top of it) and the marketing-only CTA
   classes. */
.btn-primary,
.btn-secondary,
.hero-cta-secondary,
.pricing-cta,
.nav-book-demo,
.statement-cta {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover,
.pricing-cta.btn-primary:hover,
.nav-book-demo:hover,
.statement-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -8px rgba(var(--lux-accent-rgb), 0.45);
}

.btn-secondary:hover,
.hero-cta-secondary:hover,
.pricing-cta.btn-secondary:hover {
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary,
    .btn-secondary,
    .hero-cta-secondary,
    .pricing-cta,
    .nav-book-demo,
    .statement-cta {
        transition: none;
    }

    .btn-primary:hover,
    .btn-secondary:hover,
    .hero-cta-secondary:hover,
    .pricing-cta:hover,
    .nav-book-demo:hover,
    .statement-cta:hover {
        transform: none;
    }
}

/* ===================== Card spotlight (cursor-aware glow) =====================
   A radial gradient positioned via --mx/--my custom properties, updated
   on mousemove by a single delegated listener in landing.js (works for
   the two dynamically-rendered pricing grids too, since delegation
   doesn't care when the card entered the DOM). CSS custom-property
   updates + a gradient repaint scoped to one small card element --
   cheap, nothing like the backdrop-filter-over-full-page cost this
   file's other comments warn about. */
.pricing-card,
.trust-item,
.differentiator-card,
.faq-item,
.pricing-preview-card {
    /* No overflow:hidden -- .pricing-badge deliberately sticks out
       above .pricing-card (top: -0.75rem) and would get clipped. The
       glow's own square corners peeking past this site's 4px card
       radius are imperceptible, so there's no visible cost to leaving
       overflow visible instead. */
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card::before,
.trust-item::before,
.differentiator-card::before,
.faq-item::before,
.pricing-preview-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(var(--lux-accent-rgb), 0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pricing-card:hover,
.trust-item:hover,
.differentiator-card:hover,
.faq-item:hover,
.pricing-preview-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--lux-accent-rgb), 0.5);
}

.pricing-card:hover::before,
.trust-item:hover::before,
.differentiator-card:hover::before,
.faq-item:hover::before,
.pricing-preview-card:hover::before {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .pricing-card,
    .trust-item,
    .differentiator-card,
    .faq-item,
    .pricing-preview-card {
        transition: none;
    }

    .pricing-card::before,
    .trust-item::before,
    .differentiator-card::before,
    .faq-item::before,
    .pricing-preview-card::before {
        transition: none;
    }

    .pricing-card:hover,
    .trust-item:hover,
    .differentiator-card:hover,
    .faq-item:hover,
    .pricing-preview-card:hover {
        transform: none;
    }
}

/* ===================== Line-by-line headline reveal (hero only) =====================
   Each .reveal-line is its own fade+rise, staggered by --line-index,
   triggered together with the existing .reveal/.in-view mechanism on
   the hero-inner wrapper (one IntersectionObserver entry, not a
   separate one per line). Scoped to the hero's h1 specifically rather
   than a generic text-splitting utility applied to every heading --
   the hero is the one headline with a genuinely fixed, intentional
   line break (the <br> already in the markup); other headings wrap at
   different points per viewport width, where a manual per-line split
   would be fragile rather than reliably "line by line." */
.reveal-line {
    display: block;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--line-index, 0) * 0.12s);
}

.hero-inner.in-view .reveal-line {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-line {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===================== Hero visual: Deal Mismatch Report card ===================== */

.hero-visual {
    position: relative;
}

.deal-card {
    /* No backdrop-filter here on purpose: this card sits over the
       continuously-animating sitewide canvas, and backdrop-filter
       forces a full blur recompute of everything behind it on every
       repaint -- at even a throttled frame rate that's a real,
       measured jank source over an area this size, not a
       micro-optimization. A solid-enough background color reads the
       same at this opacity without that cost. */
    position: relative;
    background: var(--panel-bg-strong);
    border: 1px solid var(--lux-line-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.875rem 2rem 1.625rem;
}

.deal-card-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(246, 243, 236, 0.45);
    margin-bottom: 1.5rem;
}

.deal-card-ticker {
    display: flex;
    align-items: flex-end;
    gap: 1.125rem;
    margin-bottom: 1.5rem;
}

.deal-card-number {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: clamp(2.5rem, 4.2vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--lux-ivory);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.deal-card-ticker-label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.5;
    color: var(--lux-accent-text);
    padding-bottom: 0.3125rem;
}

.deal-card-rows {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.375rem;
    border-top: 1px solid var(--lux-line-dark);
}

.deal-card-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.deal-card-row-unit {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: rgba(246, 243, 236, 0.4);
}

.deal-card-row-desc {
    flex-grow: 1;
    color: rgba(246, 243, 236, 0.72);
}

.deal-card-row-impact {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--lux-ivory);
    font-variant-numeric: tabular-nums;
}

.deal-card-more {
    margin-top: 0.875rem;
    font-size: 0.75rem;
    color: rgba(246, 243, 236, 0.4);
}

.deal-card-timestamp {
    margin-top: 1.375rem;
    padding-top: 1.125rem;
    border-top: 1px solid var(--lux-line-dark);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(246, 243, 236, 0.35);
}

/* ===================== Shared section heading ===================== */

.section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--lux-ivory);
    margin-bottom: 0.875rem;
}

.section-heading p {
    color: var(--text-medium);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* ===================== Problem section (real sample report) ===================== */

.problem {
    max-width: 900px;
    margin: 0 auto;
    padding: 7rem 1.5rem 0;
}

.sample-report {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.sample-report-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.875rem;
    padding: 1.125rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--panel-border);
}

.sample-report-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e0b374;
    border: 1px solid #e0b374;
    border-radius: var(--radius-full);
    padding: 0.1875rem 0.5rem;
}

.sample-report-unit {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--lux-ivory);
}

.sample-report-meta {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.sample-disc-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
}

.sample-disc-card {
    border: 1px solid var(--panel-border);
    border-left: 3px solid rgba(246, 243, 236, 0.3);
    border-radius: var(--radius-md);
    padding: 1.125rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
}

.sample-disc-high { border-left-color: var(--lux-error-on-dark); }
.sample-disc-medium { border-left-color: #e0b374; }

.sample-disc-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

.sample-sev {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.1875rem 0.5rem;
    border-radius: var(--radius-full);
}

.sample-sev-high { color: var(--lux-error-on-dark); background: rgba(154, 59, 59, 0.22); }
.sample-sev-medium { color: #e0b374; background: rgba(166, 116, 31, 0.22); }

.sample-disc-type {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-medium);
}

.sample-impact-chip {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lux-ivory);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--panel-border);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
}

.sample-disc-message {
    font-size: 0.9375rem;
    color: var(--lux-ivory);
    line-height: 1.55;
}

.sample-disc-message strong {
    font-weight: 700;
}

.sample-disc-citation {
    margin-top: 0.625rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--panel-border);
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--text-medium);
    line-height: 1.5;
}

.sample-report-foot {
    padding: 1.125rem 1.5rem;
    border-top: 1px solid var(--panel-border);
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.55;
}

.sample-report-foot a {
    color: var(--lux-accent-text, var(--lux-accent));
    font-weight: 600;
}

/* ===================== How It Works (3-step flow) ===================== */

.how-it-works {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 1.5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.step-card {
    text-align: center;
    padding: 0 1rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-full);
    background: var(--lux-accent);
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 800;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--lux-ivory);
    margin-bottom: 0.625rem;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.55;
}

.hero-sample-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lux-accent-text, var(--lux-accent));
    text-decoration: none;
}

.hero-sample-link:hover {
    text-decoration: underline;
}

/* ===================== Built for multifamily ===================== */

.differentiator {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 1.5rem 0;
}

.differentiator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.differentiator-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--lux-accent);
    padding: 1.5rem 1.625rem;
}

.differentiator-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lux-ivory);
    margin-bottom: 0.5rem;
}

.differentiator-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.55;
}

.capability-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
}

.capability-chip {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: var(--text-medium);
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-full);
    padding: 0.4375rem 0.875rem;
}

/* ===================== Three trust pillars ===================== */

.trust {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 1.5rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trust-item {
    padding: 2rem 1.75rem;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
}

.trust-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(var(--lux-accent-rgb), 0.16);
    color: var(--lux-accent-text);
}

.trust-item-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.trust-item h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--lux-ivory);
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===================== Pricing preview ===================== */

.pricing-preview {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 1.5rem;
}

.pricing-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.pricing-preview-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
}

.pricing-preview-card-featured {
    border-color: var(--lux-accent);
    box-shadow: var(--shadow-md);
}

.pricing-preview-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--lux-ivory);
    margin-bottom: 0.75rem;
}

.pricing-preview-price {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lux-ivory);
}

.pricing-preview-price span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-medium);
}

.pricing-preview-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.pricing-preview-cta-wrap {
    text-align: center;
}

/* ===================== FAQ ===================== */

.faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: var(--lux-ivory);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--lux-accent-text);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.65;
}

/* ===================== Dark statement section (final CTA) ===================== */

.statement {
    background: rgba(10, 10, 11, 0.6);
    border-top: 1px solid var(--lux-line-dark-faint);
    padding: 8rem 1.5rem;
}

.statement-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.statement h2 {
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--lux-ivory);
    margin-bottom: 2.5rem;
}

.statement-cta {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

/* ===================== Book a Demo ===================== */

.book-demo {
    max-width: 640px;
    margin: 0 auto;
    padding: 7rem 1.5rem;
}

.demo-form-wrap {
    background: var(--panel-bg-strong);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.demo-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.demo-form-field {
    margin-bottom: 1.25rem;
}

.demo-form-field-full {
    grid-column: 1 / -1;
}

.demo-form-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lux-ivory);
    margin-bottom: 0.5rem;
}

.demo-form-optional {
    font-weight: 400;
    color: var(--text-light);
}

.demo-form-field input,
.demo-form-field textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--lux-line-dark);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--lux-ivory);
}

.demo-form-field textarea {
    resize: vertical;
}

.demo-form-field input:focus,
.demo-form-field textarea:focus {
    outline: none;
    border-color: var(--lux-accent);
    background: rgba(255, 255, 255, 0.09);
}

.demo-form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    left: -9999px;
}

.demo-form-submit {
    width: 100%;
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.demo-form-error {
    font-size: 0.8125rem;
    color: var(--lux-error-on-dark);
    margin-top: 0.875rem;
    display: none;
}

.demo-form-error.show {
    display: block;
}

.demo-form-confirm {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 1.5rem;
    border: 1px solid var(--lux-accent);
    border-radius: var(--radius-sm);
    background: rgba(var(--lux-accent-rgb), 0.12);
    color: var(--lux-ivory);
    font-weight: 500;
    font-size: 0.9375rem;
    text-align: left;
}

.demo-form-confirm.show {
    display: flex;
}

.demo-form-confirm svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--lux-accent-text);
}

.demo-form-wrap.submitted .demo-form {
    display: none;
}

/* ===================== Footer ===================== */

.landing-footer {
    background: var(--lux-black);
    border-top: 1px solid var(--lux-line-dark-faint);
    padding: 3.5rem 1.5rem 2.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--lux-line-dark-faint);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--lux-ivory);
    font-size: 0.9375rem;
}

.footer-logo-mark {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--lux-ivory);
}

.footer-links {
    display: flex;
    gap: 1.75rem;
    font-size: 0.875rem;
    color: rgba(246, 243, 236, 0.6);
}

.footer-links a:hover {
    color: var(--lux-ivory);
}

.footer-contact {
    font-size: 0.8125rem;
    color: rgba(246, 243, 236, 0.55);
    letter-spacing: 0.01em;
}

.footer-contact a {
    color: rgba(246, 243, 236, 0.75);
}

.footer-contact a:hover {
    color: var(--lux-ivory);
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(246, 243, 236, 0.4);
    margin-top: 0.75rem;
}

/* ===================== Pricing page ===================== */

.pricing-header {
    max-width: 820px;
    margin: 0 auto;
    padding: 5rem 1.5rem 2rem;
}

/* Same problem the hero solves with .hero-copy::before: the shader's
   bright ribs can sit directly behind this copy and wash out the
   eyebrow and subhead -- most visible at narrow widths, where the
   bands are densest. Centered heading, so this scrim is symmetric
   (radial) rather than the hero's left-to-right gradient. Same
   stacking trick: position:relative + z-index:1 here makes a stacking
   context so the ::before at z-index:-1 lands between the canvas and
   the text instead of escaping behind the canvas. */
.pricing-header .section-heading {
    position: relative;
    z-index: 1;
}

.pricing-header .section-heading::before {
    content: '';
    position: absolute;
    inset: -2.5rem -3rem;
    z-index: -1;
    background: radial-gradient(ellipse at center,
        rgba(9, 9, 10, 0.86) 0%,
        rgba(9, 9, 10, 0.72) 55%,
        transparent 100%);
    pointer-events: none;
}

.pricing-h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.08 !important;
}

.pricing-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 7rem;
}

.pricing-toggle {
    display: inline-flex;
    margin: 0 auto 2.5rem;
    padding: 0.25rem;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.pricing-toggle-btn {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.pricing-toggle-btn[aria-pressed="true"] {
    background: var(--lux-accent);
    color: var(--lux-black);
}

.pricing-toggle-btn:not([aria-pressed="true"]):hover {
    color: var(--lux-ivory);
}

.pricing-feature-includes {
    font-weight: 700;
    color: var(--lux-ivory);
    padding-left: 0 !important;
}

.pricing-feature-includes::before {
    content: none !important;
}

.pricing-preview-note,
.pricing-free-pilot-note {
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lux-accent-text);
    margin-top: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    width: 100%;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
}

.pricing-card-featured {
    border-color: var(--lux-accent);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lux-accent);
    color: var(--lux-black);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3125rem 0.875rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-tier-name {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--lux-ivory);
    margin-bottom: 0.5rem;
}

.pricing-tier-desc {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
    min-height: 2.6em;
}

.pricing-tier-price {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lux-ivory);
    margin: 1.25rem 0 0.375rem;
}

.pricing-tier-price span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-medium);
}

.pricing-tier-price-custom {
    color: var(--lux-accent-text);
}

.pricing-annual-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.pricing-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-feature-list li {
    position: relative;
    padding-left: 1.375rem;
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.pricing-feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0.125rem;
    width: 0.875rem;
    height: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--lux-accent);
    color: var(--lux-black);
    font-size: 0.5625rem;
    line-height: 1;
}

.pricing-cta {
    text-align: center;
    text-decoration: none;
}

/* ===================== Responsive ===================== */

/* Nav collapses to a hamburger + slide-down panel below this width
   (rather than the previous behavior of squeezing/centering every item
   in place, which is what read as "a test page"). */
@media (max-width: 920px) {
    .landing-nav {
        grid-template-columns: auto auto;
    }

    .landing-nav-links,
    .landing-nav-actions .nav-client-login,
    .landing-nav-actions .nav-book-demo {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-mobile-panel.open {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 1.5rem 1.5rem;
    }

    .nav-mobile-panel a {
        padding: 0.75rem 0.25rem;
        border-top: 1px solid var(--lux-line-dark-faint);
        color: rgba(246, 243, 236, 0.85);
        text-decoration: none;
        font-size: 0.9375rem;
    }

    .nav-mobile-panel .nav-mobile-cta {
        margin-top: 0.75rem;
        text-align: center;
        border-top: none;
    }

    .hero-inner-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subhead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-wrap {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 3rem auto 0;
        width: 100%;
    }
}

@media (max-width: 860px) {
    .differentiator-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .pricing-preview-grid {
        grid-template-columns: 1fr;
    }

    .sample-report-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 420px;
        margin: 0 auto;
    }

    .demo-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .deal-card {
        padding: 1.5rem 1.375rem 1.25rem;
    }

    .deal-card-ticker {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
