/*
 * Public home page (landing/_get-started.html).
 * Mobile-first. Colors follow common.css; every class is prefixed with "lp-" so the
 * shared landing layout styles (.hero-content, .description, ...) never collide.
 * Heading sizes are scoped under .lp to win over common.css ":root h1/h2/h3" type styles.
 * Motion is progressive: content is fully visible without JS and with reduced motion.
 */

.lp {
    --lp-ink: var(--sm-color-grey-01);
    --lp-muted: #5E6070;
    --lp-soft: #3D3F4C;
    --lp-purple: var(--sm-color-purple);
    --lp-purple-ink: #5B45D6;
    --lp-purple-tint: #EDE8FF;
    --lp-border: #E9EAF3;
    --lp-tile: #FBFAFE;
    --lp-shadow: 0 14px 42px rgba(76, 56, 143, 0.11);
    --lp-gradient-cta: linear-gradient(92deg, #6B52EC 0%, #EE557E 62%, #F08A2E 112%);
    --lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    color: var(--lp-ink);
    line-height: 1.5;
}

.lp h1, .lp h2, .lp h3 {
    margin: 0;
    color: var(--lp-ink);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.lp p {
    margin: 0;
}

/* Semibold is the strongest weight on this page; bold reads as shouting at these sizes. */
.lp strong,
.lp b {
    font-weight: 600;
}

.lp-section {
    margin-top: 3.5rem;
}

.lp-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.lp .lp-h2 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.12;
}

.lp-lead {
    max-width: 38rem;
    color: var(--lp-muted);
    font-size: 1.05rem;
}

.lp-muted {
    color: var(--lp-muted);
}

.lp-eyebrow {
    color: var(--lp-purple-ink);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.4rem 0.9rem;
    border: 1px solid #E4DDFC;
    border-radius: 999px;
    color: #4B36C4;
    background: #fff;
    box-shadow: 0 4px 14px rgba(76, 56, 143, 0.08);
    font-size: 0.85rem;
    font-weight: 600;
}

.lp-label i {
    color: var(--lp-purple);
}

.lp-gradient-text {
    background: var(--sm-color-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: #4B36C4;
    background: #EEE9FF;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.lp-pill-neutral {
    color: var(--lp-soft);
    background: var(--sm-color-grey-04);
}

.lp-pill-white {
    background: #fff;
}

.lp-pill-raised {
    border: 1px solid #E4DDFC;
    background: #fff;
    box-shadow: 0 4px 14px rgba(76, 56, 143, 0.08);
}

.lp-pill-success {
    color: #17703C;
    background: #E3F6EA;
}

.lp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22B964;
    box-shadow: 0 0 0 3px rgba(34, 185, 100, 0.15);
}

.lp-card {
    min-width: 0;
    border: 1px solid var(--lp-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--lp-shadow);
}

.lp-tile {
    min-width: 0;
    padding: 0.85rem;
    border: 1px solid #F0EDF9;
    border-radius: 16px;
    background: var(--lp-tile);
}

.lp-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 11px;
    font-size: 1.05rem;
}

.lp-icon-lg {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 13px;
    font-size: 1.25rem;
}

.lp-icon-purple { color: var(--lp-purple-ink); background: var(--lp-purple-tint); }
.lp-icon-pink { color: #C2416A; background: #FFE8EF; }
.lp-icon-amber { color: #B5650C; background: #FFF0D6; }
.lp-icon-green { color: #17703C; background: #E3F6EA; }

.lp-check-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--lp-soft);
    font-size: 1rem;
}

.lp-check-list li {
    display: flex;
    gap: 0.6rem;
}

.lp-check-list i {
    flex: 0 0 auto;
    color: var(--lp-purple);
    font-size: 1.15rem;
    line-height: 1.3;
}

/* Page background: soft brand glows behind the white cards. The landing layout fixes
   body height to 100%; let it grow so the glows are laid out over the whole page. */

body:has(.lp) {
    height: auto;
    min-height: 100%;
    background-color: #F8F8FB;
    background-repeat: no-repeat;
    background-image:
        radial-gradient(56rem 36rem at 88% 0%, rgba(119, 95, 240, 0.10), transparent 70%),
        radial-gradient(44rem 32rem at 0% 24%, rgba(255, 113, 148, 0.05), transparent 70%),
        radial-gradient(50rem 34rem at 100% 56%, rgba(119, 95, 240, 0.06), transparent 70%),
        radial-gradient(44rem 30rem at 0% 84%, rgba(255, 166, 70, 0.05), transparent 70%);
}

/* Buttons */

.lp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 56px;
    padding: 0 2rem;
    border-radius: 999px;
    color: #fff;
    background: var(--lp-gradient-cta);
    box-shadow: 0 8px 24px rgba(119, 95, 240, 0.32);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-cta:hover,
.lp-cta:focus-visible {
    color: #fff;
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 12px 28px rgba(119, 95, 240, 0.38);
}

.lp-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--lp-purple-ink);
    font-weight: 600;
    text-decoration: none;
}

