/*
 * Workspace — Plane-style clarity in a soft dark theme.
 * Prefix: .ws-  ·  Body class: .ws
 */

@property --ws-stack {
    syntax: "<color>";
    inherits: true;
    initial-value: #ff2d20;
}

.ws {
    --bg: #0d0e12;
    --s1: #15171d;
    --s2: #1b1e26;
    --s3: #222632;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #f1f2f6;
    --body: #a8adbb;
    --muted: #8b90a0;
    --accent: #6d8bff;
    --accent-2: #9fb2ff;
    --mint: #34d399;
    --warn: #fbbf6a;
    --bad: #f87171;
    --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
    --head: "Onest", "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    background: var(--bg);
    color: var(--body);
    font: 400 17px/1.65 var(--sans);
    overflow-x: clip;
}

.ws ::selection { background: rgba(109, 139, 255, 0.35); color: #fff; }
.ws :focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.ws-wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

.ws h1, .ws h2, .ws h3 {
    font-family: var(--head);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.ws h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -0.035em; }
.ws h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }
.ws p { text-wrap: pretty; }
.ws code { font-family: var(--mono); font-size: 0.88em; }
.ws a { text-decoration-color: rgba(159, 178, 255, 0.5); text-underline-offset: 3px; }

/* Buttons ------------------------------------------------------------- */

.ws-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    background: linear-gradient(180deg, #8098ff, #5f7df7);
    color: #0b0d17;
    font: 600 16px/1 var(--sans);
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 8px 24px -8px rgba(109, 139, 255, 0.7), 0 1px 0 rgba(255, 255, 255, 0.35) inset;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), filter 0.35s;
    white-space: nowrap;
}
.ws-btn:hover { filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 14px 34px -8px rgba(109, 139, 255, 0.85), 0 1px 0 rgba(255, 255, 255, 0.35) inset; }
.ws-btn:active { transform: translateY(1px) scale(0.99); }
.ws-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    box-shadow: 0 0 0 1px var(--line-2) inset;
}
.ws-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24) inset; }
.ws-btn--sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* Header -------------------------------------------------------------- */

.ws-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
}
.ws-header.is-scrolled {
    background: rgba(13, 14, 18, 0.72);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border-bottom-color: var(--line);
}
.ws-header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.ws-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 17px/1 var(--head); letter-spacing: -0.02em; }
.ws-brand img { border-radius: 7px; }
.ws-nav { display: flex; gap: 4px; margin-right: auto; }
.ws-nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s, background 0.25s;
}
.ws-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.ws-header .ws-btn { margin-left: auto; }
@media (min-width: 1025px) { .ws-nav + .ws-btn { margin-left: 0; } }

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

.ws-hero { position: relative; padding: 72px 0 120px; overflow: clip; isolation: isolate; }
.ws-hero-grid {
    position: absolute;
    inset: -120px -10% -200px;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
}
.ws-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: center;
}
.ws-hero-copy { position: relative; z-index: 2; padding-top: 12px; }

