/**
 * SiteRecord Landing Page Stylesheet
 *
 * Scoped to the public homepage only (body.landing-page).
 * Other marketing/article pages continue to use marketing.css.
 *
 * DESIGN PRINCIPLES:
 * - Document-like confidence: ink on paper, ruled lines, ledger rhythm
 * - One restrained accent (navy), one success accent (green)
 * - Substantial product visual built from real product vocabulary
 * - Accessible: semantic structure, visible focus, reduced-motion support
 */

@import url('./fonts.css');

/* ============================================================================
   TOKENS
   ============================================================================ */

:root {
    --lp-paper: #faf9f7;
    --lp-surface: #f4f3f0;
    --lp-card: #ffffff;
    --lp-ink: #101418;
    --lp-text: #2a2e33;
    --lp-text-secondary: #4d545b;
    --lp-text-muted: #707880;
    --lp-rule: #dcd9d3;
    --lp-rule-light: #e9e7e1;

    --lp-navy: #1a365d;
    --lp-navy-bright: #2a4a7a;
    --lp-navy-ink: #0f1e38;

    --lp-open-bg: #eceff4;
    --lp-open-text: #3d4c63;
    --lp-progress-bg: #e4ecf9;
    --lp-progress-text: #1e40af;
    --lp-verify-bg: #fbf2d9;
    --lp-verify-text: #745300;
    --lp-resolved-bg: #e3f2e8;
    --lp-resolved-text: #1d6b38;
    --lp-serious-bg: #fdf0e4;
    --lp-serious-text: #8a4a0b;

    --lp-radius: 14px;
    --lp-radius-sm: 8px;
    --lp-shadow:
        0 1px 2px rgba(15, 30, 56, 0.05),
        0 12px 32px -16px rgba(15, 30, 56, 0.16),
        0 32px 64px -32px rgba(15, 30, 56, 0.22);
    --lp-shadow-sm: 0 2px 6px rgba(15, 30, 56, 0.06);

    --lp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lp-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --lp-page: 1120px;
    --lp-section-gap: clamp(4.5rem, 9vw, 7rem);
}

/* ============================================================================
   BASE
   ============================================================================ */

.landing-page {
    margin: 0;
    padding: 0;
    background: var(--lp-paper);
    color: var(--lp-text);
    font-family: var(--lp-font);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.landing-page *,
.landing-page *::before,
.landing-page *::after {
    box-sizing: border-box;
}

.landing-page img,
.landing-page svg {
    display: block;
}

/* Visible keyboard focus everywhere on the landing page */
.landing-page a:focus-visible,
.landing-page button:focus-visible {
    outline: 2px solid var(--lp-navy-bright);
    outline-offset: 3px;
    border-radius: 3px;
}

.lp-wrap {
    max-width: var(--lp-page);
    margin: 0 auto;
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* Skip link */
.lp-skip {
    position: absolute;
    left: 1rem;
    top: -3.5rem;
    z-index: 50;
    padding: 0.6rem 1rem;
    background: var(--lp-ink);
    color: var(--lp-paper);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: var(--lp-radius-sm);
    transition: top 0.15s ease;
}

.lp-skip:focus {
    top: 1rem;
}

/* ============================================================================
   HEADER
   ============================================================================ */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(250, 249, 247, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--lp-rule-light);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.lp-wordmark {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--lp-ink);
    text-decoration: none;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.lp-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lp-text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.lp-nav-link:hover {
    color: var(--lp-ink);
}

/* ============================================================================
   HERO
   ============================================================================ */

.lp-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--lp-rule-light);
    /* Subtle depth: warm wash plus faint ledger rules — no gradients-for-their-own-sake */
    background:
        repeating-linear-gradient(
            to right,
            transparent 0,
            transparent calc(12.5% - 1px),
            rgba(26, 54, 93, 0.045) calc(12.5% - 1px),
            rgba(26, 54, 93, 0.045) 12.5%
        ),
        radial-gradient(ellipse 90% 70% at 30% 10%, #fbfaf7 40%, #f3f1ea 100%);
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
    padding-top: clamp(3.5rem, 8vw, 6.5rem);
    padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--lp-navy);
    background: rgba(26, 54, 93, 0.07);
    border: 1px solid rgba(26, 54, 93, 0.18);
    border-radius: 999px;
}