.lp-link:hover {
    color: #3F2DB0;
}

/* Hero */

.lp-hero {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    padding-top: 1rem;
}

.lp-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lp .lp-hero-title {
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.lp-hero-lead {
    max-width: 34rem;
    color: var(--lp-muted);
    font-size: 1.1rem;
}

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

.lp-hero-actions .lp-cta {
    flex: 1 1 100%;
}

.lp-hero-actions .lp-link {
    flex: 1 1 100%;
    justify-content: center;
}

.lp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    color: var(--lp-soft);
    font-size: 0.9rem;
}

.lp-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lp-trust i {
    color: #22A35A;
}

.lp-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 2.75rem 0 3.25rem;
}

.lp-hero-stage {
    position: relative;
    width: min(100%, 27rem);
}

/* Shown on desktop only, where the stage gets padding so the glow frames the card evenly. */
.lp-hero-glow {
    display: none;
    position: absolute;
    inset: 0;
    border-radius: 36px;
    background: linear-gradient(135deg, #EDE7FF 0%, #FBE9F1 60%, #FFF1E3 100%);
}

.lp-dashboard {
    position: relative;
    width: 100%;
    padding: 0.95rem;
}

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

.lp-dashboard-title {
    margin-top: 0.2rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.lp-dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 0.75rem;
}

.lp-widget-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--lp-soft);
    font-size: 0.8rem;
    font-weight: 600;
}

.lp-widget-label .lp-icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 9px;
    font-size: 0.9rem;
}

.lp-metric-value {
    margin-top: 0.6rem;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.lp-metric-value small {
    font-size: 0.9rem;
    font-weight: 600;
}

.lp-positive {
    color: #1E8A4C;
    font-size: 0.8rem;
    font-weight: 600;
}

.lp-checkin-tile {
    border-color: #F8EDDA;
    background: #FFFBF4;
}

.lp-checkin-value {
    margin-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.lp-checkin-score {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    color: var(--lp-muted);
    font-size: 0.8rem;
}

.lp-checkin-score strong {
    color: #A85F00;
}

.lp-priority {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid #E1DAFB;
    border-radius: 18px;
    background: linear-gradient(135deg, #F8F5FF, #FFFFFF);
}

.lp-priority-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #8B73F5, #6A4FE8);
    box-shadow: 0 8px 18px rgba(119, 95, 240, 0.3);
    font-size: 1.35rem;
}

.lp-priority-title {
    margin-top: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Secondary detail: hidden on phones to keep the card light */
.lp-priority-note {
    display: none;
    margin-top: 0.3rem;
    color: var(--lp-muted);
    font-size: 0.82rem;
}

@media (min-width: 576px) {
    .lp-priority-note {
        display: block;
    }
}

.lp-float {
    position: absolute;
    padding: 0.65rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
}

.lp-float-sleep {
    top: -2.25rem;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lp-float-sleep .lp-icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 9px;
    font-size: 0.9rem;
}

.lp-float-plan {
    bottom: -2.75rem;
    left: 0;
}

.lp-float-segments {
    display: flex;
    gap: 3px;
    margin-top: 0.45rem;
}

.lp-float-segments span {
    width: 1.1rem;
    height: 6px;
    border-radius: 3px;
    background: #E5E7EB;
}

.lp-float-segments .done { background: var(--lp-purple); }
.lp-float-segments .today { background: #B9AAF8; }

/* How it works */

.lp-steps {
    display: grid;
    gap: 1rem;
}

.lp-step {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.1rem;
}

.lp-step-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lp-step-head h3 {
    flex: 1;
}

.lp-step-number {
    color: #8A8C99;
    font-size: 0.85rem;
    font-weight: 600;
}

.lp .lp-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.lp-step p {
    color: var(--lp-muted);
}

.lp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lp-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lp-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--sm-color-outline-grey);
    border-radius: 12px;
    color: var(--lp-soft);
    font-size: 0.9rem;
}

.lp-option::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border: 1.5px solid #A4A4AC;
    border-radius: 50%;
}

.lp-option.selected {
    border: 1.5px solid var(--lp-purple);
    color: var(--lp-ink);
    background: #F8F5FF;
    font-weight: 600;
}

.lp-option.selected::before {
    border: 5px solid var(--lp-purple);
}

.lp-week-progress {
    padding: 0.85rem;
    border-radius: 14px;
    background: #F8F7FC;
    font-size: 0.82rem;
}

.lp-week-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    margin-top: 0.6rem;
}

