/* welcome.css - the landing page for signed-out visitors (welcome.html). Tokens only, so every theme works.
   The screenshots are the dark Pit Wall theme on purpose: they sit in a dark frame on any theme. */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 8px 14px;
    background: var(--panel); color: var(--text); border: 1px solid var(--accent); border-radius: 8px; }
.skip-link:focus { top: 8px; }
#main:focus { outline: none; }

.wl-page main { display: block; overflow-x: clip; }
.wl-page main h1, .wl-page main h2 { border: 0; padding: 0; }

/* ---- Hero ---- */
.wl-hero {
    position: relative; text-align: center;
    margin: 12px 0 0; padding: clamp(40px, 7vw, 84px) clamp(4px, 3vw, 40px) 0;
    border-radius: var(--v2-r-lg);
    background:
        radial-gradient(60% 50% at 50% 0%, rgba(var(--accent-rgb), .16), transparent 70%),
        linear-gradient(var(--v2-inset), transparent 75%);
}
.wl-check {
    position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: var(--v2-r-lg) var(--v2-r-lg) 0 0;
    background: repeating-conic-gradient(var(--text) 0 25%, transparent 0 50%) 0 0 / 8px 8px;
    opacity: .14;
}
.wl-badge {
    display: inline-block; margin: 0 0 18px; padding: 5px 12px;
    border: 1px solid rgba(var(--accent-rgb), .45); border-radius: var(--v2-r-pill);
    background: var(--v2-wash); color: var(--accent);
    font: 700 12px/1.2 var(--v2-font-display); letter-spacing: var(--v2-track-caps); text-transform: uppercase;
}
.wl-title {
    margin: 0 auto; max-width: 18ch;
    font: 800 clamp(36px, 6.2vw, 68px)/1.02 var(--v2-font-display); letter-spacing: -.015em;
    color: var(--text-hi, var(--text));
}
.wl-title span { color: var(--accent); }
.wl-lede {
    margin: 20px auto 0; max-width: 62ch;
    font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--text-2);
}
.wl-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 0; }
.wl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--v2-h-lg); padding: 0 22px; box-sizing: border-box;
    border: 1px solid var(--v2-line-2); border-radius: var(--v2-r-md);
    font: 700 16px/1 var(--v2-font-display); letter-spacing: .01em; text-decoration: none;
    transition: background-color var(--v2-fast) ease, border-color var(--v2-fast) ease, transform var(--v2-fast) ease;
}
.wl-btn:active { transform: translateY(1px); }
.wl-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.wl-btn-primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.wl-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.wl-btn-secondary { background: var(--v2-panel); color: var(--text); }
.wl-btn-secondary:hover { border-color: var(--accent); color: var(--text); background: var(--v2-raise); }
.wl-btn-sm { min-height: var(--v2-h-md); padding: 0 16px; font-size: 14px; }
.wl-btn-xl { min-height: 56px; padding: 0 28px; font-size: 17px; }
.wl-hero .wl-btn-primary { box-shadow: 0 8px 28px rgba(var(--accent-rgb), .28); }
.wl-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 18px 0 0; padding: 0; color: var(--text-2); font-size: 14px; }
.wl-trust li { display: inline-flex; align-items: center; gap: 7px; }
.wl-trust li::before { content: ""; width: 12px; height: 7px; margin-top: -4px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.wl-discord { display: inline-flex; align-items: center; gap: 6px; }
.wl-discord svg { flex: none; }
.wl-anon { margin: 16px 0 0; color: var(--text-3); font-size: 14px; }
.wl-anon a { color: var(--accent); font-weight: 600; }

/* ---- Screenshots ---- */
.wl-shot {
    overflow: hidden; border-radius: var(--v2-r-lg);
    border: 1px solid var(--v2-line-2); background: #0a0c0a;
    box-shadow: var(--v2-shadow-2);
}
.wl-shot img { display: block; width: 100%; height: auto; }
figure { margin: 0; }
figcaption { margin: 10px 2px 0; font-size: 13px; color: var(--text-3); }
.wl-hero-shot { margin: clamp(36px, 5vw, 56px) auto 0; max-width: 1180px; }
.wl-hero-shot { position: relative; }
/* The hero's live pit call (js/welcome-live.js). Fixed dark colors: it sits on the dark screenshot in every theme. */
.wl-live {
    position: absolute; z-index: 2; right: clamp(-28px, -2vw, -8px); bottom: 18%;
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; width: min(300px, 70%); box-sizing: border-box;
    padding: 12px 16px 14px; text-align: left; border-radius: 14px; background: rgba(10, 12, 10, .94); color: #e8f2ea;
    border: 1px solid #3ddc84; box-shadow: 0 16px 40px rgba(0, 0, 0, .45), 0 0 0 4px rgba(61, 220, 132, .12);
    --tone: #3ddc84;
}
.wl-live[data-tone="warn"] { --tone: #f5b83d; border-color: #f5b83d; }
.wl-live[data-tone="crit"] { --tone: #ff5c5c; border-color: #ff5c5c; }
.wl-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 0 var(--tone); animation: wlPing 1.4s ease-out infinite; }
.wl-live-lap { font: 700 11px/1.2 var(--v2-font-display); letter-spacing: .1em; text-transform: uppercase; color: #9fb3a5; }
.wl-live-call { grid-column: 1 / -1; font: 800 26px/1.1 var(--v2-font-display); color: var(--tone); letter-spacing: .01em; }
.wl-live-sub { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.35; color: #cfdcd2; }
.wl-live.is-tick :is(.wl-live-call, .wl-live-sub) { animation: wlTick .35s ease-out; }
@keyframes wlTick { from { opacity: 0; transform: translateY(6px); } }
@keyframes wlPing { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.wl-hero-shot .wl-shot { box-shadow: var(--v2-shadow-pop); }

/* ---- Roles: tabs (js/welcome-roles.js); without script the panels stack ---- */
.wl-roles { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 0; text-align: center; }
.wl-role-tabs { display: none; }
.wl-roles.is-js .wl-role-tabs {
    display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 8px 0 24px; padding: 4px;
    border: 1px solid var(--v2-line-2); border-radius: var(--v2-r-pill); background: var(--v2-panel);
}
.wl-role-tabs button {
    min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--v2-r-pill); background: transparent; cursor: pointer;
    color: var(--text-2); font: 700 15px var(--v2-font-display);
}
.wl-role-tabs button[aria-selected="true"] { background: var(--accent); color: var(--ink); }
.wl-role-tabs button:focus-visible { outline: none; box-shadow: var(--ring); }
.wl-role-panel {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: center;
    text-align: left; margin: 0 0 24px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--v2-line); border-radius: var(--v2-r-lg); background: var(--v2-panel);
}
.wl-role-panel[hidden] { display: none; }
.wl-role-panel:focus-visible { outline: none; box-shadow: var(--ring); }
.wl-page main .wl-role-panel h3 { margin: 0 0 14px; padding: 0; border: 0; font: 800 clamp(22px, 2.4vw, 28px)/1.15 var(--v2-font-display); color: var(--text-hi, var(--text)); }

/* ---- Feature rows ---- */
.wl-row {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px);
    align-items: center; max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0 0;
}
.wl-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.wl-flip .wl-copy { order: 2; }
.wl-kicker {
    margin: 0 0 8px; color: var(--accent);
    font: 700 12px/1.2 var(--v2-font-display); letter-spacing: var(--v2-track-caps); text-transform: uppercase;
}
.wl-page main h2 {
    margin: 0 0 14px; font: 800 clamp(26px, 3vw, 34px)/1.12 var(--v2-font-display); letter-spacing: -.01em;
    color: var(--text-hi, var(--text)); text-transform: none;
}
.wl-copy > p { margin: 0 0 16px; color: var(--text-2); line-height: 1.6; max-width: 56ch; }
.wl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wl-list li {
    position: relative; padding-left: 22px; color: var(--text-2); line-height: 1.5;
}
.wl-list li::before {
    content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px;
    border-radius: 2px; background: var(--accent); transform: rotate(45deg);
}
.wl-list b { color: var(--text); }
.wl-more { margin: 22px 0 0 !important; }

/* ---- Trusted by (js/welcome-partners.js) ---- */
.wl-partners { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 0; text-align: center; }
.wl-partner-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.wl-partner {
    display: flex; align-items: center; justify-content: center; box-sizing: border-box; max-width: 100%;
    height: 88px; padding: 16px 24px; border-radius: var(--v2-r-md); background: #fff; border: 1px solid var(--v2-line);
}
.wl-partner:has(a:hover) { border-color: var(--accent); }
.wl-partner:has(a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.wl-partner a { display: flex; }
.wl-partner img { display: block; height: 56px; width: auto; max-width: 100%; }

/* ---- Always improving (js/welcome-news.js) ---- */
.wl-news {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: stretch;
    max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 0;
}
.wl-news-main { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--v2-line); border-radius: var(--v2-r-lg); background: var(--v2-panel); }
.wl-news-stat { margin: 0 0 16px; color: var(--text-2); line-height: 1.6; }
.wl-news-stat b { color: var(--accent); font-variant-numeric: tabular-nums; }
.wl-news-list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.wl-news-list:empty { display: none; }
.wl-news-list a {
    display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: var(--v2-r-md); background: var(--bg);
    border: 1px solid var(--v2-line); color: var(--text); text-decoration: none; line-height: 1.35;
}
.wl-news-list a:hover { border-color: var(--accent); }
.wl-news-v { flex: none; min-width: 52px; color: var(--accent); font: 700 13px var(--v2-font-display); font-variant-numeric: tabular-nums; }
.wl-news-more { margin: 14px 0 0; }
.wl-news-more a { color: var(--accent); font-weight: 600; }
.wl-news-discord {
    display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 3vw, 32px); border-radius: var(--v2-r-lg);
    background: #5865f2; color: #fff; text-decoration: none; box-shadow: var(--v2-shadow-2);
    transition: transform var(--v2-fast) ease;
}
.wl-news-discord:hover { transform: translateY(-2px); color: #fff; }
.wl-news-discord:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wl-news-discord b { font: 800 22px/1.2 var(--v2-font-display); }
.wl-news-discord span { line-height: 1.5; color: #eef0ff; }
.wl-news-discord .wl-news-go { margin-top: auto; font-weight: 700; color: #fff; }

/* ---- LMU races ---- */
.wl-lmu { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 0; text-align: center; }
.wl-cards {
    list-style: none; margin: 24px 0 0; padding: 0; text-align: left;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.wl-cards a {
    display: grid; gap: 8px; height: 100%; box-sizing: border-box; padding: 20px;
    border: 1px solid var(--v2-line); border-radius: var(--v2-r-lg); background: var(--v2-panel);
    box-shadow: var(--v2-shadow-1); color: var(--text-2); text-decoration: none;
    transition: border-color var(--v2-fast) ease, transform var(--v2-fast) ease;
}
.wl-cards a:hover { border-color: var(--accent); transform: translateY(-2px); }
.wl-cards svg { color: var(--accent); }
.wl-cards b { font: 700 18px/1.2 var(--v2-font-display); color: var(--text); }
.wl-cards b::after { content: " \203A"; color: var(--accent); }
.wl-cards span { line-height: 1.5; font-size: 14.5px; }

/* ---- FAQ ---- */
.wl-faq { max-width: 860px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 0; }
.wl-faq > .wl-kicker, .wl-faq > h2 { text-align: center; }
.wl-faq-list { display: grid; gap: 10px; margin: 24px 0 0; }
.wl-faq details { border: 1px solid var(--v2-line); border-radius: var(--v2-r-lg); background: var(--v2-panel); }
.wl-faq details[open] { border-color: rgba(var(--accent-rgb), .45); }
.wl-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none;
    font: 700 17px/1.3 var(--v2-font-display); color: var(--text-hi, var(--text));
}
.wl-faq summary::-webkit-details-marker { display: none; }
.wl-faq summary::after {
    content: ""; flex: none; width: 10px; height: 10px; margin-top: -4px; border: solid var(--accent); border-width: 0 2px 2px 0;
    transform: rotate(45deg); transition: transform var(--v2-fast) ease;
}
.wl-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.wl-faq summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--v2-r-lg); }
.wl-faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-2); line-height: 1.6; }
.wl-faq details a { color: var(--accent); font-weight: 600; }