.ws-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: rgba(109, 139, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(109, 139, 255, 0.28) inset;
    color: #c9d3ff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: background 0.3s, box-shadow 0.3s;
}
.ws-pill:hover { background: rgba(109, 139, 255, 0.14); box-shadow: 0 0 0 1px rgba(109, 139, 255, 0.45) inset; }
.ws-pill-new { padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #0b0d17; font-weight: 600; font-size: 13px; }

.ws h1 {
    font-size: clamp(42px, 5.6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
}
.ws-grad {
    background: linear-gradient(100deg, #e9ecff 10%, #9fb2ff 55%, #6d8bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ws-lede { font-size: clamp(17px, 1.4vw, 19px); max-width: 32em; color: var(--body); margin-bottom: 32px; }
.ws-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ws-req { margin-top: 16px; font-size: 14px; color: var(--muted); }

.ws-stats {
    display: flex;
    gap: 0;
    margin: 44px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.ws-stats div { flex: 1; padding-right: 16px; }
.ws-stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.ws-stats dt { font-size: 13px; color: var(--muted); order: 2; }
.ws-stats dd { margin: 0 0 2px; font: 500 28px/1.2 var(--head); letter-spacing: -0.03em; color: var(--text); }
.ws-stats div { display: flex; flex-direction: column-reverse; }

.ws-hero-visual { position: relative; min-width: 0; }
.ws-hero-frame {
    position: relative;
    width: 1000px;
    padding: 10px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow: 0 0 0 1px var(--line) inset;
}
.ws-hero-frame .aw { min-height: 560px; }
.ws-hero-glow {
    position: absolute;
    left: -8%;
    right: -30%;
    top: 20%;
    bottom: -18%;
    z-index: -1;
    background:
        radial-gradient(40% 50% at 40% 60%, rgba(109, 139, 255, 0.45), transparent 70%),
        radial-gradient(30% 40% at 25% 85%, rgba(52, 211, 153, 0.18), transparent 70%);
    filter: blur(40px);
    animation: ws-glow 9s ease-in-out infinite alternate;
}
@keyframes ws-glow { to { opacity: 0.7; transform: translate3d(3%, -3%, 0) scale(1.05); } }

/* Section scaffolding --------------------------------------------------- */

.ws-section { position: relative; padding: 120px 0; }
.ws-section + .ws-section { border-top: 1px solid var(--line); }
.ws-head { max-width: 680px; margin-bottom: 56px; }
.ws-head--center { margin-inline: auto; text-align: center; }
.ws-head h2 { margin-bottom: 18px; }
.ws-head > p:last-child { font-size: 18px; }
.ws-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--accent-2);
    font-size: 15px;
    font-weight: 500;
}
.ws-label::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; }

/* Stack switcher -------------------------------------------------------- */

.ws-stacks { overflow: clip; isolation: isolate; }
.ws-stacks[data-active="laravel"] { --ws-stack: #ff2d20; }
.ws-stacks[data-active="wordpress"] { --ws-stack: #3b82f6; }
.ws-stacks[data-active="flutter"] { --ws-stack: #38bdf8; }
.ws-stacks[data-active="swift"] { --ws-stack: #f97316; }
.ws-stacks { transition: --ws-stack 0.8s var(--ease); }
.ws-stacks-glow {
    position: absolute;
    z-index: -1;
    right: -10%;
    top: 22%;
    width: 70%;
    height: 70%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--ws-stack) 16%, transparent), transparent);
    filter: blur(30px);
    pointer-events: none;
}

.ws-tablist {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px;
    margin-bottom: 40px;
    border-radius: 14px;
    background: var(--s1);
    box-shadow: 0 0 0 1px var(--line) inset;
}
.ws-tablist [role="tab"] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 16px 0 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--body);
    font: 500 15px/1 var(--sans);
    transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.ws-tablist [role="tab"] small {
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    transition: background 0.35s, color 0.35s;
}
.ws-tablist [role="tab"]:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.ws-tablist [role="tab"][aria-selected="true"] {
    color: var(--text);
    background: var(--s3);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent) inset, 0 6px 18px -8px color-mix(in srgb, var(--c) 60%, transparent);
}
.ws-tablist [role="tab"][aria-selected="true"] small { background: color-mix(in srgb, var(--c) 22%, transparent); color: #fff; }

.ws-panels { display: grid; }
.ws-panel {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: center;
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0s;
}
.ws-panel[hidden] {
    display: grid;
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.ws-panel-count { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.ws-panel-count strong {
    font: 500 64px/1 var(--head);
    letter-spacing: -0.05em;
    color: var(--text);
    background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--c) 60%, #fff));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ws-panel-count span { color: var(--muted); font-size: 15px; }
.ws-panel h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; margin-bottom: 14px; }
.ws-panel-copy > p { margin-bottom: 22px; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.ws-chips li {
    padding: 6px 11px;
    border-radius: 8px;
    background: var(--s1);
    box-shadow: 0 0 0 1px var(--line) inset;
    color: #d4d7e1;
    font: 500 13px/1.3 var(--mono);
    transition: background 0.3s, box-shadow 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.ws-chips li:hover { background: var(--s2); color: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent) inset; transform: translateY(-2px); }
.ws-panel:not([hidden]) .ws-chips li { animation: ws-chip 0.5s var(--ease) both; animation-delay: calc(var(--i) * 28ms + 80ms); }
@keyframes ws-chip { from { opacity: 0; transform: translateY(6px); } }
.ws-detect { font-size: 14px; color: var(--muted); }
.ws-detect code { color: #d4d7e1; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); font-size: 13px; }
.ws-panel-visual { min-width: 0; }
.ws-panel-visual .aw { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 40px 90px -40px color-mix(in srgb, var(--c) 32%, transparent), 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.ws-replay .aw-line { transition: none !important; }

/* Bento ------------------------------------------------------------------ */

.ws-bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}
.ws-card {
    --r: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: var(--r);
    background: linear-gradient(180deg, var(--s2), var(--s1));
    box-shadow: 0 0 0 1px var(--line) inset;
    isolation: isolate;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.9s var(--ease);
}
/* Spotlight border, following the pointer */
.ws-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(159, 178, 255, 0.85), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
/* Soft inner glow */
.ws-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(109, 139, 255, 0.09), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.ws-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2) inset, 0 24px 50px -24px rgba(0, 0, 0, 0.8); }
.ws-card:hover::before, .ws-card:hover::after { opacity: 1; }
.js .ws-card[data-reveal].is-in:hover { transform: translateY(-4px); }
.ws-card h3 { margin-bottom: 8px; }
.ws-card p { font-size: 15px; line-height: 1.6; }

.ws-card--palette { grid-column: span 3; grid-row: span 2; }
.ws-card--confirm { grid-column: span 3; }
.ws-card--queue { grid-column: span 3; }
.ws-card--logs, .ws-card--health, .ws-card--menubar { grid-column: span 2; }
.ws-card--tree { grid-column: span 4; }
.ws-card--colour { grid-column: span 2; }
.ws-card--tests, .ws-card--private { grid-column: span 3; }

.ws-card-art {
    position: relative;
    margin-bottom: 24px;
    border-radius: 12px;
    background: rgba(8, 9, 12, 0.55);
    box-shadow: 0 0 0 1px var(--line) inset;
    padding: 16px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    transition: box-shadow 0.4s var(--ease);
}
.ws-card:hover .ws-card-art { box-shadow: 0 0 0 1px var(--line-2) inset; }
.ws-card-art b { font-weight: 600; }

.ws-caret { display: inline-block; width: 2px; height: 15px; margin-left: 1px; vertical-align: -3px; background: var(--text); animation: ws-blink 1.1s steps(1) infinite; }
@keyframes ws-blink { 50% { opacity: 0; } }

/* ⌘K palette art */
.ws-art-palette { flex: 1; min-height: 260px; display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.ws-mini-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--s2);
    box-shadow: 0 0 0 1px rgba(109, 139, 255, 0.45) inset, 0 0 0 4px rgba(109, 139, 255, 0.1);
    font-size: 14px;
}
.ws-k { font: 600 12px/1 var(--sans); padding: 4px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); color: var(--body); }
.ws-art-palette ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ws-art-palette li { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 8px; transition: background 0.3s; }
.ws-art-palette li b { font: 600 13px var(--mono); }
.ws-art-palette li span { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-art-palette li em { font-style: normal; font-size: 12px; padding: 2px 7px; border-radius: 5px; background: rgba(52, 211, 153, 0.12); color: var(--mint); }
.ws-art-palette li.is-hot { background: rgba(109, 139, 255, 0.16); }
.ws-card--palette:hover .ws-art-palette li:not(.is-hot):hover { background: rgba(255, 255, 255, 0.05); }

.ws-form { margin-top: auto; display: grid; gap: 8px; padding: 14px; border-radius: 10px; background: var(--s1); box-shadow: 0 0 0 1px var(--line) inset; }
.ws-form-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 2px; }
.ws-form-head b { font: 600 13px var(--mono); }
.ws-form-head span { color: var(--muted); font-size: 12px; }
.ws-field { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.ws-field span { font: 13px var(--mono); color: var(--body); }
.ws-field i { font-style: normal; padding: 6px 10px; border-radius: 7px; background: rgba(0, 0, 0, 0.3); box-shadow: 0 0 0 1px var(--line-2) inset; font-family: var(--mono); }
.ws-field i.is-empty { color: var(--muted); }
.ws-field small { font-size: 12px; color: var(--muted); }
.ws-form code { margin-top: 4px; padding: 8px 10px; border-radius: 7px; background: rgba(109, 139, 255, 0.1); color: #c9d3ff; font-size: 13px; box-shadow: 0 0 0 1px rgba(109, 139, 255, 0.25) inset; }

/* Confirm art */
.ws-art-confirm { display: grid; gap: 10px; }
.ws-art-confirm code { padding: 8px 10px; border-radius: 7px; background: rgba(0, 0, 0, 0.35); color: #fca5a5; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-art-label { font-size: 13px; color: var(--muted); }
.ws-art-label b { color: var(--text); font-family: var(--mono); }
.ws-art-input { padding: 8px 10px; border-radius: 7px; background: rgba(0, 0, 0, 0.3); box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.8) inset; font-family: var(--mono); }
.ws-art-run { justify-self: end; padding: 5px 12px; border-radius: 7px; background: #dc2626; color: #fff; font-size: 13px; font-weight: 600; opacity: 0.45; }

/* Queue art */
.ws-art-queue { display: grid; gap: 8px; }
.ws-qrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; background: var(--s2); box-shadow: 0 0 0 1px var(--line) inset; }
.ws-qrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: ws-breathe 2.4s ease-in-out infinite; }
.ws-qrow b { font-family: var(--mono); font-size: 13px; }
.ws-qrow span { color: var(--accent-2); font-family: var(--mono); font-weight: 600; }
.ws-qrow em { margin-left: auto; font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 5px; color: var(--mint); background: rgba(52, 211, 153, 0.12); box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.3) inset; }
.ws-qnudge { padding: 8px 12px; border-radius: 9px; font-size: 13px; color: #fde2b8; background: rgba(251, 191, 106, 0.1); box-shadow: 0 0 0 1px rgba(251, 191, 106, 0.3) inset; }
@keyframes ws-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); } }