.lp-week-days span {
    height: 8px;
    border-radius: 4px;
    background: #E5E7EB;
}

.lp-week-days .done { background: var(--lp-purple); }
.lp-week-days .today { background: #B9AAF8; }

/* Goal showcase */

.lp-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: min(100%, 26rem);
    margin: 0.75rem auto 0;
    padding: 4px;
    border-radius: 999px;
    background: #E9E8F0;
}

.lp-tabs .nav-link {
    min-height: 44px;
    margin: 0;
    padding: 0 1rem;
    border-radius: 999px;
    color: #4A4C5A;
    font-size: 0.95rem;
    font-weight: 600;
}

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

.lp-tabs .nav-link.active {
    color: var(--lp-ink);
    background: #fff;
    box-shadow: 0 2px 10px rgba(76, 56, 143, 0.14);
}

.lp-showcase {
    padding: 1rem;
    border-radius: 24px;
}

.lp-showcase-pane {
    display: grid;
    gap: 1.25rem;
    align-items: center;
}

.lp-showcase-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lp .lp-showcase-copy h3 {
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 600;
}

.lp-showcase-visual {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.lp-showcase-visual .lp-tile {
    padding: 1.1rem;
    border-radius: 18px;
}

.lp-tile-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.25rem 1rem;
}

.lp-tile-head > * {
    white-space: nowrap;
}

.lp-big-number {
    margin-top: 0.3rem;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
}

.lp-big-number small {
    color: var(--lp-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.lp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    margin-top: 0.7rem;
    color: var(--lp-soft);
    font-size: 0.78rem;
}

.lp-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lp-legend span::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--c);
}

.lp-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    color: var(--lp-muted);
    font-size: 0.72rem;
}

.lp-note {
    margin-top: 0.7rem;
    color: var(--lp-soft);
    font-size: 0.85rem;
}

.lp-note strong {
    color: #C2335C;
}

/* Charts (decorative demo data, aria-hidden) */

