main {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    margin-bottom: 1rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--fg);
}
.brand img {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
}
.brand-name {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}
.nav-actions { display: flex; gap: 0.5rem; align-items: center; }
.nav-actions .btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
}

.hero {
    text-align: center;
    padding: 3rem 0 3.5rem;
    background: radial-gradient(circle at 50% 0%, #1f1f22 0%, var(--bg) 70%);
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 0 0 24px 24px;
}
.hero h1 {
    font-size: clamp(2.25rem, 7vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0 auto 1rem;
    max-width: 18ch;
}
.hero h1 .accent { color: var(--accent); }
.hero .sub {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.55;
    max-width: 32rem;
    margin: 0 auto 2rem;
}
.hero-ctas {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.hero-ctas .btn { padding: 0.95rem 1.85rem; font-size: 1rem; font-weight: 700; }
.rate-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
}
.rate-link span { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.rate-link:hover span { color: var(--accent); }

.benefits { margin-top: 4rem; }
.benefits .label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 1rem;
}
.benefits h2 {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}
.benefit-grid {
    display: grid;
    gap: 0.85rem;
}
@media (min-width: 720px) {
    .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}
.benefit {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
}
.benefit h3 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}
.benefit h3 .accent { color: var(--accent); }
.benefit p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.bottom-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(248,184,3,0.06), transparent);
    border: 1px solid var(--border);
    border-radius: 20px;
}
.bottom-cta h2 {
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.bottom-cta .btn { padding: 0.95rem 2rem; font-weight: 700; font-size: 1rem; }

.live-counter {
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: var(--muted);
}
.live-counter .dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    margin-right: 0.4rem;
    vertical-align: 1px;
    box-shadow: 0 0 8px #4ade80;
    animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

/* ---------------------------------------------------------------------------
   Example breakdown (logged-out only). Self-contained mirror of the real
   profile breakdown so visitors see what a result looks like before signup.
   All scoped under .sample-dash so the whole block is removable.
--------------------------------------------------------------------------- */
.sample-dash {
    max-width: 30rem;
    margin: 4rem auto 0;
}
.sd-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 0.85rem;
}
.sd-tag {
    background: rgba(248,184,3,0.15);
    border: 1px solid rgba(248,184,3,0.4);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    letter-spacing: 0.08em;
}

/* Score hero */
.sd-hero {
    position: relative;
    background: linear-gradient(180deg, rgba(248,184,3,0.08) 0%, rgba(248,184,3,0.02) 50%, var(--bg-elev) 100%);
    border: 1px solid rgba(248,184,3,0.28);
    border-radius: 20px;
    padding: 1.5rem 1.25rem;
    margin-bottom: 1rem;
    overflow: hidden;
}
.sd-hero::before {
    content: '';
    position: absolute;
    top: -40%; left: 50%;
    width: 120%; height: 80%;
    background: radial-gradient(ellipse at center, rgba(248,184,3,0.18), transparent 60%);
    transform: translateX(-50%);
    pointer-events: none;
}
.sd-score-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
.sd-score-text { flex: 1; text-align: left; }
.sd-num {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 0.95;
}
.sd-ci {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    margin-left: 0.4rem;
    letter-spacing: 0;
}
.sd-meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.45rem;
    line-height: 1.4;
}
.sd-sub {
    font-size: 0.8rem;
    color: var(--muted);
    opacity: 0.85;
    margin-top: 0.2rem;
}

/* Ratings card */
.sd-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: left;
}
.sd-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}
.sd-head h3 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    font-weight: 700;
}
.sd-count {
    font-size: 0.78rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.sd-dist-label,
.sd-recent-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.sd-recent-label { margin-top: 0.4rem; }

.sd-group { margin-bottom: 0.85rem; }
.sd-grp-head { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.4rem; }
.sd-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sd-sex { font-weight: 700; font-size: 0.88rem; color: var(--fg); }
.sd-grp-sub { font-size: 0.72rem; color: var(--muted); margin-left: auto; }
.sd-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.3rem; }
.sd-age { width: 44px; flex: none; font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sd-track { flex: 1; height: 9px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.sd-fill { display: block; height: 100%; border-radius: 999px; min-width: 4px; }
.sd-val { width: 56px; flex: none; text-align: right; font-size: 0.74rem; font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.sd-val em { color: var(--muted); font-style: normal; font-weight: 600; }
.sd-dot.male, .sd-fill.male { background: var(--accent); }
.sd-dot.female, .sd-fill.female { background: #e8739f; }
/* Fixed sample-card bar lengths (were inline width on each fill). */
.sd-fill.w92 { width: 92%; }
.sd-fill.w74 { width: 74%; }
.sd-fill.w70 { width: 70%; }
.sd-fill.w58 { width: 58%; }
.sd-fill.w46 { width: 46%; }
.sd-fill.w40 { width: 40%; }

/* Recently rated */
.sd-recent { display: flex; flex-direction: column; gap: 0.5rem; }
.sd-rrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
}
.sd-rmeta { font-size: 0.85rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.15rem; }
.sd-rater { display: flex; align-items: center; gap: 0.5rem; color: var(--fg); }
.sd-rscore { font-weight: 700; color: var(--accent); }
.sd-rscore.mid { color: var(--accent); }
.sd-rscore.high { color: var(--accent); font-weight: 800; }
.sd-rtier { font-size: 0.72rem; color: var(--muted); }
.sd-given {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Compare (head-to-head) example */
.sd-card-compare { margin-top: 1rem; }
.sd-csub {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: -0.3rem 0 1rem;
}
.sd-battle {
    border-radius: 16px;
    background: #0a0a0c;
    border: 1px solid var(--border);
    padding: 0.85rem;
}
.sd-pill {
    display: inline-block;
    background: rgba(74,222,128,0.15);
    color: #4ade80;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.sd-pair {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
}
.sd-bside {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sd-bside.winner { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(248,184,3,0.18); }
/* Placeholder tiles, two subtly different gradients so they read as two photos */
.sd-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.28); }
.sd-ph svg { width: 44%; height: 44%; }
.sd-ph-a { background: linear-gradient(150deg, #2a2730, #15141a); }
.sd-ph-b { background: linear-gradient(150deg, #26292f, #141519); }
.sd-blabel {
    position: absolute; top: 6px; left: 6px; z-index: 1;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-weight: 800; font-size: 0.62rem; letter-spacing: 0.04em;
    padding: 0.18rem 0.4rem; border-radius: 6px;
}
.sd-bside.winner .sd-blabel { background: var(--accent); color: #1a1300; }
.sd-pct {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
    padding: 0.5rem 0.4rem 0.4rem;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}
.sd-bside.winner .sd-pct { color: var(--accent); }
.sd-vs { font-weight: 800; font-size: 0.7rem; letter-spacing: 0.15em; color: var(--muted); }
.sd-bmeta { font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; text-align: center; }

.sd-demo { margin-top: 0.6rem; }
.sd-demo > summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
    padding: 0.4rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    font-weight: 600;
}
.sd-demo > summary::-webkit-details-marker { display: none; }
.sd-demo[open] > summary { color: var(--fg); }
.sd-demo-list { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 0.6rem; }
.sd-demo-row {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.75rem; color: var(--muted); padding: 0.3rem 0.5rem;
    background: rgba(255,255,255,0.03); border-radius: 8px;
}
.sd-demo-row strong { color: var(--fg); font-weight: 700; }

.sd-caption {
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
    margin-top: 0.85rem;
    line-height: 1.5;
}
