/* ── Ambient glow wrap ────────────────────────────── */
.lp-hero-wrap {
    position: relative;
    overflow: hidden;
}

.lp-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.lp-glow-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, var(--mud-palette-primary) 0%, transparent 70%);
    filter: blur(90px);
    opacity: 0.18;
    top: -250px;
    left: -200px;
}

.lp-glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, var(--ij-lp-purple) 0%, transparent 70%);
    filter: blur(90px);
    opacity: 0.18;
    top: -150px;
    right: -150px;
}

.lp-glow-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, var(--ij-lp-pink) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.13;
    bottom: -100px;
    left: 35%;
}

/* ── Hero section ─────────────────────────────────── */
.lp-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 96px;
    padding-bottom: 72px;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    border: 1px solid color-mix(in srgb, var(--mud-palette-text-primary) 10%, transparent);
    border-radius: 980px;
    padding: 5px 16px;
    margin-bottom: 32px;
}

/* ── App Store badge ──────────────────────────────────
   Apple's guidelines: 40px minimum height onscreen, and clear space of at least one-quarter
   the badge height (10px) around it — the band's padding clears that. The artwork is never
   recolored; the dark-theme swap picks Apple's own white file instead of filtering the
   black one. The badge itself lives in the device band below, never in the hero. */
/* One row per configured platform (#1005). Wraps on a phone rather than shrinking the
   badges — Apple's guidelines forbid resizing them below their minimum. */
.ij-appstore-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ij-appstore-badge {
    display: inline-flex;
    line-height: 0;
    border-radius: 8px;
    transition: opacity 120ms ease;
}

.ij-appstore-badge:hover {
    opacity: 0.85;
}

.ij-appstore-badge:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 3px;
}

.ij-appstore-badge-img {
    height: 40px;
    width: auto;
}

.ij-appstore-badge-img--dark {
    display: none;
}

.ij-theme-dark .ij-appstore-badge-img--light {
    display: none;
}

.ij-theme-dark .ij-appstore-badge-img--dark {
    display: inline-block;
}

.lp-gradient-text {
    background: linear-gradient(90deg, var(--mud-palette-primary), var(--ij-lp-purple), var(--ij-lp-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── The loop: Grade · Note · News · Ask Claude ───── */
.lp-loop-wrap {
    position: relative;
    z-index: 1;
    padding-bottom: 96px;
}

.lp-loop {
    display: flex;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.lp-loop-step {
    flex: 1;
    text-align: center;
    padding: 0 12px;
}

.lp-loop-tile {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.lp-loop-tile .mud-icon-root {
    font-size: 26px;
}

.lp-loop-tile--grade {
    color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 14%, transparent);
}

.lp-loop-tile--note {
    color: var(--ij-lp-purple);
    background: color-mix(in srgb, var(--ij-lp-purple) 14%, transparent);
}

.lp-loop-tile--news {
    color: var(--mud-palette-success);
    background: color-mix(in srgb, var(--mud-palette-success) 14%, transparent);
}

.lp-loop-tile--claude {
    background: color-mix(in srgb, var(--ij-lp-clay) 14%, transparent);
}

.lp-loop-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: var(--mud-palette-text-primary);
}

.lp-loop-caption {
    font-size: 13px;
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
}

/* Arrows sit level with the tiles (padding-top ≈ half the tile), not the
   captions, so the row reads as one connected cycle. */
.lp-loop-arrow {
    display: flex;
    align-items: flex-start;
    padding-top: 17px;
    color: var(--mud-palette-text-disabled);
}

.lp-loop-arrow .mud-icon-root {
    font-size: 22px;
}

/* The eye should land on Claude — the last hop gets the clay accent. */
.lp-loop-arrow--claude {
    color: var(--ij-lp-clay);
}

/* ── "Works with Claude" band ─────────────────────── */
.lp-claude-wrap {
    position: relative;
    z-index: 1;
    padding-bottom: 96px;
}

.lp-claude-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--ij-lp-clay) 30%, transparent);
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--ij-lp-clay) 12%, transparent),
        color-mix(in srgb, var(--ij-lp-clay) 2%, transparent)
    );
}

