/* Landing lower half (Sep 2026 redesign). Mobile first: one column, 16px
   gutters, 44px tap targets; the chart is plain flex bars so it scales to any
   width with no JS. Tokens come from design-system.css. */

.lp2 { padding: 3rem 0; }
.lp2 .container { padding-left: 16px; padding-right: 16px; }

.lp2-head { max-width: 46rem; margin: 0 auto 1.75rem; text-align: left; }
.lp2-kicker {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}
.lp2-title {
    color: var(--text-primary);
    font-size: clamp(1.6rem, 5.5vw, 2.3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}
.lp2-lead { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.6; margin: 0; }
.lp2-note { color: var(--text-secondary); max-width: 46rem; margin: 1.25rem auto 0; line-height: 1.6; }
.lp2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 46rem;
    margin: 1.25rem auto 0;
}
.lp2-actions .btn { min-height: 44px; display: inline-flex; align-items: center; }

/* ── Distribution example ─────────────────────────────────────────── */
.lp2-example__card {
    max-width: 46rem;
    margin: 0 auto;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-top: 3px solid var(--sport-tennis);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: grid;
    gap: 1.25rem;
}
.lp2-chart { margin: 0; min-width: 0; }
.lp2-chart__caption { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 1rem; }
.lp2-chart__caption a { color: var(--text-primary); font-weight: 700; font-size: 1.05rem; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.lp2-chart__caption a:hover { color: var(--accent); }
.lp2-chart__caption span { color: var(--text-muted); font-size: 0.85rem; }
.lp2-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 140px;
    border-bottom: 1px solid var(--border-subtle);
}
.lp2-bar {
    flex: 1 1 0;
    min-width: 0;
    background: rgba(242, 120, 75, 0.45);
    border-radius: 2px 2px 0 0;
}
.lp2-bar--quick { background: rgba(79, 141, 255, 0.55); }
.lp2-bar--long { background: rgba(167, 139, 250, 0.6); }
.lp2-bar--mode { background: var(--sport-tennis); }
.lp2-axis { display: flex; gap: 2px; margin-top: 0.35rem; }
.lp2-axis span {
    flex: 1 1 0;
    min-width: 0;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-align: center;
    overflow: visible;
    white-space: nowrap;
}

.lp2-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0; }
.lp2-facts div { background: var(--surface-2); border-radius: var(--radius-md, 10px); padding: 0.75rem; }
.lp2-facts dt { color: var(--text-muted); font-size: 0.78rem; font-weight: 500; line-height: 1.35; }
.lp2-facts dd { color: var(--text-primary); font-size: 1.15rem; font-weight: 700; margin: 0.25rem 0 0; }
.lp2-facts__sub { display: block; color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; overflow-wrap: anywhere; }
.lp2-side { display: grid; gap: 0.75rem; min-width: 0; }
.lp2-aces { background: var(--surface-2); border-radius: var(--radius-md, 10px); padding: 0.75rem; display: grid; gap: 0.45rem; }
.lp2-aces__title { color: var(--text-muted); font-size: 0.78rem; font-weight: 500; margin: 0; }
.lp2-aces__row { display: grid; grid-template-columns: minmax(0, 7rem) 1fr 2.5rem; align-items: center; gap: 0.6rem; }
.lp2-aces__name { color: var(--text-secondary); font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp2-aces__bar span { display: block; height: 100%; border-radius: inherit; background: var(--sport-tennis); }
.lp2-aces__row strong { color: var(--text-primary); text-align: right; font-variant-numeric: tabular-nums; }
.lp2-facts--quick { border-left: 3px solid rgba(79, 141, 255, 0.8); }
.lp2-facts--long { border-left: 3px solid rgba(167, 139, 250, 0.9); }

/* ── Sport index ──────────────────────────────────────────────────── */
.lp2-sport-grid { display: grid; gap: 1rem; }
.lp2-sport {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-top: 3px solid var(--sport-accent, var(--accent));
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    min-width: 0;
}
.lp2-sport--nba { --sport-accent: var(--sport-nba); }
.lp2-sport--euroleague { --sport-accent: var(--sport-euroleague); }
.lp2-sport--tennis { --sport-accent: var(--sport-tennis); }
.lp2-sport--football { --sport-accent: var(--sport-football); }
.lp2-sport h3 { color: var(--text-primary); font-size: 1.25rem; font-weight: 700; margin: 0 0 0.25rem; }
.lp2-sport p { color: var(--text-secondary); line-height: 1.55; margin: 0 0 0.75rem; }
.lp2-sport .lp2-sport__status { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 0.6rem; }
.lp2-live { color: var(--sport-football); font-weight: 600; }
.lp2-live::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 0.4rem;
    vertical-align: middle;
}

