/* ==========================================================================
   Lucpac — Quirky landing page
   Visual language matches the login screens: dark slate backdrop,
   cyan→indigo accents, glass cards, playful accents.

   Brand pass, 2026-10-19: every colour now resolves to the --lucpac-* tokens in
   lucpac-tokens.css (cyan/indigo -> Navy, violet -> Sky, slate -> ink and line), and
   type to Lexend/Barlow. The --accent-* and --ink* names are kept so the body did
   not move; the hex values quoted in the comments below are history.
   ========================================================================== */

.landing {
    --accent-cyan: var(--lucpac-navy);
    --accent-indigo: var(--lucpac-navy-deep);
    --accent-violet: var(--lucpac-sky);
    --accent-emerald: var(--lucpac-success);
    /* LIGHT, as of 2026-09-19. This page was a dark theme: a near-black gradient with light ink on
       top. Changing only the background would have left #e2e8f0 text on #F7F9F9 - the page would
       have looked empty rather than restyled, which is why the ink flipped with it.

       The three tokens carry that flip on their own. All 23 colour references in this file go
       through them, so the body of the stylesheet did not have to be touched; the exceptions are
       listed where they occur below. Contrast against #F7F9F9: strong about 18:1, ink about 10:1,
       dim about 6:1 - all past AA, the dim one included, which the obvious slate-500 would not have
       been. */
    --ink: var(--lucpac-ink);
    --ink-dim: var(--lucpac-text-muted);
    --ink-strong: var(--lucpac-navy);

    width: 100%;
    min-height: 100%;
    color: var(--ink);
    font-family: var(--lucpac-font-body);

    /* Flat, not a light version of the old gradient. The radial cyan, indigo and violet washes were
       readable against near-black and turn into faint smudges against near-white; a single colour
       is what was asked for and is the honest starting point for a light page. */
    background: var(--lucpac-mist);
    overflow-x: hidden;

    /* WHAT ELSE HAD TO MOVE, because a background is never only a background on a themed page:
         - six card surfaces at rgba(15, 23, 42, 0.5/0.55) are now #ffffff. Half-opaque charcoal
           read as a card lifted off near-black; on near-white it would have read as a grey slab.
         - the seven rgba(148, 163, 184, 0.18) hairlines are now rgba(15, 23, 42, 0.10). A pale
           border is invisible against a pale page.
         - the four icon chips kept their tinted fills and had their GLYPH colours darkened
           (#38bdf8 to #0369a1 and so on). The tints were always pale; the glyphs were bright
           because they sat on black, and bright-on-pale is unreadable.
       Everything else went through the ink tokens above and needed no edit. */
}

.landing h1, .landing h2, .landing h3, .landing h4 {
    font-family: var(--lucpac-font-display);
    color: var(--ink-strong);
    letter-spacing: -0.015em;
    margin: 0;
}

/* A heading must carry its own line-height. AdminApp's app.css gives html/body `line-height: 1.5rem`
   - a LENGTH, so it is inherited as a fixed 24px rather than as a ratio of the font. A 36px heading
   that wraps then stacks its lines 24px apart and the second line runs into the first. It only shows
   when a heading wraps, which the wider brand display face made "One platform. A growing shelf of
   products." do at 100% zoom.

   :where() keeps this at zero specificity, so every heading that sets its own leading
   (.landing-headline at 1.05, for one) still wins without having to out-rank it. */
:where(.landing) :where(h1, h2, h3, h4) {
    line-height: 1.2;
}

.landing p {
    margin: 0;
    color: var(--ink);
    line-height: 1.6;
}

.landing code {
    font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
    font-size: 0.85em;
    padding: 0.1em 0.4em;
    background: color-mix(in srgb, var(--lucpac-navy) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--lucpac-navy) 25%, transparent);
    border-radius: 4px;
    /* Was #7dd3fc - a light cyan chosen to glow on near-black, and washed out on a pale page.
       #0369a1 is the same hue at a weight that reads on #F7F9F9 (2026-09-19). */
    color: var(--lucpac-navy);
}

/* ==========================================================================
   HEADER IMAGE
   ==========================================================================

   Full-bleed: the band spans the window while every other section is centred at 1200px. It sits
   directly under the nav, and a header image inset from the edges reads as a picture someone put on
   the page rather than as the top of it.

   THE BOX TAKES THE IMAGE'S SHAPE, and is capped. HpMain.webp is 2560x512, so the box is 5:1 until
   it reaches half the window's height; past that it stops growing and cover trims top and bottom.
   Never taller than half the window, because a full screen of picture before the headline is what
   makes a visitor scroll past a page rather than into it.

   The cap is in vh, not px, because zooming changes the CSS size of the window. Until 2026-10-29 it
   was 340px: zooming out to 50% doubles the viewport's CSS width, so 5:1 wanted about 760px, the cap
   held it at 340 and cover cut the top and bottom off - the picture appeared to slide up under the
   nav. vh scales with zoom exactly as the width does, so the band keeps its shape at any zoom.

   Until 2026-10-22 the height was clamp(220px, 20vw, 340px). The 220px floor made the box narrower
   than 5:1 everywhere below 1100px, so cover cut the sides: half an icon at each edge on a tablet,
   and on a phone (about 1.8:1) only the middle third - half a cloud and a sliced icon. Below 600px
   the page now serves HpMain-mobile.webp instead (the <source> in LandingPage.razor), and the box
   takes that file's 1280:780 shape. The breakpoint is in both places and they must agree.

   The colour underneath matters more than it looks. It shows while the file is in flight and stays
   if the file is missing, so a broken path degrades to the brand gradient rather than to a torn-page
   icon on white. */
