/* ==========================================================================
   /for-artists/ and /for-promoters/ — the two pages that make the case to
   the people whose gigs we already list.

   One stylesheet, one prefix (ld-), shared by both. Same design language
   as home.css and detail.css: black, Inter, red accent, hairline borders.
   The hero carries a CSS mock-up of the thing on offer (a claimed band page,
   a credited gig listing), because the site shows no stock photography and
   both pages are selling a screen, not a mood.

   Section order on both pages:
     .ld-hero       full-bleed band: copy + call to action left, mock right
     .ld-stats      the real numbers under it
     .ld-compare    what changes, as two columns
     .ld-feature    alternating rows, each with a small mock panel
     .ld-also       the rest of the offer, compact
     .ld-merch      creator merch (gated on MERCH_ENABLED)
     .ld-steps      how it works, three numbered columns
     .ld-faq        questions, mirrors the tools pages' FAQ look
     .ld-close      the last call to action
   ========================================================================== */

.ld-page {
    --ld-red: #ff0000;
    --ld-red-dim: #cc0000;
    --ld-red-soft: #ff4444;
    --ld-line: rgba(255, 255, 255, 0.10);
    --ld-line-soft: rgba(255, 255, 255, 0.06);
    --ld-surface: #101010;
    --ld-surface-2: #171717;
    --ld-muted: #8a8a8a;
    --ld-text: #cfcfcf;
    --ld-max: 1120px;
    --ld-gut: 1.5rem;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ld-text);
    padding-bottom: 1rem;
}

.ld-page h1,
.ld-page h2,
.ld-page h3 {
    font-family: 'Inter', system-ui, sans-serif;
    color: #fff;
    letter-spacing: -0.02em;
}

.ld-inner {
    max-width: var(--ld-max);
    margin: 0 auto;
    padding: 0 var(--ld-gut);
}

.ld-page a {
    color: inherit;
}

/* --- Eyebrow, buttons, shared bits ------------------------------------- */

.ld-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ld-red-soft);
}

.ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--ld-red);
    background: var(--ld-red);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ld-btn:hover {
    background: var(--ld-red-dim);
    border-color: var(--ld-red-dim);
    color: #fff;
    transform: translateY(-1px);
}

.ld-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
}

.ld-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #fff;
}

.ld-btn--sm {
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
}

.ld-note {
    margin: 0.8rem 0 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--ld-muted);
}

.ld-note a,
.ld-lede a,
.ld-prose a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.35);
}

.ld-note a:hover,
.ld-lede a:hover,
.ld-prose a:hover {
    color: var(--ld-red-soft);
    text-decoration-color: currentColor;
}

/* --- Section frame ------------------------------------------------------ */

.ld-section {
    padding: clamp(2.75rem, 6vw, 4.5rem) 0 0;
}

.ld-section-head {
    max-width: 640px;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.ld-section-head h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.15;
}

.ld-section-head p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--ld-muted);
}

/* --- Hero --------------------------------------------------------------- */

.ld-hero {
    position: relative;
    overflow: hidden;
    /* Clears the fixed site header; the crumb sits inside the band. */
    padding: 108px 0 clamp(2.5rem, 5vw, 3.75rem);
    border-bottom: 1px solid var(--ld-line);
    background: linear-gradient(150deg, #121212 0%, #190b0b 55%, #210707 100%);
}

.ld-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 90% at 85% 20%, rgba(255, 0, 0, 0.16), transparent 60%),
        radial-gradient(50% 60% at 10% 100%, rgba(255, 255, 255, 0.04), transparent 60%);
    pointer-events: none;
}

.ld-hero .ld-inner {
    position: relative;
    z-index: 1;
}

.ld-crumbs {
    margin: 0 0 1.75rem;
    font-size: 0.78rem;
    color: #6f6f6f;
}

.ld-crumbs a {
    color: #9a9a9a;
    text-decoration: none;
}

