/* ==========================================================================
   WorkmAIte public site (homepage, schedule, privacy, terms).
   Loaded only by _MarketingLayout; shares nothing with the Metronic app UI.

   Palette: graphite surfaces, off-white text, one accent taken from the logo.
   Type:    Inter Tight for text, JetBrains Mono only for figures and file refs.
   ========================================================================== */

:root {
    --bg: #0E1116;
    --bg2: #12161C;
    --panel: #161A21;
    --panel2: #1B2028;
    --line: #262C36;
    --line2: #323A46;
    --text: #EEF1F4;
    --mute: #9AA4B1;   /* 7.6:1 on --bg */
    --dim: #8791A0;    /* 5.3:1 on --bg, 4.9:1 on --panel */
    --acc: #E8A038;    /* the orange in the logo mark; 8.5:1 on --bg */
    --acc-hi: #F3B85B;
    --acc-ink: #1A1203; /* text on the accent: 8.5:1 */
    --err: #FF8A8A;
    --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
    --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body.wm-home {
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-width: 320px;
}
.wm-home img { max-width: 100%; height: auto; display: block; }
.wm-home a { color: inherit; }
.wm-home p { color: var(--mute); }
.wm-home :focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.wm-shell { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.wm-skip { position: absolute; left: 12px; top: -64px; background: var(--acc); color: var(--acc-ink) !important; padding: 8px 14px; border-radius: 8px; z-index: 99; font-weight: 600; text-decoration: none; }
.wm-skip:focus { top: 12px; }

.wm-home h1, .wm-home h2, .wm-home h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.wm-home h3 { letter-spacing: -.02em; line-height: 1.2; }
.wm-h2 { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; }

.wm-sec { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.wm-sec-head { display: grid; gap: 18px; margin-bottom: 48px; }
.wm-sec-head p { max-width: 56ch; font-size: 19px; }
.wm-lead { margin-top: 20px; font-size: 19px; max-width: 44ch; }

.wm-tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--acc); color: var(--acc-ink); flex: none; }
.wm-tick svg { width: 12px; height: 12px; }

/* ---- buttons -------------------------------------------------------------- */
.wm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 10px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.wm-home .wm-btn-p { background: var(--acc); color: var(--acc-ink); }
.wm-home .wm-btn-p:hover { background: var(--acc-hi); }
.wm-home .wm-btn-s { background: transparent; border-color: var(--line2); color: var(--text); }
.wm-home .wm-btn-s:hover { border-color: var(--mute); background: var(--panel); }
.wm-btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.wm-btn[disabled] { opacity: .6; cursor: not-allowed; }
.wm-arr { transition: transform .15s; }
.wm-btn:hover .wm-arr { transform: translateX(3px); }

/* ---- header --------------------------------------------------------------- */
.wm-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 17, 22, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.wm-header-inner { position: relative; display: flex; align-items: center; gap: 28px; height: 64px; }
.wm-brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.wm-brand img { height: 34px; width: auto; }
.wm-nav { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; }
.wm-nav a { text-decoration: none; color: var(--mute); transition: color .15s; }
.wm-nav a:hover { color: var(--text); }
.wm-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.wm-menu { display: none; }
.wm-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 10px; font-size: 14px; font-weight: 600; }
.wm-menu summary::-webkit-details-marker { display: none; }
.wm-menu-icon { width: 14px; height: 10px; border-top: 2px solid var(--text); border-bottom: 2px solid var(--text); position: relative; }
.wm-menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--text); }
.wm-menu[open] summary { background: var(--panel); border-color: var(--mute); }
.wm-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, 100%); background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 10px; display: grid; gap: 2px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.wm-menu-panel a:not(.wm-btn) { padding: 13px 12px; text-decoration: none; border-radius: 8px; color: var(--text); font-size: 16px; }
.wm-menu-panel a:not(.wm-btn):hover { background: var(--panel2); }
.wm-menu-panel .wm-btn { margin-top: 8px; }

