html[data-mode="app"] #landing {
    display: none;
}

html[data-mode="landing"] #app,
html[data-mode="landing"] #blazor-error-ui {
    display: none !important;
}

html[data-mode="landing"] {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

html[data-mode="landing"] body {
    background: #F6FFF9;
    background-image: none;
    overscroll-behavior: auto;
    padding: 0;
}

#landing {
    --lp-ink: #11212B;
    --lp-ink-soft: #3B4E59;
    --lp-light: #F6FFF9;
    --lp-muted: #DCFBE5;
    --lp-mint: #72F27A;
    --lp-teal: #19C7B5;
    --lp-teal-deep: #0E6E64;
    --lp-line: rgba(17, 33, 43, 0.1);
    --lp-card: #FFFFFF;
    --lp-grad: linear-gradient(135deg, var(--lp-mint), var(--lp-teal));
    --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --lp-radius: 24px;
    --lp-shadow: 0 24px 60px -24px rgba(17, 33, 43, 0.28), 0 8px 20px -12px rgba(17, 33, 43, 0.16);

    color: var(--lp-ink);
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

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

#landing h1,
#landing h2,
#landing h3 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0;
}

#landing h1 {
    font-size: clamp(2.5rem, 6vw, 4.4rem);
}

#landing h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

#landing h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

#landing p {
    margin: 0;
}

#landing a {
    color: inherit;
    text-decoration: none;
}

#landing a:focus-visible,
#landing summary:focus-visible {
    outline: 3px solid var(--lp-teal-deep);
    outline-offset: 3px;
    border-radius: 8px;
}

.lp-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 720px) {
    .lp-wrap {
        padding: 0 32px;
    }
}

.lp-eyebrow {
    color: var(--lp-teal-deep);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px !important;
}

.lp-grad-text {
    background: linear-gradient(120deg, var(--lp-teal-deep), #0F8577 55%, #16834A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: transform 0.25s var(--lp-ease), box-shadow 0.25s var(--lp-ease), background-color 0.25s;
}

.lp-btn-lg {
    min-height: 54px;
    padding: 0 28px;
    font-size: 1.02rem;
}

.lp-btn-primary {
    background: var(--lp-ink);
    color: var(--lp-light) !important;
    box-shadow: 0 10px 24px -12px rgba(17, 33, 43, 0.6);
}

.lp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -14px rgba(17, 33, 43, 0.6);
}

.lp-btn-ghost {
    border: 1.5px solid var(--lp-line);
    background: rgba(255, 255, 255, 0.6);
}

.lp-btn-ghost:hover,
.lp-btn-text:hover {
    background: var(--lp-muted);
}

.lp-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding-top: env(safe-area-inset-top);
    transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.lp-bar.is-scrolled {
    background: rgba(246, 255, 249, 0.82);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 1px 0 var(--lp-line);
}

.lp-bar-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 72px;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.lp-nav {
    display: none;
    gap: 28px;
    margin-left: 16px;
    font-weight: 600;
    color: var(--lp-ink-soft);
}

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

.lp-bar-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

@media (min-width: 900px) {
    .lp-nav {
        display: flex;
    }
}

@media (max-width: 420px) {
    .lp-bar-actions .lp-btn {
        padding: 0 14px;
    }
}

.lp-hero {
    position: relative;
    padding: 40px 0 96px;
}

.lp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.lp-blob-a {
    width: 520px;
    height: 520px;
    top: -160px;
    right: -120px;
    background: radial-gradient(circle, rgba(114, 242, 122, 0.75), transparent 70%);
    animation: lp-drift 18s ease-in-out infinite alternate;
}

.lp-blob-b {
    width: 460px;
    height: 460px;
    bottom: -120px;
    left: -160px;
    background: radial-gradient(circle, rgba(25, 199, 181, 0.55), transparent 70%);
    animation: lp-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes lp-drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(40px, 30px, 0) scale(1.08);
    }
}

.lp-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 56px;
    align-items: center;
}

@media (min-width: 1000px) {
    .lp-hero {
        padding: 72px 0 128px;
    }

    .lp-hero-inner {
        grid-template-columns: 1fr 1.08fr;
    }
}