.ld-crumbs a:hover { color: var(--ld-red-soft); }
.ld-crumbs .sep { margin: 0 0.4rem; color: #3d3d3d; }
.ld-crumbs [aria-current="page"] { color: #d0d0d0; }

.ld-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.ld-hero-copy { min-width: 0; }

.ld-title {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 900;
    line-height: 1.04;
}

.ld-title em {
    font-style: normal;
    color: var(--ld-red-soft);
}

.ld-lede {
    margin: 0;
    max-width: 56ch;
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    line-height: 1.65;
    color: #b3b3b3;
}

.ld-hero-action {
    margin-top: 1.75rem;
}

/* The band search, the point of /for-artists/. */
.ld-search-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ld-muted);
}

.ld-search-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    max-width: 560px;
}

.ld-search-row input[type="search"] {
    flex: 1 1 240px;
    min-width: 0;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.15s ease;
}

.ld-search-row input[type="search"]::placeholder { color: #666; }

.ld-search-row input[type="search"]:focus {
    outline: none;
    border-color: var(--ld-red-soft);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.18);
}

/* A member's own pages, in place of the search. */
.ld-yours {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.ld-yours p {
    width: 100%;
    margin: 0 0 0.25rem;
    color: #b3b3b3;
}

.ld-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    color: var(--ld-muted);
}

.ld-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.ld-hero-trust i {
    color: var(--ld-red-soft);
    font-size: 0.75rem;
}

/* --- The mock-ups ------------------------------------------------------- */
/* Pure markup, no images. They sketch the screen on offer and are labelled
   with placeholders ("Your band", "Your promotion"), never a real act. */

.ld-mock-wrap {
    position: relative;
    min-width: 0;
}

.ld-mock {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: linear-gradient(180deg, #171717, #0e0e0e);
    box-shadow:
        0 30px 60px -30px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    font-size: 0.8rem;
}

.ld-mock-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid var(--ld-line-soft);
    background: rgba(0, 0, 0, 0.35);
    font-size: 0.7rem;
    color: #666;
}

.ld-mock-bar span {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2a2a2a;
}

.ld-mock-bar .url {
    flex: 1;
    margin-left: 0.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #9a9a9a;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ld-mock-bar .url b { color: #fff; font-weight: 600; }

.ld-mock-body { padding: 1rem 1.1rem 1.1rem; }

/* Band page head: round portrait, name, verified tick, handle. */
.ld-mock-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.ld-mock-portrait {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #3a1010, #140505);
    border: 2px solid rgba(255, 255, 255, 0.12);
    color: var(--ld-red-soft);
    font-size: 1.25rem;
}

.ld-mock-portrait--square {
    border-radius: 8px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

.ld-mock-name {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.ld-mock-verified {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ld-red);
    color: #fff;
    font-size: 0.55rem;
}

.ld-mock-sub {
    margin-top: 0.15rem;
    font-size: 0.74rem;
    color: var(--ld-muted);
}

.ld-mock-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.ld-mock-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #ddd;
    font-size: 0.7rem;
    font-weight: 600;
}

.ld-mock-chip i { color: var(--ld-red-soft); font-size: 0.68rem; }

.ld-mock-chip--count {
    padding-right: 0.4rem;
}

.ld-mock-chip--count small {
    margin-left: 0.2rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 0, 0, 0.18);
    color: var(--ld-red-soft);
    font-size: 0.62rem;
    font-weight: 700;
}

.ld-mock-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #777;
}

.ld-mock-dates {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--ld-line-soft);
}

.ld-mock-dates li {
    display: grid;
    grid-template-columns: 3.3rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--ld-line-soft);
}

.ld-mock-dates .d {
    font-weight: 800;
    color: #fff;
    font-size: 0.74rem;
    line-height: 1.1;
}

.ld-mock-dates .d small {
    display: block;
    font-weight: 600;
    color: var(--ld-muted);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ld-mock-dates .v {
    min-width: 0;
    color: #ccc;
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ld-mock-dates .v small { display: block; color: #777; font-size: 0.66rem; }

.ld-mock-tix {
    padding: 0.28rem 0.6rem;
    border-radius: 3px;
    background: var(--ld-red);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ld-mock-tix--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ddd;
}

.ld-mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.ld-mock-stat {
    padding: 0.55rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--ld-line-soft);
    background: rgba(255, 255, 255, 0.025);
}

.ld-mock-stat b {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.ld-mock-stat span {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #777;
}

.ld-mock-stat--up b::after {
    content: '\2191';
    margin-left: 0.3rem;
    font-size: 0.7rem;
    color: #5fd37a;
}

/* Gig listing mock, the promoter hero. */
.ld-mock-credit {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.ld-mock-credit-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ld-red-soft);
    letter-spacing: 0.02em;
}

.ld-mock-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 0, 0, 0.35);
    background: rgba(255, 0, 0, 0.1);
    color: #ffb3b3;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ld-mock-tag--ok {
    border-color: rgba(95, 211, 122, 0.35);
    background: rgba(95, 211, 122, 0.08);
    color: #9fe5b0;
}