/* ---- hero ----------------------------------------------------------------- */
.wm-hero { position: relative; padding: clamp(64px, 9vw, 112px) 0 0; text-align: center; overflow: hidden; }
.wm-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; -webkit-mask-image: linear-gradient(#000 0, transparent 70%); mask-image: linear-gradient(#000 0, transparent 70%); pointer-events: none; }
.wm-hero .wm-shell { position: relative; }
.wm-hero-h1 { font-size: clamp(40px, 6.4vw, 96px); letter-spacing: -.05em; line-height: 1; margin: 0 auto; }
.wm-hero-h1 span { display: block; }
.wm-h1-a { color: var(--text); }
.wm-h1-b { color: var(--mute); }
.wm-hero-sub { max-width: 62ch; margin: 28px auto 0; font-size: clamp(17px, 1.6vw, 20px); }
.wm-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* the estimate viewer */
.wm-win { margin: clamp(48px, 7vw, 80px) auto clamp(56px, 7vw, 88px); max-width: 1080px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); text-align: left; overflow: hidden; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8); }
.wm-win-bar { display: flex; align-items: center; gap: 14px; padding: 0 16px; height: 46px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.wm-win-file { display: flex; align-items: center; gap: 10px; color: var(--text); font: 400 12.5px var(--mono); min-width: 0; }
.wm-win-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-win-file::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--acc); flex: none; }
.wm-win-status { margin-left: auto; font: 400 12px var(--mono); color: var(--acc); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.wm-win-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.wm-canvas { position: relative; background: var(--bg2); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 20px 20px; padding: 36px 24px; display: flex; justify-content: center; overflow: hidden; }
.wm-page { width: min(100%, 420px); flex: none; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.wm-page img { width: 100%; height: auto; aspect-ratio: 900 / 1273; }
.wm-canvas::after { content: ""; display: none; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--bg2)); pointer-events: none; }
.wm-side { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.wm-side-h { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.wm-side-id { font: 500 12px var(--mono); color: var(--acc); }
.wm-side-title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.wm-figs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.wm-fig { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.wm-fig:nth-child(odd) { border-right: 1px solid var(--line); }
.wm-fig:nth-last-child(-n+2) { border-bottom: 0; }
.wm-fig dt { font-size: 13px; color: var(--dim); }
.wm-fig dd { font: 500 24px/1.2 var(--mono); letter-spacing: -.03em; margin-top: 4px; }
.wm-fig dd small, .wm-sv-dl dd small { font-size: 13px; color: var(--mute); letter-spacing: 0; margin-left: 3px; }
.wm-fig dd small:empty, .wm-sv-dl dd small:empty { display: none; }
.wm-gates-h { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 20px 0; font-size: 13px; color: var(--dim); }
.wm-gates-h b { font: 500 13px var(--mono); color: var(--acc); }
.wm-gates { list-style: none; padding: 14px 20px 18px; display: grid; gap: 7px; }
.wm-g { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.wm-g .wm-tick { width: 16px; height: 16px; border-radius: 4px; transition: background .25s, border-color .25s; }
.wm-g .wm-tick svg { width: 10px; height: 10px; }
.wm-pass { margin-left: auto; font: 500 11px var(--mono); color: var(--acc); letter-spacing: .04em; }
.js .wm-g:not(.on) .wm-tick { background: transparent; border: 1px solid var(--line2); }
.js .wm-g:not(.on) .wm-tick svg { display: none; }
.js .wm-g:not(.on) { color: var(--dim); }
.js .wm-g:not(.on) .wm-pass { visibility: hidden; }

/* ---- facts ---------------------------------------------------------------- */
.wm-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.wm-facts > div { padding: 34px 28px; border-right: 1px solid var(--line); min-width: 0; }
.wm-facts > div:last-child { border-right: 0; }
.wm-fact-n { font: 500 clamp(22px, 2.6vw, 32px)/1.1 var(--mono); letter-spacing: -.04em; overflow-wrap: anywhere; }
.wm-facts p { margin-top: 12px; font-size: 15px; line-height: 1.45; }

/* ---- partner -------------------------------------------------------------- */
.wm-partner { background: var(--bg2); border-top: 1px solid var(--line); }
.wm-partner-inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 48px; align-items: center; padding: 36px 0; }
.wm-partner-lbl { font-size: 14px; color: var(--dim); }
.wm-partner-lbl b { display: block; color: var(--text); font: 600 22px var(--sans); letter-spacing: -.02em; margin-top: 4px; }
.wm-partner-eq { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.wm-partner-eq div { padding: 16px 20px; font-size: 16px; color: var(--text); }
.wm-partner-eq div + div { border-left: 1px solid var(--line); color: var(--mute); }

/* ---- samples -------------------------------------------------------------- */
.wm-js-only { display: none !important; }
.js .wm-js-only { display: flex !important; }
.wm-seg { gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; }
.wm-seg::-webkit-scrollbar { display: none; }
.wm-seg button { flex: 1 0 auto; background: none; border: 0; color: var(--mute); font: 500 15px/1 var(--sans); padding: 13px 18px; border-radius: 9px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.wm-seg button:hover { color: var(--text); }
.wm-seg button[aria-selected=true] { background: var(--panel2); color: var(--text); box-shadow: 0 0 0 1px var(--line2); }
.wm-seg button[aria-selected=true]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); margin-right: 9px; vertical-align: 1px; }
.wm-sv { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; margin-bottom: 20px; }
.wm-sv[hidden] { display: none; }
.wm-sv-text { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; }
.wm-sv-k { font: 500 12px var(--mono); color: var(--acc); }
.wm-sv-h { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 14px; letter-spacing: -.035em; }
.wm-sv-d { font-size: 17px; max-width: 46ch; }
.wm-sv-dl { display: flex; flex-wrap: wrap; row-gap: 18px; margin-top: auto; padding-top: 32px; }
.wm-sv-dl > div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.wm-sv-dl > div:last-child { border: 0; margin: 0; padding: 0; }
.wm-sv-dl dt { font-size: 13px; color: var(--dim); }
.wm-sv-dl dd { font: 500 26px/1.2 var(--mono); letter-spacing: -.04em; margin-top: 6px; }
.wm-sv-img { background: var(--bg2); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 20px 20px; padding: 32px 24px 0; display: flex; justify-content: center; align-items: flex-start; height: 100%; max-height: 600px; overflow: hidden; position: relative; border-left: 1px solid var(--line); }
.wm-sv-img .wm-page { width: min(100%, 380px); }
.wm-sv-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, var(--bg2)); }
.wm-hint { font-size: 13px; color: var(--dim) !important; margin-top: 10px; display: none; }
.js .wm-hint { display: block; }
.wm-pack { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border: 1px dashed var(--line2); border-radius: 16px; padding: 28px clamp(24px, 4vw, 40px); margin-top: 20px; }
.wm-pack h3 { font-size: 22px; }
.wm-pack p { margin-top: 6px; max-width: 66ch; }

/* ---- what comes back ------------------------------------------------------ */
.wm-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.wm-split-l { position: sticky; top: 96px; }
.wm-sketch { margin-top: 36px; border: 1px solid var(--line); border-radius: 14px; background: #F6F5F1; padding: 14px; position: relative; }
.wm-sketch img { width: 100%; mix-blend-mode: multiply; }
.wm-sketch figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--bg); color: var(--text); font: 400 12px var(--mono); padding: 7px 10px; border-radius: 6px; border: 1px solid var(--line2); display: flex; gap: 8px; align-items: center; max-width: calc(100% - 28px); }
.wm-sketch figcaption::before { content: ""; width: 6px; height: 6px; background: var(--acc); border-radius: 50%; flex: none; }
.wm-rows { list-style: none; padding: 0; border-top: 1px solid var(--line); counter-reset: r; }
.wm-rows li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 34px 0; border-bottom: 1px solid var(--line); counter-increment: r; }
.wm-rows li::before { content: counter(r, decimal-leading-zero); font: 500 13px/2 var(--mono); color: var(--dim); }
.wm-rows h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.03em; }
.wm-rows p { margin-top: 6px; font-size: 16px; }
.wm-chain { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; font: 500 12px var(--mono); }
.wm-chain span { border: 1px solid var(--line2); border-radius: 6px; padding: 4px 8px; color: var(--text); }
.wm-chain i { font-style: normal; color: var(--dim); align-self: center; }