.landing-banner {
    width: 100%;
    background: linear-gradient(135deg, var(--lucpac-navy), var(--lucpac-navy-deep));
    overflow: hidden;
    line-height: 0;
}

/* object-fit: cover fills the band and crops the overflow; object-position centres that crop, so
   the middle of the image is what always survives. Without cover the image would stretch to the
   band's shape and distort, which is the one failure everybody notices and nobody can name.

   display: block kills the few pixels of descender space an inline <img> leaves beneath itself -
   on a coloured band that gap shows as a stripe. */
.landing-banner-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2560 / 512;
    max-height: 50vh;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 600px) {
    .landing-banner-img {
        aspect-ratio: 1280 / 780;
        max-height: none;
    }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.landing-hero {
    position: relative;
    padding: 5rem 1.5rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.landing-hero-inner {
    position: relative;
    z-index: 2;
    animation: landing-fade-up 600ms ease-out both;
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--lucpac-navy) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--lucpac-navy) 28%, transparent);
    /* Was #7dd3fc - a light cyan chosen to glow on near-black, and washed out on a pale page.
       #0369a1 is the same hue at a weight that reads on #F7F9F9 (2026-09-19). */
    color: var(--lucpac-navy);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.landing-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lucpac-navy);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--lucpac-navy) 80%, transparent);
    animation: landing-pulse 1.8s ease-out infinite;
}

@keyframes landing-pulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lucpac-navy) 70%, transparent); }
    70%  { box-shadow: 0 0 0 10px color-mix(in srgb, var(--lucpac-navy) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lucpac-navy) 0%, transparent); }
}

.landing-headline {
    margin-top: 1.25rem;
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
}

.landing-headline-accent {
    background: linear-gradient(135deg, var(--lucpac-navy) 0%, var(--lucpac-navy-tint) 55%, var(--lucpac-sky) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}

.landing-headline-wink {
    display: inline-block;
    margin-left: 0.3rem;
    transform-origin: 70% 70%;
    animation: landing-wave 2.4s ease-in-out infinite;
}

@keyframes landing-wave {
    0%, 60%, 100% { transform: rotate(0deg); }
    70%  { transform: rotate(14deg); }
    80%  { transform: rotate(-8deg); }
    90%  { transform: rotate(10deg); }
}

.landing-subheadline {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    color: var(--ink-dim);
    max-width: 560px;
}

.landing-cta-row {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Worn by both <a> and <button>: the anchors go to page sections, and the three sign-in calls to
   action open a dialog instead of navigating. `font-family: inherit` is what keeps them
   indistinguishable — a <button> otherwise brings the browser's own UI font and sits visibly apart
   from the anchor beside it. */
.landing-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 120ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.landing-btn:active { transform: translateY(1px); }

.landing-btn svg,
.landing-btn .k-svg-icon {
    width: 18px;
    height: 18px;
}

.landing-btn-primary {
    color: var(--lucpac-on-navy);
    background: var(--lucpac-navy);
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--lucpac-navy) 60%, transparent);
}

.landing-btn-primary:hover {
    filter: brightness(1.06);
    box-shadow: 0 18px 36px -10px color-mix(in srgb, var(--lucpac-navy-deep) 60%, transparent);
}

.landing-btn-ghost {
    color: var(--ink);
    background: color-mix(in srgb, var(--lucpac-text-muted) 6%, transparent);
    border-color: color-mix(in srgb, var(--lucpac-text-muted) 28%, transparent);
}

.landing-btn-ghost:hover {
    background: color-mix(in srgb, var(--lucpac-text-muted) 12%, transparent);
    border-color: color-mix(in srgb, var(--lucpac-text-muted) 50%, transparent);
    color: var(--ink-strong);
}

.landing-btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

/* ---------- Trust strip ---------- */
.landing-trust {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.9rem 1.25rem;
    border-radius: 14px;
    background: var(--lucpac-paper);
    border: 1px solid var(--lucpac-line);
    backdrop-filter: blur(8px);
}

.landing-trust-item {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.landing-trust-number {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--lucpac-navy), var(--lucpac-sky));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-trust-label {
    margin-top: 0.3rem;
    font-size: 0.72rem;
    color: var(--ink-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.landing-trust-divider {
    width: 1px;
    height: 28px;
    background: color-mix(in srgb, var(--lucpac-text-muted) 25%, transparent);
}

/* ---------- Floating papers ---------- */
.landing-papers {
    position: relative;
    height: 420px;
    z-index: 1;
}

.landing-paper {
    position: absolute;
    width: 200px;
    height: 260px;
    background: linear-gradient(180deg, var(--lucpac-paper) 0%, var(--lucpac-mist) 100%);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    color: var(--lucpac-ink);
}

.landing-paper::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--lucpac-sky) 0%, transparent 70%);
    opacity: 0.25;
}

.landing-paper-line {
    height: 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--lucpac-text-muted) 25%, transparent);
}

.landing-paper-line.short { width: 60%; }

.landing-paper-sig {
    margin-top: auto;
    font-family: "Brush Script MT", cursive;
    font-size: 2.5rem;
    color: var(--lucpac-ink);
    line-height: 1;
    transform: rotate(-8deg);
}

.landing-paper-stamp {
    margin-top: auto;
    align-self: center;
    padding: 0.2rem 0.6rem;
    border: 2px solid var(--lucpac-success);
    color: var(--lucpac-success);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    transform: rotate(-6deg);
    border-radius: 4px;
}

.landing-paper-1 {
    top: 10px;
    left: 20px;
    transform: rotate(-8deg);
    animation: landing-float 6s ease-in-out infinite;
}

.landing-paper-2 {
    top: 60px;
    left: 150px;
    transform: rotate(4deg);
    z-index: 2;
    animation: landing-float 7s ease-in-out infinite 0.6s;
}