.ld-mock-gig-title {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.ld-mock-gig-meta {
    margin: 0 0 0.9rem;
    font-size: 0.76rem;
    color: #aaa;
}

.ld-mock-gig-meta b { color: #fff; font-weight: 700; }

.ld-mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.7rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--ld-line-soft);
    background: rgba(255, 255, 255, 0.025);
}

.ld-mock-row .price {
    font-size: 0.72rem;
    color: #ccc;
}

.ld-mock-row .price b { color: #fff; font-size: 0.9rem; }

.ld-mock-row .price small {
    display: block;
    color: #777;
    font-size: 0.62rem;
}

/* The three social cards under the gig mock: one height, three widths, so
   the row reads as "three formats" rather than three boxes. */
.ld-mock-cards {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    height: 150px;
    margin-top: 0.9rem;
}

.ld-mock-card {
    position: relative;
    flex: 0 0 auto;
    height: 100%;
    width: auto;
    border-radius: 5px;
    border: 1px solid var(--ld-line-soft);
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(255, 0, 0, 0.35), transparent 70%),
        #141414;
    overflow: hidden;
}

.ld-mock-card--story { aspect-ratio: 9 / 16; }
.ld-mock-card--feed { aspect-ratio: 4 / 5; }
.ld-mock-card--square { aspect-ratio: 1 / 1; }

.ld-mock-card::before {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    top: 38%;
    height: 7%;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.85);
}

.ld-mock-card::after {
    content: attr(data-label);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.4rem;
    text-align: center;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777;
}

.ld-mock-card span {
    position: absolute;
    left: 12%;
    right: 30%;
    top: 50%;
    height: 4%;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
}

/* Small badges floating off the hero mock. The hero's mock body keeps room
   at the foot for the second one, so it covers no figure. */
.ld-hero .ld-mock-body { padding-bottom: 2.75rem; }

.ld-mock-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #151515;
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.9);
    color: #eee;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2;
}

.ld-mock-float i { color: var(--ld-red-soft); }
.ld-mock-float--tl { top: -0.9rem; left: -0.9rem; }
.ld-mock-float--br { bottom: 0.7rem; right: -0.9rem; }

/* --- Stats strip -------------------------------------------------------- */

.ld-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: -1px;
    padding: clamp(1.25rem, 3vw, 2rem) var(--ld-gut) 0;
    max-width: var(--ld-max);
    margin-left: auto;
    margin-right: auto;
}

.ld-stat {
    padding: 1rem 1.2rem;
    border: 1px solid var(--ld-line);
    border-radius: 8px;
    background: var(--ld-surface);
}

.ld-stat b {
    display: block;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.ld-stat span {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ld-muted);
}

/* --- Search results ----------------------------------------------------- */

.ld-results {
    scroll-margin-top: 110px;
}

.ld-matches {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ld-matches li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--ld-line);
    border-radius: 8px;
    background: var(--ld-surface);
}