.lp-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-navy);
    flex-shrink: 0;
}

.lp-headline {
    margin: 0 0 1.25rem;
    font-size: clamp(2.25rem, 4.6vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--lp-ink);
}

/* Quiet underline accent on the key word in the hero headline */
.lp-hl {
    background-image: linear-gradient(to top, rgba(26, 54, 93, 0.16) 0.18em, transparent 0.18em);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.lp-lead {
    margin: 0 0 2rem;
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.65;
    color: var(--lp-text-secondary);
    max-width: 34rem;
}

.lp-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.lp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: var(--lp-navy);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--lp-radius-sm);
    transition: background 0.15s ease, transform 0.15s ease;
}

.lp-button:hover {
    background: var(--lp-navy-bright);
    transform: translateY(-1px);
}

.lp-button:active {
    transform: translateY(0);
}

.lp-button .lp-button-arrow {
    transition: transform 0.15s ease;
}

.lp-button:hover .lp-button-arrow {
    transform: translateY(2px);
}

.lp-textlink {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lp-text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--lp-rule);
    padding-bottom: 1px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-textlink:hover {
    color: var(--lp-ink);
    border-color: var(--lp-ink);
}

/* ============================================================================
   PRODUCT ILLUSTRATION — a finding's story, not a screenshot
   ============================================================================ */

.lp-demo {
    margin: 0;
    position: relative;
}

.lp-demo-window {
    background: var(--lp-card);
    border: 1px solid var(--lp-rule);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
}

.lp-demo-chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    background: var(--lp-surface);
    border-bottom: 1px solid var(--lp-rule-light);
}

.lp-demo-dots {
    display: inline-flex;
    gap: 5px;
    flex-shrink: 0;
}

.lp-demo-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-rule);
}

.lp-demo-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lp-ink);
    letter-spacing: -0.01em;
}

.lp-demo-crumb {
    font-size: 0.6875rem;
    color: var(--lp-text-muted);
}

.lp-demo-sample {
    margin-left: auto;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-text-muted);
    border: 1px solid var(--lp-rule);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    flex-shrink: 0;
}

.lp-demo-body {
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.lp-demo-toprow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.lp-chip {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.lp-chip-serious { background: var(--lp-serious-bg); color: var(--lp-serious-text); }
.lp-chip-open { background: var(--lp-open-bg); color: var(--lp-open-text); }
.lp-chip-progress { background: var(--lp-progress-bg); color: var(--lp-progress-text); }
.lp-chip-verify { background: var(--lp-verify-bg); color: var(--lp-verify-text); }
.lp-chip-resolved { background: var(--lp-resolved-bg); color: var(--lp-resolved-text); }

.lp-demo-title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--lp-ink);
    line-height: 1.3;
}

.lp-demo-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem 1.5rem;
    margin: 0 0 1.25rem;
    padding: 0.875rem 0;
    border-top: 1px solid var(--lp-rule-light);
    border-bottom: 1px solid var(--lp-rule-light);
}

.lp-demo-meta > div {
    min-width: 0;
}

.lp-demo-meta dt {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--lp-text-muted);
    margin-bottom: 0.15rem;
}

.lp-demo-meta dd {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lp-text);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.lp-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lp-navy);
    color: #ffffff;
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

/* Status stepper */
.lp-demo-steps {
    list-style: none;
    display: flex;
    margin: 0 0 1.25rem;
    padding: 0;
    position: relative;
}

.lp-demo-steps::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--lp-rule);
}