.landing-paper-3 {
    top: 180px;
    left: 60px;
    transform: rotate(-3deg);
    animation: landing-float 8s ease-in-out infinite 1.2s;
}

@keyframes landing-float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -12px; }
}

/* ==========================================================================
   SHARED SECTION HEADER
   ========================================================================== */
.landing-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.landing-section-head h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 700;
}

.landing-section-head p {
    margin-top: 0.75rem;
    color: var(--ink-dim);
    font-size: 1rem;
}

/* ==========================================================================
   FEATURES
   ==========================================================================
   The WORKFLOW block and .landing-mute used to sit in this file. They went with "Inside a matter"
   to AutoDocWavePage on 2026-09-21 - four steps describing how one contract runs are a product's
   business, not the platform's - and .landing-mute had no other user. Their replacements are
   .adw-matter-* over there. */
.landing-features {
    padding: 4rem 1.5rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.landing-feature-card {
    position: relative;
    padding: 1.75rem 1.5rem 1.5rem;
    background: var(--lucpac-paper);
    border: 1px solid var(--lucpac-line);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    overflow: hidden;
}

.landing-feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, color-mix(in srgb, var(--lucpac-navy) 8%, transparent), transparent 50%);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.landing-feature-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--lucpac-navy) 35%, transparent);
    box-shadow: 0 25px 50px -20px color-mix(in srgb, var(--lucpac-navy) 25%, transparent);
}

.landing-feature-card:hover::after { opacity: 1; }

.landing-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.landing-feature-card p {
    margin-top: 0.6rem;
    font-size: 0.92rem;
    color: var(--ink);
}

/* The card picture (2026-09-22), on the How it works cards.

   FULL-BLEED to the card edges, which is what the negative margins are for: the card carries
   1.75rem of top padding and 1.5rem at the sides, so the image has to climb back out of all three
   to reach the corners. An inset picture inside a bordered card reads as a picture somebody dropped
   in; one that meets the edges reads as part of the card.

   No border-radius of its own. .landing-feature-card is already overflow: hidden with an 18px
   radius, so the top corners are clipped by the card - and a radius here as well would sit a few
   pixels inside that curve, which shows as a hairline of card colour along the arc.

   Fixed height plus cover, for the reason the header banner has it: four cards in a row must be the
   same height, and letting each 940x615 source set its own would make the row ragged the moment one
   image is replaced with a different shape. The crop is centred.

   It is a CLASS rather than a rule on .landing-howto img, so the DocFlow page's feature cards - the
   same component, the same stylesheet - are untouched until somebody gives them pictures too. */
.landing-feature-img {
    display: block;
    width: calc(100% + 3rem);
    height: 150px;
    margin: -1.75rem -1.5rem 1.5rem;
    object-fit: cover;
    object-position: center;
}
.landing-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -10px currentColor;
}

.landing-feature-icon svg,
.landing-feature-icon .k-svg-icon {
    width: 22px;
    height: 22px;
}

.landing-icon-cyan    { background: var(--lucpac-sky-tint); color: var(--lucpac-navy); border: 1px solid color-mix(in srgb, var(--lucpac-navy) 20%, transparent); }
.landing-icon-indigo  { background: var(--lucpac-sky-tint); color: var(--lucpac-navy); border: 1px solid color-mix(in srgb, var(--lucpac-navy) 20%, transparent); }
.landing-icon-violet  { background: var(--lucpac-sky-tint); color: var(--lucpac-navy); border: 1px solid color-mix(in srgb, var(--lucpac-navy) 20%, transparent); }
.landing-icon-emerald { background: var(--lucpac-sky-tint); color: var(--lucpac-navy); border: 1px solid color-mix(in srgb, var(--lucpac-navy) 20%, transparent); }

.landing-feature-quip {
    display: block;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px dashed color-mix(in srgb, var(--lucpac-text-muted) 25%, transparent);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--ink-dim);
}

/* ==========================================================================
   CLOSER CTA
   ========================================================================== */
.landing-closer {
    padding: 3rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-closer-card {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
    border-radius: 24px;
    /* A navy band with light type (2026-11-30). This was the dark theme's card - night at 75% over
       the page - left behind when the page went light on 2026-09-19: the heading kept the light
       page's navy and the text its muted grey, so both sat dark on dark and the callout on a
       product page could not be read. Solid brand navy now, as the About us band is, with the
       type, the accent and the button turned for it below. */
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--lucpac-sky) 26%, transparent), transparent 55%),
        linear-gradient(135deg, var(--lucpac-navy), var(--lucpac-navy-deep));
    border: 1px solid color-mix(in srgb, var(--lucpac-sky) 28%, transparent);
    box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--lucpac-navy-deep) 70%, transparent);
    color: var(--lucpac-on-navy);
}

.landing-closer-text {
    flex: 1 1 360px;
}

.landing-closer-text h2 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    color: var(--lucpac-on-navy);
}

.landing-closer-text h2 em {
    font-style: italic;
    /* Was #7dd3fc - a light cyan chosen to glow on near-black, and washed out on a pale page.
       #0369a1 is the same hue at a weight that reads on #F7F9F9 (2026-09-19). Sky since the card
       went navy (2026-11-30): navy on navy would vanish. */
    color: var(--lucpac-sky);
}

.landing-closer-text p {
    margin-top: 0.75rem;
    color: var(--lucpac-on-navy-muted);
}

/* The page's primary button is navy, which disappears on the navy card, so here it turns over:
   white with navy type, the way the About us band's light-on-dark reads. */
.landing-closer-card .landing-btn-primary {
    background: var(--lucpac-paper);
    color: var(--lucpac-navy);
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--lucpac-night) 60%, transparent);
}