/* ---- Final call ---- */
.wl-final {
    max-width: 1180px; margin: clamp(56px, 8vw, 96px) auto clamp(32px, 5vw, 56px); box-sizing: border-box;
    padding: clamp(32px, 5vw, 56px) 20px; text-align: center;
    border: 1px solid var(--v2-line); border-radius: var(--v2-r-lg);
    background: radial-gradient(70% 90% at 50% 100%, rgba(var(--accent-rgb), .14), transparent 70%), var(--v2-panel);
}
.wl-final > p:not(.wl-anon) { margin: 0 auto; max-width: 52ch; color: var(--text-2); line-height: 1.6; }
.wl-final .wl-ctas { margin-top: 24px; }
.wl-final { position: relative; overflow: hidden; }
.wl-final .wl-check { border-radius: 0; }
.wl-starts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; text-align: left; }
.wl-start {
    position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 18px 44px 18px 18px;
    border: 1px solid var(--v2-line-2); border-radius: var(--v2-r-lg); background: var(--bg); color: var(--text-2); text-decoration: none;
    transition: border-color var(--v2-fast) ease, transform var(--v2-fast) ease;
}
.wl-start b { font: 800 19px/1.2 var(--v2-font-display); color: var(--text-hi, var(--text)); }
.wl-start span { font-size: 14.5px; line-height: 1.5; }
.wl-start i { position: absolute; right: 16px; top: 18px; font-style: normal; font-size: 20px; color: var(--accent); transition: transform var(--v2-fast) ease; }
.wl-start:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text-2); }
.wl-start:hover i { transform: translateX(3px); }
.wl-start:focus-visible { outline: none; box-shadow: var(--ring); }
.wl-start.is-main { background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: 0 10px 30px rgba(var(--accent-rgb), .25); }
.wl-start.is-main :is(b, span, i) { color: var(--ink); }
.wl-start.is-main span { opacity: .85; }