.lp-claude-copy {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.lp-claude-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ij-lp-clay);
    margin-bottom: 16px;
}

.lp-claude-title {
    margin-bottom: 14px;
}

/* The mock exchange sits on a faint inset so it reads as a separate pane. */
.lp-claude-chat {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    background: color-mix(in srgb, var(--mud-palette-text-primary) 4%, transparent);
}

.lp-chat-bubble {
    font-size: 13.5px;
    line-height: 1.5;
    padding: 12px 15px;
}

.lp-chat-bubble--user {
    align-self: flex-end;
    max-width: 80%;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-radius: 15px 15px 4px 15px;
}

.lp-chat-bubble--claude {
    align-self: flex-start;
    max-width: 88%;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 15px 15px 15px 4px;
    color: var(--mud-palette-text-primary);
}

.lp-chat-name {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

/* The band's own action, in Claude's clay rather than the app primary. */
.lp-claude-link {
    margin-top: 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ij-lp-clay);
    text-decoration: none;
    transition: opacity 120ms ease;
}

.lp-claude-link:hover {
    opacity: 0.82;
}

/* ── Animated exchange ─────────────────────────────────
   One shared 14s timeline, three actors: the question rises in, the typing
   indicator blinks while "Claude thinks", the reply replaces it, everything
   holds, then the loop resets. Pure CSS — the page is statically rendered. */

/* Typing indicator and reply share a grid cell so the swap never reflows the
   pane; the cell keeps the reply's height throughout. */
.lp-chat-claude-stack {
    display: grid;
}

.lp-chat-claude-stack > .lp-chat-bubble {
    grid-area: 1 / 1;
    align-self: start;
    justify-self: start;
}

.lp-chat-bubble--typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: max-content;
}

.lp-chat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mud-palette-text-secondary);
    animation: lp-chat-dot-pulse 1.1s infinite;
}

.lp-chat-dot:nth-child(2) {
    animation-delay: 0.18s;
}

.lp-chat-dot:nth-child(3) {
    animation-delay: 0.36s;
}

.lp-chat-bubble--user {
    animation: lp-chat-user-cycle 14s ease infinite;
}

.lp-chat-bubble--typing {
    animation: lp-chat-typing-cycle 14s ease infinite;
}

.lp-chat-claude-stack > .lp-chat-bubble--claude:not(.lp-chat-bubble--typing) {
    animation: lp-chat-reply-cycle 14s ease infinite;
}

@keyframes lp-chat-user-cycle {
    0%,
    3% {
        opacity: 0;
        transform: translateY(8px);
    }
    8%,
    96% {
        opacity: 1;
        transform: none;
    }
    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes lp-chat-typing-cycle {
    0%,
    10% {
        opacity: 0;
    }
    12%,
    21% {
        opacity: 1;
    }
    23%,
    100% {
        opacity: 0;
    }
}

@keyframes lp-chat-reply-cycle {
    0%,
    24% {
        opacity: 0;
        transform: translateY(8px);
    }
    28%,
    96% {
        opacity: 1;
        transform: none;
    }
    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes lp-chat-dot-pulse {
    0%,
    60%,
    100% {
        opacity: 0.25;
    }
    30% {
        opacity: 1;
    }
}

/* Reduced motion: the finished exchange as a still frame — question and reply
   visible, the typing chrome gone entirely. */
@media (prefers-reduced-motion: reduce) {
    .lp-chat-bubble--user,
    .lp-chat-claude-stack > .lp-chat-bubble--claude:not(.lp-chat-bubble--typing),
    .lp-chat-dot {
        animation: none;
    }

    .lp-chat-bubble--typing {
        display: none;
    }
}

/* ── Portfolio: ledger free, value layer Pro ──────── */
.lp-folio-wrap {
    position: relative;
    z-index: 1;
    padding-bottom: 96px;
}

.lp-folio {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

/* Same voice as the app band's eyebrow, but its own class — the band tests
   select on .lp-appband-eyebrow and must keep finding exactly the band's. */
.lp-folio-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mud-palette-primary);
}

.lp-folio-title {
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 14px;
    text-wrap: balance;
}

.lp-folio-body {
    max-width: 420px;
    margin-bottom: 24px;
}

.lp-folio-tiers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
}

