/* ============================================================
   Western Reports Landing — matched to the site's light theme
   (Inter font + site colour palette). All rules scoped under .wrl
   so nothing leaks into / from the rest of the site.
   ============================================================ */
.wrl {
    --wrl-accent:      var(--Indigo-500);
    --wrl-accent-strong: var(--Indigo-900);
    --wrl-accent-soft: #6366F1;
    --wrl-rose:        var(--Violet-500);
    --wrl-text:        var(--GrayScale-900-F);
    --wrl-muted:       var(--GrayScale-500);
    --wrl-surface:     var(--GrayScale-50);
    --wrl-card:        var(--white-100);
    --wrl-line:        var(--GrayScale-200);
    --wrl-paper:       #ffffff;
    font-family: 'Inter', sans-serif;
    color: var(--wrl-text);
    line-height: 1.6;
    overflow-x: clip;
}
/* prevent any horizontal overflow on this page (scoped: this file only loads here) */
html, body { overflow-x: hidden; max-width: 100%; }
.wrl * { box-sizing: border-box; }

.wrl-container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.wrl section { padding: 80px 0; }
.wrl .kicker { font-weight: 600; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--wrl-accent); margin-bottom: 18px; }
.wrl h1, .wrl h2 { font-family: 'Inter', sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--wrl-text); }
.wrl h2 { font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 14px; }
.wrl .lede { font-size: 18px; color: var(--wrl-muted); max-width: 640px; }

/* ---------- buttons ---------- */
.wrl-btn { display: inline-block; padding: 14px 28px; border-radius: var(--radius-md); font-weight: 600; font-size: 14px; letter-spacing: .02em; text-decoration: none; transition: all .2s; cursor: pointer; border: 1px solid transparent; }
.wrl-btn.gold { background: var(--wrl-accent); color: #fff; border-color: var(--wrl-accent); }
.wrl-btn.gold:hover { background: var(--wrl-accent-strong); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(79,70,229,.22); }
.wrl-btn.ghost { border-color: var(--GrayScale-300); color: var(--wrl-accent); background: #fff; }
.wrl-btn.ghost:hover { border-color: var(--wrl-accent); background: var(--Indigo-50); }

/* inline text links (buttons opt out via .wrl-btn) */
.wrl a:not(.wrl-btn):not(.pm-item) { color: var(--wrl-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s; }
.wrl a:not(.wrl-btn):not(.pm-item):hover { color: var(--wrl-accent-strong); }

/* ---------- hero ---------- */
.wrl .hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding: 56px 0 80px; }
.wrl .hero h1 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 24px; }
.wrl .hero h1 .accent { color: var(--wrl-accent); }
.wrl .hero .lede { margin-bottom: 38px; }
.wrl .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.wrl .stats { display: flex; gap: 40px; margin-top: 52px; }
.wrl .stat b { display: block; font-size: 30px; font-weight: 700; color: var(--wrl-accent); }
.wrl .stat span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--wrl-muted); }