/* Log art */
.ws-art-log { display: grid; gap: 10px; }
.ws-logline { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); white-space: nowrap; overflow: hidden; }
.ws-lvl { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: #991b1b; color: #fee2e2; }
.ws-logcount {
    justify-self: start;
    padding: 5px 10px;
    border-radius: 999px;
    font: 600 13px var(--mono);
    color: var(--warn);
    background: rgba(251, 191, 106, 0.1);
    box-shadow: 0 0 0 1px rgba(251, 191, 106, 0.35) inset;
    transition: transform 0.4s var(--ease);
}
.ws-card:hover .ws-logcount { transform: translateX(4px); }

/* Health art */
.ws-art-health { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ws-hchip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; background: rgba(251, 146, 60, 0.12); box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.4) inset; color: #fed7aa; }
.ws-hchip i { width: 7px; height: 7px; border-radius: 50%; background: #fb923c; }
.ws-hfix { padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-size: 13px; font-weight: 500; transition: background 0.3s, color 0.3s; }
.ws-card:hover .ws-hfix { background: var(--accent); color: #0b0d17; }

/* Menu bar art */
.ws-art-menubar { padding: 0; }
.ws-mb { display: flex; align-items: center; justify-content: flex-end; gap: 14px; height: 32px; padding: 0 14px; background: rgba(255, 255, 255, 0.06); border-bottom: 1px solid var(--line); font-size: 13px; }
.ws-mb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); animation: ws-breathe 2.4s ease-in-out infinite; }
.ws-mb-time { color: var(--body); }
.ws-mb-menu { display: grid; gap: 4px; width: 200px; max-width: calc(100% - 20px); margin: 8px 10px 12px auto; padding: 10px 12px; border-radius: 10px; background: var(--s3); box-shadow: 0 0 0 1px var(--line-2) inset, 0 12px 24px -10px rgba(0, 0, 0, 0.7); font-size: 13px; }
.ws-mb-menu span { color: var(--muted); }
.ws-mb-menu .ws-mb-stop { color: #fca5a5; padding-top: 6px; border-top: 1px solid var(--line); }

/* Process tree art */
.ws-art-tree { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ws-tree { display: grid; gap: 6px; padding-left: 14px; position: relative; font-family: var(--mono); font-size: 13px; }
.ws-tree::before { content: ""; position: absolute; left: 4px; top: 22px; bottom: 12px; width: 1px; background: var(--line-2); }
.ws-node { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 7px; background: var(--s2); box-shadow: 0 0 0 1px var(--line) inset; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--n, 0) * 70ms); }
.ws-node:not(.is-root) { margin-left: 18px; }
.ws-node:not(.is-root)::before { content: ""; position: absolute; left: -28px; top: 50%; width: 26px; height: 1px; background: var(--line-2); }
.ws-node.is-root { margin-left: -14px; color: var(--accent-2); }
.ws-node:nth-child(2) { --n: 1; }
.ws-node:nth-child(3) { --n: 2; }
.ws-node:nth-child(4) { --n: 3; }
.ws-card--tree:hover .ws-node:not(.is-root) { opacity: 0.35; transform: translateX(6px); }
.ws-signals { display: flex; align-items: center; gap: 10px; font: 600 13px var(--mono); }
.ws-signals span:first-child { color: var(--warn); }
.ws-signals span:last-child { color: var(--bad); }
.ws-signals span:nth-child(2) { color: var(--muted); }

/* Swatches art */
.ws-art-swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.ws-art-swatches i { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset; transition: transform 0.4s var(--ease); transition-delay: calc(var(--i, 0) * 20ms); }
.ws-card--colour:hover .ws-art-swatches i { transform: translateY(-3px) rotate(-4deg); }
.ws-art-swatches i:nth-child(n) { --i: 0; }
.ws-art-swatches i:nth-child(2n) { --i: 2; }
.ws-art-swatches i:nth-child(3n) { --i: 4; }

/* Tests art */
.ws-art-tests { display: grid; gap: 6px; }
.ws-tests-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.ws-tests-head span { color: var(--muted); }
.ws-test { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 7px; white-space: nowrap; overflow: hidden; }
.ws-test i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.ws-test.is-fail { background: rgba(248, 113, 113, 0.08); color: #fecaca; }
.ws-test.is-fail i { background: var(--bad); }
.ws-test span { margin-left: auto; font-size: 12px; color: var(--accent-2); }

/* Private art */
.ws-art-private { display: flex; align-items: center; gap: 12px; }
.ws-pv-mac, .ws-pv-cloud { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; background: var(--s2); box-shadow: 0 0 0 1px var(--line) inset; white-space: nowrap; }
.ws-pv-mac { color: var(--accent-2); }
.ws-pv-cloud { color: var(--muted); }
.ws-pv-line { flex: 1; min-width: 20px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }

/* How it works ------------------------------------------------------- */

.ws-steps { position: relative; --d: clamp(0, calc((var(--p, 0) - 0.18) * 2.8), 1); }
.ws-steps-line { position: absolute; left: 24px; top: 23px; width: calc(66.667% + 21px); height: 4px; max-width: none; overflow: visible; }
.ws-steps-track { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ws-steps-draw {
    stroke: var(--accent);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--d));
    filter: drop-shadow(0 0 6px rgba(109, 139, 255, 0.8));
}
.ws-steps ol { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.ws-steps li { position: relative; }
.ws-step-num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 14px;
    background: var(--s2);
    box-shadow: 0 0 0 1px var(--line-2) inset;
    color: var(--text);
    font: 500 18px/1 var(--head);
    transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.5s;
}
.ws-steps li:nth-child(1) .ws-step-num { --at: 0.02; }
.ws-steps li:nth-child(2) .ws-step-num { --at: 0.5; }
.ws-steps li:nth-child(3) .ws-step-num { --at: 0.98; }
.ws-step-num {
    --on: clamp(0, calc((var(--d) - var(--at, 0)) * 50), 1);
    background: color-mix(in srgb, var(--accent) calc(var(--on) * 100%), var(--s2));
    color: color-mix(in srgb, #0b0d17 calc(var(--on) * 100%), var(--text));
    box-shadow: 0 0 0 1px var(--line-2) inset, 0 0 calc(var(--on) * 28px) rgba(109, 139, 255, 0.6);
}
.ws-steps h3 { font-size: 21px; margin-bottom: 10px; }
.ws-steps p { font-size: 16px; margin-bottom: 20px; }
.ws-step-art {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--s1);
    box-shadow: 0 0 0 1px var(--line) inset;
    font-size: 13px;
    color: var(--muted);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ws-step-art:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-2) inset; }