.landing-closer-card .landing-btn-primary:hover {
    background: var(--lucpac-sky-tint);
    filter: none;
}


/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes landing-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {

    /* About drops to a single column: the facts panel reads as a sidebar beside the
       copy and as a summary beneath it, so no reordering is needed. */
    .landing-about-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .landing-hero {
        grid-template-columns: 1fr;
        padding: 3.5rem 1.25rem 2.5rem;
    }

    .landing-papers {
        height: 320px;
        order: -1;
        transform: scale(0.85);
    }

    .landing-trust {
        gap: 1rem;
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }

    .landing-closer-card {
        padding: 1.75rem;
    }
}


/* ==========================================================================
   ANCHOR TARGETS
   Every id below is linked from the landing chrome's nav, which is sticky.
   Without a scroll margin the browser aligns the section's top edge with the
   viewport's, and the bar then covers the heading you just navigated to.
   Harmless where no sticky chrome exists (Lucpac.App renders this page inside
   its own layout), so it lives here with the sections rather than in the chrome.
   ========================================================================== */
/* EVERY id, by construction, and not a list (2026-09-21). The list was #products, #about, #contact
   and #product-docflow, which was right when it was written and silently wrong by the time
   "How it works" was added: that heading scrolled up under the sticky bar and read as a section
   that had failed to render. Nothing said so, because a missing scroll margin is not an error - it
   is a correct scroll to the wrong place.

   Anything with an id inside this page is an anchor target or will be one, so the rule takes them
   all and a new section is covered the moment it exists.

   THE MARGIN IS THE HEADER'S MEASURED HEIGHT plus a breath (2026-10-22). It was a fixed 7.5rem
   (120px), right for the header it was written against; the brand pass made the header 157px on a
   desktop and 176px on a phone, so every jump parked its target under the bar - a product card's
   title, most visibly. landing-nav.js now measures .lc-header and sets --lc-header-height, so the
   margin follows the header wherever it goes next. The fallback is the desktop height, for the
   moment before the script has run. */
.landing [id] {
    scroll-margin-top: calc(var(--lc-header-height, 9.8rem) + 1.5rem);
}

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.landing-products {
    padding: 4rem 1.5rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* A STACK, not a grid (2026-09-21). Every product card is full width now, so there is no row for a
   grid to arrange - what is left is vertical rhythm, and a one-column grid with a gap says that
   more honestly than a track definition nothing ever fills.

   It replaced an auto-fit grid capped at 720px. The cap kept a LONE card from stretching into a
   band that reads as a section rather than a product; once every card is deliberately that wide
   and more than one is stacked, that reading does not arise and the cap was the only thing between
   DocFlow and the width it was asked for.

   The gap is the old grid's, so the spacing between two products did not change when the
   arrangement did. */
.landing-product-stack {
    display: grid;
    gap: 1.5rem;
}

.landing-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.6rem 1.6rem;
    background: var(--lucpac-paper);
    border: 1px solid var(--lucpac-line);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.landing-product-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--lucpac-navy) 35%, transparent);
    box-shadow: 0 25px 50px -20px color-mix(in srgb, var(--lucpac-navy) 25%, transparent);
}

.landing-product-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.landing-product-mark {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -10px currentColor;
}

.landing-product-mark svg {
    width: 22px;
    height: 22px;
}

.landing-product-title h3 {
    font-size: 1.15rem;
    font-weight: 650;
}

.landing-product-tag {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.landing-product-card > p {
    margin-top: 1.1rem;
    font-size: 0.92rem;
}

.landing-product-points {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.landing-product-points li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.88rem;
    color: var(--ink);
}

.landing-product-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px color-mix(in srgb, var(--lucpac-navy) 80%, transparent);
}

/* The slack goes here, not on the button. Growing the list pins the action to the
   card's foot — so cards of unequal copy length line their buttons up once there
   is more than one product — while the button keeps its own margin. Putting
   margin-top:auto on the button instead does bottom-pin it, but collapses that
   margin to zero on the longest card, which is the one that needs it most. */
.landing-product-points {
    flex: 1 1 auto;
}

.landing-product-card .landing-btn {
    align-self: flex-start;
}

/* The full-width product card (2026-09-21).

   As wide as the four feature cards together, which costs nothing to arrange because
   .landing-products and .landing-features carry the same max-width and the same gutters - so a
   child that simply fills .landing-products lines up edge to edge with that row.

   Both products carry it as of 2026-09-21, which is why the 720px grid became .landing-product-
   stack: with every card wide, the cap was the only thing holding one of them narrow. It stays a
   MODIFIER rather than folding into .landing-product-card, because a narrow card is still a
   legitimate thing to want - a product with two lines of copy would look absurd at this width -
   and the difference should be stated on the card that wants it, not assumed for all of them.

   The INTERNAL layout is the real work. At 1150px the stacked card becomes a strip: one line of
   text per row, a bullet list a third of the way across, and an enormous empty right-hand side. So
   the head spans the top, the copy and the points share the middle as two columns, and the action
   sits under the copy. The card keeps every other .landing-product-card rule - border, hover lift,
   the lot - and overrides only the box model. */
.landing-product-card-wide {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-areas:
        "head  head"
        "copy  points"
        "cta   points";
    column-gap: 3rem;
    align-items: start;
}

.landing-product-card-wide > .landing-product-head {
    grid-area: head;
}

.landing-product-card-wide > p {
    grid-area: copy;
    /* Slightly larger than the grid cards': this one has room, and 0.92rem across a wide column
       reads as small print rather than as the product's pitch. */
    font-size: 0.97rem;
}