.lp-folio-tier {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.lp-folio-tier b {
    color: var(--mud-palette-text-primary);
    font-weight: 600;
}

.lp-folio-dot {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    position: relative;
    top: -1px;
}

.lp-folio-dot--pro {
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--ij-lp-purple));
}

/* The illustrative card: one surface, hairline rows, numbers in tabular figures. */
.lp-folio-card {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 20px;
    background: var(--mud-palette-surface);
    box-shadow: 0 18px 50px color-mix(in srgb, var(--mud-palette-black) 10%, transparent);
    overflow: hidden;
}

.lp-folio-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.lp-folio-book {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.lp-folio-total {
    font-size: 14.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-text-primary);
}

.lp-folio-row {
    display: grid;
    grid-template-columns: 1.7fr 0.8fr 0.8fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 13px 20px;
    border-top: 1px solid var(--mud-palette-lines-default);
    font-size: 13.5px;
    color: var(--mud-palette-text-primary);
}

.lp-folio-row--head {
    border-top: none;
    padding: 10px 20px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-gray);
}

.lp-folio-name {
    display: flex;
    flex-direction: column;
    font-weight: 600;
}

.lp-folio-ticker {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
}

.lp-folio-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.lp-folio-num--dim {
    color: var(--mud-palette-text-secondary);
}

.lp-folio-safety-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
}

.lp-folio-pro-chip {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--ij-lp-purple));
    border-radius: 5px;
    padding: 2px 5px;
}

/* The whole point of the column: green when the price sits under YOUR fair
   value, red when over, quiet when the gap is a rounding error. */
.lp-folio-safety {
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.lp-folio-safety--gain {
    color: var(--mud-palette-success);
}

.lp-folio-safety--loss {
    color: var(--mud-palette-error);
}

.lp-folio-foot {
    padding: 13px 20px;
    border-top: 1px solid var(--mud-palette-lines-default);
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-gray);
}