.lp-phases {
    display: flex;
    gap: 2px;
    height: 30px;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.lp-phases span {
    flex: var(--w) 1 0;
    background: var(--c);
    transform-origin: left;
}

.lp-phase-deep { --c: #4B36C4; }
.lp-phase-rem { --c: #9C88FA; }
.lp-phase-light { --c: #D6CEFF; }
.lp-phase-awake { --c: #FFC57A; }

.lp-bars {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 110px;
    margin-top: 0.9rem;
}

.lp-bars-short {
    height: 80px;
}

.lp-bar {
    flex: 1;
    height: calc(var(--v) * 1%);
    border-radius: 5px 5px 2px 2px;
    background: #C3B6FB;
    transform-origin: bottom;
}

.lp-bar.low { background: #E3DDFB; }
.lp-bar.accent { background: var(--lp-purple); }
/* Not ".alert": Bootstrap's alert class adds padding and margin. */
.lp-bar-alert { background: #EE557E; }
.lp-bar.warm { background: #FFD39E; }
.lp-bar.hot { background: #F08A2E; }

.lp-baseline {
    position: absolute;
    right: 0;
    left: 0;
    bottom: calc(var(--v) * 1%);
    border-top: 2px dashed #A4A4AC;
}

.lp-baseline span {
    position: absolute;
    right: 0;
    bottom: 4px;
    color: var(--lp-muted);
    font-size: 0.72rem;
    white-space: nowrap;
}

.lp-range {
    position: relative;
    height: 12px;
    margin: 1.2rem 0 0.5rem;
    border-radius: 6px;
    background: #ECEAF4;
}

.lp-range-band {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 38.9%;
    width: 19.4%;
    border-radius: 6px;
    background: #B9AAF8;
    transform-origin: left;
}

.lp-range-target {
    position: absolute;
    top: -5px;
    left: 41.7%;
    width: 3px;
    height: 22px;
    border-radius: 2px;
    background: #EE557E;
}

.lp-driver {
    border-color: #FBE1EA;
    background: #FFF7FA;
}

.lp-driver .lp-eyebrow {
    color: #B42F57;
}

.lp-mini-stats {
    display: grid;
    gap: 0.85rem;
}

.lp-list-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #EFEDF6;
}

.lp-list-row:last-child {
    border-bottom: 0;
}

.lp-list-row .lp-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    font-size: 0.9rem;
}

.lp-list-row div {
    flex: 1;
    min-width: 0;
}

.lp-list-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.lp-list-meta {
    color: var(--lp-muted);
    font-size: 0.8rem;
}

/* Ask your data */

.lp-ask {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: 1.75rem 0.9rem 0.9rem;
    border-radius: 30px;
    background: linear-gradient(160deg, #F3EFFF 0%, #FBEFF5 55%, #FFF4EA 100%);
}

.lp-ask-copy {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    text-align: center;
    align-items: center;
}

.lp-chat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 24px;
}

.lp-chat-question {
    align-self: flex-end;
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 16px 16px 4px 16px;
    color: #fff;
    background: var(--lp-purple);
    font-weight: 500;
}

.lp-chat-tool {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--lp-muted);
    font-size: 0.8rem;
}

.lp-chat-tool i {
    color: #22A35A;
}

.lp-chat-answer {
    padding: 1.1rem 1.15rem;
    border-radius: 16px 16px 16px 4px;
    background: #F7F6FB;
    line-height: 1.55;
}

.lp-chat-answer .lp-bars {
    gap: 8px;
    margin: 1.1rem 0 0.2rem;
}

.lp-chat-answer p {
    margin-top: 1rem !important;
}

.lp-footnote {
    color: #6B6D7A;
    font-size: 0.75rem;
}

/* ChatGPT app (commentable block in the AI assistant section) */

.lp-gpt {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
    max-width: 30rem;
    padding: 1.25rem;
    border: 1px solid rgba(119, 95, 240, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 28px rgba(76, 56, 143, 0.10);
    text-align: left;
}

.lp-gpt-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.lp-gpt-head .small {
    margin-top: 0.2rem;
    line-height: 1.4;
}

.lp-gpt-logo {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: 11px;
}

.lp-gpt-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.lp-gpt-prompts {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-gpt-prompts li {
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    color: var(--lp-soft);
    background: #F6F4FD;
    font-size: 0.9rem;
    line-height: 1.45;
}

.lp-gpt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1.25rem;
    border-radius: 999px;
    color: #fff;
    background: var(--sm-color-grey-01);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.lp-gpt-link:hover,
.lp-gpt-link:focus-visible {
    color: #fff;
    transform: translateY(-1px);
}

/* Plan */

.lp-plan {
    display: grid;
    gap: 1rem;
}

.lp-plan-card {
    padding: 1.1rem;
}

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

.lp-plan-title {
    margin-top: 0.2rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.lp-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.4rem;
    margin: 1.1rem 0;
    padding: 0;
    list-style: none;
}

.lp-days li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: var(--lp-muted);
    font-size: 0.72rem;
}

.lp-days span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 3.25rem;
    aspect-ratio: 1;
    border: 1px solid var(--sm-color-outline-grey);
    border-radius: 12px;
    color: #6B6D7A;
    background: var(--sm-color-grey-04);
    font-size: 0.85rem;
    font-weight: 600;
}

.lp-days .done span {
    border-color: var(--lp-purple);
    color: #fff;
    background: var(--lp-purple);
}

.lp-days .today span {
    border: 2px solid var(--lp-purple);
    color: var(--lp-purple-ink);
    background: #fff;
}

.lp-targets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.lp-target {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 14px;
    background: #F8F7FC;
    font-size: 0.92rem;
}

.lp-target-label {
    flex: 1;
}

.lp-target .bi-check-circle-fill {
    color: #22B964;
}

.lp-progress {
    height: 6px;
    margin-top: 0.5rem;
    overflow: hidden;
    border-radius: 3px;
    background: #E5E7EB;
}

.lp-progress span {
    display: block;
    width: calc(var(--v) * 1%);
    height: 100%;
    border-radius: 3px;
    background: var(--c, var(--lp-purple));
    transform-origin: left;
}

.lp-plan-side {
    display: grid;
    gap: 1rem;
}

.lp-side-card {
    padding: 1.1rem;
}

.lp-sliders {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.lp-slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* Devices */

.lp-devices {
    display: grid;
    gap: 1.75rem;
    align-items: center;
    padding: 1.5rem 1.1rem 0;
    overflow: hidden;
    border-radius: 30px;
}

.lp-devices-copy {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.lp-devices-visual {
    position: relative;
    min-height: 15rem;
}

.lp-browser {
    position: absolute;
    top: 0;
    right: -2.5rem;
    left: 2rem;
    overflow: hidden;
    border: 1px solid #E3E2EC;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: #FBFBFD;
    box-shadow: 0 20px 50px rgba(76, 56, 143, 0.12);
}

.lp-browser-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 10px;
    background: #F1F0F6;
}

.lp-browser-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.lp-browser-body {
    display: flex;
    min-height: 14rem;
}

.lp-browser-nav {
    display: none;
    flex-direction: column;
    gap: 0.55rem;
    width: 26%;
    padding: 0.85rem;
    border-right: 1px solid #EFEDF6;
    color: var(--lp-muted);
    font-size: 0.72rem;
}

.lp-browser-nav strong {
    color: var(--lp-ink);
}

.lp-browser-nav .active {
    color: var(--lp-purple-ink);
    font-weight: 600;
}

.lp-browser-main {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    padding: 0.85rem 0.85rem 0.85rem 7rem;
}

.lp-browser-main .lp-tile {
    padding: 0.6rem;
}

.lp-browser-main .lp-bars {
    height: 64px;
    gap: 2px;
    margin-top: 0.4rem;
}

.lp-browser-main .lp-bar {
    border-radius: 2px;
}

.lp-browser-wide {
    grid-column: 1 / -1;
}

.lp-tile-caption {
    color: var(--lp-muted);
    font-size: 0.68rem;
}

.lp-phone {
    position: absolute;
    bottom: -2.5rem;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 8.5rem;
    padding: 1.1rem 0.6rem 3rem;
    border: 5px solid var(--lp-ink);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(31, 31, 31, 0.22);
    font-size: 0.62rem;
}

.lp-phone-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem;
    border-radius: 8px;
    background: #F8F7FC;
}

.lp-phone-button {
    padding: 0.45rem;
    border-radius: 999px;
    color: #fff;
    background: var(--lp-purple);
    font-weight: 600;
    text-align: center;
}

/* Privacy */

.lp-privacy {
    display: grid;
    gap: 1rem;
}

.lp-privacy .lp-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem;
}

.lp .lp-privacy-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lp .lp-privacy h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.lp-privacy p {
    color: var(--lp-muted);
    font-size: 0.95rem;
}

/* FAQ */

.lp-faq {
    max-width: 50rem;
    margin-right: auto;
    margin-left: auto;
    padding: 0.25rem 1.1rem;
}

.lp-faq details {
    padding: 1rem 0;
    border-bottom: 1px solid #EFEDF6;
}

.lp-faq details:last-child {
    border-bottom: 0;
}

.lp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 600;
    list-style: none;
}

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

.lp-faq summary i {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.lp-faq details[open] summary i {
    transform: rotate(180deg);
}

.lp-faq details p {
    padding: 0.35rem 2rem 0.25rem 0;
    color: var(--lp-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Final CTA */

.lp-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.75rem 1.25rem;
    border-radius: 30px;
    border: 1px solid #EEEAFB;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 113, 148, 0.07), transparent 18rem),
        radial-gradient(circle at 100% 100%, rgba(255, 166, 70, 0.07), transparent 18rem),
        linear-gradient(135deg, #F7F4FF, #FDFCFF);
    text-align: center;
}

.lp-final .lp-cta {
    width: min(100%, 22rem);
    margin-top: 0.5rem;
}

/* Sticky CTA (phones only; shown by JS while no other CTA is on screen) */

.lp-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    /* A floating pill over a soft fade, like the Get Started flow: no bar, no backdrop-filter
       (iOS Safari renders it unreliably on fixed elements). */
    padding: 1.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, rgba(248, 248, 251, 0), rgba(248, 248, 251, 0.9) 55%);
    pointer-events: none;
    visibility: hidden;
    transform: translateY(110%);
    transition: transform 0.25s ease, visibility 0.25s;
}

.lp-sticky.visible {
    visibility: visible;
    transform: none;
}

.lp-sticky .lp-cta {
    width: 100%;
    min-height: 52px;
    pointer-events: auto;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.55),
        0 10px 26px rgba(119, 95, 240, 0.35);
}

/* Motion (only with JS; reduced-motion users get the static page) */

@media (prefers-reduced-motion: no-preference) {
    .lp-js [data-lp-reveal] {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.7s var(--lp-ease), transform 0.7s var(--lp-ease);
        transition-delay: var(--lp-delay, 0ms);
    }

    .lp-js [data-lp-reveal].lp-in {
        opacity: 1;
        transform: none;
    }

    .lp-js [data-lp-chart] .lp-bar {
        transform: scaleY(0);
        transition: transform 0.9s var(--lp-ease);
        transition-delay: calc(var(--i, 0) * 40ms);
    }

    .lp-js [data-lp-chart] .lp-phases span,
    .lp-js [data-lp-chart] .lp-range-band,
    .lp-js [data-lp-chart] .lp-progress span {
        transform: scaleX(0);
        transition: transform 1s var(--lp-ease);
        transition-delay: calc(var(--i, 0) * 50ms);
    }

    .lp-js [data-lp-chart].lp-in .lp-bar,
    .lp-js [data-lp-chart].lp-in .lp-phases span,
    .lp-js [data-lp-chart].lp-in .lp-range-band,
    .lp-js [data-lp-chart].lp-in .lp-progress span {
        transform: none;
    }

    .lp-float {
        animation: lp-bob 6s ease-in-out infinite;
    }

    .lp-float-plan {
        animation-delay: 1.5s;
    }

    .lp-dot {
        animation: lp-pulse 2s ease-in-out infinite;
    }
}

@keyframes lp-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes lp-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 185, 100, 0.15); }
    50% { box-shadow: 0 0 0 6px rgba(34, 185, 100, 0.05); }
}

/* Tablet and up */

@media (min-width: 768px) {
    .lp-section {
        margin-top: 6rem;
    }

    .lp-hero-actions .lp-cta,
    .lp-hero-actions .lp-link {
        flex: 0 0 auto;
    }

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

    .lp-section-head {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .lp-dashboard {
        padding: 1.1rem;
    }

    .lp-step,
    .lp-privacy .lp-card {
        padding: 1.4rem;
    }

    .lp-plan-card,
    .lp-side-card {
        padding: 1.25rem;
    }

    .lp-showcase {
        padding: 2.5rem;
        border-radius: 32px;
    }

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

    .lp-ask {
        padding: 3.5rem 3rem;
        border-radius: 36px;
    }

    .lp-chat {
        padding: 1.4rem;
    }

    .lp-devices {
        padding: 3rem 3rem 0;
        border-radius: 36px;
    }

    .lp-devices-visual {
        min-height: 20rem;
    }

    .lp-browser-nav {
        display: flex;
    }

    .lp-browser-main {
        padding-left: 0.85rem;
    }

    .lp-phone {
        width: 10.5rem;
        font-size: 0.7rem;
    }

    .lp-faq {
        padding: 0.5rem 1.75rem;
    }

    .lp-sticky {
        right: 50%;
        bottom: 1rem;
        left: auto;
        width: 24rem;
        padding: 0;
        background: none;
        transform: translate(50%, 150%);
    }

    .lp-sticky.visible {
        transform: translate(50%, 0);
    }

    .lp-final {
        padding: 4.5rem 2.5rem;
        border-radius: 36px;
    }
}

/* Desktop */

@media (min-width: 992px) {
    .lp-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 3.5rem;
        padding-top: 2rem;
    }

    .lp .lp-hero-title {
        font-size: clamp(2.5rem, 4.3vw, 3.6rem);
    }

    .lp-hero-glow {
        display: block;
    }

    .lp-hero-visual {
        padding: 2rem 0;
    }

    .lp-hero-stage {
        width: min(100%, 31rem);
        padding: 2rem;
    }

    .lp-float-sleep {
        top: -1rem;
        right: -1rem;
    }

    .lp-float-plan {
        bottom: -1rem;
        left: -1rem;
    }

    .lp-section-head {
        margin-bottom: 3rem;
    }

    .lp-showcase-pane {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 3rem;
    }

    .lp-ask {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 3.5rem;
    }

    .lp-ask-copy {
        align-items: flex-start;
        text-align: left;
    }

    .lp-plan {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 1.5rem;
    }

    .lp-plan-card {
        padding: 1.75rem;
    }

    .lp-devices {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        padding: 3.5rem 3.5rem 0;
    }

    /* The card has no bottom padding so the mockups bleed off its edge; the copy needs its own. */
    .lp-devices-copy {
        padding-bottom: 3.5rem;
    }

    .lp-devices-visual {
        min-height: 22rem;
    }

    .lp-browser {
        top: 1rem;
        right: 0;
        left: 4rem;
    }

    .lp-sticky {
        display: none;
    }
}