.lp-demo-steps li {
    position: relative;
    flex: 1;
    padding-top: 1.15rem;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--lp-text-muted);
    line-height: 1.3;
}

.lp-demo-steps li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lp-card);
    border: 2px solid var(--lp-rule);
}

.lp-demo-steps li.is-done {
    color: var(--lp-text-secondary);
}

.lp-demo-steps li.is-done::before {
    background: var(--lp-navy);
    border-color: var(--lp-navy);
}

.lp-demo-steps li.is-resolved {
    color: var(--lp-resolved-text);
}

.lp-demo-steps li.is-resolved::before {
    background: var(--lp-resolved-text);
    border-color: var(--lp-resolved-text);
}

/* Activity history */
.lp-demo-activity-label {
    margin: 0 0 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--lp-text-muted);
}

.lp-demo-activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-demo-activity-list li {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0 0.45rem 1.1rem;
    font-size: 0.75rem;
    color: var(--lp-text);
    line-height: 1.45;
}

.lp-demo-activity-list li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.95em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-rule);
}

.lp-demo-activity-list li.is-key::before {
    background: var(--lp-resolved-text);
}

.lp-demo-activity-list time {
    font-size: 0.6875rem;
    color: var(--lp-text-muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.lp-demo-caption {
    margin-top: 0.875rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--lp-text-muted);
}

/* ============================================================================
   SECTIONS — shared
   ============================================================================ */

.lp-section {
    padding-top: var(--lp-section-gap);
    padding-bottom: var(--lp-section-gap);
}

.lp-label {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--lp-navy);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lp-label::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    background: var(--lp-navy);
}

.lp-h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--lp-ink);
}

.lp-section-lead {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--lp-text-secondary);
    max-width: 36rem;
}

/* ============================================================================
   PROBLEM — split layout, ledger rows (not cards)
   ============================================================================ */

.lp-problem {
    border-bottom: 1px solid var(--lp-rule-light);
}

.lp-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.lp-ledger {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--lp-rule);
}

.lp-ledger li {
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--lp-rule-light);
}

.lp-ledger h3 {
    margin: 0 0 0.4rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--lp-ink);
    letter-spacing: -0.01em;
}

.lp-ledger p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--lp-text-secondary);
}

/* ============================================================================
   JOURNEY — one finding progressing through its lifecycle
   ============================================================================ */

.lp-journey {
    list-style: none;
    margin: 0 0 clamp(2.5rem, 5vw, 4rem);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.25rem 2rem;
    counter-reset: lp-journey;
}

.lp-journey-stage {
    position: relative;
    background: var(--lp-card);
    border: 1px solid var(--lp-rule);
    border-radius: var(--lp-radius-sm);
    box-shadow: var(--lp-shadow-sm);
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

/* Arrow connector between stages (desktop) */
.lp-journey-stage:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    top: 50%;
    right: -1.55rem;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--lp-text-muted);
    z-index: 1;
}

.lp-journey-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.lp-journey-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lp-ink);
    line-height: 1.35;
}

.lp-journey-events {
    list-style: none;
    margin: 0;
    padding: 0.55rem 0 0;
    border-top: 1px solid var(--lp-rule-light);
    flex: 1;
}

.lp-journey-events li {
    position: relative;
    padding: 0.3rem 0 0.3rem 0.95rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--lp-text);
}

.lp-journey-events li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.85em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lp-navy);
}

.lp-journey-events li.is-muted {
    color: var(--lp-text-muted);
}

.lp-journey-events li.is-muted::before {
    background: var(--lp-rule);
}

.lp-journey-events li.is-done::before {
    background: var(--lp-resolved-text);
}

.lp-journey-date {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--lp-text-muted);
    font-variant-numeric: tabular-nums;
}

/* Mini verification actions shown inside the Ready to Verify stage */
.lp-demo-actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    padding-top: 0.55rem;
    border-top: 1px solid var(--lp-rule-light);
}