@media (max-width: 959.95px) {
    .lp-folio {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 599.95px) {
    .lp-folio-wrap {
        padding-bottom: 64px;
    }

    /* Four columns at 375px: shave the paddings and type before anything drops. */
    .lp-folio-row {
        grid-template-columns: 1.6fr 0.9fr 0.7fr 1.1fr;
        gap: 8px;
        padding: 12px 14px;
        font-size: 12.5px;
    }

    .lp-folio-card-head {
        padding: 14px;
    }

    .lp-folio-foot {
        padding: 12px 14px;
    }
}

/* ── News + Share duo ─────────────────────────────── */
.lp-duo-wrap {
    position: relative;
    z-index: 1;
    padding-bottom: 96px;
}

.lp-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.lp-duo-card {
    background: var(--mud-palette-background-gray);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-duo-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lp-duo-eyebrow--news {
    color: var(--mud-palette-success);
}

.lp-duo-eyebrow--share {
    color: var(--ij-lp-purple);
}

.lp-duo-title {
    letter-spacing: -0.025em;
}

.lp-duo-body {
    margin-bottom: 16px;
}

/* The mock panels sit at the card's foot so the two cards' art lines up even
   when one card's copy runs a line longer (hello, French). */
.lp-news-list,
.lp-share-panel {
    margin-top: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: var(--mud-palette-surface);
    overflow: hidden;
}

.lp-news-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 16px;
}

.lp-news-row + .lp-news-row {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.lp-news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-news-chip {
    font-size: 10px;
    font-weight: 700;
    border-radius: 5px;
    padding: 2px 7px;
}

.lp-news-chip--earnings {
    color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
}

.lp-news-chip--guidance {
    color: var(--ij-lp-purple);
    background: color-mix(in srgb, var(--ij-lp-purple) 12%, transparent);
}

.lp-news-chip--dividend {
    color: var(--mud-palette-success);
    background: color-mix(in srgb, var(--mud-palette-success) 12%, transparent);
}

.lp-news-ticker {
    font-size: 11px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.lp-news-spacer {
    flex: 1;
}

.lp-news-age {
    font-size: 10.5px;
    color: var(--mud-palette-text-secondary);
}

.lp-news-headline {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--mud-palette-text-primary);
}

.lp-share-panel {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-share-linkrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-share-url {
    flex: 1;
    font-size: 12.5px;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    padding: 8px 12px;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* A picture of the button, not a control — no cursor, no hover. */
.lp-share-copy {
    flex: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--mud-palette-primary-text);
    background: var(--mud-palette-primary);
    border-radius: 8px;
    padding: 8px 14px;
}

.lp-share-thesis {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp-share-thesis-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-share-thesis-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.lp-share-verdict {
    font-size: 10px;
    font-weight: 700;
    color: var(--mud-palette-success);
    background: color-mix(in srgb, var(--mud-palette-success) 10%, transparent);
    border-radius: 5px;
    padding: 2px 7px;
}

.lp-share-thesis-excerpt {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--mud-palette-text-secondary);
}

.lp-share-thesis-meta {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 959.95px) {
    .lp-duo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 599.95px) {
    .lp-duo-wrap {
        padding-bottom: 64px;
    }

    .lp-duo-card {
        padding: 28px;
    }
}

/* ── "Take your journal with you" device band ─────── */
.lp-appband-wrap {
    position: relative;
    z-index: 1;
    padding-bottom: 96px;
}

/* v2: one centered column — copy, badges, then the devices bottom-anchored and
   cropped by the panel's edge so they read as windows into the app. The
   gradient panel itself survives from v1 unchanged. */
.lp-appband {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--mud-palette-lines-default);
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--mud-palette-primary) 10%, transparent),
        color-mix(in srgb, var(--ij-lp-purple) 7%, transparent)
    );
    text-align: center;
    padding: 56px 24px 0;
}

.lp-appband-copy {
    max-width: 560px;
    margin: 0 auto;
}

.lp-appband-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mud-palette-primary);
}

.lp-appband-eyebrow .mud-icon-root {
    font-size: 15px;
}

.lp-appband-title {
    margin-bottom: 12px;
}

.lp-appband-body {
    max-width: 460px;
    margin: 0 auto 24px;
}

/* Badges centered under the copy — inside the band, never the hero. */
.lp-appband .ij-appstore-badges {
    justify-content: center;
}

/* Caption under the panel: the mockups' figures are an illustrative capture,
   not a live quote. */
.lp-appband-note {
    margin: 14px auto 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
}

/* Device stage: bottom-aligned so Mac and phone share a baseline, each keeping
   its own proportions; the panel's bottom edge crops them both. */
.lp-appband-phone {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 920px;
    margin: 44px auto 0;
    min-width: 0;
}

.lp-appband-mac {
    position: relative;
    flex: none;
    /* Percentages, not pixels — sized against the stage so the pair scales with
       the viewport instead of clipping at 1024 (the v1 lesson). */
    width: 64%;
    max-width: 100%;
    /* Matches the capture, so object-fit: cover never actually crops. */
    aspect-ratio: 880 / 484;
    overflow: hidden;
    /* A Mac window's corners, not a phone's — the real title bar and traffic
       lights come from the capture itself rather than being drawn. */
    border-radius: 12px 12px 0 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-bottom: none;
    background: var(--mud-palette-surface);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--mud-palette-black) 30%, transparent);
}

.lp-appband-device {
    position: relative;
    flex: none;
    width: 236px;
    max-width: 100%;
    aspect-ratio: 264 / 404;
    padding: 9px 9px 0;
    border-radius: 36px 36px 0 0;
    background: var(--mud-palette-black);
    box-shadow: 0 18px 44px color-mix(in srgb, var(--mud-palette-black) 30%, transparent);
}