/* ---------- hero cover shot ---------- */
.wrl .cover-stage { position: relative; display: flex; justify-content: center; }
.wrl .hero-shot { width: 100%; max-width: 560px; height: auto; }
.wrl .cover-caption { position: absolute; bottom: -44px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--wrl-muted); white-space: nowrap; }
.wrl .cover-caption b { color: var(--wrl-accent); }
/* ---------- catalog ---------- */
/* catalog carousel (Swiper): autoplay + drag + prev/next, pauses on hover */
.wrl .cat-carousel-wrap { position: relative; margin-top: 52px; }
.wrl .cat-swiper { overflow: hidden; padding: 8px 2px; }
.wrl .cat-swiper .swiper-wrapper { align-items: stretch; }
.wrl .cat-swiper .swiper-slide { height: auto; }
.wrl .cat-swiper .swiper-slide.fam { display: flex; flex-direction: column; }
.wrl .cat-swiper .swiper-slide .meta { margin-top: auto; }
/* prev/next arrows: on the left & right edges, vertically centered */
.wrl .cat-nav button { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--GrayScale-200); background: #fff; color: var(--wrl-accent); font-size: 22px; line-height: 1; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(17,18,19,.12); }
.wrl .cat-nav button:hover { border-color: var(--wrl-accent); background: var(--Indigo-50); }
.wrl .cat-prev { left: -14px; }
.wrl .cat-next { right: -14px; }
@media (max-width: 600px) { .wrl .cat-prev { left: 2px; } .wrl .cat-next { right: 2px; } }
.wrl .fam { background: var(--wrl-card); border: 1px solid var(--wrl-line); border-radius: 10px; padding: 26px 24px 22px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.wrl .fam:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(17,18,19,.08); }
.wrl .fam-img { margin: -26px -24px 18px; }
.wrl .fam-img img { display: block; width: 100%; height: auto; }
.wrl .fam .cat-tag { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fc, var(--wrl-accent)); margin-bottom: 14px; display: block; }
.wrl .fam h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.wrl .fam p { font-size: 14px; color: var(--wrl-muted); line-height: 1.5; margin-bottom: 16px; }
.wrl .fam .meta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--GrayScale-400); }
.wrl .new-pill { position: absolute; top: 18px; right: 18px; font-size: 9px; letter-spacing: .16em; background: var(--wrl-accent); color: #fff; padding: 4px 9px; border-radius: 20px; font-weight: 700; }

/* ---------- alternating section backgrounds ---------- */
/* sections in order: catalog, tiers, data, studio, recurring, api, cta-final.
   even ones (tiers, studio, api) get the light surface; odd stay white. */
.wrl > section:nth-of-type(even) { background: var(--wrl-surface); }

/* ---------- tiers ---------- */
.wrl .ladder { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 56px; align-items: end; }
.wrl .rung { background: var(--wrl-card); border: 1px solid var(--wrl-line); border-radius: 10px; padding: 26px 22px; text-align: center; transition: transform .25s, box-shadow .25s; }
.wrl .rung:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17,18,19,.08); }
.wrl .rung .bar { margin: 0 auto 20px; width: 46px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--wrl-accent-soft), var(--wrl-accent)); }
.wrl .rung:nth-child(1) .bar { height: 34px; opacity: .45; }
.wrl .rung:nth-child(2) .bar { height: 64px; opacity: .6; }
.wrl .rung:nth-child(3) .bar { height: 96px; opacity: .8; }
.wrl .rung:nth-child(4) .bar { height: 130px; }
.wrl .rung h4 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.wrl .rung .cr { color: var(--wrl-accent); font-size: 13px; margin-bottom: 10px; font-weight: 600; }
.wrl .rung p { font-size: 12.5px; color: var(--wrl-muted); line-height: 1.55; }

/* ---------- real data ---------- */
.wrl .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.wrl .facts { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.wrl .fact { background: var(--wrl-card); border: 1px solid var(--wrl-line); border-radius: 8px; padding: 18px 20px; }
.wrl .fact .f-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--wrl-accent); margin-bottom: 6px; }
.wrl .fact .f-body { font-size: 15.5px; color: var(--wrl-text); }
.wrl .fact .f-body em { color: var(--wrl-accent); font-style: normal; font-weight: 600; }
.wrl .checks { list-style: none; margin-top: 26px; padding: 0; }
.wrl .checks li { padding: 11px 0 11px 34px; position: relative; font-size: 15px; color: var(--wrl-text); border-bottom: 1px solid var(--wrl-line); }
.wrl .checks li::before { content: "\2726"; position: absolute; left: 4px; color: var(--wrl-accent); font-size: 13px; }
.wrl .checks li span { color: var(--wrl-muted); }