.lp-demo-btn {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
}

.lp-demo-btn-primary {
    background: var(--lp-navy);
    color: #ffffff;
}

.lp-demo-btn-ghost {
    background: var(--lp-card);
    color: var(--lp-text-secondary);
    border: 1px solid var(--lp-rule);
}

/* ============================================================================
   WORKFLOW — numbered steps with lifecycle ribbon
   ============================================================================ */

.lp-workflow {
    background: var(--lp-surface);
    border-top: 1px solid var(--lp-rule-light);
    border-bottom: 1px solid var(--lp-rule-light);
}

.lp-workflow-head {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.lp-lifecycle-note {
    margin: 0.6rem 0 0;
    font-size: 0.8125rem;
    color: var(--lp-text-muted);
}

/* Verification caveat sits closer to the journey strip than a full block gap */
.lp-journey + .lp-lifecycle-note {
    margin-top: -1.5rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    max-width: 44rem;
}

/* Numbered steps */
.lp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 2rem;
    counter-reset: lp-step;
}

.lp-step {
    position: relative;
    padding-top: 1.5rem;
    border-top: 2px solid var(--lp-rule);
}

.lp-step::before {
    counter-increment: lp-step;
    content: counter(lp-step, decimal-leading-zero);
    position: absolute;
    top: -0.85rem;
    left: 0;
    padding-right: 0.5rem;
    background: var(--lp-surface);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--lp-navy);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.lp-step h3 {
    margin: 0 0 0.45rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--lp-ink);
    letter-spacing: -0.01em;
}

.lp-step p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--lp-text-secondary);
}

/* ============================================================================
   VALUE — dark band for contrast
   ============================================================================ */

.lp-band {
    background: var(--lp-navy-ink);
    color: var(--lp-paper);
}

.lp-band .lp-label {
    color: #9db4d4;
}

.lp-band .lp-label::before {
    background: #9db4d4;
}

.lp-band .lp-h2 {
    color: var(--lp-paper);
}

.lp-band .lp-section-lead {
    color: rgba(250, 249, 247, 0.72);
}

.lp-values {
    list-style: none;
    margin: clamp(2rem, 5vw, 3.5rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 2rem;
}

.lp-values li {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(250, 249, 247, 0.22);
}

.lp-values h3 {
    margin: 0 0 0.45rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--lp-paper);
    letter-spacing: -0.01em;
}

.lp-values p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(250, 249, 247, 0.72);
}

/* ============================================================================
   LEARN MORE — simple ruled link list
   ============================================================================ */

.lp-learn-list {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    border-top: 1px solid var(--lp-rule);
    max-width: 44rem;
}

.lp-learn-list li {
    border-bottom: 1px solid var(--lp-rule-light);
}

.lp-learn-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lp-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.lp-learn-list a::after {
    content: "\2192";
    color: var(--lp-text-muted);
    transition: transform 0.15s ease, color 0.15s ease;
}

.lp-learn-list a:hover {
    color: var(--lp-navy);
}

.lp-learn-list a:hover::after {
    transform: translateX(3px);
    color: var(--lp-navy);
}

/* ============================================================================
   CLOSING — launch message
   ============================================================================ */

.lp-closing {
    text-align: center;
    border-top: 1px solid var(--lp-rule-light);
    background:
        radial-gradient(ellipse 80% 90% at 50% 110%, rgba(26, 54, 93, 0.07) 0%, transparent 60%),
        var(--lp-paper);
}

.lp-closing-inner {
    padding-top: var(--lp-section-gap);
    padding-bottom: var(--lp-section-gap);
}

.lp-closing-date {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--lp-ink);
}

.lp-closing-line {
    margin: 0 auto;
    max-width: 34rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--lp-text-secondary);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.lp-footer {
    border-top: 1px solid var(--lp-rule-light);
    background: var(--lp-surface);
}