/* ---- nine-gate panel ------------------------------------------------------ */
.wm-term { border: 1px solid var(--line2); border-radius: 14px; background: var(--panel); overflow: hidden; }
.wm-term-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 400 13px var(--mono); color: var(--mute); }
.wm-term-bar b { color: var(--acc); font-weight: 500; }
.wm-term ol { list-style: none; padding: 6px 0; }
.wm-term .wm-g { padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 16px; gap: 14px; }
.wm-term .wm-g:last-child { border-bottom: 0; }
.wm-no { font: 500 12px var(--mono); color: var(--dim); width: 22px; }
.wm-term .wm-g .wm-tick { width: 20px; height: 20px; }
.wm-term .wm-g .wm-tick svg { width: 12px; height: 12px; }
.wm-term-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg2); font-size: 13px; color: var(--dim); }
.wm-bar { flex: 1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; min-width: 40px; }
.wm-bar i { display: block; height: 100%; width: 100%; background: var(--acc); transform-origin: left; transition: transform 1.8s cubic-bezier(.3, .7, .2, 1); }
.js .wm-bar i { transform: scaleX(0); }
.js .wm-bar.on i { transform: scaleX(1); }
.wm-replay { background: none; border: 1px solid var(--line2); color: var(--text); font: 500 12px var(--mono); padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.wm-replay:hover { border-color: var(--mute); }

/* ---- services (bento) ----------------------------------------------------- */
.wm-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(120px, auto); gap: 14px; }
.wm-tile { border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.wm-tile h3 { font-size: 24px; letter-spacing: -.035em; }
.wm-tile p { margin-top: 10px; font-size: 16px; }
.wm-t1 { grid-column: span 4; grid-row: span 2; padding: 36px; background: var(--panel2); }
.wm-t1 h3 { font-size: clamp(30px, 3.6vw, 44px); }
.wm-t1 p { font-size: 18px; max-width: 44ch; }
.wm-t2, .wm-t3 { grid-column: span 2; }
.wm-t4 { grid-column: span 6; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px 40px; align-items: center; }
.wm-t4 .wm-flow { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; }
.wm-t4 h3 { align-self: end; }
.wm-t4 p { align-self: start; }
.wm-ledger { margin-top: auto; padding-top: 28px; font: 400 13px/1 var(--mono); color: var(--mute); }
.wm-ledger > div { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line2); }
.wm-ledger > div:first-child { color: var(--dim); border-top: 0; }
.wm-ledger b { font-weight: 500; color: var(--text); }
.wm-ledger .ok { color: var(--acc); }
.wm-gantt { margin-top: auto; padding-top: 22px; display: grid; gap: 7px; }
.wm-gantt i { display: block; height: 8px; border-radius: 3px; background: var(--line2); }
.wm-gantt i:nth-child(1) { width: 34%; }
.wm-gantt i:nth-child(2) { width: 42%; margin-left: 22%; background: var(--mute); }
.wm-gantt i:nth-child(3) { width: 30%; margin-left: 48%; background: var(--acc); }
.wm-gantt i:nth-child(4) { width: 24%; margin-left: 70%; background: var(--mute); }
.wm-flow { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 26px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.wm-flow div { padding: 14px 16px; font-size: 14px; color: var(--mute); background: var(--bg2); }
.wm-flow div + div { border-left: 1px solid var(--line); }
.wm-flow b { display: block; font: 500 12px var(--mono); color: var(--acc); margin-bottom: 4px; }
.wm-flow div:nth-child(2) b { color: var(--text); }

/* ---- process -------------------------------------------------------------- */
.wm-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.wm-steps::before, .wm-steps::after { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--line2); }
.wm-steps::after { background: var(--acc); right: auto; width: 100%; }
.js .wm-steps::after { width: 0; transition: width 2.4s cubic-bezier(.3, .7, .2, 1); }
.js .wm-steps.on::after { width: 100%; }
.wm-steps li { position: relative; padding: 0 28px 0 0; }
.wm-nd { width: 39px; height: 39px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line2); display: grid; place-items: center; font: 500 14px var(--mono); color: var(--text); position: relative; z-index: 1; }
.wm-steps li:last-child .wm-nd { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.wm-steps h3 { font-size: 22px; margin-top: 22px; }
.wm-steps p { margin-top: 8px; font-size: 16px; }

/* ---- faq ------------------------------------------------------------------ */
.wm-faq-item { border-bottom: 1px solid var(--line); }
.wm-faq-item:first-of-type { border-top: 1px solid var(--line); }
.wm-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.wm-faq-item summary::-webkit-details-marker { display: none; }
.wm-faq-item summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg); transition: transform .2s; flex: none; margin-right: 4px; }
.wm-faq-item[open] summary::after { transform: rotate(-135deg); border-color: var(--acc); }
.wm-faq-item p { padding: 0 40px 24px 0; font-size: 17px; max-width: 60ch; }