.lp-lead {
    margin-top: 22px !important;
    max-width: 34rem;
    font-size: 1.15rem;
    color: var(--lp-ink-soft);
}

.lp-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.lp-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--lp-ink-soft);
}

.lp-hero-points li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--lp-grad);
    vertical-align: middle;
}

.lp-hero-stage {
    position: relative;
    padding: 0 0 48px;
}

.lp-browser,
.lp-frame-browser {
    margin: 0;
    border-radius: 18px;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
}

.lp-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: #EEF7F1;
    border-bottom: 1px solid var(--lp-line);
}

.lp-browser-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(17, 33, 43, 0.14);
}

.lp-browser-bar span {
    margin: 0 auto;
    padding: 2px 14px;
    border-radius: 999px;
    background: var(--lp-card);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--lp-ink-soft);
}

.lp-phone,
.lp-frame-phone {
    margin: 0;
    padding: 10px;
    border-radius: 42px;
    background: var(--lp-ink);
    box-shadow: var(--lp-shadow);
}

.lp-phone {
    position: absolute;
    right: -8px;
    bottom: 0;
    width: 34%;
    max-width: 230px;
    animation: lp-float 7s ease-in-out infinite;
}

@keyframes lp-float {
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 999px) {
    .lp-hero-stage {
        max-width: 640px;
        margin: 0 auto;
        width: 100%;
    }

    .lp-phone {
        right: 0;
    }
}

.lp-clip-box {
    position: relative;
    overflow: hidden;
    background:
        url("../brand/Fruuli_Icon.svg") center / 56px no-repeat,
        linear-gradient(135deg, #E9FCEF, #D6F6F1);
}

.lp-clip-desktop {
    aspect-ratio: 16 / 10;
}

.lp-clip-phone {
    aspect-ratio: 390 / 844;
    border-radius: 32px;
}

.lp-clip {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.lp-clip-box.is-missing .lp-clip {
    visibility: hidden;
}

.lp-pillars {
    padding: 24px 0 112px;
}

.lp-pillars-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 900px) {
    .lp-pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.lp-pillar {
    position: relative;
    padding: 40px 32px;
    border-radius: var(--lp-radius);
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    overflow: hidden;
}

.lp-pillar h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    margin-bottom: 24px;
}

.lp-pillar-dark {
    background: radial-gradient(120% 90% at 100% 0%, rgba(25, 199, 181, 0.28), transparent 60%), var(--lp-ink);
    color: var(--lp-light);
    border-color: transparent;
}

.lp-pillar-dark .lp-eyebrow {
    color: var(--lp-mint);
}

.lp-pillar-dark .lp-list li {
    color: rgba(246, 255, 249, 0.82);
}

.lp-pillar-mark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 120px;
    height: 120px;
    opacity: 0.95;
}

.lp-pillar-dark h2 {
    padding-right: 96px;
}

.lp-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-list li {
    position: relative;
    padding-left: 30px;
    color: var(--lp-ink-soft);
}

.lp-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--lp-grad);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0Zm-1.2 12.6L4.2 9l1.3-1.3 2.3 2.3 4.7-4.7 1.3 1.3-6 6Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0Zm-1.2 12.6L4.2 9l1.3-1.3 2.3 2.3 4.7-4.7 1.3 1.3-6 6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lp-section-head {
    max-width: 640px;
    margin: 0 auto 64px;
    text-align: center;
}

.lp-features {
    padding: 48px 0 120px;
}

.lp-feature {
    display: grid;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}

.lp-feature + .lp-feature {
    border-top: 1px solid var(--lp-line);
}

.lp-feature-copy {
    max-width: 30rem;
}

.lp-feature-copy p {
    margin-top: 16px !important;
    color: var(--lp-ink-soft);
    font-size: 1.08rem;
}

.lp-feature-media.lp-frame-phone {
    width: min(280px, 72vw);
    justify-self: center;
}

.lp-feature-media.lp-frame-browser {
    width: 100%;
}

@media (min-width: 900px) {
    .lp-feature {
        grid-template-columns: 1fr 1fr;
        gap: 72px;
        padding: 56px 0;
    }

    .lp-feature-flip .lp-feature-copy {
        order: 2;
    }
}