.ld-match-id strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.ld-match-id small {
    display: block;
    color: var(--ld-muted);
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.ld-match-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ld-no-match {
    margin: 0;
    color: var(--ld-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --- Compare: what changes ---------------------------------------------- */

.ld-compare {
    border: 1px solid var(--ld-line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--ld-surface);
}

.ld-compare-row {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr);
    border-bottom: 1px solid var(--ld-line-soft);
}

.ld-compare-row:last-child { border-bottom: 0; }

.ld-compare-row > * {
    padding: 0.95rem 1.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    min-width: 0;
}

.ld-compare-row > :first-child {
    font-weight: 700;
    color: #fff;
}

.ld-compare-row > :nth-child(2) {
    color: #777;
    border-left: 1px solid var(--ld-line-soft);
}

.ld-compare-row > :nth-child(3) {
    color: #e6e6e6;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.09), rgba(255, 0, 0, 0.03));
    border-left: 1px solid rgba(255, 0, 0, 0.25);
}

.ld-compare-row > :nth-child(3)::before {
    content: '\2713';
    display: inline-block;
    margin-right: 0.5rem;
    color: var(--ld-red-soft);
    font-weight: 700;
}

.ld-compare-row--head > * {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ld-muted);
    background: rgba(0, 0, 0, 0.35);
}

.ld-compare-row--head > :nth-child(3) {
    color: var(--ld-red-soft);
    background: rgba(255, 0, 0, 0.12);
}

.ld-compare-row--head > :nth-child(3)::before { content: none; }

/* --- Feature rows ------------------------------------------------------- */

.ld-features {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.ld-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.ld-feature:nth-child(even) .ld-feature-copy { order: 2; }

.ld-feature-copy { min-width: 0; }

.ld-feature-copy h3 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 800;
    line-height: 1.2;
}

.ld-feature-copy p {
    margin: 0;
    max-width: 48ch;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ld-muted);
}

.ld-feature-copy ul {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: #bbb;
}

.ld-feature-copy ul li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.ld-feature-copy ul i {
    margin-top: 0.3rem;
    color: var(--ld-red-soft);
    font-size: 0.7rem;
}

.ld-feature-icon {
    display: inline-grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0.9rem;
    border-radius: 8px;
    background: rgba(255, 0, 0, 0.12);
    color: var(--ld-red-soft);
    font-size: 1rem;
}

/* The small panel beside each feature. */
.ld-panel {
    position: relative;
    min-width: 0;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--ld-line);
    border-radius: 12px;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(255, 0, 0, 0.08), transparent 60%),
        var(--ld-surface);
    font-size: 0.8rem;
}

.ld-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #777;
}

.ld-panel-head b { color: #fff; }

/* Bars: where people landed from, by city. */
.ld-bars {
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ld-bars li {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) 2.6rem;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    color: #bbb;
}

.ld-bars li span:last-child {
    text-align: right;
    color: #777;
    font-variant-numeric: tabular-nums;
}

.ld-bar {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.ld-bar i {
    display: block;
    height: 100%;
    width: var(--w, 50%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ld-red), var(--ld-red-soft));
}

/* Link page: a narrow phone-like column of buttons. */
.ld-phone {
    max-width: 280px;
    margin: 0 auto;
    padding: 1rem 0.9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: #0d0d0d;
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.9);
}

.ld-phone .ld-mock-portrait {
    margin: 0.4rem auto 0.5rem;
}

.ld-phone .ld-mock-name {
    justify-content: center;
    font-size: 0.95rem;
}

.ld-phone .ld-mock-sub {
    text-align: center;
    margin-bottom: 0.9rem;
}

.ld-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ld-links li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #eee;
    font-size: 0.74rem;
    font-weight: 600;
}

.ld-links li i { color: var(--ld-red-soft); margin-right: 0.45rem; }

.ld-links li small {
    color: #777;
    font-size: 0.62rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ld-links li.is-primary {
    background: var(--ld-red);
    border-color: var(--ld-red);
    color: #fff;
}

.ld-links li.is-primary i,
.ld-links li.is-primary small { color: #fff; }

/* Press kit: a document with sections. */
.ld-doc {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ld-doc-sec {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--ld-line-soft);
    background: rgba(255, 255, 255, 0.025);
    color: #ddd;
    font-size: 0.76rem;
    font-weight: 600;
}

.ld-doc-sec i { color: var(--ld-red-soft); text-align: center; }

.ld-doc-sec small {
    color: #777;
    font-weight: 500;
    font-size: 0.66rem;
}

.ld-doc-sec .ld-mock-tag { justify-self: end; }

/* Numbers table: one row per gig. */
.ld-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.74rem;
}

.ld-table th,
.ld-table td {
    padding: 0.5rem 0.4rem;
    text-align: left;
    border-bottom: 1px solid var(--ld-line-soft);
    white-space: nowrap;
}

.ld-table th {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777;
}

.ld-table td { color: #ccc; font-variant-numeric: tabular-nums; }
.ld-table td:first-child { color: #fff; font-weight: 600; white-space: normal; }
.ld-table td:not(:first-child), .ld-table th:not(:first-child) { text-align: right; }
.ld-table tr:last-child td { border-bottom: 0; }
.ld-table .hi { color: var(--ld-red-soft); font-weight: 700; }

/* --- And also: the compact remainder ---------------------------------- */

.ld-also {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ld-also li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--ld-line);
    border-radius: 10px;
    background: var(--ld-surface);
}

.ld-also li i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background: rgba(255, 0, 0, 0.12);
    color: var(--ld-red-soft);
    font-size: 0.85rem;
}

.ld-also h3 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ld-also p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--ld-muted);
}