/* ---- closer --------------------------------------------------------------- */
.wm-closer { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); background: var(--bg2); }
.wm-box { border: 1px solid var(--line2); border-radius: 20px; background: var(--panel); display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden; }
.wm-box-l { padding: clamp(28px, 5vw, 64px); }
.wm-box-l .wm-h2 { max-width: 14ch; }
.wm-box-l p { margin-top: 20px; font-size: 19px; max-width: 40ch; }
.wm-box-r { padding: clamp(28px, 5vw, 64px); border-left: 1px solid var(--line); background: var(--bg2); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.wm-home .wm-mail { font: 500 clamp(17px, 2vw, 21px) var(--mono); color: var(--acc); text-decoration: none; overflow-wrap: anywhere; letter-spacing: -.02em; }
.wm-home .wm-mail:hover { text-decoration: underline; }

/* ---- footer --------------------------------------------------------------- */
.wm-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--dim); }
.wm-footer-inner { display: flex; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; align-items: center; }
.wm-brand-foot img { height: 30px; }
.wm-footer-text p { color: var(--dim); }
.wm-footer-links { display: flex; gap: 20px; }
.wm-home .wm-footer-links a { color: var(--mute); text-decoration: none; }
.wm-home .wm-footer-links a:hover { color: var(--text); text-decoration: underline; }