.ws-step-art code { color: var(--text); font-size: 13px; }
.ws-step-art span:last-child { margin-left: auto; }
.ws-tick { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--accent); color: #0b0d17; font-size: 12px; font-weight: 700; }
.ws-dot-run { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: ws-breathe 2.4s ease-in-out infinite; }
.ws-steps li:nth-child(3) .ws-step-art span:last-child { color: var(--mint); }

/* Scroll-scrubbed window --------------------------------------------- */

.ws-scrub { overflow: clip; --t: clamp(0, calc((var(--p, 0) - 0.08) * 2.6), 1); }
.ws-scrub::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 40%;
    width: 900px;
    height: 600px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(109, 139, 255, calc(0.08 + var(--t) * 0.16)), transparent);
    filter: blur(20px);
    pointer-events: none;
}
.ws-scrub-stage { perspective: 1800px; }
.ws-scrub-frame {
    position: relative;
    max-width: 1100px;
    margin-inline: auto;
    transform-origin: 50% 0%;
    transform: rotateX(calc((1 - var(--t)) * 22deg)) translate3d(0, calc((1 - var(--t)) * 40px), 0) scale(calc(1 + var(--t) * 0.02));
    will-change: transform;
}
.ws-scrub-frame .aw { min-height: 480px; }
.ws-callouts {
    position: absolute;
    left: 488px;
    right: 22px;
    top: 372px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 3;
}
.ws-callout, .ws-pin { --show: clamp(0, calc((var(--t) - var(--at)) * 6), 1); }
.ws-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px 14px 14px;
    border-radius: 14px;
    background: rgba(27, 30, 38, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(109, 139, 255, 0.28) inset, 0 16px 34px -12px rgba(0, 0, 0, 0.8);
    opacity: var(--show);
    transform: translate3d(0, calc((1 - var(--show)) * 12px), 0);
    transition: box-shadow 0.35s var(--ease);
}
.ws-callout:hover { box-shadow: 0 0 0 1px rgba(109, 139, 255, 0.6) inset, 0 16px 34px -12px rgba(0, 0, 0, 0.8); }
.ws-callout p { font-size: 14px; line-height: 1.45; color: var(--body); }
.ws-callout strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.ws-callout > span, .ws-pin {
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: var(--accent);
    color: #0b0d17;
    font: 600 13px/1 var(--sans);
}
.ws-pin {
    position: absolute;
    z-index: 3;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(109, 139, 255, 0.25), 0 0 18px rgba(109, 139, 255, 0.8);
    opacity: var(--show);
    transform: scale(calc(0.6 + var(--show) * 0.4));
}
.ws-pin--1 { left: 444px; top: 100px; }
.ws-pin--2 { right: 125px; top: 142px; }
.ws-pin--3 { left: 856px; top: 174px; }
.ws-pin--4 { left: 432px; top: 612px; }