.lp-journey {
    padding: 112px 0;
    background: linear-gradient(180deg, transparent, var(--lp-muted) 18%, var(--lp-muted) 82%, transparent);
}

.lp-journey-steps {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.lp-step {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.lp-step strong {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.3rem;
}

.lp-step span {
    max-width: 18rem;
    color: var(--lp-ink-soft);
}

.lp-step-icon {
    width: 72px;
    height: 72px;
    padding: 12px;
    border-radius: 22px;
    background: var(--lp-card);
    box-shadow: 0 12px 30px -16px rgba(17, 33, 43, 0.35);
    fill: none;
    stroke: var(--lp-teal-deep);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-step-link {
    position: relative;
    height: 56px;
}

.lp-step-link::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    border-left: 2px dashed rgba(14, 110, 100, 0.35);
}

.lp-packet {
    position: absolute;
    left: calc(50% - 7px);
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lp-grad);
    box-shadow: 0 0 0 6px rgba(114, 242, 122, 0.25);
    animation: lp-travel-y 2.4s var(--lp-ease) infinite;
}

@keyframes lp-travel-y {
    from {
        top: 0;
        opacity: 0;
    }

    20%,
    80% {
        opacity: 1;
    }

    to {
        top: calc(100% - 14px);
        opacity: 0;
    }
}

@media (min-width: 900px) {
    .lp-journey-steps {
        grid-template-columns: 1fr 120px 1fr 120px 1fr;
        align-items: start;
    }

    .lp-step-link {
        height: auto;
        align-self: stretch;
    }

    .lp-step-link::before {
        left: 0;
        right: 0;
        top: 36px;
        bottom: auto;
        border-left: 0;
        border-top: 2px dashed rgba(14, 110, 100, 0.35);
    }

    .lp-packet {
        top: 29px;
        left: 0;
        animation-name: lp-travel-x;
    }

    @keyframes lp-travel-x {
        from {
            left: 0;
            opacity: 0;
        }

        20%,
        80% {
            opacity: 1;
        }

        to {
            left: calc(100% - 14px);
            opacity: 0;
        }
    }
}

.lp-faq {
    padding: 112px 0;
}

.lp-faq-inner {
    max-width: 820px;
}

.lp-faq-list {
    display: grid;
    gap: 12px;
}

.lp-faq-list details {
    border-radius: 18px;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    transition: box-shadow 0.25s var(--lp-ease);
}

.lp-faq-list details[open] {
    box-shadow: 0 16px 40px -24px rgba(17, 33, 43, 0.3);
}

.lp-faq-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
}

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

.lp-faq-list summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--lp-muted);
    color: var(--lp-teal-deep);
    font-size: 1.2rem;
    transition: transform 0.3s var(--lp-ease);
}

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

.lp-faq-list details p {
    padding: 0 24px 22px;
    color: var(--lp-ink-soft);
}

.lp-final {
    padding: 0 0 112px;
}

.lp-final-inner {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 72px 24px;
    border-radius: 32px;
    text-align: center;
    background:
        radial-gradient(80% 120% at 0% 0%, rgba(114, 242, 122, 0.35), transparent 60%),
        radial-gradient(80% 120% at 100% 100%, rgba(25, 199, 181, 0.35), transparent 60%),
        var(--lp-ink);
    color: var(--lp-light);
}

.lp-final-inner p {
    max-width: 30rem;
    color: rgba(246, 255, 249, 0.8);
}

.lp-final-inner .lp-btn-primary {
    margin-top: 10px;
    background: var(--lp-light);
    color: var(--lp-ink) !important;
}

.lp-footer {
    padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--lp-line);
}

.lp-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
}

.lp-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-weight: 600;
    color: var(--lp-ink-soft);
}

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

.lp-footer-note {
    margin-left: auto !important;
    font-size: 0.9rem;
    color: var(--lp-ink-soft);
}

.lp-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--lp-ease), transform 0.9s var(--lp-ease);
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

html:not([data-mode="landing"]) .lp-reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html[data-mode="landing"] {
        scroll-behavior: auto;
    }

    .lp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lp-blob,
    .lp-phone,
    .lp-packet {
        animation: none;
    }
}