/* ---- reveals (added by JS only) ------------------------------------------- */
.wm-rv { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.wm-rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   Inner pages: schedule, reschedule, privacy, terms
   ========================================================================== */
.wm-pagehead { padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); }
.wm-pagehead h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.045em; }
.wm-pagehead p { margin-top: 16px; font-size: 19px; max-width: 58ch; }
.wm-pagebody { padding-bottom: clamp(72px, 10vw, 120px); }

/* booking */
.wm-booking { max-width: 760px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); padding: clamp(22px, 4vw, 40px); }
.wm-booking h3, .wm-booking h4 { font-size: 24px; margin-bottom: 14px; }
.wm-booking p { margin-bottom: 18px; }
.wm-booking strong { color: var(--text); font-weight: 600; }
.wm-step { display: none; }
.wm-step.is-active { display: block; }
.wm-muted { color: var(--mute); padding: 24px 0; text-align: center; }
.wm-home .wm-booking .alert { border-radius: 10px; padding: 14px 16px; font-size: 15px; border: 1px solid var(--line2); margin-bottom: 14px; color: var(--text); background: var(--bg2); }
.wm-home .wm-booking .alert-warning { border-color: rgba(232, 160, 56, .5); background: rgba(232, 160, 56, .1); }
.wm-home .wm-booking .alert-danger { border-color: rgba(255, 138, 138, .5); background: rgba(255, 138, 138, .1); color: var(--err); }
.wm-home .wm-booking .alert-info { border-color: var(--line2); }
.wp-slot-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.wp-day-heading { grid-column: 1 / -1; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.wp-day-heading:first-child { margin-top: 0; }
.wp-slot { background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 6px; text-align: center; cursor: pointer; font: 500 15px var(--mono); color: var(--text); transition: border-color .15s, background .15s; }
.wp-slot:hover { border-color: var(--acc); background: rgba(232, 160, 56, .1); }
.wp-slot:disabled { opacity: .45; cursor: not-allowed; }
.wp-day-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.wp-day-chip { background: transparent; border: 1px solid var(--line2); border-radius: 999px; padding: 8px 16px; color: var(--mute); font: 500 14px var(--sans); cursor: pointer; }
.wp-day-chip:hover { color: var(--text); border-color: var(--mute); }
.wp-day-chip.is-active { background: var(--panel2); color: var(--text); border-color: var(--acc); }

.wm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wm-field.full { grid-column: 1 / -1; }
.wm-field label { font-size: 14px; font-weight: 500; color: var(--text); }
.wm-field .req { color: var(--acc); }
.wm-input { width: 100%; background: var(--bg2); border: 1px solid var(--line2); color: var(--text); border-radius: 10px; padding: 12px 14px; font: 400 16px var(--sans); }
.wm-input::placeholder { color: var(--dim); }
.wm-input:focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
select.wm-input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
select.wm-input option { background: var(--panel); color: var(--text); }
textarea.wm-input { resize: vertical; min-height: 110px; }
.wm-note { font-size: 13px; color: var(--dim) !important; margin: 0 !important; }
.wm-home .wm-note a { color: var(--mute); }
.wm-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.wm-done { text-align: center; padding: 12px 0; }
.wm-done .wm-tick { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; }
.wm-done .wm-tick svg { width: 24px; height: 24px; }
.wm-done .wm-btn { margin-top: 8px; }

/* long-form legal text */
.wm-prose { max-width: 760px; }
.wm-prose h4 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--text); margin-top: 40px; margin-bottom: 10px; line-height: 1.25; }
.wm-prose h4:first-child { margin-top: 0; }
.wm-prose p, .wm-prose li { font-size: 17px; line-height: 1.7; color: var(--mute); }
.wm-prose p + p { margin-top: 12px; }
.wm-prose ul, .wm-prose ol { padding-left: 22px; margin: 10px 0; }
.wm-prose li + li { margin-top: 6px; }
.wm-prose strong { color: var(--text); font-weight: 600; }
.wm-home .wm-prose a { color: var(--acc); text-underline-offset: 3px; }
.wm-home .wm-prose a:hover { color: var(--acc-hi); }
.wm-prose-end { margin-top: 48px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
    .wm-nav { display: none; }
    .wm-menu { display: block; }
    .wm-win-body { grid-template-columns: 1fr; }
    .wm-canvas { height: 440px; padding-bottom: 0; }
    .wm-canvas::after { display: block; }
    .wm-side { border-left: 0; border-top: 1px solid var(--line); }
    .wm-facts { grid-template-columns: 1fr 1fr; }
    .wm-facts > div:nth-child(2) { border-right: 0; }
    .wm-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .wm-sv { grid-template-columns: 1fr; }
    .wm-sv-img { border-left: 0; border-top: 1px solid var(--line); max-height: 480px; order: 2; }
    .wm-split { grid-template-columns: 1fr; }
    .wm-split-l { position: static; }
    .wm-t1, .wm-t4 { grid-column: span 6; }
    .wm-t2, .wm-t3 { grid-column: span 3; }
    .wm-t1, .wm-t2 { grid-row: auto; }
    .wm-t4 { grid-template-columns: 1fr; }
    .wm-t4 .wm-flow { grid-column: 1; grid-row: auto; margin-top: 18px; }
    .wm-steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
    .wm-steps::before, .wm-steps::after { display: none; }
    .wm-box { grid-template-columns: 1fr; }
    .wm-box-r { border-left: 0; border-top: 1px solid var(--line); }
    .wm-partner-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body.wm-home { font-size: 16px; }
    .wm-shell { width: calc(100% - 32px); }
    .wm-header-inner { gap: 12px; }
    .wm-brand img { height: 30px; }
    .wm-header-cta { display: none; }
    .wm-hero-h1 { font-size: clamp(36px, 11.5vw, 56px); }
    .wm-hero-ctas .wm-btn { width: 100%; }
    .wm-canvas { height: 380px; padding: 24px 16px 0; }
    .wm-win-status { display: none; }
    .wm-fig dd { font-size: 20px; }
    .wm-facts > div { padding: 24px 16px; }
    .wm-t2, .wm-t3 { grid-column: span 6; }
    .wm-t1, .wm-tile { padding: 24px; }
    .wm-partner-eq { grid-auto-flow: row; }
    .wm-partner-eq div + div { border-left: 0; border-top: 1px solid var(--line); }
    .wm-sv-dl > div { border: 0; margin: 0; padding: 0 28px 0 0; }
    .wm-sv-dl dd { font-size: 22px; }
    .wm-pack { grid-template-columns: 1fr; }
    .wm-pack .wm-btn { width: 100%; }
    .wm-steps { grid-template-columns: 1fr; }
    .wm-rows li { grid-template-columns: 36px 1fr; }
    .wm-flow { grid-template-columns: 1fr; }
    .wm-flow div + div { border-left: 0; border-top: 1px solid var(--line); }
    .wm-ledger > div { grid-template-columns: 1fr 1fr; }
    .wm-ledger > div > *:nth-child(3) { display: none; }
    .wm-faq-item summary { font-size: 18px; }
    .wm-faq-item p { padding-right: 0; }
    .wm-term-foot { flex-wrap: wrap; }
    .wm-box-r .wm-btn { width: 100%; }
    .wm-form-grid { grid-template-columns: 1fr; }
    .wm-actions .wm-btn { width: 100%; }
    .wp-slot-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .wm-rv { opacity: 1; transform: none; }
    .js .wm-steps::after { width: 100%; }
    .js .wm-bar i { transform: none; }
    .js .wm-g:not(.on) { color: var(--text); }
    .js .wm-g:not(.on) .wm-tick { background: var(--acc); border: 0; }
    .js .wm-g:not(.on) .wm-tick svg { display: block; }
    .js .wm-g:not(.on) .wm-pass { visibility: visible; }
}
