.body--landing {
    --land-bg: #171310;
    --land-ink: #f7f1e8;
    --land-muted: #b5a89a;
    --land-accent: #63aa1e;
    --land-accent-hover: #73b92e;
    --land-accent-ink: #122008;
    --land-brand: #f0d4a8;
    --land-panel: #221c18;
    --land-line: rgba(99, 170, 30, 0.32);
    --land-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
    --land-body: "Figtree", "Segoe UI", sans-serif;
    margin: 0;
    color: var(--land-ink);
    font-family: var(--land-body);
    background: var(--land-bg);
    min-height: 100vh;
    overflow-x: clip;
}

.body--landing a { color: inherit; }

.land {
    position: relative;
}

.land-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem clamp(1rem, 3vw, 2rem);
    backdrop-filter: blur(14px);
    background: rgba(11, 18, 16, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.land-nav__brand,
.land-footer .land-nav__brand {
    font-family: var(--land-display);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
    font-size: 1.15rem;
}

.land-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    align-items: center;
    font-size: 0.95rem;
    color: var(--land-muted);
}

.land-nav__links a { text-decoration: none; transition: color 0.2s ease; }
.land-nav__links a:hover { color: var(--land-ink); }

.land-nav__cta {
    color: var(--land-accent-ink) !important;
    background: var(--land-accent);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
}

.land-nav__cta:hover {
    background: var(--land-accent-hover);
    color: var(--land-accent-ink) !important;
}

.land-hero {
    position: relative;
    min-height: min(100vh, 920px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
}

.land-hero__atmos {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.land-hero__grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(240, 212, 168, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 212, 168, 0.055) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(600px) rotateX(58deg) scale(1.4);
    transform-origin: center top;
    animation: grid-drift 18s linear infinite;
    mask-image: linear-gradient(to bottom, #000 35%, transparent 85%);
}

.land-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.55;
}

.land-hero__glow--a {
    width: 42vw;
    height: 42vw;
    left: -8%;
    top: -10%;
    background: radial-gradient(circle, rgba(99, 170, 30, 0.28), transparent 65%);
    animation: glow-a 8s ease-in-out infinite alternate;
}

.land-hero__glow--b {
    width: 36vw;
    height: 36vw;
    right: -6%;
    bottom: 10%;
    background: radial-gradient(circle, rgba(140, 72, 42, 0.32), transparent 70%);
    animation: glow-b 10s ease-in-out infinite alternate;
}

.land-hero__stage {
    position: relative;
    z-index: 2;
    max-width: 34rem;
    padding-bottom: 1rem;
}

.land-hero__brand {
    margin: 0 0 0.75rem;
    font-family: var(--land-display);
    font-size: clamp(2.8rem, 9vw, 5.6rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: var(--land-brand);
    text-wrap: balance;
}

.land-hero__title {
    margin: 0 0 1rem;
    font-family: var(--land-display);
    font-size: clamp(1.7rem, 4.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    max-width: 16ch;
}

.land-hero__lede {
    margin: 0 0 1.5rem;
    color: var(--land-muted);
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 36ch;
}

.land-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.land-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.land-btn:hover { transform: translateY(-2px); }

.land-btn--primary {
    background: var(--land-accent);
    color: var(--land-accent-ink);
    border-color: #528f18;
}

.land-btn--primary:hover {
    background: var(--land-accent-hover);
}

.land-btn--ghost {
    border-color: rgba(238, 242, 240, 0.22);
    color: var(--land-ink);
    background: rgba(255, 255, 255, 0.03);
}

.land-hero__visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 0;
    padding-bottom: 0.5rem;
}

.phone {
    position: relative;
    width: min(280px, 72vw);
    aspect-ratio: 9 / 16.4;
    filter: drop-shadow(0 34px 55px rgba(0, 0, 0, 0.5));
    animation: phone-float 5.5s ease-in-out infinite;
}

.phone__side {
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, #3a3a3c, #1c1c1e 40%, #2c2c2e);
    border-radius: 2px;
    z-index: 2;
}
.phone__side--left {
    left: -2px;
    top: 18%;
    height: 14%;
    box-shadow: 0 22px 0 #2c2c2e, 0 40px 0 #2c2c2e;
}
.phone__side--right {
    right: -2px;
    top: 24%;
    height: 9%;
}

.phone__bezel {
    height: 100%;
    background: linear-gradient(155deg, #3a3a3c 0%, #1c1c1e 38%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 42px;
    padding: 9px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 0 5px #0b0b0c;
}

.phone__screen {
    position: relative;
    height: 100%;
    background: #efe6da;
    color: #111;
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone__island {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 5;
    width: 92px;
    height: 26px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #050505;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone__status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #111;
}
.phone__status-icons {
    display: inline-flex;
    gap: 3px;
    align-items: flex-end;
}
.phone__status-icons i {
    display: block;
    width: 3px;
    background: #111;
    border-radius: 1px;
}
.phone__status-icons i:nth-child(1) { height: 4px; }
.phone__status-icons i:nth-child(2) { height: 6px; }
.phone__status-icons i:nth-child(3) { height: 9px; width: 14px; border-radius: 2px; position: relative; }
.phone__status-icons i:nth-child(3)::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 2px;
    width: 1.5px;
    height: 4px;
    background: #111;
    border-radius: 1px;
}

.imsg-top {
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    padding: 0.7rem 0.55rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(239, 230, 218, 0.92);
    backdrop-filter: blur(8px);
}
.imsg-top__back {
    color: #63aa1e;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 500;
}
.imsg-top__peer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}
.imsg-top__peer strong {
    font-size: 0.72rem;
    font-weight: 650;
}
.imsg-top__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #8fd13a, #63aa1e);
    color: #122008;
    font-size: 0.72rem;
    font-weight: 800;
}
.imsg-top__spacer { width: 28px; }

.chat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.55rem 0.7rem 0.35rem;
    overflow: hidden;
    justify-content: flex-start;
}