/* Keyboard ------------------------------------------------------------- */

.ws-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.ws-shortcuts li {
    display: grid;
    gap: 4px;
    padding: 26px;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--s2), var(--s1));
    box-shadow: 0 0 0 1px var(--line) inset;
    transition: box-shadow 0.4s var(--ease), background 0.4s, opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.ws-shortcuts li:hover, .ws-shortcuts li.is-pressed { box-shadow: 0 0 0 1px rgba(109, 139, 255, 0.4) inset, 0 20px 40px -24px rgba(109, 139, 255, 0.5); }
.ws-shortcuts strong { color: var(--text); font: 500 18px/1.3 var(--head); letter-spacing: -0.015em; }
.ws-shortcuts li > span:last-child { font-size: 15px; }
.ws-combo { display: flex; gap: 8px; margin-bottom: 18px; }
.ws-combo kbd {
    display: inline-grid;
    place-items: center;
    min-width: 64px;
    height: 64px;
    padding: 0 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #2a2e3a, #1f222b);
    color: var(--text);
    font: 500 24px/1 var(--sans);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 5px 0 #0a0b0e,
        0 6px 0 rgba(255, 255, 255, 0.05),
        0 12px 20px -6px rgba(0, 0, 0, 0.8);
    transform: translateY(0);
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.25s, background 0.25s;
}
.ws-shortcuts li:hover kbd, .ws-shortcuts li.is-pressed kbd {
    transform: translateY(4px);
    color: #fff;
    background: linear-gradient(180deg, #313750, #262b3d);
    box-shadow:
        0 0 0 1px rgba(109, 139, 255, 0.45) inset,
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 1px 0 #0a0b0e,
        0 0 22px -4px rgba(109, 139, 255, 0.55);
}
.ws-shortcuts li:hover kbd + kbd, .ws-shortcuts li.is-pressed kbd + kbd { transition-delay: 60ms; }
.ws-shortcuts li:hover kbd + kbd + kbd, .ws-shortcuts li.is-pressed kbd + kbd + kbd { transition-delay: 120ms; }

/* Comparison ------------------------------------------------------------- */

.ws-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin-inline: auto; }
.ws-col { padding: 32px; border-radius: 20px; background: var(--s1); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow 0.4s var(--ease), opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.ws-col h3 { font-size: 21px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.ws-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ws-col li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.ws-col li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 20px; height: 20px; border-radius: 6px; }
.ws-col--before li { color: var(--muted); }
.ws-col--before li::before {
    background: rgba(248, 113, 113, 0.1) center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2l6 6M8 2L2 8' stroke='%23f87171' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.ws-col--after {
    background: linear-gradient(180deg, rgba(109, 139, 255, 0.1), var(--s1) 60%);
    box-shadow: 0 0 0 1px rgba(109, 139, 255, 0.3) inset, 0 30px 60px -30px rgba(109, 139, 255, 0.35);
}
.ws-col--after li { color: #d9dce6; }
.ws-col--after li::before {
    background: rgba(52, 211, 153, 0.14) center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2l3 3L10.5 1.8' fill='none' stroke='%2334d399' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ws-col li { transition: color 0.3s, padding 0.3s var(--ease); }
.ws-col li:hover { color: var(--text); padding-left: 38px; }

/* FAQ --------------------------------------------------------------------- */

.ws-faq-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.ws-faq .ws-head { position: sticky; top: 110px; margin-bottom: 0; }
.ws-faq-list { border-top: 1px solid var(--line); }
.ws-faq details { border-bottom: 1px solid var(--line); }
.ws-faq summary {
    position: relative;
    display: block;
    padding: 22px 48px 22px 0;
    color: var(--text);
    font: 500 18px/1.4 var(--head);
    letter-spacing: -0.015em;
    cursor: pointer;
    list-style: none;
    transition: color 0.25s;
}
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23a8adbb' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    transition: transform 0.35s var(--ease), background-color 0.25s;
}
.ws-faq summary:hover { color: var(--accent-2); }
.ws-faq summary:hover::after { background-color: rgba(109, 139, 255, 0.16); }
.ws-faq details[open] summary::after { transform: rotate(45deg); }
.ws-faq details p { padding: 0 48px 24px 0; font-size: 16px; }
.ws-faq details[open] p { animation: ws-open 0.4s var(--ease); }
@keyframes ws-open { from { opacity: 0; transform: translateY(-6px); } }
.ws-faq code { padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); color: #d9dce6; word-break: break-word; }

/* Final CTA ---------------------------------------------------------------- */

.ws-cta { text-align: center; padding: 140px 0 160px; overflow: clip; }
.ws-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 45% at 50% 30%, rgba(109, 139, 255, 0.16), transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) center / 56px 56px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) center / 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}
.ws-cta-inner { position: relative; display: grid; justify-items: center; }
.ws-cta-icon { position: relative; width: 168px; height: 168px; margin-bottom: 40px; }
.ws-cta-icon img { position: relative; width: 168px; height: 168px; animation: ws-float 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.ws-cta-halo { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(190, 90, 255, 0.5), rgba(109, 139, 255, 0.2) 55%, transparent); filter: blur(24px); animation: ws-halo 7s ease-in-out infinite; }
@keyframes ws-float { 50% { transform: translateY(-12px) rotate(-2deg); } }
@keyframes ws-halo { 50% { transform: scale(1.12); opacity: 0.8; } }
.ws-cta h2 { font-size: clamp(36px, 5vw, 60px); max-width: 14em; margin-bottom: 18px; }
.ws-cta p { font-size: 18px; max-width: 34em; margin-bottom: 32px; }
.ws-cta-actions { justify-content: center; }
.ws-cta .ws-req { margin: 18px 0 0; font-size: 14px; }