.lp2-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lp2-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.85rem;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-decoration: none;
    background: var(--surface-2);
}
.lp2-links a:hover, .lp2-links a:focus-visible { border-color: var(--sport-accent, var(--accent)); color: var(--text-primary); }
.lp2-links__label {
    flex-basis: 100%;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.lp2-links-pair { display: grid; gap: 1rem; }

.lp2-ucl {
    background: var(--surface-2);
    border-radius: var(--radius-md, 10px);
    padding: 1rem;
    margin: 0.5rem 0 1rem;
}
.lp2-ucl__title { margin: 0 0 0.35rem; font-weight: 700; }
.lp2-ucl__links { margin-top: 0.85rem; }
.lp2-ucl__title a { color: var(--text-primary); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.lp2-ucl__title a:hover { color: var(--accent); }
.lp2-ucl__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.lp2-ucl__list li { display: grid; grid-template-columns: minmax(0, 1fr) 3.5rem 3rem; align-items: center; gap: 0.6rem; }
.lp2-ucl__club { color: var(--text-primary); overflow-wrap: anywhere; line-height: 1.3; }
.lp2-ucl__bar, .lp2-aces__bar { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.lp2-ucl__bar span { display: block; height: 100%; border-radius: inherit; background: var(--sport-football); }
.lp2-ucl__list strong { color: var(--text-primary); text-align: right; font-variant-numeric: tabular-nums; }

.lp2-league-groups { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
.lp2-league-group__title {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.25rem;
}
.lp2-league-list { list-style: none; padding: 0; margin: 0; }
.lp2-league { padding: 0.55rem 0 0.1rem; border-top: 1px solid var(--border-subtle); }
.lp2-league__name { display: block; color: var(--text-primary); font-weight: 600; }
.lp2-league__name small {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-left: 0.35rem;
    padding: 0.1rem 0.35rem;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    vertical-align: 1px;
}
.lp2-league__links { display: flex; flex-wrap: wrap; gap: 0 0.9rem; }
.lp2-league__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-secondary);
    font-size: 0.86rem;
    white-space: nowrap;
    text-decoration: none;
}
.lp2-league__links a:hover, .lp2-league__links a:focus-visible { color: var(--accent); }
.lp2-league__links .lp2-league__main { color: var(--sport-football); font-weight: 600; }
.lp2-links--hubs { margin-top: 0.25rem; }

/* ── Record ───────────────────────────────────────────────────────── */
.lp2-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; max-width: 60rem; margin: 0 auto; }
.lp2-tile {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-decoration: none;
    min-width: 0;
}
.lp2-tile:hover { background: var(--surface-2); }
.lp2-tile__num { color: var(--accent); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.lp2-tile__what { color: var(--text-primary); font-size: 0.9rem; }
.lp2-tile__meta { color: var(--text-muted); font-size: 0.78rem; }

/* ── Telegram ─────────────────────────────────────────────────────── */
.lp2-telegram {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid #29A9EB;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}
.lp2-telegram__title { color: var(--text-primary); font-size: 1.3rem; font-weight: 700; margin: 0 0 0.35rem; }
.lp2-telegram p { color: var(--text-secondary); margin: 0; }
.lp2-telegram .btn { align-self: flex-start; min-height: 44px; }

/* ── Wider screens ────────────────────────────────────────────────── */
@media (min-width: 768px) {
    .lp2 { padding: 4rem 0; }
    .lp2-head, .lp2-note, .lp2-actions { text-align: center; justify-content: center; }
    .lp2-example__card { grid-template-columns: 1.35fr 1fr; align-items: center; padding: 1.5rem; }
    .lp2-bars { height: 180px; }
    .lp2-sport-grid { grid-template-columns: repeat(3, 1fr); }
    .lp2-sport--wide { grid-column: 1 / -1; }
    .lp2-links-pair { grid-template-columns: 1fr 1fr; }
    .lp2-tiles { grid-template-columns: repeat(5, 1fr); }
    .lp2-telegram { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.5rem 2rem; }
    .lp2-telegram .btn { align-self: center; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .lp2-sport-grid { grid-template-columns: 1fr 1fr; }
    .lp2-sport--tennis { grid-column: 1 / -1; }
    .lp2-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .lp2-league { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.15rem 0; }
    .lp2-league__links { flex-wrap: nowrap; gap: 0.35rem; }
    .lp2-league__links a {
        min-height: 36px;
        padding: 0 0.7rem;
        border: 1px solid var(--border-subtle);
        border-radius: 999px;
        background: var(--surface-2);
        font-size: 0.8rem;
    }
    .lp2-league__links .lp2-league__main { border-color: rgba(67, 193, 138, 0.45); background: var(--sport-football-soft); }
    .lp2-ucl__list { max-width: 36rem; }
    .lp2-ucl__list li { grid-template-columns: 12rem 1fr 3.5rem; }
}
@media (min-width: 1200px) {
    .lp2-league-groups { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