/* ---------- studio ---------- */
.wrl .studio-mock { background: var(--wrl-card); border: 1px solid var(--wrl-line); border-radius: 12px; padding: 26px; display: grid; grid-template-columns: 180px 1fr; gap: 22px; box-shadow: 0 14px 34px rgba(17,18,19,.06); }
.wrl .panel { display: flex; flex-direction: column; gap: 16px; }
.wrl .ctl label { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--wrl-muted); display: block; margin-bottom: 7px; }
.wrl .swatches { display: flex; gap: 7px; }
.wrl .sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; }
.wrl .sw.on { border-color: var(--GrayScale-800); }
.wrl .slider { height: 4px; background: var(--GrayScale-200); border-radius: 4px; position: relative; }
.wrl .slider::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 62%; background: var(--wrl-accent); border-radius: 4px; }
.wrl .slider::before { content: ""; position: absolute; left: 60%; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 1px solid var(--GrayScale-300); z-index: 1; }
.wrl .page-mock { background: var(--wrl-paper); border: 1px solid var(--wrl-line); border-radius: 8px; color: var(--GrayScale-800); padding: 26px 28px; min-height: 280px; position: relative; overflow: hidden; }
.wrl .page-mock::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 52px; background: linear-gradient(90deg, rgba(79,70,229,.10), transparent); }
.wrl .pm-eyebrow { font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--wrl-accent); margin-bottom: 8px; position: relative; }
.wrl .pm-h { font-size: 20px; font-weight: 700; margin-bottom: 12px; position: relative; }
.wrl .pm-line { height: 7px; border-radius: 4px; background: var(--GrayScale-100); margin-bottom: 8px; }
.wrl .pm-line.w80 { width: 80%; } .wrl .pm-line.w95 { width: 95%; } .wrl .pm-line.w60 { width: 60%; }
.wrl .pm-quote { margin-top: 18px; border-left: 3px solid var(--wrl-accent); padding: 10px 14px; background: var(--Indigo-50); font-style: italic; font-size: 12.5px; color: var(--GrayScale-700); }

/* ---------- recurring ---------- */
.wrl .recur-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.wrl .rc { background: var(--wrl-card); border: 1px solid var(--wrl-line); border-radius: 12px; padding: 32px; }
.wrl .rc .rc-badge { display: inline-block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--wrl-accent); padding: 5px 12px; border-radius: 20px; font-weight: 700; margin-bottom: 18px; }
.wrl .rc h3 { font-size: 25px; font-weight: 700; margin-bottom: 10px; }
.wrl .rc p { font-size: 15px; color: var(--wrl-muted); margin-bottom: 18px; }
.wrl .rc code { display: block; background: var(--wrl-surface); border: 1px solid var(--wrl-line); border-radius: 6px; padding: 13px 16px; font-size: 12.5px; color: var(--wrl-accent); font-family: ui-monospace, Menlo, monospace; }

/* ---------- api ---------- */
.wrl .api-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.wrl .code-card { background: var(--wrl-surface); border: 1px solid var(--wrl-line); border-radius: 12px; padding: 24px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; line-height: 1.75; color: var(--GrayScale-800); box-shadow: 0 14px 34px rgba(17,18,19,.06); overflow-x: auto; }
.wrl .code-card .c { color: var(--GrayScale-400); } .wrl .code-card .k { color: var(--wrl-accent); } .wrl .code-card .s { color: var(--Success-600-F); }
.wrl .flow { display: flex; flex-direction: column; gap: 0; margin-top: 26px; }
.wrl .step { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--wrl-line); }
.wrl .step .n { font-size: 22px; font-weight: 700; color: var(--wrl-accent); min-width: 30px; }
.wrl .step h4 { font-size: 15px; margin-bottom: 3px; }
.wrl .step p { font-size: 13.5px; color: var(--wrl-muted); }

/* ---------- final CTA ---------- */
.wrl .cta-final { text-align: center; padding: 100px 0 120px; }
.wrl .cta-final h2 { font-size: clamp(32px, 5vw, 52px); }
.wrl .cta-final .lede { margin: 0 auto 40px; }
.wrl .constellation { width: 130px; margin: 0 auto 34px; opacity: .9; }

/* ---------- reveal on scroll (fail-open) ---------- */
.wrl.anim .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.wrl.anim .rv.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .wrl .hero { grid-template-columns: 1fr; padding-top: 40px; }
    .wrl .cover-stage { order: -1; margin-bottom: 30px; }
                            .wrl .split, .wrl .api-grid, .wrl .recur-cards { grid-template-columns: 1fr; }
    .wrl .ladder { grid-template-columns: repeat(2, 1fr); }
    .wrl .studio-mock { grid-template-columns: 1fr; }
    .wrl .stats { flex-wrap: wrap; gap: 24px; }
}