/* --- Merch (docs/merch.md) --------------------------------------------- */

.ld-merch {
    scroll-margin-top: 100px;
}

.ld-merch-wrap {
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    border: 1px solid var(--ld-line);
    border-radius: 14px;
    background:
        radial-gradient(60% 90% at 0% 0%, rgba(255, 0, 0, 0.12), transparent 60%),
        var(--ld-surface);
}

.ld-merch-wrap .ld-section-head { margin-bottom: 1.5rem; }

.ld-merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ld-merch-grid li {
    padding: 1rem 1.05rem;
    border: 1px solid var(--ld-line-soft);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.ld-merch-grid i {
    color: var(--ld-red-soft);
    font-size: 1rem;
}

.ld-merch-grid h3 {
    margin: 0.6rem 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.ld-merch-grid p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--ld-muted);
}

.ld-merch-grid a { color: #fff; }

.ld-subhead {
    margin: 1.75rem 0 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ld-muted);
}

/* Four steps in a line, joined by a hairline. */
.ld-flow {
    list-style: none;
    counter-reset: ld-flow;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem 1.5rem;
    position: relative;
}

.ld-flow li {
    counter-increment: ld-flow;
    position: relative;
    padding-top: 0.2rem;
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--ld-muted);
}

.ld-flow li::before {
    content: counter(ld-flow);
    display: inline-grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-bottom: 0.65rem;
    border-radius: 50%;
    background: var(--ld-red);
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
}

.ld-flow strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    color: #fff;
}

.ld-flow a { color: #fff; }

.ld-merch-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.ld-merch-cta p {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ld-muted);
}

/* --- Steps: how it works ------------------------------------------------ */

.ld-steps {
    list-style: none;
    counter-reset: ld-steps;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ld-steps li {
    counter-increment: ld-steps;
    position: relative;
    padding: 1.4rem 1.3rem 1.3rem;
    border: 1px solid var(--ld-line);
    border-radius: 12px;
    background: var(--ld-surface);
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ld-muted);
}

.ld-steps li::before {
    content: '0' counter(ld-steps);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ld-red);
    font-variant-numeric: tabular-nums;
}

.ld-steps strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: -0.01em;
}

/* --- Examples: pages bands run themselves ------------------------------ */

.ld-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.ld-example {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 1.1rem 0.7rem 1rem;
    border: 1px solid var(--ld-line);
    border-radius: 10px;
    background: var(--ld-surface);
    text-align: center;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.ld-example:hover {
    border-color: var(--ld-red-soft);
    transform: translateY(-2px);
}

.ld-example img,
.ld-example-blank {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.ld-example-blank {
    display: grid;
    place-items: center;
    background: #161616;
    color: #444;
    font-size: 1.5rem;
}

.ld-example strong {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.3;
}

.ld-example small {
    color: #777;
    font-size: 0.74rem;
}

/* --- Prose (cost) ------------------------------------------------------- */

.ld-prose p {
    max-width: 62ch;
    margin: 0 0 1rem;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--ld-muted);
}

.ld-prose p:last-of-type { margin-bottom: 0; }

.ld-cost {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    border: 1px solid var(--ld-line);
    border-radius: 14px;
    background: var(--ld-surface);
}

.ld-cost h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
}

.ld-cost-figure {
    text-align: center;
}

.ld-cost-figure b {
    display: block;
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #fff;
}

.ld-cost-figure span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ld-red-soft);
}

/* --- FAQ, the same look as the tools pages ----------------------------- */