.landing-product-card-wide > .landing-product-points {
    grid-area: points;
    /* The flex:1 that pins the button to the foot of a column card means nothing in a grid, and
       the top margin would push the list out of line with the paragraph beside it. */
    flex: 0 0 auto;
    margin-top: 1.1rem;
}

.landing-product-card-wide > .landing-btn {
    grid-area: cta;
    justify-self: start;
    margin-top: 1.5rem;
}

/* Back to one column before the two get too narrow to read. The areas collapse in source order,
   which is already the right order: head, copy, points, action. */
/* The wide card WITH a picture (2026-09-21). A third column rather than a band across the top: at
   this width the card is already a horizontal object, and a full-width strip above the heading would
   push the copy down a screen and turn a product card into a poster.

   0.95fr, so the image is the narrowest of the three. The copy is what sells the product and the
   bullets are what answer the follow-up question; the picture supports both and should not out-size
   either.

   Only the card that HAS an image carries this class. Folding it into .landing-product-card-wide
   would give DocFlow a third column with nothing in it, and an empty grid track is invisible right
   up until it silently widens the gap between the copy and the bullets. */
.landing-product-card-media {
    grid-template-columns: 1.15fr 1fr 0.95fr;
    grid-template-areas:
        "head  head    image"
        "copy  points  image"
        "cta   points  image";
}

/* height: 100% makes the picture fill the rows it spans, so its bottom edge lines up with the
   bullets beside it rather than floating somewhere in the middle. cover then crops instead of
   stretching - the one distortion everybody notices and nobody can name. max-height stops a tall
   card from turning the image into a column. */
.landing-product-card-media > .landing-product-image {
    grid-area: image;
    width: 100%;
    height: 100%;
    max-height: 280px;
    margin-top: 1.1rem;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--lucpac-line);
}

@media (max-width: 860px) {
    .landing-product-card-wide {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "copy"
            "points"
            "cta";
    }

    /* One column, with the picture directly under the heading: on a phone it is the thing that
       says what the product looks like before anybody reads four bullets about it. */
    .landing-product-card-media {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "image"
            "copy"
            "points"
            "cta";
    }

    .landing-product-card-media > .landing-product-image {
        max-height: 200px;
    }
}

.landing-btn-sm {
    margin-top: 1.4rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   ABOUT US - the photograph band (2026-09-22)
   ==========================================================================

   A WRAPPER, because .landing-about is centred at 1200px: a background on the section itself would
   stop dead either side of the text with page tint beyond, which reads as a picture pasted onto the
   page rather than as the page.

   TWO LAYERS in one background shorthand, and the order matters - the gradient is listed first
   because CSS paints background layers front to back. It is a scrim: the photograph is a real
   photograph with light and dark in it, and white heading text over the light parts of an unknown
   image is a coin toss. The scrim makes the top of the band reliably dark enough for the heading
   without flattening the picture into a grey rectangle.

   background-attachment is deliberately NOT fixed. It resolves against the viewport, and this page
   scrolls inside .landing-shell rather than the window, so fixed here either does nothing or judders
   depending on the browser. */
/* THE PHOTOGRAPH, straight on the band.

   Au.webp is 2560x1280, 2:1 - the band's own rough shape on a desktop, so cover crops little there.
   On a phone the band is tall and narrow and cover keeps a vertical slice from the middle; the
   network runs edge to edge, so that slice still shows it either side of the card.

   Since 2026-10-22 it is a StockCake image (AI-generated, CC0) of a globe under a network of light.
   Its download was 1402x1122, so its middle 1402x701 is enlarged 1.83x to fill the slot - slightly
   soft at 1:1, which the scrim below partly hides. A larger copy replaces the file at the same size
   with no change here.

   TWO LAYERS, gradient first because CSS paints background layers front to back. The gradient is a
   scrim: this is a real photograph with light and dark in it, and white heading text over the light
   parts of one is a coin toss. It makes the band reliably dark enough without flattening the picture
   into a grey rectangle.

   background-attachment is deliberately NOT fixed. It resolves against the viewport, and this page
   scrolls inside .landing-shell rather than the window, so fixed here either does nothing or judders
   depending on the browser. */
.landing-about-band {
    /* A guaranteed dark backdrop. The scrim is semi-transparent, so if the photograph ever fails to
       load the white heading would otherwise sit on the page tint at about 1.2:1 - invisible. This
       makes a missing image a plain dark band rather than a blank one. */
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--lucpac-navy-deep) 72%, transparent) 0%, color-mix(in srgb, var(--lucpac-navy-deep) 55%, transparent) 45%, color-mix(in srgb, var(--lucpac-navy-deep) 72%, transparent) 100%),
        url('/Images/Au.webp') center / cover no-repeat,
        var(--lucpac-navy-deep);
}

/* The heading goes on the photograph, in white. It is two short lines, which is the most that can
   sit on a picture and stay legible. */
.landing-about-band .landing-section-head h2 {
    color: #ffffff;
}

.landing-about-band .landing-section-head p {
    color: rgba(255, 255, 255, 0.86);
}

/* The copy goes on a CARD, not on the photograph. Four paragraphs of body text over a picture is
   unreadable at any scrim strength that still lets the picture read as a picture, so the words get
   their own opaque surface and the picture keeps the heading.

   0.94 rather than 1: enough of the photograph shows through to tie the card to the band, not enough
   to interfere with a line of text. The shadow is what lifts it off the picture - without one the
   card reads as a hole cut in the image. */
.landing-about-band .landing-about-grid-solo {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--lucpac-navy-deep) 55%, transparent);
    max-width: 860px;
}