.chat__bubble {
    position: relative;
    max-width: 86%;
    padding: 0.55rem 0.7rem;
    font-size: 0.72rem;
    line-height: 1.32;
}

.chat__bubble--old {
    align-self: flex-start;
    background: #e5e5ea;
    color: #6b6570;
    text-decoration: line-through;
    border-radius: 18px 18px 18px 5px;
    animation: bubble-fade 1.2s ease both;
    animation-delay: 0.4s;
}

.chat__bubble--new {
    align-self: flex-end;
    background: #63aa1e;
    color: #122008;
    display: grid;
    gap: 0.18rem;
    border-radius: 18px 18px 5px 18px;
    animation: bubble-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: 1s;
}

.chat__link {
    color: #122008;
    font-weight: 750;
    font-family: ui-monospace, Consolas, monospace;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.chat__hint {
    color: rgba(18, 32, 8, 0.72);
    font-size: 0.66rem;
}

.phone__pay {
    align-self: flex-end;
    display: flex;
    gap: 0.55rem;
    align-items: center;
    width: min(100%, 220px);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 0.55rem;
    box-shadow: 0 8px 18px rgba(28, 26, 22, 0.08);
    animation: bubble-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: 1.25s;
}

.phone__pay strong {
    display: block;
    font-family: var(--land-display);
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.phone__pay span {
    color: #6a655c;
    font-size: 0.7rem;
}

.qr-mark {
    flex: 0 0 auto;
    padding: 2px;
    border-radius: 10px;
    background: #fff;
}

.qr-mark img {
    display: block;
    width: 72px;
    height: 72px;
}

.imsg-composer {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.6rem 0.15rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(239, 230, 218, 0.96);
    flex: 0 0 auto;
}
.imsg-composer__plus {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 0;
    color: #fff;
    background: #8e8e93;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1;
    flex: 0 0 auto;
}
.imsg-composer__field {
    flex: 1;
    min-height: 30px;
    border: 1.5px solid #c7c7cc;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: #8e8e93;
    font-size: 0.72rem;
    background: #fff;
}
.imsg-composer__mic {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8e8e93;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.imsg-composer__mic svg {
    display: block;
    width: 18px;
    height: 18px;
}

.phone__home {
    width: 34%;
    height: 4px;
    margin: 0.35rem auto 0.45rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
}

.land-section {
    position: relative;
    z-index: 1;
    padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.land-section__head {
    max-width: 38rem;
    margin-bottom: 2rem;
}

.land-section__head h2 {
    margin: 0 0 0.6rem;
    font-family: var(--land-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.land-section__head p {
    margin: 0;
    color: var(--land-muted);
    max-width: 40ch;
}

.land-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.land-steps li {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.25rem;
    min-height: 180px;
}

.land-steps__n {
    display: block;
    color: #8fc63a;
    font-family: var(--land-display);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.8rem;
}

.land-steps h3 {
    margin: 0 0 0.45rem;
    font-family: var(--land-display);
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.land-steps p {
    margin: 0;
    color: var(--land-muted);
    line-height: 1.45;
}

.land-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.land-plan {
    background: var(--land-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.land-plan h3 {
    margin: 0;
    font-family: var(--land-display);
    letter-spacing: -0.03em;
}

.land-plan__price {
    margin: 0;
    font-family: var(--land-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.land-plan__price span {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.95rem;
    color: var(--land-muted);
    font-family: var(--land-body);
    font-weight: 500;
    letter-spacing: 0;
}

.land-plan ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--land-muted);
    flex: 1;
}

.land-plan .land-btn {
    width: 100%;
}

.land-footnote {
    margin: 1.25rem 0 0;
    color: var(--land-muted);
    font-size: 0.9rem;
}

.land-page {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 2.5rem clamp(1rem, 3vw, 2rem) 3.5rem;
    min-height: 55vh;
}

.land-page--auth {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 10rem);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.land-auth {
    width: min(440px, 100%);
    padding: 1.85rem 1.6rem 1.9rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 40%),
        var(--land-panel);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.land-auth h1 {
    margin: 0 0 1.35rem;
    font-family: var(--land-display);
    font-size: clamp(1.45rem, 3.5vw, 1.75rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-align: left;
    font-weight: 700;
}

.land-legal h1 {
    margin: 0 0 1.25rem;
    font-family: var(--land-display);
    font-size: clamp(2rem, 5vw, 2.8rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.land-legal h2 {
    margin: 1.75rem 0 0.5rem;
    font-family: var(--land-display);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.land-legal p,
.land-legal__lede {
    color: var(--land-muted);
    line-height: 1.65;
    margin: 0 0 1rem;
}

.land-legal a { color: var(--land-brand); }
.land-legal a:hover { color: var(--land-ink); }

.land-legal--narrow { width: min(480px, 100%); }

.land-legal__actions { margin-top: 1.75rem; }

.land-flash {
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    margin: 0 0 1rem;
    font-size: 0.95rem;
}
.land-flash--err {
    background: rgba(180, 60, 40, 0.2);
    border: 1px solid rgba(220, 100, 70, 0.45);
    color: #ffd2c4;
}
.land-flash--ok {
    background: rgba(99, 170, 30, 0.15);
    border: 1px solid rgba(99, 170, 30, 0.4);
    color: #d9f0b8;
}
.land-flash a { color: inherit; word-break: break-all; }

.land-form {
    display: grid;
    gap: 0.85rem;
}
.land-form label {
    display: grid;
    gap: 0.35rem;
    color: var(--land-muted);
    font-size: 0.92rem;
}
.land-form input {
    width: 100%;
    min-height: 2.7rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--land-ink);
    padding: 0.45rem 0.75rem;
    font: inherit;
}
.land-form input:focus {
    outline: 2px solid rgba(99, 170, 30, 0.45);
    outline-offset: 1px;
}
.land-form .land-btn { width: 100%; }

.body--landing .oauth-stack {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 0.35rem;
}
.body--landing .btn--oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 3.1rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid #1c1a16;
    text-decoration: none;
    font-weight: 650;
    font-size: 0.98rem;
    background: #fff;
    color: #1c1a16;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.body--landing .btn--oauth .oauth-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}
.body--landing .btn--oauth:hover {
    background: #f7f7f5;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.body--landing .btn--google,
.body--landing .btn--facebook {
    background: #fff;
    color: #1c1a16;
    border-color: #1c1a16;
}
.body--landing .btn--oauth:disabled,
.body--landing .btn--oauth:disabled:hover {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.body--landing .btn--oauth-dev { border-style: dashed; }
.body--landing .auth-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.25rem 0 1.1rem;
    color: var(--land-muted);
    font-size: 0.9rem;
}
.body--landing .auth-divider::before,
.body--landing .auth-divider::after {
    content: "";
    flex: 1;
    height: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.22);
}

.land-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem clamp(1rem, 3vw, 2rem) 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--land-muted);
}

.land-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
}

.land-footer a { text-decoration: none; }
.land-footer a:hover { color: var(--land-ink); }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.reveal--late { transition-delay: 0.12s; }

@keyframes grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 48px, 48px 0; }
}

@keyframes glow-a {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(8%, 6%) scale(1.08); }
}

@keyframes glow-b {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-6%, -4%) scale(1.12); }
}

@keyframes phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bubble-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 0.85; transform: none; }
}

@keyframes bubble-in {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@keyframes qr-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@media (max-width: 900px) {
    .land-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        align-items: start;
        padding-top: 1.25rem;
    }

    .land-hero__stage {
        max-width: none;
    }

    .land-hero__brand {
        font-size: clamp(2.8rem, 16vw, 4.5rem);
    }

    .land-hero__visual {
        min-height: 0;
        order: -1;
        margin-top: 0.5rem;
    }

    .phone {
        width: min(250px, 68vw);
        animation: none;
    }

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

@media (prefers-reduced-motion: reduce) {
    .land-hero__grid,
    .land-hero__glow,
    .phone,
    .qr-mark__pulse,
    .chat__bubble {
        animation: none !important;
    }

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