/* Footer ------------------------------------------------------------------------ */

.ws-footer { border-top: 1px solid var(--line); padding: 48px 0 120px; font-size: 14px; }
.ws-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.ws-footer-brand p { margin-top: 10px; color: var(--muted); }
.ws-footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ws-footer-nav a { color: var(--body); text-decoration: none; transition: color 0.25s; }
.ws-footer-nav a:hover { color: var(--text); }
.ws-footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

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

@media (max-width: 1180px) {
    .ws-hero-frame { width: 860px; }
    .ws-callout--1 { right: 12px; }
}

@media (max-width: 1024px) {
    .ws-nav { display: none; }
    .ws-hero { padding-top: 48px; }
    .ws-hero-inner, .ws-panel { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .ws-hero-frame { width: auto; }
    .ws-hero-copy { max-width: 640px; }
    .ws-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ws-card--palette, .ws-card--tree { grid-column: span 2; grid-row: auto; }
    .ws-card--confirm, .ws-card--queue, .ws-card--logs, .ws-card--health, .ws-card--menubar, .ws-card--colour, .ws-card--tests, .ws-card--private { grid-column: span 1; }
    .ws-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ws-faq-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ws-faq .ws-head { position: static; }

    /* Callouts become a numbered key under the window. */
    .ws-callouts { position: static; margin-top: 20px; }
    .ws-scrub-frame { transform: rotateX(calc((1 - var(--t)) * 16deg)) translate3d(0, calc((1 - var(--t)) * 30px), 0); }
    .ws-pin { display: none; }
}

@media (max-width: 720px) {
    .ws { font-size: 16px; }
    .ws-wrap { width: min(1240px, 100% - 32px); }
    .ws-section { padding: 88px 0; }
    .ws-head { margin-bottom: 40px; }
    .ws-hero { padding: 32px 0 88px; }
    .ws-hero-cta .ws-btn { flex: 1 1 auto; justify-content: center; }
    .ws-stats dd { font-size: 24px; }
    .ws-stats div + div { padding-left: 14px; }
    .ws-hero-frame { padding: 6px; border-radius: 18px; }
    .ws-tablist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .ws-tablist [role="tab"] { justify-content: flex-start; }
    .ws-tablist [role="tab"] small { margin-left: auto; }
    .ws-panel-count strong { font-size: 52px; }
    .ws-bento { grid-template-columns: minmax(0, 1fr); }
    .ws-bento > .ws-card { grid-column: auto; }
    .ws-card { padding: 20px; }
    .ws-art-palette { min-height: 0; }
    .ws-art-palette li { grid-template-columns: minmax(0, auto) minmax(0, 1fr); }
    .ws-art-palette li em { display: none; }
    .ws-steps-line { display: none; }
    .ws-steps ol { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .ws-steps li { padding-left: 68px; }
    .ws-step-num { position: absolute; left: 0; top: 0; }
    .ws-steps li::before { content: ""; position: absolute; left: 23px; top: 60px; bottom: -32px; width: 1px; background: linear-gradient(var(--accent), transparent); opacity: calc(0.2 + var(--d) * 0.8); }
    .ws-steps li:last-child::before { display: none; }
    .ws-callouts { grid-template-columns: minmax(0, 1fr); }
    .ws-shortcuts { grid-template-columns: minmax(0, 1fr); }
    .ws-shortcuts li { padding: 22px; }
    .ws-combo kbd { min-width: 50px; height: 50px; font-size: 20px; }
    .ws-compare-grid { grid-template-columns: minmax(0, 1fr); }
    .ws-col { padding: 24px 20px; }
    .ws-faq summary { font-size: 17px; }
    .ws-faq details p { padding-right: 0; }
    .ws-cta { padding: 100px 0 120px; }
    .ws-cta-icon, .ws-cta-icon img { width: 128px; height: 128px; }
    .ws-footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
    .ws-header .ws-brand span { font-size: 16px; }
    .ws-stats { flex-wrap: wrap; }
    .ws-stats dt { font-size: 12px; }
    .ws-art-tree { flex-direction: column; align-items: flex-start; }
    .ws-art-private { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    .ws-scrub, .ws-steps { --t: 1; --d: 1; }
    .ws-hero-glow, .ws-cta-icon img, .ws-cta-halo, .ws-caret, .ws-qrow i, .ws-mb-dot, .ws-dot-run { animation: none; }
    .ws-panel:not([hidden]) .ws-chips li { animation: none; }
}

/* Shared-kit workarounds, scoped to this variant ------------------------------ */
/* app-window.css: .aw--compact keeps a 232px commands column at ≤620px even though that column is hidden. */
@media (max-width: 620px) {
    .ws .aw--compact .aw-body { grid-template-columns: minmax(0, 1fr); }
    .ws-hero-frame .aw { min-height: 340px; }
    .ws .aw-log { flex-wrap: wrap; row-gap: 4px; }
    .ws .aw-count { margin-left: 0; flex-basis: 100%; }
    .ws .aw-trace { padding-left: 10px; overflow-wrap: anywhere; }
    .ws-shortcuts li { grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; }
    .ws-shortcuts .ws-combo { grid-row: span 2; margin-bottom: 0; gap: 6px; min-width: 96px; }
    .ws-shortcuts li { padding: 18px; }
    .ws-shortcuts .ws-combo kbd { min-width: 42px; height: 42px; padding: 0 10px; font-size: 17px; border-radius: 10px; }
}