@media (max-width: 860px) {
    .landing-about-band .landing-about-grid-solo {
        padding: 1.75rem 1.5rem;
    }
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.landing-about {
    padding: 4rem 1.5rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* The About variant with no facts panel (2026-09-20).

   The grid is 1.6fr 1fr, so a lone child does NOT fill it - the copy keeps the first track at about
   sixty per cent of the width and an empty column sits beside it, which reads as a card that failed
   to load rather than as a deliberate single column.

   One track instead, capped at a readable measure. 800px because a paragraph running the full
   1200px of the section is too long a line to scan comfortably, and centred so it sits under the
   centred heading rather than hard against the left edge. The narrow-screen rule above already
   collapses .landing-about-grid to one column, and this stays correct underneath it. */
.landing-about-grid-solo {
    grid-template-columns: minmax(0, 1fr);
    max-width: 800px;
    margin: 0 auto;
}


/* The four pillars inside the card (2026-09-22).

   auto-fit at 280px gives two columns inside the card's ~770px of content and drops to one on a
   phone, without a media query of its own. Two-by-two is the point: four ideas in a single column
   is the wall this replaced. */
.landing-about-pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.9rem 2.5rem;
}

/* The scannable half. Uppercase and tracked so it reads as a label rather than as a first line of
   the paragraph, and in the same #0369a1 the icon glyphs use - the one accent on this page that was
   picked to hold up against a light background. */
.landing-about-kicker {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--lucpac-navy);
}

.landing-about-pillars p {
    font-size: 0.93rem;
}

/* The facts as a STRIP, not the sidebar the base rule was written for: three across instead of one
   down, lined up with the card above and matching its opacity because it is on the photograph too.
   Centred by margin rather than by the grid, so it keeps the card's width instead of the section's
   1200px.

   BOTH class names in the selector on purpose. This block sits above the .landing-about-facts rule
   it modifies, and with one class each the later rule would win every property they share -
   padding, background, margin. Two classes settle it by specificity instead of by line number, so
   moving either block cannot quietly undo this one. */
.landing-about-facts.landing-about-facts-strip {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem 2rem;
    max-width: 860px;
    margin: 1.5rem auto 0;
    padding: 1.5rem 2.75rem;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--lucpac-navy-deep) 55%, transparent);
}

@media (max-width: 860px) {
    .landing-about-facts.landing-about-facts-strip {
        padding: 1.5rem;
    }
}

.landing-about-facts {
    list-style: none;
    margin: 0;
    padding: 1.4rem 1.5rem;
    display: grid;
    gap: 1.1rem;
    background: var(--lucpac-paper);
    border: 1px solid var(--lucpac-line);
    border-radius: 18px;
    backdrop-filter: blur(14px);
}

.landing-about-fact-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.landing-about-fact-value {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-strong);
}

/* ==========================================================================
   HOW IT WORKS (2026-09-21)
   ========================================================================== */

/* A WRAPPER, for the same reason Contact us has one: the section is centred at 1200px, so a
   background on the section itself would leave a white block floating in the middle of the page
   with #F7F9F9 either side. The wrapper spans the window; the section stays centred inside it and
   keeps its own padding, so the white runs past the content to both edges. */
.landing-howto-band {
    background: var(--lucpac-paper);
}

.landing-howto {
    padding: 4rem 1.5rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* The cards are .landing-feature-card, reused rather than reimplemented, so "like the Four horsemen
   cards" stays true when one of them is touched. The one thing that cannot carry over is the
   background: those sit white on #F7F9F9, and here the band IS white, so a white card would vanish
   into it and leave four outlines where there should be four panels.

   So the relationship inverts, exactly as it does for the contact cards on their white band - the
   card takes the page tint and stays the lighter-or-darker of the two. Everything else about the
   card, including the hover lift and the dashed quip rule, is inherited untouched. */
.landing-howto .landing-feature-card {
    background: var(--lucpac-mist);
}

/* ==========================================================================
   CONTACT US
   ========================================================================== */
/* Contact us sits on white rather than the page's #F7F9F9 (2026-09-19). Full width by
   construction: this wraps the section, which keeps its own max-width and padding, so the colour
   runs to the window edges while the content stays where every other section's content is.

   The cards inside are also #ffffff, so they no longer read as raised panels on a tint - they read
   as outlined ones, held by the 10% hairline they already carry. That is the consequence of this
   colour rather than an oversight; tinting the cards instead would put the relationship back. */
.landing-contact-band {
    background: var(--lucpac-paper);
}

/* Arriving from the nav underlines the heading (2026-09-19; rebuilt on .lp-current 2026-09-21).

   ONE RULE for every section the bar links to. The class names which section the address points at,
   so a fourth nav item needs nothing here at all - which is the improvement over the selector list
   this replaced, where adding an item meant remembering to add a selector.

   wwwroot/js/landing-nav.js puts .lp-current on the section named by location.hash, on load and on
   every hashchange, and takes it off the others. THREE mechanisms were tried for this and the first
   two are worth knowing about, because both look correct and both fail in one direction only.

   :target was the second, and it failed on ARRIVAL. Clicking Contact us on /products/autodocwave
   navigates to /#contact, the browser scrolls to the section, and :target matches nothing in the new
   document. A plain reload of /#contact sets it correctly, which is what makes this so easy to miss:
   every way anybody tests it deliberately works, and the route a visitor actually takes does not.
   Measured on 2026-09-21 both through the script and by calling location.assign by hand with the
   script out of the way, so it is the navigation and not the handler.

   NavigationManager.LocationChanged was the first, and it failed in the OTHER direction - right on
   arrival, dead within the page, because Blazor raises no LocationChanged for a hash-only
   navigation.

   The hash is what is reliable. It is already correct on first paint after any arrival, and a real
   fragment navigation raises hashchange - which pushState does not, and which is the whole reason
   that script exists. LandingInPageNavigationTests pins the wiring.

   THE BAR IS currentColor - the heading's own colour, whatever band it sits on (2026-10-22). It was
   a fixed var(--lucpac-navy), which is the heading colour on every pale band and nearly the
   background on the dark one: About us puts a white heading on a navy photograph, and the bar under
   it all but vanished. A decoration that marks text takes that text's colour, so it is exactly as
   legible as the words it marks and no band can make it disappear. BrandAccentFollowsTextTests
   holds it there.

   inline-block on the h2 because .landing-section-head is centred at 720px - without it the rule
   would underline the whole block and sit adrift of the words. */
.lp-current .landing-section-head h2 {
    position: relative;
    display: inline-block;
}

.lp-current .landing-section-head h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* Dropped from -0.4rem so the bar clears the descenders rather than grazing them, and doubled
       from 3px to 6px (2026-09-19). The radius follows the height at half of it, which is what keeps
       the ends round instead of turning a thicker bar into a rectangle with soft corners. */
    bottom: -0.75rem;
    height: 6px;
    border-radius: 3px;
    background: currentColor;
}