/* ---- How it works: three numbered steps joined by a track line ---- */
.wl-how { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0 0; text-align: center; }
.wl-steps {
    position: relative; list-style: none; margin: 28px 0 0; padding: 0; text-align: left;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none;
}
.wl-steps::before {
    content: ""; position: absolute; left: 16%; right: 16%; top: 27px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 24px); opacity: .55;
}
.wl-steps li {
    position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0 20px 22px;
    border: 1px solid var(--v2-line); border-radius: var(--v2-r-lg); background: var(--v2-panel); box-shadow: var(--v2-shadow-1);
    margin-top: 28px;
}
.wl-step-n {
    align-self: center; display: grid; place-items: center; width: 52px; height: 52px; margin: -27px 0 8px;
    border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 0 0 6px var(--bg);
    font: 800 24px/1 var(--v2-font-display);
}
.wl-step-when { color: var(--accent); font: 700 11.5px/1.2 var(--v2-font-display); letter-spacing: var(--v2-track-caps); text-transform: uppercase; }
.wl-page main .wl-steps h3 { margin: 2px 0 0; padding: 0; border: 0; font: 800 21px/1.2 var(--v2-font-display); color: var(--text-hi, var(--text)); }
.wl-steps p { margin: 0; color: var(--text-2); line-height: 1.55; flex: 1; }
.wl-steps a { margin-top: 6px; color: var(--accent); font-weight: 600; }
.wl-steps a::after { content: " \2193"; }