/* The phone shrinks and overlaps the Mac's lower-right corner. Negative margin
   rather than absolute positioning, so the pair still participates in the flex
   row and cannot escape a narrow stage. */
.lp-appband-phone--pair .lp-appband-device {
    width: 26%;
    min-width: 92px;
    margin-left: -8%;
    z-index: 1;
}

.lp-appband-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    background: var(--mud-palette-surface);
}

/* Real captures of the shipped apps, top-anchored so the frame crops the
   bottom. Light and dark variants are theme-MATCHED (the ij-theme-dark swap,
   same pattern as the App Store badges) — v1's light/dark marketing cross-fade
   gave way to the content carousel below. */
.lp-appband-shot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.lp-appband-screen .lp-appband-shot--s2,
.lp-appband-screen .lp-appband-shot--s3,
.lp-appband-shot--dark {
    position: absolute;
    inset: 0;
}

.lp-appband-shot--dark {
    display: none;
}

.ij-theme-dark .lp-appband-shot--dark {
    display: block;
}

.ij-theme-dark .lp-appband-shot--light {
    display: none;
}

/* iPhone carousel: stock → home → watchlists, each holding a third of the
   10.8s cycle. Negative delays start every shot mid-timeline, so the first
   loop is already seamless. Dark theme keeps a single still — only the stock
   page was ever captured dark. */
.lp-appband-screen .lp-appband-shot--light {
    animation: lp-appband-ios-cycle 10.8s ease-in-out infinite;
}

.lp-appband-screen .lp-appband-shot--s2 {
    opacity: 0;
    animation-delay: -7.2s;
}

.lp-appband-screen .lp-appband-shot--s3 {
    opacity: 0;
    animation-delay: -3.6s;
}

@keyframes lp-appband-ios-cycle {
    0%,
    28% {
        opacity: 1;
    }
    33.3%,
    94.6% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* The Mac window is a static, theme-matched capture — no zoom slide: scaling
   the 880px file up renders blurry. */

/* Respect a reduced-motion preference: no carousel. The still frame is the
   first capture of whichever theme the page is in. The reset repeats the
   carousel selector verbatim — a bare .lp-appband-shot loses the specificity
   contest against it and the first shot keeps blinking (measured). */
@media (prefers-reduced-motion: reduce) {
    .lp-appband-shot,
    .lp-appband-screen .lp-appband-shot--light {
        animation: none;
    }

    .lp-appband-screen .lp-appband-shot--s2,
    .lp-appband-screen .lp-appband-shot--s3 {
        display: none;
    }
}

/* ── Pro strip ────────────────────────────────────── */
.lp-pro-wrap {
    position: relative;
    z-index: 1;
    padding-bottom: 96px;
}

.lp-pro-strip {
    background: var(--mud-palette-background-gray);
    border-radius: 24px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.lp-pro-title {
    letter-spacing: -0.03em;
}

.lp-pro-body {
    max-width: 540px;
}

.lp-pro-price {
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
}

.lp-pro-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--mud-palette-primary);
    text-decoration: none;
    transition: opacity 120ms ease;
}

.lp-pro-link:hover {
    opacity: 0.82;
}

@media (max-width: 599.95px) {
    .lp-pro-wrap {
        padding-bottom: 64px;
    }

    .lp-pro-strip {
        padding: 36px 24px;
    }
}

/* ── CTA section ──────────────────────────────────── */
.lp-cta-wrap {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 96px 24px;
}

.lp-cta-glow {
    position: absolute;
    width: 900px;
    height: 500px;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--ij-lp-purple));
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.14;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.lp-cta-content {
    position: relative;
    z-index: 1;
}

/* ── Responsive hero / CTA type — fluid so the (longer) FR strings don't
      overflow a phone. clamp() floors on small screens; the cap matches the
      custom theme sizes (AppTypography H2 3.5rem / H3 2.75rem) so desktop is
      pixel-identical to before. ── */
