/*
 * DscoreX landing — section blocks: split layout, steps, formats, results
 * band, judges, pricing. Tokens come from landing.css.
 */

/* ---------- editorial split: eyebrow column left, content right ---------- */
.split {
    max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter) 0;
    display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px);
    align-items: start;
}
.split-side { position: sticky; top: 24px; }
.side-note { margin-top: 16px; color: var(--muted); max-width: 30em; font-size: 15px; }
.split-side .btn { margin-top: 20px; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; gap: 24px; }
    .split-side { position: static; }
}

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; }
.steps li {
    display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; align-items: baseline;
    padding: 26px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps h3 { grid-column: 2; }
.steps p { grid-column: 2; color: var(--muted); max-width: 42em; }
.step-n { grid-row: 1 / span 2; font-size: 30px; font-weight: 600; color: var(--gold-ink); line-height: 1; }
@media (max-width: 480px) {
    .steps li { grid-template-columns: 1fr; }
    .steps h3, .steps p { grid-column: 1; }
    .step-n { grid-row: auto; font-size: 20px; }
}

/* ---------- formats: two definition lists on a panel ---------- */
.spec {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.spec-list { margin: 0; padding: 8px 0; }
.spec-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 18px 22px; }
.spec-list > div + div { border-top: 1px solid var(--line); }
.spec-list dt { font-family: var(--display); font-weight: 700; font-size: 17px; }
.spec-list dd { margin: 0; color: var(--muted); font-size: 15px; }
.profiles { border-left: 1px solid var(--line); background: var(--panel-2); }
.profiles > div { grid-template-columns: 1fr; gap: 4px; }
.profiles dt { color: var(--gold-ink); }
@media (max-width: 760px) {
    .spec { grid-template-columns: 1fr; }
    .profiles { border-left: 0; border-top: 1px solid var(--line); }
    .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- results band: full-bleed soft ground, dense report rows ---------- */
.results-band {
    margin-top: var(--section); padding: var(--section) 0; background: var(--bg-soft);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.results-band > * { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.results-band .split-side { position: static; margin-bottom: 28px; }
.reports { list-style: none; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 1px; }
.report {
    display: grid; grid-template-columns: 110px minmax(0, 1.6fr) 110px minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 16px; align-items: center; padding: 16px 20px;
    background: var(--panel); border: 1px solid var(--line);
    transition: background 160ms;
}
.report:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.report:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.report:hover { background: var(--panel-2); }
.r-date { font-size: 13px; color: var(--muted); }
.r-title { font-family: var(--display); font-weight: 700; font-size: 17px; display: grid; }
.r-place { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); }
.r-div { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); width: max-content; }
.r-flow { font-size: 13px; color: var(--muted); }
.r-champ { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.r-champ i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.is-live .r-date { color: var(--win); font-weight: 600; }
.is-live .r-champ { color: var(--muted); font-weight: 500; }
@media (max-width: 860px) {
    .report { grid-template-columns: 90px 1fr; grid-template-areas: "date title" "div flow" "champ champ"; gap: 10px 14px; }
    .r-date { grid-area: date; } .r-title { grid-area: title; } .r-div { grid-area: div; }
    .r-flow { grid-area: flow; } .r-champ { grid-area: champ; }
}

/* ---------- judges ---------- */
.judge-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.judge-points li { padding: 22px 0 0; border-top: 2px solid var(--line-strong); }
.judge-points li:first-child { border-top-color: var(--gold); }
.judge-points p { margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .judge-points { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing { padding-bottom: var(--section); }
.pricing-box {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    display: grid; gap: 12px; font-size: 17px; max-width: 40em;
    background-image: radial-gradient(120% 140% at 100% 0%, rgba(244, 201, 93, 0.14), transparent 55%);
}
.pricing-box .muted { font-size: 15px; }

/* ---------- pricing plans ---------- */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plan { display: grid; gap: 6px; padding: 18px 20px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
.plan-featured { border-color: var(--gold); }
.plan-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.plan-price { font-size: 15px; color: var(--muted); }
.plan-price b { font-family: var(--display); font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: var(--text); margin-right: 8px; letter-spacing: -0.02em; }
.plan p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.pricing-box a { color: var(--gold-ink); }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { padding-bottom: var(--section); }
.contact-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.contact-list div { padding-top: 14px; border-top: 1px solid var(--line); }
.contact-list dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 6px 0 0; font-size: 17px; }
.contact-list a { color: var(--text); text-decoration-color: var(--gold); }
.contact-list a:hover { color: var(--gold-ink); }
@media (max-width: 640px) { .contact-list { grid-template-columns: 1fr; } }

/* ---------- social cards gallery (D-096): 4:5 miniatures of includes/social/social_card.php ---------- */
.cards { margin-top: 40px; }
.cards .split-side { margin-bottom: 22px; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { margin: 0; min-width: 0; }
.card figcaption { margin-top: 10px; font: 500 13px/1.45 var(--mono); color: var(--muted); letter-spacing: 0.02em; }
.card-face {
    aspect-ratio: 4 / 5; container-type: inline-size; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
    padding: clamp(14px, 6cqw, 22px); border-radius: var(--radius); border: 1px solid var(--line);
    background: #07080b; color: #eef0f5; font-family: var(--sans); line-height: 1.3;
}
.card-face p { margin: 0; }
.card-top, .card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 clamp(9px, 3.6cqw, 11px)/1.2 var(--mono); color: #8d94a6; }
.card-foot { border-top: 1px solid #232833; padding-top: clamp(8px, 3cqw, 12px); }
.card-wm { font: 800 clamp(14px, 6cqw, 20px)/1 var(--display); color: #eef0f5; letter-spacing: -0.02em; }
.card-wm i { display: inline-block; width: 0.35em; height: 0.35em; border-radius: 50%; background: #f4c95d; margin-left: 0.2em; vertical-align: middle; }
.card-label { text-transform: uppercase; letter-spacing: 0.08em; }
.card-title { font: 800 clamp(18px, 8cqw, 28px)/1.02 var(--display); letter-spacing: -0.03em; }
.card-meta, .card-flow { font: 400 clamp(9px, 3.8cqw, 12px)/1.3 var(--mono); color: #8d94a6; margin-top: 0.4em !important; }
.card-division { font: 700 clamp(13px, 5.5cqw, 18px)/1.1 var(--sans); color: #f4c95d; margin-top: 0.9em !important; }
.champ-name { font: 800 clamp(24px, 11cqw, 40px)/1 var(--display); letter-spacing: -0.03em; color: #57d9a3; margin-top: 0.15em !important; }
.champ-members { font: 400 clamp(9px, 3.8cqw, 12px)/1.3 var(--sans); color: #8d94a6; margin-top: 0.5em !important; }
.in-progress-top { font: 800 clamp(22px, 10cqw, 36px)/1 var(--display); letter-spacing: -0.03em; color: #f4c95d; margin-top: 0.15em !important; }
.card-tagline { font: 800 clamp(20px, 9.5cqw, 34px)/0.98 var(--display); letter-spacing: -0.035em; }
.card-tagline em { font-style: normal; color: #f4c95d; }
.card-gold { color: #f4c95d; }
.card-board { background: #12151c; border: 1px solid #232833; border-radius: 10px; padding: clamp(8px, 3.5cqw, 12px); font: 500 clamp(8px, 3.4cqw, 11px)/1.3 var(--mono); color: #8d94a6; display: grid; gap: 0.7em; }
.card-board-head, .card-versus { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.card-live { color: #57d9a3; }
.card-side { font: 700 clamp(11px, 4.6cqw, 15px)/1.1 var(--sans); color: #eef0f5; padding: 0.35em 0.5em; border-radius: 6px; background: #181c25; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-side-red { border-left: 3px solid #ff5a5f; } .card-side-blue { border-right: 3px solid #4d9bff; text-align: right; }
.card-votes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.card-votes i { display: block; height: clamp(8px, 4cqw, 14px); border-radius: 4px; } .v-red { background: #ff5a5f; } .v-blue { background: #4d9bff; }