.lp-footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.lp-footer-brand {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lp-ink);
    text-decoration: none;
}

.lp-footer-note {
    margin: 0.4rem 0 0;
    font-size: 0.8125rem;
    color: var(--lp-text-muted);
    max-width: 30rem;
    line-height: 1.6;
}

.lp-footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.lp-footer-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lp-text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.lp-footer-links a:hover {
    color: var(--lp-ink);
}

.lp-footer-legal {
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
    border-top: 1px solid var(--lp-rule-light);
}

.lp-footer-legal p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--lp-text-muted);
    max-width: 46rem;
}

.lp-footer-legal p + p {
    margin-top: 0.5rem;
}

/* ============================================================================
   SCROLL REVEAL — opt-in via JS, always visible without it
   ============================================================================ */

html.lp-js .lp-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

html.lp-js .lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================================
   LEGAL / LONG-FORM PAGES — same identity, comfortable reading
   ============================================================================ */

.lp-legal-hero {
    border-bottom: 1px solid var(--lp-rule-light);
    background:
        radial-gradient(ellipse 80% 90% at 25% 0%, #fbfaf7 30%, #f3f1ea 100%);
}

.lp-legal-hero-inner {
    padding-top: clamp(2.75rem, 6vw, 4.5rem);
    padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
    max-width: 46rem;
}

.lp-legal-title {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 4.5vw, 2.9rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--lp-ink);
}

.lp-legal-meta {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lp-text-muted);
}

.lp-legal {
    max-width: 46rem;
    margin: 0 auto;
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: var(--lp-section-gap);
}

.lp-legal-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--lp-text-secondary);
    margin: 0 0 1rem;
}

.lp-legal h2 {
    margin: 2.5rem 0 0.85rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--lp-rule-light);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--lp-ink);
}

.lp-legal h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-legal p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--lp-text-secondary);
}

.lp-legal ul {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.lp-legal li {
    margin-bottom: 0.45rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--lp-text-secondary);
}

.lp-legal li::marker {
    color: var(--lp-navy);
}

.lp-legal a {
    color: var(--lp-navy);
    text-decoration: underline;
    text-decoration-color: rgba(26, 54, 93, 0.35);
    text-underline-offset: 2px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.lp-legal a:hover {
    color: var(--lp-navy-bright);
    text-decoration-color: var(--lp-navy-bright);
}

.lp-legal-notice {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--lp-surface);
    border-left: 3px solid var(--lp-navy);
    border-radius: 0 var(--lp-radius-sm) var(--lp-radius-sm) 0;
}

.lp-legal-notice p {
    margin: 0;
    color: var(--lp-text);
}

.lp-legal-contact {
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    background: var(--lp-card);
    border: 1px solid var(--lp-rule);
    border-radius: var(--lp-radius-sm);
    box-shadow: var(--lp-shadow-sm);
}

