/* landing page — liquid glass (dark theme) */
body.landing {
    color: #f5f5f7;
    background-color: #0a0a0d;
    background-image:
        radial-gradient(60% 50% at 12% -5%, rgba(123, 17, 19, 0.45), transparent 60%),
        radial-gradient(50% 45% at 100% 8%, rgba(240, 180, 41, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(18, 4, 6, 0.85), rgba(10, 10, 13, 0.95)),
        url('../img/TUP_BACKGROUND.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* frosted glass surface */
.glass {
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* centered width wrapper */
.lp-nav, .lp-hero, .lp-section, .lp-footer { width: min(1120px, 92%); margin-inline: auto; }

/* navigation */
.lp-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 10px 18px; position: sticky; top: 18px; z-index: 20; border-radius: 16px; background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.10); }
.lp-brand { display: flex; align-items: center; gap: 12px; }
.lp-brand__logos { display: inline-flex; gap: 6px; flex-shrink: 0; }
.lp-brand__logos img { width: 34px; height: 34px; object-fit: contain; border-radius: 50%; background: #060608; border: 1px solid rgba(255, 255, 255, 0.12); padding: 5px; flex-shrink: 0; }
.lp-brand__name { font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; }
.lp-brand__name strong { color: #fff; }
.lp-nav__links { display: flex; align-items: center; gap: 18px; }
.lp-nav__links a { color: rgba(245, 245, 247, 0.78); font-size: 0.92rem; font-weight: 500; }
.lp-nav__links a:hover { color: #fff; }

/* glass button variant for dark backgrounds */
.btn--glass { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); }

/* hero */
.lp-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; min-height: calc(100vh - 100px); padding: 40px 0 60px; box-sizing: border-box; }
.lp-eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; font-weight: 700; color: #f0b429; margin: 0 0 14px; }
.lp-title { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; background: linear-gradient(180deg, #ffffff, #ffd9b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { color: rgba(245, 245, 247, 0.75); font-size: 1.08rem; max-width: 48ch; margin: 0 0 28px; }
.lp-lead em { color: rgba(245, 245, 247, 0.5); font-style: normal; font-size: 0.85em; }
.lp-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* product mock id card */
.id-card { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.id-card__head { display: flex; align-items: center; gap: 12px; }
.id-card__seal { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: #060608; border: 1px solid rgba(255, 255, 255, 0.12); padding: 6px; }
.id-card__org { margin: 0; font-weight: 700; }
.id-card__sub { margin: 0; font-size: 0.8rem; color: rgba(245, 245, 247, 0.6); }
.id-card__body { display: flex; gap: 16px; align-items: center; }
.id-card__photo { width: 84px; height: 84px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.4); flex: none; }
.id-card__photo svg { width: 44px; height: 44px; }
.id-card__name { margin: 0; font-weight: 700; font-size: 1.1rem; }
.id-card__meta { margin: 4px 0; color: rgba(245, 245, 247, 0.65); font-size: 0.9rem; }
.id-card__id { margin: 0; font-family: ui-monospace, "Cascadia Code", monospace; color: #f0b429; letter-spacing: 0.05em; }
.id-card__qr { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.id-card__qr svg { width: 60px; height: 60px; background: #fff; border-radius: 10px; padding: 6px; fill: #120406; }
.id-card__qr span { color: rgba(245, 245, 247, 0.7); font-size: 0.85rem; }

/* sections */
.lp-section { padding: 64px 0; }
.lp-eyebrow--center { text-align: center; }
.lp-h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 40px; }

/* feature grid */
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { padding: 26px; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(226, 55, 68, 0.95), rgba(123, 17, 19, 0.95)); color: #fff; margin-bottom: 16px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { margin: 0; color: rgba(245, 245, 247, 0.7); font-size: 0.94rem; }

/* how it works - alternating rows (netflix style) */
.lp-how-rows {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-top: 48px;
}
.lp-how-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}
.lp-how-row:nth-child(even) {
    grid-template-columns: 0.8fr 1.2fr;
}
.lp-how-row:nth-child(even) .lp-how-media {
    order: 2;
}
.lp-how-row:nth-child(even) .lp-how-copy {
    order: 1;
}
.lp-how-media {
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.02);
}
.lp-how-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lp-how-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lp-how-copy .step__num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #f0b429;
    margin-bottom: 8px;
    line-height: 1;
}
.lp-how-copy h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
    letter-spacing: -0.01em;
}
.lp-how-copy p {
    margin: 0;
    color: rgba(245, 245, 247, 0.72);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* about us */
.lp-about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
.lp-about__copy p { color: rgba(245, 245, 247, 0.75); font-size: 1rem; line-height: 1.7; margin: 0 0 16px; max-width: 54ch; }
.lp-about__copy em { color: rgba(245, 245, 247, 0.45); font-style: normal; font-size: 0.85em; }
.lp-about__panel { padding: 28px; }
.lp-about__panel h3 { margin: 0 0 16px; font-size: 1.05rem; }
.lp-about__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-about__list li { position: relative; padding-left: 26px; color: rgba(245, 245, 247, 0.8); font-size: 0.95rem; }
.lp-about__list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #e23744, #7b1113); }

/* contributors */
.lp-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.person { padding: 26px; text-align: center; }
.person__avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.5); }
.person__avatar svg { width: 40px; height: 40px; }
.person__name { margin: 0 0 4px; font-size: 1.05rem; }
.person__role { margin: 0; color: #f0b429; font-size: 0.88rem; font-weight: 500; }


/* footer */
.lp-footer { text-align: center; padding: 48px 0 40px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.lp-footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-bottom: 24px; }
.lp-footer__links a { color: rgba(245, 245, 247, 0.7); font-size: 0.9rem; font-weight: 500; }
.lp-footer__links a:hover { color: #fff; }
.lp-footer__logos { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 18px; }
.lp-footer__logos img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: #060608; border: 1px solid rgba(255, 255, 255, 0.12); padding: 8px; }
.lp-footer p { margin: 6px 0; color: rgba(245, 245, 247, 0.7); }
.lp-footer__copy { font-size: 0.85rem; color: rgba(245, 245, 247, 0.45); }

/* responsive */
@media (max-width: 760px) {
    .lp-hero { grid-template-columns: 1fr; min-height: auto; padding: 48px 0 32px; }
    .lp-about { grid-template-columns: 1fr; }
    .lp-nav__links a:not(.btn) { display: none; }
    .lp-brand__text { display: none; }
    
    .lp-how-rows { gap: 48px; }
    .lp-how-row { grid-template-columns: 1fr !important; gap: 24px; }
    .lp-how-row:nth-child(even) .lp-how-media { order: unset; }
    .lp-how-row:nth-child(even) .lp-how-copy { order: unset; }
    .lp-how-media { order: -1; }
}