/* The nav item for the current section stays lit (2026-10-22), so the bar says where the visitor is -
   not only while the pointer is over it. landing-nav.js moves the mark as the page scrolls, so the
   lit item follows the reader; the Products menu button lights for the products section.

   Keyed on the same .lp-current the heading underline uses, so the two always agree, and done in CSS
   alone: landing-nav.js already marks the section, and :has() lets the bar read that mark without
   the script learning about the nav. Here rather than in LandingChrome.razor.css because the
   selector starts at .landing-shell, which the chrome does not own, and CSS isolation scopes the
   last compound only - the shell half would be left to chance.

   The look is the open-menu state's (.lc-nav-link-open): tint, edge and the underline held open. One
   line per section link; BrandAccentFollowsTextTests fails a nav link that has no line here. */
.landing-shell:has(#products.lp-current) .lc-nav-toggle,
.landing-shell:has(#how-it-works.lp-current) .lc-nav-link[href="/#how-it-works"],
.landing-shell:has(#about.lp-current) .lc-nav-link[href="/#about"],
.landing-shell:has(#contact.lp-current) .lc-nav-link[href="/#contact"] {
    color: var(--lc-accent-cyan);
    background: color-mix(in srgb, var(--lucpac-sky) 14%, transparent);
    border-color: color-mix(in srgb, var(--lucpac-sky) 40%, transparent);
}

.landing-shell:has(#products.lp-current) .lc-nav-toggle::after,
.landing-shell:has(#how-it-works.lp-current) .lc-nav-link[href="/#how-it-works"]::after,
.landing-shell:has(#about.lp-current) .lc-nav-link[href="/#about"]::after,
.landing-shell:has(#contact.lp-current) .lc-nav-link[href="/#contact"]::after {
    left: 0.7rem;
    right: 0.7rem;
}

.landing-contact {
    padding: 4rem 1.5rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.landing-contact-card {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.5rem;
    /* The page tint, because this section's band is white (2026-09-19). The relationship is inverted
       here and only here: everywhere else a white card sits on #F7F9F9, and in Contact us a tinted
       card sits on white. Either way the card is the lighter-or-darker of the two and reads as a
       panel; matching the band would have left three outlines and no panels. */
    background: var(--lucpac-mist);
    border: 1px solid var(--lucpac-line);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    text-decoration: none;
    color: inherit;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* "Email us" is a <button> since 2026-09-24 - it opens the request dialog rather than a mail
   client. Undo what a button brings with it so it lays out exactly like the two cards beside it;
   the border and background above still apply, being set after the browser's own. */
button.landing-contact-card {
    font: inherit;
    text-align: inherit;
    align-items: stretch;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

/* All three cards, including the address one (2026-09-19).
   It used to be excluded - it is a div rather than a link, because there is nowhere for it to go,
   and the lift was withheld so it did not advertise a click that does nothing. Reported as an
   inconsistency in review, and the consistency wins: the three sit in one row and one of them
   sitting still reads as a rendering fault rather than as a distinction.
   The card stays a div, so the cursor stays an arrow over it while the other two show a hand -
   which is where the difference between "you can click this" and "you cannot" now lives. */
.landing-contact-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--lucpac-navy) 35%, transparent);
    box-shadow: 0 25px 50px -20px color-mix(in srgb, var(--lucpac-navy) 25%, transparent);
}

.landing-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.landing-contact-icon svg,
.landing-contact-icon .k-svg-icon {
    width: 20px;
    height: 20px;
}

.landing-contact-label {
    display: block;
    margin-top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.landing-contact-value {
    display: block;
    margin-top: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-strong);
}

.landing-contact-note {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--ink-dim);
}

.landing-contact-sales {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--ink-dim);
}

.landing-contact-sales em {
    color: var(--ink);
    font-style: italic;
}
@media (max-width: 520px) {
    .landing-papers { display: none; }
    .landing-cta-row .landing-btn { flex: 1 1 100%; justify-content: center; }
    .landing-trust-divider { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .landing-paper-1,
    .landing-paper-2,
    .landing-paper-3,
    .landing-headline-wink,
    .landing-eyebrow-dot,
    .landing-hero-inner {
        animation: none !important;
    }

    .landing-feature-card,
    .landing-btn {
        transition: none;
    }

    .landing-product-card,
    .landing-contact-card {
        transition: none;
    }
}

/* ==========================================================================
   PLANS (product pages)
   DocFlow's plan deck, 2026-09-24. The cards are MarketingPlanShowcase's own;
   this file only lays out the band around them and the button in each card's
   footer, matching .adw-plan-cta on AutoDocWave's page.

   The SIGN-IN DIALOG styles that used to close this file went the same day,
   with the popup on DocFlow's page - it was their only user.
   ========================================================================== */
.landing-plans-band {
    display: block;
    background: var(--lucpac-paper);
}

.landing-plans {
    padding: 4rem 1.5rem 4.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-plan-cta {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--lucpac-navy);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

/* ==========================================================================
   LEGAL (privacy notice)
   A reading column, not a marketing section: one narrow measure, plain headings,
   no cards. Long-form text at 1200px wide is hard to read, hence the 760px cap.
   ========================================================================== */
.landing-legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4.5rem;
    line-height: 1.65;
}

.landing-legal-head h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
}

.landing-legal-updated {
    margin-top: 0.35rem;
    color: var(--ink-dim);
    font-size: 0.85rem;
}

.landing-legal-head p:last-child {
    margin-top: 1rem;
}

.landing-legal section {
    margin-top: 2rem;
}

.landing-legal h2 {
    font-size: 1.2rem;
    font-weight: 650;
    margin-bottom: 0.5rem;
}

.landing-legal p + p,
.landing-legal ul + p,
.landing-legal p + ul {
    margin-top: 0.6rem;
}

.landing-legal ul {
    padding-left: 1.25rem;
}

.landing-legal li + li {
    margin-top: 0.3rem;
}

.landing-legal a {
    color: var(--lucpac-navy);
    text-decoration: underline;
}

/* The cookie list. The wrapper scrolls sideways on a phone instead of the page doing so. */
.landing-legal-table-wrap {
    margin-top: 0.8rem;
    overflow-x: auto;
}

.landing-legal-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.5;
}

.landing-legal-table th,
.landing-legal-table td {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid var(--lucpac-line);
    text-align: left;
    vertical-align: top;
}

.landing-legal-table th {
    font-weight: 650;
    color: var(--ink-strong, inherit);
    border-bottom-width: 2px;
}

.landing-legal-table code {
    font-size: 0.85em;
    word-break: break-all;
}

/* ==========================================================================
   PRODUCT MARKETING - the generated shelf card and detail page (2026-10-13)
   ==========================================================================
   ProductShelfCard and ProductMarketingPage, which render a release's content
   on the public site AND in the staff previews. They wear the hand-written
   cards' and DocFlow page's classes wherever those fit, so a generated product
   looks like the ones it replaces; the rules below are only what authored
   content needs that hand-written markup did not.

   --pm-accent is Product.BrandColour, set on the card or page root as a style
   attribute. The aggregate accepts only #RRGGBB and the components drop
   anything else, so it is safe to place there. Without one, the defaults below
   keep the shelf's own cyan. */

/* The mark in the product's colour - the tint and border the four
   .landing-icon-* chips use, derived from one value instead of four. */
.landing-pm-mark {
    background: color-mix(in srgb, var(--pm-accent) 15%, transparent);
    color: var(--pm-accent);
    border: 1px solid color-mix(in srgb, var(--pm-accent) 40%, transparent);
}

.landing-pm-mark-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.landing-pm-mark-letter {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

/* Authored text keeps its own line breaks; a blank line has already been
   turned into a new paragraph by MarketingText. */
.landing-pm-text {
    white-space: pre-line;
}

/* The card's copy is a wrapper of paragraphs rather than one <p>, so it takes
   over the rules the hand-written cards put on that <p>. */
.landing-product-card > .landing-pm-copy {
    margin-top: 1.1rem;
    font-size: 0.92rem;
}

.landing-product-card-wide > .landing-pm-copy {
    grid-area: copy;
    font-size: 0.97rem;
}

.landing-pm-copy p {
    font-size: inherit;
}

.landing-pm-copy p + p,
.landing-feature-card p + p,
.landing-step p + p,
.landing-closer-text p + p {
    margin-top: 0.6rem;
}

.landing-product-points li::before {
    background: var(--pm-accent, var(--accent-cyan));
}

/* The hero with no picture spans the width instead of leaving the second
   column empty; with one, the picture takes it. */
.landing-pm-hero-solo {
    grid-template-columns: 1fr;
    /* Without a picture the hero is only its text, and the 6rem it keeps under a picture left a
       blank band before the first section (2026-11-30). */
    padding-bottom: 3rem;
}

.landing-pm-hero-solo .landing-subheadline {
    max-width: 720px;
}

.landing-pm-sub {
    margin-top: 0.75rem;
}

.landing-pm-hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--lucpac-line);
}

.landing-pm-page .landing-eyebrow-dot {
    background: var(--pm-accent, var(--accent-cyan));
}

/* Numbered steps - AutoDocWave's "Inside a matter" (.adw-matter-*), brought
   here so every product page can have them. White on the page tint. */
.landing-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.landing-step {
    position: relative;
    padding: 1.5rem 1.25rem 1.25rem;
    background: var(--lucpac-paper);
    border: 1px solid var(--lucpac-line);
    border-radius: 14px;
    transition: transform 220ms ease, border-color 220ms ease;
}

.landing-step:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--lucpac-navy-deep) 40%, transparent);
}

.landing-step-num {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: var(--lucpac-navy);
    color: var(--lucpac-on-navy);
}

.landing-step h4 {
    margin-top: 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.landing-step p {
    margin-top: 0.45rem;
    font-size: 0.88rem;
    color: var(--ink-dim);
}

@media (prefers-reduced-motion: reduce) {
    .landing-step {
        transition: none;
    }
}

/* A staff preview: the card or page inside a work item. .landing brings the
   page's tokens and type; this keeps it from claiming the whole window. */
.landing.landing-pm-preview {
    min-height: 0;
    border: 1px solid var(--lucpac-line);
    border-radius: 12px;
}