.lp-legal-contact h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.lp-legal-contact p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 900px) {
    .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .lp-lead {
        max-width: 40rem;
    }

    .lp-split,
    .lp-workflow-head {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
    }

    .lp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Journey becomes a vertical progression */
    .lp-journey {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        max-width: 30rem;
    }

    .lp-journey-stage:not(:last-child)::after {
        content: "\2193";
        top: auto;
        bottom: -1.5rem;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .lp-values {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lp-values li {
        padding: 1.25rem 0;
    }
}

@media (max-width: 560px) {
    .lp-demo-meta {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .lp-demo-activity-list li {
        flex-direction: column;
        gap: 0.1rem;
    }

    .lp-steps {
        grid-template-columns: 1fr;
    }

    .lp-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-button {
        justify-content: center;
    }

    .lp-textlink {
        align-self: center;
    }
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    .landing-page {
        scroll-behavior: auto;
    }

    html.lp-js .lp-reveal,
    html.lp-js .lp-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lp-button,
    .lp-button .lp-button-arrow,
    .lp-learn-list a::after,
    .lp-skip {
        transition: none;
    }
}

/* Anchor offset below the sticky header */
.landing-page {
    scroll-behavior: smooth;
}

.lp-section[id],
.lp-workflow[id] {
    scroll-margin-top: 5rem;
}

/* Homepage-only deadline and launch offering. Static, with no countdown. */
.landing-page .lp-deadline-section { padding:0 0 1rem; }
.landing-page .lp-deadline { background:#edf1f5; border:1px solid #cbd5df; border-top:3px solid var(--lp-navy); padding:clamp(1.25rem,4vw,2.25rem); display:grid; grid-template-columns:1fr 1fr; gap:1.5rem 2.5rem; box-shadow:0 12px 30px -24px #1a365d50; }
.landing-page .lp-deadline-intro>p:last-child { font-size:.95rem; line-height:1.65; margin:0; }
.landing-page .lp-deadline-dates { margin:0; }
.landing-page .lp-deadline-dates>div { padding:0 0 1rem; }
.landing-page .lp-deadline-dates>div+div { border-top:1px solid #bac8d5; padding-top:1rem; }
.landing-page .lp-deadline-dates dt { font-size:1.65rem; font-weight:650; letter-spacing:-.035em; color:var(--lp-navy); }
.landing-page .lp-deadline-dates dd { margin:.25rem 0 0; font-size:.95rem; }
.landing-page .lp-deadline-scope,.landing-page .lp-deadline-source { grid-column:1/-1; margin:0; font-size:.875rem; line-height:1.65; }
.landing-page .lp-deadline-scope { border-top:1px solid #bac8d5; padding-top:1rem; }
.landing-page .lp-deadline-source a { color:var(--lp-navy); text-underline-offset:3px; }
.landing-page .lp-offering { display:grid; grid-template-columns:1fr 1fr; margin:2rem 0 1.5rem; border-top:2px solid var(--lp-navy); border-bottom:1px solid var(--lp-rule); }
.landing-page .lp-offering section { padding:1.5rem 2rem 1.5rem 0; }
.landing-page .lp-offering section+section { border-left:1px solid var(--lp-rule); padding-left:2rem; }
.landing-page .lp-offering-kicker { color:var(--lp-text-secondary); font-size:.8rem; margin:0 0 .35rem; }
.landing-page .lp-offering h3 { font-size:1.75rem; color:var(--lp-navy); margin:0 0 .75rem; }
.landing-page .lp-offering section>p:last-child { margin:0; }
.landing-page .lp-offering-note { color:var(--lp-text-secondary); font-size:.875rem; max-width:55rem; }
@media(max-width:700px) {
 .landing-page .lp-deadline,.landing-page .lp-offering { grid-template-columns:minmax(0,1fr); }
 .landing-page .lp-offering section { padding:1.25rem 0; }
 .landing-page .lp-offering section+section { border-left:0; border-top:1px solid var(--lp-rule); padding-left:0; }
}
.landing-page .lp-band .lp-offering h3 { color:#fff; }
.landing-page .lp-band .lp-offering-kicker,.landing-page .lp-band .lp-offering-note { color:#c9d5e3; }
.landing-page .lp-band .lp-offering { border-color:#536681; }
.landing-page .lp-band .lp-offering section+section { border-color:#536681; }

/* Deadline hero: navy planning panel, distinct from the smaller launch label. */
.landing-page .lp-hero-inner{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(2rem,4vw,3.5rem);padding-block:clamp(2rem,4vw,3.5rem)}
.landing-page .lp-headline{font-size:clamp(2.5rem,4.3vw,3.65rem);font-weight:650;line-height:1.08;letter-spacing:-.04em}
.landing-page .lp-countdown{background:#142e50;color:#fff;padding:clamp(1.35rem,2.4vw,2rem);border:1px solid #355271;border-radius:14px;box-shadow:0 18px 40px -24px #10213d66;min-width:0}
.landing-page .lp-countdown h2{font-size:.8rem;letter-spacing:.09em;text-transform:uppercase;color:#d0ddea;margin:0 0 1.2rem}
.landing-page .lp-deadline-picker label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.45rem}
.landing-page .lp-deadline-picker select{width:100%;min-width:0;min-height:44px;background:#fff;color:#142e50;border:1px solid #adbed2;border-radius:5px;padding:.6rem;font:inherit;font-size:.84rem}
.landing-page .lp-deadline-picker button{margin-top:.5rem;padding:.6rem;font:inherit}
.landing-page .lp-countdown-value{font-size:clamp(4.5rem,8vw,7rem);font-weight:650;letter-spacing:-.06em;line-height:1.05;margin-top:1.25rem;font-variant-numeric:tabular-nums}
.landing-page .lp-countdown-value.is-expired{font-size:clamp(2.2rem,4vw,3.5rem);letter-spacing:-.03em}
.landing-page .lp-countdown-unit{font-size:1.1rem;margin:.1rem 0 1rem;color:#d0ddea}
.landing-page .lp-countdown-date{font-size:1.05rem;line-height:1.5;margin:1rem 0 .6rem}
.landing-page #deadline-applicability{font-size:.875rem;color:#d0ddea;margin:0 0 1.2rem;line-height:1.55}
.landing-page .lp-countdown-purpose{border-top:1px solid #4c6582;padding-top:1rem;font-weight:600;margin:0 0 .5rem}
.landing-page .lp-countdown-note,.landing-page .lp-countdown-details{font-size:.8rem;line-height:1.55;color:#d0ddea}
.landing-page .lp-countdown-details summary{cursor:pointer;padding:.5rem 0;text-decoration:underline;text-underline-offset:3px}
.landing-page .lp-countdown a{color:#fff;text-underline-offset:3px}
.landing-page .lp-countdown :focus-visible{outline:3px solid #f4d88e;outline-offset:4px}
.landing-page .lp-countdown [hidden]{display:none!important}
.landing-page .lp-enforcement{font-size:.82rem;color:#4d545b;padding-block:1rem;line-height:1.6}
.landing-page .lp-enforcement a{color:#1a365d;text-underline-offset:3px}
.landing-page .lp-product-record{border-bottom:1px solid var(--lp-rule);padding-block:2.5rem}
.landing-page .lp-record-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:3rem;align-items:center}
.landing-page .lp-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:900px){.landing-page .lp-hero-inner{grid-template-columns:1fr;gap:1.75rem}.landing-page .lp-record-layout{grid-template-columns:1fr;gap:1.5rem}.landing-page .lp-headline{max-width:18ch}.landing-page .lp-countdown{max-width:40rem;width:100%;box-sizing:border-box}}
@media(max-width:560px){.landing-page .lp-hero-inner{padding-block:1.7rem}.landing-page .lp-headline{font-size:2.45rem}.landing-page .lp-lead{margin-bottom:1.25rem}.landing-page .lp-eyebrow{margin-bottom:1rem}.landing-page .lp-actions{gap:1rem}.landing-page .lp-countdown-value{font-size:5.5rem}}
.landing-page .lp-deadline-picker label{color:#fff}
@media(max-width:560px){.landing-page .lp-headline{font-size:2.15rem}.landing-page .lp-lead{font-size:1rem;line-height:1.55}.landing-page .lp-actions{gap:.7rem}.landing-page .lp-actions .lp-button{font-size:.82rem;padding:.75rem 1rem}.landing-page .lp-actions .lp-textlink{font-size:.82rem}}
@media(prefers-reduced-motion:reduce){.landing-page{scroll-behavior:auto}.landing-page .lp-button,.landing-page .lp-button .lp-button-arrow{transform:none!important;transition:none}}
