html, body, #root { margin: 0; min-height: 100%; }
body { background: #06060b; }

.tp-site {
    --tp-bg: #06060b;
    --tp-panel: #0e0e18;
    --tp-line: rgba(255, 255, 255, 0.08);
    --tp-text: #f4f2fa;
    --tp-sub: #a79fb8;
    --tp-purple: #8b3dff;
    --tp-pink: #ff3db8;
    --tp-turq: #2fe0d0;
    --tp-grad: linear-gradient(120deg, var(--tp-purple), var(--tp-pink));
    position: relative;
    overflow: hidden;
    background: var(--tp-bg);
    color: var(--tp-text);
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.tp-grad-text {
    background: linear-gradient(120deg, #c58bff 0%, var(--tp-pink) 70%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ambient glow orbs */
.tp-orb { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; }
.tp-orb-a { width: 480px; height: 480px; background: rgba(139, 61, 255, 0.22); top: -120px; inset-inline-start: -140px; }
.tp-orb-b { width: 420px; height: 420px; background: rgba(47, 224, 208, 0.10); top: 40vh; inset-inline-end: -160px; }

/* top bar */
.tp-top {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 26px 28px 0;
    display: flex; align-items: center; justify-content: space-between;
}
.tp-brandline { display: flex; align-items: center; gap: 12px; }
.tp-logo { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 22px rgba(139, 61, 255, 0.5); }
.tp-wordmark { font-size: 17px; font-weight: 700; letter-spacing: 0.04em; }
.tp-wordmark em { font-style: normal; font-weight: 400; color: var(--tp-sub); }
.tp-topnote {
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--tp-turq);
    border: 1px solid rgba(47, 224, 208, 0.35); border-radius: 999px; padding: 6px 14px;
    background: rgba(47, 224, 208, 0.07);
}

/* hero */
.tp-hero {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto;
    padding: 64px 28px 72px;
    display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
}
@media (min-width: 900px) { .tp-hero { grid-template-columns: 1.1fr 0.9fr; gap: 12px; } }
.tp-eyebrow {
    margin: 0 0 22px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em;
    color: var(--tp-turq);
}
.tp-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(42px, 8.5vw, 92px);
    line-height: 1.06; font-weight: 800; letter-spacing: -0.015em;
}
.tp-sub { margin: 0; max-width: 480px; font-size: clamp(15px, 2.2vw, 18px); color: var(--tp-sub); }
.tp-hero-phone { display: flex; justify-content: center; }
@keyframes tp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* numbered showcases */
.tp-show {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto;
    padding: 96px 28px 8px;
    display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
}
@media (min-width: 900px) { .tp-show { grid-template-columns: 1fr 1fr; } }
.tp-num {
    margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
    background: var(--tp-grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tp-show h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 6vw, 60px);
    line-height: 1.1; font-weight: 800; letter-spacing: -0.01em;
}
.tp-line { margin: 0; max-width: 440px; color: var(--tp-sub); font-size: clamp(14.5px, 2vw, 16.5px); }
.tp-show-img img {
    width: 100%; border-radius: 24px; border: 1px solid var(--tp-line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(139, 61, 255, 0.12);
}

/* pills */
.tp-pills {
    position: relative; z-index: 1;
    max-width: 1000px; margin: 0 auto; padding: 72px 28px 0;
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.tp-pill {
    font-size: 13.5px; font-weight: 600; color: #d9d3e8;
    border: 1px solid var(--tp-line); border-radius: 999px; padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
}

/* steps */
.tp-steps-sec { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 110px 28px 8px; }
.tp-steps-title { margin: 0 0 44px; font-size: clamp(30px, 5vw, 52px); line-height: 1.12; font-weight: 800; }
.tp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .tp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tp-steps { grid-template-columns: repeat(4, 1fr); } }
.tp-steps li {
    background: var(--tp-panel); border: 1px solid var(--tp-line);
    border-radius: 20px; padding: 26px 22px;
}
.tp-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--tp-grad); color: #fff; font-weight: 800; font-size: 15px;
}
.tp-steps h3 { margin: 16px 0 8px; font-size: 17px; font-weight: 700; }
.tp-steps p { margin: 0; color: var(--tp-sub); font-size: 14px; }

/* status */
.tp-status {
    position: relative; z-index: 1;
    max-width: 1144px; margin: 96px auto 0; padding: 36px 32px;
    background: linear-gradient(135deg, rgba(139,61,255,0.13), rgba(47,224,208,0.07));
    border: 1px solid rgba(139, 61, 255, 0.3); border-radius: 24px;
}
@media (max-width: 1220px) { .tp-status { margin-inline: 28px; } }
.tp-status h2 { margin: 0 0 12px; font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; }
.tp-status p { margin: 0; color: #d6d1e6; font-size: 15px; max-width: 720px; }

/* footer */
.tp-footer {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 72px auto 0; padding: 26px 28px 44px;
    border-top: 1px solid var(--tp-line);
    display: flex; align-items: center; gap: 10px;
    color: var(--tp-sub); font-size: 14px; flex-wrap: wrap;
}
.tp-logo-sm { width: 28px; height: 28px; border-radius: 8px; box-shadow: none; }
.tp-footer-sep { opacity: 0.5; }


/* ---------- illustrative app-UI phone mockups (v5) ---------- */
.pm-wrap { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pm-caption { font-size: 11.5px; color: var(--tp-sub); opacity: 0.85; max-width: 300px; text-align: center; }
.pm-phone {
    width: min(300px, 74vw); border-radius: 46px; padding: 10px;
    background: linear-gradient(160deg, #26232f, #100e18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 100px rgba(139, 61, 255, 0.30), 0 10px 30px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: tp-float 6s ease-in-out infinite;
}
.pm-notch {
    position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
    width: 84px; height: 20px; border-radius: 999px; background: #06060b; z-index: 3;
}
.pm-screen {
    border-radius: 38px; overflow: hidden; height: 560px;
    background: #0a0d16; position: relative;
    display: flex; flex-direction: column;
}
.pm-app { display: flex; flex-direction: column; height: 100%; position: relative; font-size: 13px; }
.pm-statusbar {
    display: flex; justify-content: space-between; padding: 10px 20px 6px;
    font-size: 11px; color: #cfc9de; direction: ltr;
}
.pm-sb-icons { letter-spacing: 2px; font-size: 8px; }

/* map screen */
.pm-filters { display: flex; gap: 6px; padding: 4px 14px 8px; }
.pm-chip {
    font-size: 10.5px; color: #cfc9de; border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px; padding: 3px 10px; background: rgba(255,255,255,0.05);
}
.pm-chip.on { background: rgba(47,224,208,0.14); border-color: rgba(47,224,208,0.5); color: var(--tp-turq); }
.pm-map { position: relative; flex: 1; background: #0b1020; }
.pm-mapimg { position: absolute; top: 0; inset-inline: 0; width: 100%; height: calc(100% - 30px); object-fit: cover; }
.pm-mapcredits { position: absolute; bottom: 0; inset-inline: 0; width: 100%; height: auto; display: block; background: #fff; }
.pm-you {
    position: absolute; top: 30%; inset-inline-start: 50%; transform: translate(50%, -50%);
    width: 16px; height: 16px; border-radius: 50%; background: var(--tp-turq);
    box-shadow: 0 0 0 6px rgba(47,224,208,0.25), 0 0 24px rgba(47,224,208,0.8);
}
.pm-you i {
    position: absolute; inset: -14px; border-radius: 50%;
    border: 1.5px solid rgba(47,224,208,0.4);
    animation: tp-pulse 2.4s ease-out infinite;
}
@keyframes tp-pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.pm-pin { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pm-pin em { font-style: normal; font-size: 9px; color: #b9b3cc; background: rgba(6,6,11,0.7); border-radius: 999px; padding: 1px 6px; }
.pm-av {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #fff; font-weight: 800;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 16px rgba(139, 61, 255, 0.65);
}
.pm-evpin { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 2px; z-index: 1; }
.pm-evpin b {
    width: 30px; height: 30px; border-radius: 10px; overflow: hidden;
    border: 2px solid rgba(255,255,255,0.85); box-shadow: 0 0 14px rgba(236,72,153,0.55);
    display: block;
}
.pm-evpin b img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-evpin em { font-style: normal; font-size: 9px; color: #e8b9d4; background: rgba(6,6,11,0.75); border-radius: 999px; padding: 1px 6px; white-space: nowrap; }
.pm-viewtoggle {
    position: absolute; top: 12px; inset-inline-end: 12px;
    font-size: 10.5px; color: var(--tp-turq);
    background: rgba(6,6,11,0.8); border: 1px solid rgba(47,224,208,0.4);
    border-radius: 999px; padding: 4px 10px;
}
.pm-sheet {
    margin: 0 10px 10px; padding: 12px 14px;
    background: rgba(16, 15, 26, 0.96); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}
.pm-sheet-mid { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pm-sheet-mid b { font-size: 13.5px; }
.pm-sheet-mid span { font-size: 10.5px; color: var(--tp-sub); }
.pm-statuschip {
    display: inline-block; margin-top: 3px; font-size: 10px; color: var(--tp-turq);
    background: rgba(47,224,208,0.12); border: 1px solid rgba(47,224,208,0.35);
    border-radius: 999px; padding: 2px 8px; width: fit-content;
}
.pm-statuschip.sm { font-size: 9.5px; margin-top: 4px; }
.pm-cta {
    border: 0; border-radius: 999px; padding: 8px 16px;
    background: var(--tp-grad); color: #fff; font-weight: 700; font-size: 12px;
}

/* hive screen */
.pm-appbar {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 8px 18px 4px;
}
.pm-appbar b { font-size: 17px; }
.pm-sort { font-size: 10.5px; color: var(--tp-sub); }
.pm-ai-badge { font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--tp-turq); border: 1px solid rgba(47,224,208,0.45); border-radius: 999px; padding: 2px 8px; direction: ltr; }
.pm-hive {
    flex: 1; display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px 6px; padding: 14px 12px; align-content: start;
}
.pm-cell {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 12px 4px 10px; border-radius: 16px;
}
.pm-cell b { font-size: 11px; font-weight: 700; }
.pm-cell em { font-style: normal; font-size: 9.5px; color: var(--tp-sub); }
.pm-cell.hot {
    background: rgba(139, 61, 255, 0.14);
    border: 1px solid rgba(139, 61, 255, 0.45);
    box-shadow: 0 0 24px rgba(139, 61, 255, 0.25);
}
.pm-tabbar {
    display: flex; justify-content: space-around; padding: 10px 8px 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 10.5px; color: var(--tp-sub);
}
.pm-tabbar .on { color: var(--tp-turq); font-weight: 700; }

/* chat screen */
.pm-chathead {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pm-chathead div { display: flex; flex-direction: column; }
.pm-chathead b { font-size: 13.5px; }
.pm-chathead span { font-size: 10px; color: var(--tp-turq); }
.pm-thread { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px; }
.pm-ai {
    margin: 0 0 4px; font-size: 10px; color: #c9a6ff;
    background: rgba(139,61,255,0.14); border: 1px dashed rgba(139,61,255,0.5);
    border-radius: 12px; padding: 7px 10px;
}
.pm-bubble { max-width: 78%; padding: 8px 12px; border-radius: 16px; font-size: 12px; line-height: 1.45; }
.pm-bubble.out { align-self: flex-start; background: var(--tp-grad); color: #fff; border-end-start-radius: 4px; }
.pm-bubble.in { align-self: flex-end; background: rgba(255,255,255,0.09); border-end-end-radius: 4px; }
.pm-inputbar {
    display: flex; justify-content: space-between; align-items: center;
    margin: 0 12px 14px; padding: 10px 14px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px; font-size: 11.5px; color: var(--tp-sub);
}
.pm-inputbar b { color: var(--tp-pink); transform: scaleX(-1); display: inline-block; }

/* host layout tweaks */
.tp-hero-phone { display: flex; justify-content: center; }
.tp-show-img { display: flex; justify-content: center; }
.tp-show-solo { grid-template-columns: 1fr !important; text-align: center; padding-bottom: 0; }
.tp-show-solo .tp-line { margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .pm-phone { animation: none; } .pm-you i { animation: none; opacity: 0.5; transform: scale(1); } }

/* ---------- v6: portrait avatars, events, matches ---------- */
.pm-av { overflow: hidden; }
.pm-av img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.pm-cta.xs { padding: 6px 12px; font-size: 10.5px; }

/* events screen */
.pm-events { flex: 1; overflow: hidden; padding: 10px 12px 0; display: flex; flex-direction: column; gap: 12px; }
.pm-event {
    position: relative; border-radius: 16px; overflow: hidden;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
}
.pm-event-img { width: 100%; height: 96px; object-fit: cover; display: block; }
.pm-event.partial .pm-event-img { height: 56px; }
.pm-event-media {
    position: absolute; top: 78px; inset-inline-end: 8px;
    font-size: 9px; color: #fff; background: rgba(6,6,11,0.75);
    border-radius: 999px; padding: 2px 8px;
}
.pm-event.partial .pm-event-media { display: none; }
.pm-event-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.pm-event-body b { font-size: 13px; }
.pm-event-body > span { font-size: 10.5px; color: var(--tp-sub); }
.pm-event-row { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.pm-event-row em { font-style: normal; font-size: 10px; color: var(--tp-sub); flex: 1; }
.pm-stack { display: inline-flex; flex-direction: row-reverse; }
.pm-stack .pm-av { margin-inline-start: -7px; border-width: 1.5px; box-shadow: none; }
.pm-fab {
    margin: 10px 12px 14px; border: 0; border-radius: 999px; padding: 12px;
    background: var(--tp-grad); color: #fff; font-weight: 800; font-size: 13px;
    box-shadow: 0 8px 24px rgba(255, 61, 184, 0.35);
}

/* matches screen */
.pm-matches { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.pm-match {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px; padding: 12px;
}
.pm-match-mid { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pm-match-mid > b { font-size: 13.5px; }
.pm-match-kind {
    font-size: 9.5px; font-weight: 700; color: var(--tp-turq);
    background: rgba(47,224,208,0.1); border: 1px solid rgba(47,224,208,0.3);
    border-radius: 999px; padding: 2px 8px; width: fit-content;
}
.pm-match-kind.hot {
    color: #ffb3dd; background: rgba(255,61,184,0.12); border-color: rgba(255,61,184,0.4);
}
.pm-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.pm-tags span {
    font-size: 9px; color: #cfc9de; border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px; padding: 1.5px 7px;
}
.pm-match.event .pm-match-img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.85); }

/* profile screen */
.pm-profile { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.pm-profile-hero { width: 100%; height: 140px; object-fit: cover; display: block; }
.pm-profile-head { padding: 10px 14px 8px; display: flex; flex-direction: column; gap: 3px; }
.pm-profile-head b { font-size: 16px; }
.pm-profile-head > span:not(.pm-statuschip) { font-size: 10.5px; color: var(--tp-turq); }
.pm-grid6 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
    padding: 6px 14px 10px;
}
.pm-grid6 img, .pm-grid6-more {
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block;
}
.pm-grid6-more {
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.07); border: 1px dashed rgba(255,255,255,0.2);
    color: var(--tp-sub); font-size: 13px; font-weight: 700;
}
.pm-about { margin: 8px 0 0; padding: 0 14px; font-size: 11px; color: var(--tp-sub); line-height: 1.5; }

/* ---------- v6 long-form expansion ---------- */
.tp-band {
    position: relative; z-index: 1;
    max-width: 900px; margin: 0 auto; padding: 110px 28px 20px; text-align: center;
}
.tp-band h2 { margin: 0 0 22px; font-size: clamp(30px, 5.4vw, 56px); line-height: 1.12; font-weight: 800; }
.tp-band p { margin: 0 auto; max-width: 640px; color: var(--tp-sub); font-size: clamp(14.5px, 2vw, 16.5px); }

.tp-deep {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1fr; gap: 14px;
    max-width: 1200px; width: 100%; margin-top: 8px;
}
@media (min-width: 800px) { .tp-deep { grid-template-columns: repeat(3, 1fr); } }
.tp-deep-card {
    background: var(--tp-panel); border: 1px solid var(--tp-line);
    border-radius: 18px; padding: 22px 20px;
}
.tp-deep-card b { display: block; font-size: 15.5px; margin-bottom: 8px; color: #efeaf8; }
.tp-deep-card p { margin: 0; color: var(--tp-sub); font-size: 13.5px; line-height: 1.6; }

.tp-faq { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 110px 28px 0; }
.tp-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.tp-faq-item {
    background: var(--tp-panel); border: 1px solid var(--tp-line);
    border-radius: 18px; padding: 20px 22px;
}
.tp-faq-item b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.tp-faq-item p { margin: 0; color: var(--tp-sub); font-size: 14px; }

/* Hebrew brand name display */
.tp-heroname {
    margin: 0 0 10px; font-size: clamp(52px, 9vw, 104px);
    line-height: 1; font-weight: 800; letter-spacing: -0.01em;
}
.pm-evpin.up { flex-direction: column-reverse; }
.pm-legend { position: absolute; bottom: 36px; inset-inline-end: 8px; display: flex; align-items: center; gap: 4px; background: rgba(6,6,11,0.82); border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; padding: 3px 9px; font-size: 8.5px; color: #d8d2e6; z-index: 3; }
.pm-legend i { width: 14px; height: 14px; border-radius: 50%; overflow: hidden; display: inline-block; border: 1px solid rgba(255,255,255,0.7); }
.pm-legend i.ev { border-radius: 5px; }
.pm-legend i img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-av { position: relative; background: #241b38; }
.pm-av .pm-av-init { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.9em; }
.pm-av img { position: relative; z-index: 1; }

.tp-devnotice{position:relative;z-index:2;margin:14px auto 12px;max-width:1100px;padding:12px 18px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.07);color:#f4f2fa;font-size:15px;line-height:1.5;text-align:center}
@media(max-width:640px){.tp-devnotice{margin:14px 16px 12px;font-size:14px}}
