/* Soft Observatory — night-to-dawn constellation landing */
:root {
    --lob-ink: #f6f0ff;
    --lob-muted: rgba(236, 228, 255, 0.72);
    --lob-serif: 'Cormorant Garamond', Georgia, serif;
    --lob-sans: 'Outfit', 'Segoe UI', sans-serif;
    --lob-dawn: #ffb48a;
}

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

html, body.lob {
    margin: 0;
    min-height: 100%;
    font-family: var(--lob-sans);
    color: var(--lob-ink);
    background:
        radial-gradient(ellipse 120% 70% at 50% 100%, #ff9a6b 0%, #d4688a 18%, #7a3d9e 42%, #2a1a5c 68%, #0d0824 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.lob-stars {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.lob-horizon {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 42vh;
    background:
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(255, 200, 140, 0.45) 0%, transparent 70%),
        linear-gradient(to top, rgba(255, 160, 100, 0.25), transparent);
    pointer-events: none;
    z-index: 1;
    animation: lob-glow 8s ease-in-out infinite alternate;
}

.lob-clouds {
    position: fixed;
    left: -10%; right: -10%; bottom: 8%;
    height: 28vh;
    background:
        radial-gradient(ellipse 40% 60% at 20% 70%, rgba(255, 210, 190, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 50% 70% at 55% 80%, rgba(255, 190, 170, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse 35% 55% at 80% 65%, rgba(255, 220, 200, 0.22) 0%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 1;
    animation: lob-drift 22s ease-in-out infinite alternate;
}

@keyframes lob-glow {
    from { opacity: 0.75; transform: scaleY(1); }
    to { opacity: 1; transform: scaleY(1.06); }
}
@keyframes lob-drift {
    from { transform: translateX(-2%); }
    to { transform: translateX(3%); }
}

.lob-nav {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px clamp(20px, 5vw, 56px);
}

.lob-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.lob-mark { color: #e8deff; display: flex; }
.lob-mark img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; display: block; }

.lob-links {
    display: flex;
    align-items: center;
    gap: 18px;
}
.lob-links a {
    color: var(--lob-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.lob-links a:hover { color: #fff; }

.lob-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff !important;
    backdrop-filter: blur(12px);
    font-weight: 560 !important;
    transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.lob-cta:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}
.lob-cta--lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, rgba(255, 220, 190, 0.35), rgba(255, 255, 255, 0.18));
}

.lob-hero {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 20px 48px;
    min-height: calc(100vh - 88px);
}

.lob-headline {
    font-family: var(--lob-serif);
    font-weight: 600;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 8px 0 10px;
    color: #fff;
    text-shadow: 0 8px 40px rgba(20, 8, 40, 0.35);
    opacity: 0;
    animation: lob-rise 0.9s ease forwards 0.15s;
}

.lob-sub {
    margin: 0 0 28px;
    font-weight: 300;
    font-size: 1rem;
    color: var(--lob-muted);
    letter-spacing: 0.02em;
    opacity: 0;
    animation: lob-rise 0.9s ease forwards 0.35s;
}

@keyframes lob-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.lob-constellation {
    position: relative;
    width: min(820px, 96vw);
    aspect-ratio: 800 / 520;
    margin: 0 auto 28px;
    opacity: 0;
    animation: lob-rise 1s ease forwards 0.45s;
}

.lob-orbits {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.lob-curve {
    fill: none;
    stroke: url(#lob-line);
    stroke-width: 1.4;
    stroke-dasharray: 6 8;
    animation: lob-dash 18s linear infinite;
}
@keyframes lob-dash {
    to { stroke-dashoffset: -200; }
}

.lob-orb {
    position: absolute;
    left: var(--orb-left, 50%);
    top: var(--orb-top, 50%);
    transform: translate(-50%, -50%);
    width: clamp(96px, 14vw, 128px);
    height: clamp(96px, 14vw, 128px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.12),
        0 12px 40px rgba(20, 8, 50, 0.35);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s, border-color 0.35s;
    will-change: transform;
}
.lob-orb:hover {
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow:
        inset 0 0 40px rgba(255, 255, 255, 0.2),
        0 18px 50px rgba(40, 10, 60, 0.45);
}

.lob-orb--core {
    width: clamp(132px, 18vw, 168px);
    height: clamp(132px, 18vw, 168px);
    --orb-left: 50%;
    --orb-top: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.55), rgba(255,240,220,0.18) 45%, rgba(180,140,255,0.12));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 0 60px rgba(255, 220, 180, 0.35),
        inset 0 0 40px rgba(255, 255, 255, 0.25);
    animation: lob-pulse 4.5s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}
@keyframes lob-pulse {
    0%, 100% { box-shadow: 0 0 50px rgba(255, 220, 180, 0.3), inset 0 0 40px rgba(255,255,255,0.22); }
    50% { box-shadow: 0 0 80px rgba(255, 200, 160, 0.5), inset 0 0 50px rgba(255,255,255,0.3); }
}

.lob-orb-glow {
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
    pointer-events: none;
    z-index: -1;
}
.lob-orb--tasks { --tint: rgba(140, 190, 255, 0.25); }
.lob-orb--groceries { --tint: rgba(255, 170, 200, 0.28); }
.lob-orb--diary { --tint: rgba(190, 160, 255, 0.3); }
.lob-orb--meetings { --tint: rgba(255, 210, 140, 0.28); }
.lob-orb--tasks,
.lob-orb--groceries,
.lob-orb--diary,
.lob-orb--meetings {
    background: linear-gradient(160deg, rgba(255,255,255,0.16), var(--tint));
}

.lob-orb-label {
    font-weight: 600;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    letter-spacing: -0.01em;
}
.lob-orb-icon {
    margin-top: 4px;
    font-size: 0.95rem;
    opacity: 0.85;
}
.lob-orb-hint {
    display: none;
    font-size: 0.65rem;
    opacity: 0.7;
    margin-top: 4px;
    font-weight: 400;
    max-width: 90%;
    line-height: 1.2;
}
@media (min-width: 900px) {
    .lob-orb-hint { display: block; }
}

.lob-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: lob-rise 0.9s ease forwards 0.75s;
}
.lob-quiet {
    color: var(--lob-muted);
    text-decoration: none;
    font-weight: 450;
}
.lob-quiet:hover { color: #fff; }

.lob-foot {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px clamp(20px, 5vw, 56px) 28px;
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
}
.lob-foot a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    margin-left: 14px;
}
.lob-foot a:hover { color: #fff; }

@media (max-width: 720px) {
    .lob-constellation {
        aspect-ratio: 1 / 1.05;
        width: min(420px, 94vw);
    }
    .lob-orb {
        width: 84px;
        height: 84px;
    }
    .lob-orb--core {
        width: 110px;
        height: 110px;
    }
    .lob-orb-hint { display: none; }
    .lob-headline { font-size: clamp(2rem, 8vw, 2.6rem); }
}