/* ---- Try it: the race preview (js/welcome-preview.js) ---- */
.wl-try {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center;
    max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0 0;
}
.wl-try-copy > p:not(.wl-kicker) { margin: 0; color: var(--text-2); line-height: 1.6; max-width: 48ch; }
.wl-try-box {
    padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--v2-line-2); border-radius: var(--v2-r-lg);
    background: radial-gradient(80% 60% at 100% 0%, rgba(var(--accent-rgb), .10), transparent 70%), var(--v2-panel);
    box-shadow: var(--v2-shadow-2);
}
.wl-try-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.wl-try-len { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.wl-try-len legend, .wl-try-f > span {
    padding: 0; margin: 0 0 6px; color: var(--text-3);
    font: 700 11px/1.2 var(--v2-font-display); letter-spacing: var(--v2-track-caps); text-transform: uppercase;
}
.wl-try-len legend { float: left; width: 100%; }
.wl-try-len label { position: relative; flex: 1 1 0; min-width: 52px; }
.wl-try-len input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wl-try-len span {
    display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: var(--v2-r-md);
    border: 1px solid var(--v2-line-2); background: var(--bg); color: var(--text); font: 700 15px var(--v2-font-display);
}
.wl-try-len input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.wl-try-len input:focus-visible + span { box-shadow: var(--ring); }
.wl-try-f { display: flex; flex-direction: column; min-width: 0; }
.wl-try-f input, .wl-try-f select {
    width: 100%; box-sizing: border-box; min-height: 42px; padding: 0 10px; border-radius: var(--v2-r-md);
    border: 1px solid var(--v2-line-2); background: var(--bg); color: var(--text-hi, var(--text)); font: 600 16px var(--v2-font-display);
}
.wl-try-f input[aria-invalid="true"] { border-color: var(--crit); }
.wl-try-out { margin: 20px 0 0; min-height: 150px; }
.wl-try-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.wl-try-stats div { padding: 10px 12px; border-radius: var(--v2-r-md); background: var(--bg); border: 1px solid var(--v2-line); }
.wl-try-stats dt { color: var(--text-3); font: 700 11px/1.2 var(--v2-font-display); letter-spacing: var(--v2-track-caps); text-transform: uppercase; }
.wl-try-stats dd { margin: 4px 0 0; font: 800 clamp(24px, 3vw, 32px)/1 var(--v2-font-display); color: var(--text-hi, var(--text)); font-variant-numeric: tabular-nums; }
.wl-try-bar { list-style: none; display: flex; gap: 3px; margin: 14px 0 0; padding: 0; height: 34px; }
.wl-try-bar li {
    flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden;
    border-radius: 6px; color: #0a0c0a; font: 700 12px var(--v2-font-display); white-space: nowrap;
    transform-origin: left; animation: wlGrow .45s ease-out both;
}
.wl-try-bar .d0 { background: #3ddc84; } .wl-try-bar .d1 { background: #f5b83d; } .wl-try-bar .d2 { background: #5aa9ff; } .wl-try-bar .d3 { background: #c792ff; }
@keyframes wlGrow { from { transform: scaleX(.2); opacity: 0; } }
.wl-try-sum { margin: 12px 0 0; color: var(--text-2); line-height: 1.5; }
.wl-try-msg { margin: 0; color: var(--text-2); }
.wl-try-note { margin: 6px 0 0; font-size: 13px; color: var(--text-3); }
.wl-try-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 18px 0 0; }
.wl-try-link { color: var(--accent); font-weight: 600; }

/* ---- Sticky call to action (js/welcome-bar.js): between the hero and the final call ---- */
.wl-bar {
    position: fixed; left: 50%; bottom: 16px; z-index: 900; width: min(760px, calc(100% - 24px)); box-sizing: border-box;
    display: flex; align-items: center; gap: 12px 20px; padding: 10px 10px 10px 20px;
    border: 1px solid rgba(var(--accent-rgb), .5); border-radius: var(--v2-r-lg);
    background: var(--v2-panel); box-shadow: var(--v2-shadow-pop);
    transform: translate(-50%, 140%); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.wl-bar.is-on { transform: translate(-50%, 0); opacity: 1; }
.wl-bar-text { flex: 1; margin: 0; color: var(--text-2); line-height: 1.35; font-size: 14.5px; }
.wl-bar-text b { color: var(--text-hi, var(--text)); }
.wl-bar-ctas { display: flex; gap: 8px; flex: none; }
body.wl-bar-on #siteFooter { padding-bottom: 96px; }

/* ---- Screenshot zoom (js/welcome-zoom.js) ---- */
.wl-shot[role="button"] { cursor: zoom-in; position: relative; transition: transform var(--v2-fast) ease, box-shadow var(--v2-fast) ease; }
.wl-shot[role="button"]:hover { transform: translateY(-2px); }
.wl-shot[role="button"]:focus-visible { outline: none; box-shadow: var(--ring), var(--v2-shadow-2); }
.wl-shot[role="button"]::after {
    content: "Click to zoom"; position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: var(--v2-r-pill);
    background: rgba(10, 12, 10, .8); color: #e8f2ea; font: 700 12px var(--v2-font-display); opacity: 0; transition: opacity var(--v2-fast) ease;
}
.wl-shot[role="button"]:is(:hover, :focus-visible)::after { opacity: 1; }
.wl-zoom {
    width: min(1500px, 96vw); max-width: none; max-height: 94vh; margin: auto; padding: 0; border: 1px solid #3a4a3e;
    border-radius: var(--v2-r-lg); background: #0a0c0a; color: #e8f2ea; overflow: auto;
}
.wl-zoom::backdrop { background: rgba(0, 0, 0, .78); }
.wl-zoom img { display: block; width: 100%; height: auto; }
.wl-zoom-cap { margin: 0; padding: 10px 16px 14px; font-size: 14px; color: #cfdcd2; }
.wl-zoom-cap:empty { display: none; }
.wl-zoom-x {
    position: sticky; top: 8px; float: right; z-index: 1; margin: 8px 8px -48px 0; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid #3a4a3e; background: rgba(10, 12, 10, .85); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.wl-zoom-x:focus-visible { outline: 2px solid #3ddc84; outline-offset: 2px; }
/* Phones: the screenshot at a readable size, panned sideways inside the dialog. */
@media (max-width: 700px) { .wl-zoom img { width: 1100px; max-width: none; } .wl-zoom-cap { width: calc(96vw - 34px); position: sticky; left: 0; } }

@media (max-width: 880px) {
    .wl-row, .wl-flip, .wl-try { grid-template-columns: minmax(0, 1fr); }
    .wl-flip .wl-copy { order: 0; }
    .wl-cards { grid-template-columns: minmax(0, 1fr); }
    .wl-news, .wl-role-panel, .wl-starts { grid-template-columns: minmax(0, 1fr); }
    .wl-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .wl-steps::before { left: 50%; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto;
        background: repeating-linear-gradient(180deg, var(--accent) 0 14px, transparent 14px 24px); }
}
@media (max-width: 520px) {
    .wl-live { position: relative; right: auto; top: auto; width: auto; margin: 0 0 10px; }
    .wl-bar { bottom: 8px; padding: 8px; }
    .wl-bar-text { display: none; }
    .wl-bar-ctas { flex: 1; }
    .wl-bar-ctas .wl-btn { flex: 1; width: auto; }
    .wl-try-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wl-try-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wl-hero { padding-top: 32px; }
    .wl-ctas { flex-direction: column; align-items: stretch; }
    .wl-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .wl-btn, .wl-cards a, .wl-news-discord, .wl-shot[role="button"], .wl-start, .wl-start i { transition: none; }
    .wl-shot[role="button"]:hover { transform: none; }
    .wl-try-bar li { animation: none; }
    .wl-bar { transition: none; }
    .wl-live-dot, .wl-live.is-tick :is(.wl-live-call, .wl-live-sub) { animation: none; }
    .wl-cards a:hover { transform: none; }
}