.ld-faq {
    margin-top: clamp(2.75rem, 6vw, 4.5rem);
    padding-top: clamp(2rem, 4vw, 2.75rem);
    border-top: 1px solid var(--ld-line);
}

.ld-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.ld-faq h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
}

.ld-faq-grid > p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--ld-muted);
}

.ld-faq-grid > p a { color: #fff; }

.ld-faq details {
    border-bottom: 1px solid var(--ld-line-soft);
    padding: 0.95rem 0;
}

.ld-faq details:first-of-type { border-top: 1px solid var(--ld-line-soft); }

.ld-faq summary {
    cursor: pointer;
    color: #eaeaea;
    font-size: 0.98rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.ld-faq summary::-webkit-details-marker { display: none; }

.ld-faq summary::after {
    content: "+";
    color: var(--ld-red);
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.ld-faq details[open] summary::after { content: "\2212"; }

.ld-faq details p {
    margin: 0.85rem 0 0;
    color: #979797;
    line-height: 1.75;
    font-size: 0.92rem;
}

.ld-faq details a { color: var(--ld-red-soft); }

/* --- Close: the last call to action ----------------------------------- */

.ld-close {
    margin-top: clamp(2.75rem, 6vw, 4.5rem);
    padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: 16px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    background:
        radial-gradient(80% 120% at 10% 0%, rgba(255, 0, 0, 0.28), transparent 60%),
        radial-gradient(60% 100% at 100% 100%, rgba(255, 0, 0, 0.12), transparent 60%),
        #140606;
    text-align: center;
}

.ld-close h2 {
    margin: 0 auto 0.6rem;
    max-width: 22ch;
    font-size: clamp(1.6rem, 3.6vw, 2.5rem);
    font-weight: 900;
    line-height: 1.1;
}

.ld-close p {
    margin: 0 auto;
    max-width: 50ch;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #c0b0b0;
}

.ld-close .ld-hero-action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.ld-close .ld-search-row {
    margin: 0 auto;
    justify-content: center;
}

.ld-close .ld-note { color: #9a8a8a; }
.ld-close .ld-note a { color: #fff; }

/* The free-tools strip under the page (tools_for), spaced like a section. */
.ld-page .tl-more--standalone {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 960px) {
    .ld-hero-grid {
        grid-template-columns: 1fr;
    }

    .ld-mock-wrap {
        max-width: 520px;
    }

    .ld-mock-float--tl { left: 0.5rem; }
    .ld-mock-float--br { right: 0.5rem; }

    .ld-feature {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ld-feature:nth-child(even) .ld-feature-copy { order: 0; }

    .ld-faq-grid,
    .ld-cost {
        grid-template-columns: 1fr;
    }

    .ld-cost-figure { text-align: left; }
}

@media (max-width: 720px) {
    .ld-hero { padding-top: 96px; }

    .ld-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ld-stats .ld-stat:first-child {
        grid-column: 1 / -1;
    }

    .ld-steps {
        grid-template-columns: 1fr;
    }

    .ld-compare-row {
        grid-template-columns: 1fr 1fr;
    }

    .ld-compare-row > :first-child {
        grid-column: 1 / -1;
        padding-bottom: 0.3rem;
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--ld-muted);
    }

    .ld-compare-row > :nth-child(2) {
        border-left: 0;
    }

    .ld-compare-row > :nth-child(2),
    .ld-compare-row > :nth-child(3) {
        padding-top: 0.4rem;
        font-size: 0.86rem;
    }

    .ld-compare-row--head > :first-child { display: none; }

    .ld-compare-row--head > :nth-child(2),
    .ld-compare-row--head > :nth-child(3) {
        padding-top: 0.8rem;
    }

    .ld-matches li {
        flex-direction: column;
        align-items: flex-start;
    }

    .ld-mock-float {
        position: static;
        margin-top: 0.75rem;
        margin-right: 0.5rem;
        box-shadow: none;
    }

    .ld-hero .ld-mock-body { padding-bottom: 1.1rem; }

    .ld-mock-cards { height: 120px; }

    .ld-bars li {
        grid-template-columns: 4.5rem minmax(0, 1fr) 2.4rem;
    }
}
