/*
 * Life Baker Refer: the landing page (/refer). Design handoff of 9 Nov 2026,
 * Public §1, night glass. Phone first; tablet from 600 px (rates card under
 * the hero, three columns below), desktop from 1024 px (rates card beside
 * the hero).
 */

/* ---------- hero */
.lbr-land-hero {
    color: #FFFFFF;
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
        radial-gradient(700px 380px at 85% 0%, rgba(242, 215, 107, 0.22), transparent 65%),
        linear-gradient(135deg, #8A2020 0%, #5F1414 55%, #2A0A0A 100%);
}
.lbr-land-hero__in {
    max-width: 1120px; margin: 0 auto; padding: 32px var(--pad) 36px;
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center;
}
.lbr-land-hero__copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lbr-land-hero h1 { color: #FFFFFF; font-size: 33px; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.lbr-land-hero__lede { color: var(--soft); font-size: 17px; line-height: 1.5; max-width: 30em; text-wrap: pretty; }
.lbr-land-hero__ctas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.lbr-land-hero .lbr-btn { padding: 0 22px; }
/* On the maroon hero the outline button is cream and white, not gold. */
.lbr-land-hero .lbr-btn--outline { background: transparent; border-color: var(--soft); color: #FFFFFF; }
.lbr-land-hero .lbr-btn--outline:hover { color: #FFFFFF; border-color: #FFFFFF; }
.lbr-land-hero__me { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.lbr-land-hero__me p { font-size: 14px; line-height: 1.5; color: var(--soft); }
.lbr-land-hero__code { color: var(--gold); letter-spacing: 0.04em; word-break: break-all; }
.lbr-land-hero__note { font-size: 14px; line-height: 1.5; color: var(--soft); }

/* ---------- the rates (hero card from 600 px; inside "What you earn" on phones) */
.lbr-land-rates { display: none; }
.lbr-land-plans { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lbr-land-plan {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 0; border-top: 1px solid var(--line);
}
.lbr-land-plan__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lbr-land-plan__name strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.lbr-land-plan__name > span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.lbr-land-plan__earn {
    font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--gold); white-space: nowrap;
    font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(242, 215, 107, 0.3);
}
.lbr-land-plan__earn.is-zero { font-size: 16px; font-weight: 600; color: var(--muted); text-shadow: none; }
/* p.class outranks .lbr-panel p (same weight, later file). */
p.lbr-land-plans__note { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- the column below the hero */
.lbr-land {
    width: 100%; max-width: 1120px; margin: 0 auto; padding: 20px var(--pad) 28px;
    display: flex; flex-direction: column; gap: 20px;
}
.lbr-land .lbr-panel h2 { font-size: 22px; line-height: 1.25; }
.lbr-land-card { gap: 18px; }

.lbr-land-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lbr-land-steps li { display: flex; gap: 14px; align-items: flex-start; }
.lbr-land-steps__n {
    width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
    font-weight: 700; color: #FFFFFF;
    background: linear-gradient(135deg, #C03A3A 0%, #7B1C1C 100%);
    box-shadow: 0 10px 26px rgba(192, 58, 58, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.lbr-land-steps__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lbr-land-steps__text strong { font-size: 16px; line-height: 1.35; }
.lbr-land-steps__text span { font-size: 15px; line-height: 1.5; color: var(--muted); }

.lbr-land-rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }

.lbr-land-needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.lbr-land-needs li {
    display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px;
    background: linear-gradient(145deg, rgba(242, 215, 107, 0.14) 0%, rgba(242, 215, 107, 0.04) 100%);
    border: 1px solid rgba(242, 215, 107, 0.24);
    font-size: 15px; line-height: 1.45;
}
.lbr-land-needs .lbr-icon { color: var(--gold); }

.lbr-land-ready { align-items: flex-start; gap: 12px; }
.lbr-land-ready .lbr-btn { width: 100%; padding: 0 22px; }
.lbr-land-ready__alt { color: var(--muted); }
.lbr-land-ready__alt a { display: inline-flex; align-items: center; min-height: 48px; }

/* ---------- tablet */
@media (min-width: 600px) {
    .lbr-land-hero__in { padding: 48px var(--pad) 52px; }
    .lbr-land-hero h1 { font-size: 44px; }
    .lbr-land-hero__lede { font-size: 19px; }
    .lbr-land-hero__ctas { grid-template-columns: auto auto; justify-content: start; }
    .lbr-land-rates {
        display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 20px; min-width: 0;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
        border: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 60px rgba(0, 0, 0, 0.45);
        backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    }
    html.lbr-faux .lbr-land-rates { background: linear-gradient(145deg, rgba(110, 36, 36, 0.94) 0%, rgba(58, 18, 18, 0.94) 100%); }
    .lbr-land-rates .lbr-eyebrow { margin-bottom: 8px; }
    .lbr-land-rates .lbr-land-plan__earn { font-size: 24px; }
    .lbr-land-rates .lbr-land-plan__earn.is-zero { font-size: 16px; }
    .lbr-land-earn-list { display: none; }
    .lbr-land { padding: 32px var(--pad) 56px; }
    .lbr-land-steps, .lbr-land-needs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lbr-land-ready .lbr-btn { width: auto; }
}

/* ---------- desktop */
@media (min-width: 1024px) {
    .lbr-land-hero__in { padding: 72px var(--pad); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
    .lbr-land-hero h1 { font-size: 56px; }
}