.lp-hero-title {
    /* v2 comp: bigger cap than the theme's H2 (4.25rem vs 3.5rem), tighter
       tracking, and a fluid floor so the (longer) FR title still fits a phone. */
    font-size: clamp(2.6rem, 6.4vw, 4.25rem);
    letter-spacing: -0.04em;
    line-height: 1.04;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

/* Primary pill + one quiet text link — never a second filled button. */
.lp-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.lp-hero-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--mud-palette-primary);
    text-decoration: none;
    transition: opacity 120ms ease;
}

.lp-hero-link:hover {
    opacity: 0.82;
}

.lp-hero-markets {
    margin-top: 24px;
    font-size: 12.5px;
    color: var(--mud-palette-text-secondary);
}

/* The habit line under the loop — the whole pitch in one sentence. */
.lp-loop-tagline {
    text-align: center;
    margin-top: 36px;
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
}

.lp-cta-title {
    font-size: clamp(1.875rem, 6vw, 2.75rem);
}

/* Trim the oversized vertical padding on phones; the loop stacks and the
   connecting arrows disappear (a vertical arrow chain reads as clutter). */
@media (max-width: 599.95px) {
    .lp-hero {
        padding-top: 56px;
        padding-bottom: 48px;
    }

    .lp-cta-wrap {
        padding: 56px 20px;
    }

    .lp-loop {
        flex-direction: column;
        gap: 32px;
    }

    .lp-loop-arrow {
        display: none;
    }

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

    .lp-claude-copy {
        padding: 36px 28px;
    }

    .lp-claude-chat {
        padding: 28px;
    }

    .lp-appband {
        padding: 40px 20px 0;
    }

    .lp-appband-phone {
        margin-top: 32px;
    }

    /* Keep BOTH devices on a phone. Dropping the Mac here would put the exact mismatch
       #1357 removed — "iPhone and Mac" over a lone phone — back on the narrowest
       screen, where the band is most of what a visitor sees. The stage's widths are
       percentages, so the pair scales down together; only the lone phone needs a cap. */
    .lp-appband-device {
        width: 200px;
    }

    .lp-appband-phone--pair .lp-appband-device {
        width: 26%;
    }
}

/* ═══════════════════════════════════════
   FAQ (#1087) — the last objections, above the CTA.
   Deliberately no --ij-lp-* custom properties: only the three defined at the top
   of this file exist, and the 3B redesign already shipped once against an
   undefined one. Everything here resolves from MudBlazor's palette.
═══════════════════════════════════════ */

/* Hairlines between rows, no card and no shadow — the Apple dialect. Since 1A
   (Canvas-9) the component owns no measure or heading: the host does, and topic
   captions sit between the rows, so the list carries no top border of its own. */

/* Topic caption between rows (1A). scroll-margin keeps an anchor jump from
   landing the caption flush against the viewport edge. */
.lp-faq-group {
    padding: 26px 4px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    scroll-margin-top: 16px;
}

.lp-faq-item {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.lp-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    list-style: none;
}

/* Safari draws its own triangle through ::-webkit-details-marker. */
.lp-faq-q::-webkit-details-marker {
    display: none;
}

.lp-faq-q:hover {
    color: var(--mud-palette-primary);
}

.lp-faq-chevron {
    flex-shrink: 0;
    color: var(--mud-palette-text-secondary);
    transition: transform 0.2s ease;
}

.lp-faq-item[open] .lp-faq-chevron {
    transform: rotate(180deg);
}

.lp-faq-a {
    padding: 0 4px 20px;
    max-width: 68ch;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--mud-palette-text-secondary);
}

.lp-faq-link {
    margin-left: 6px;
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.lp-faq-link:hover {
    text-decoration: underline;
}

@media (max-width: 599.95px) {
    .lp-faq-wrap {
        padding-bottom: 64px;
    }

    .lp-faq-heading {
        font-size: 1.5rem;
    }
}
