/*
 * Mirialabs public website (layout/website.php, layout/auth.php).
 *
 * Look: white and very light grey sections, near-black type, one blue accent
 * used sparingly, full-bleed dark sections where the hardware sits. No
 * gradients of colour, no pastel washes. Plain CSS, mobile first.
 * Figures and app mock-ups live in website-mocks.css.
 */

:root {
    --bg: #fff;
    --soft: #f5f5f7;
    --soft-2: #ececef;
    --ink: #0c1830;
    --text: #3a3d45;
    --muted: #6b6f79;
    --faint: #9a9ea8;
    --line: #e5e6ea;
    --line-2: #d6d8de;
    --accent: #1554b5;
    --accent-600: #0f4596;
    --accent-50: #ecf2fc;
    --accent-dark: #6aa6ff;
    --orange: #f7941d;
    --orange-600: #e07f0b;
    --orange-50: #fff4e6;
    --green: #17a05d;
    --red: #e5484d;
    --amber: #f2a516;
    --dark: #08183a;
    --dark-2: #0d2250;
    --dark-3: #132c63;
    --dark-line: rgba(255, 255, 255, .11);
    --dark-text: #b3c3de;
    --r-xl: 32px;
    --r-lg: 24px;
    --r: 18px;
    --r-sm: 12px;
    --nav-h: 60px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 56px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.ws {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "cv11", "ss01";
}
.ws img, .ws svg { max-width: 100%; }
.ws img { height: auto; display: block; }
.ws a { color: var(--accent); text-decoration: none; }
.ws a:hover { color: var(--accent-600); }
.ws h1, .ws h2, .ws h3, .ws h4 { color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
.ws p { margin: 0 0 1em; }
.ws ul { margin: 0; padding: 0; list-style: none; }
.ws button { font-family: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ws-skip { position: absolute; left: -9999px; top: 8px; z-index: 3000; background: var(--ink); color: #fff !important; padding: 8px 14px; border-radius: 8px; }
.ws-skip:focus { left: 8px; }
.ws :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */
.ws-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.ws-narrow { max-width: 880px; }
@media (min-width: 768px) { .ws-wrap { padding: 0 32px; } }
.ws-sec { padding: clamp(84px, 11vw, 148px) 0; position: relative; }
.ws-sec.is-tight { padding: clamp(56px, 7vw, 96px) 0; }
.ws-sec.is-soft { background: var(--soft); }
.ws-sec.is-dark { background: var(--dark); color: var(--dark-text); }
.ws-sec + .ws-sec:not(.is-soft):not(.is-dark) { border-top: 1px solid var(--line); }
.ws-sec.is-soft + .ws-sec.is-soft { border-top: 1px solid var(--line); }
.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4 { color: #fff; }
.is-dark .ws-lead, .is-dark .ws-muted { color: var(--dark-text); }
.is-dark a:not(.ws-btn) { color: var(--accent-dark); }

.ws-head { text-align: center; max-width: 840px; margin: 0 auto clamp(40px, 6vw, 72px); }
.ws-head .ws-lead { margin-left: auto; margin-right: auto; }
.ws-head.is-left { text-align: left; margin-left: 0; }
.ws-head.is-left .ws-lead { margin-left: 0; }

.ws-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .ws-g2 { grid-template-columns: repeat(2, 1fr); } .ws-g3 { grid-template-columns: repeat(2, 1fr); } .ws-g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ws-g3 { grid-template-columns: repeat(3, 1fr); } .ws-g4 { grid-template-columns: repeat(4, 1fr); } }

.ws-split { display: grid; gap: 40px; align-items: center; }
.ws-split > * { min-width: 0; }
@media (min-width: 980px) {
    .ws-split { grid-template-columns: 1fr 1fr; gap: 72px; }
    .ws-split.is-wide-r { grid-template-columns: 5fr 7fr; }
    .ws-split.is-wide-l { grid-template-columns: 7fr 5fr; }
    .ws-split.is-rev > :first-child { order: 2; }
    .ws-split .ws-h2 { font-size: clamp(34px, 3.7vw, 54px); }
}

/* ---------- Type ---------- */
.ws-h1 { font-size: clamp(42px, 6.6vw, 86px); line-height: 1.02; letter-spacing: -.038em; font-weight: 700; margin-bottom: 22px; text-wrap: balance; }
.ws-h2 { font-size: clamp(34px, 4.7vw, 62px); line-height: 1.04; letter-spacing: -.034em; font-weight: 700; margin-bottom: 18px; text-wrap: balance; }
.ws-h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.026em; font-weight: 700; margin-bottom: 12px; text-wrap: balance; }
.ws-h4 { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; font-weight: 650; margin-bottom: 8px; }
.ws-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); max-width: 660px; text-wrap: pretty; }
.ws-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: -.005em; }
.is-dark .ws-eyebrow { color: var(--orange); }
.ws-muted { color: var(--muted); }
.ws-small { font-size: 14px; }
.ws-center { text-align: center; }

.ws-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .01em; background: var(--soft); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.ws-tag.is-premium { background: var(--orange-50); color: var(--orange-600); border-color: #fcd9ab; }
.ws-tag.is-premium::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.ws-tag.is-new { color: var(--accent); background: var(--accent-50); border-color: transparent; }
.ws-tag.is-soon { color: #8a5a00; background: #fff4e0; border-color: transparent; }
.is-dark .ws-tag { background: rgba(255,255,255,.08); color: #e7e9ee; border-color: var(--dark-line); }
.is-dark .ws-tag.is-premium { background: var(--orange); color: #fff; }

/* ---------- Buttons ---------- */
.ws-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
    font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap; letter-spacing: -.005em;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
    text-decoration: none;
}
.ws-btn:active { transform: scale(.98); }
.ws-btn-primary { background: var(--accent); color: #fff !important; }
.ws-btn-primary:hover { background: var(--accent-600); }
.ws-btn-dark { background: var(--accent); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(21, 84, 181, .55); }
.ws-btn-dark:hover { background: var(--accent-600); }
.ws-btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-2); }
.ws-btn-ghost:hover { border-color: var(--accent); color: var(--accent) !important; }
.ws-btn-white { background: var(--orange); color: #fff !important; box-shadow: 0 8px 22px -8px rgba(247, 148, 29, .6); }
.ws-btn-white:hover { background: var(--orange-600); }
.ws-btn-line-light { color: #fff !important; border-color: rgba(255,255,255,.28); background: transparent; }
.ws-btn-line-light:hover { border-color: #fff; }
.ws-btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.ws-btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.ws-btn-block { width: 100%; }
.ws-btn.is-loading { opacity: .7; pointer-events: none; }
.ws-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ws-head .ws-btns { justify-content: center; }
.ws-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 16px; }
.ws-more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: 4px; transition: transform .2s var(--ease); }
.ws-more:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- Navigation ---------- */
.ws-nav { position: sticky; top: 0; z-index: 1000; height: var(--nav-h); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.ws-nav.is-scrolled { border-bottom-color: var(--line); }
.ws-nav-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.ws-brand { display: flex; align-items: center; flex: none; }
.ws-brand img { height: 34px; width: auto; }
.ws-menu { display: none; }
.ws-links { display: flex; gap: 2px; align-items: center; }
.ws-link { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 0; background: none; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink) !important; cursor: pointer; letter-spacing: -.005em; }
.ws-link:hover { background: var(--soft); }
.ws-link.is-active { color: var(--accent) !important; }
.ws-link .ws-chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.ws-link[aria-expanded="true"] .ws-chev { transform: rotate(-135deg) translateY(-1px); }
.ws-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ws-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--soft); }
.ws-lang a { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted) !important; }
.ws-lang a.is-on { background: #fff; color: var(--ink) !important; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ws-signin { font-size: 14.5px; font-weight: 500; color: var(--ink) !important; padding: 0 8px; }
.ws-signin:hover { color: var(--accent) !important; }
.ws-burger { margin-left: auto; width: 40px; height: 40px; border: 0; background: none; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.ws-burger-lines span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.ws-burger-lines span + span { margin-top: 5px; }
.ws-burger[aria-expanded="true"] .ws-burger-lines span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.ws-burger[aria-expanded="true"] .ws-burger-lines span:nth-child(2) { opacity: 0; }
.ws-burger[aria-expanded="true"] .ws-burger-lines span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 1023.98px) {
    .ws-menu.is-open { display: block; position: fixed; inset: var(--nav-h) 0 0 0; background: #fff; overflow-y: auto; padding: 8px 16px 32px; border-top: 1px solid var(--line); animation: ws-sheet .25s var(--ease); }
    .ws-menu.is-open .ws-links { flex-direction: column; align-items: stretch; gap: 0; }
    .ws-menu.is-open .ws-links > li { border-bottom: 1px solid var(--line); }
    .ws-menu.is-open .ws-link { width: 100%; height: 56px; font-size: 18px; font-weight: 600; justify-content: space-between; padding: 0 4px; border-radius: 0; }
    .ws-menu.is-open .ws-link:hover { background: none; }
    .ws-menu.is-open .ws-actions { flex-direction: column; align-items: stretch; margin: 24px 0 0; gap: 12px; }
    .ws-menu.is-open .ws-actions .ws-btn { height: 50px; }
    .ws-menu.is-open .ws-signin { text-align: center; height: 50px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
    .ws-menu.is-open .ws-lang { align-self: center; }
    body.ws-menu-open { overflow: hidden; }
    .ws-panel { display: none; padding: 4px 0 16px; }
    .ws-panel.is-open { display: block; }
    .ws-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .ws-panel-foot { display: none; }
}
@keyframes ws-sheet { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 1024px) {
    .ws-burger { display: none; }
    .ws-menu { display: flex; flex: 1; align-items: center; }
    .ws .ws-links { margin: 0 auto; }
    .ws-actions { margin-left: 0; }
    .ws-panel { position: absolute; left: 0; right: 0; top: var(--nav-h); background: rgba(255,255,255,.98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11,13,18,.25); padding: 28px 0 24px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
    .ws-panel.is-open { opacity: 1; visibility: visible; transform: none; }
    .ws-panel-in { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
    .ws-panel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
    .ws-panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
}
.ws-panel-item { display: flex; flex-direction: column; gap: 8px; color: var(--ink) !important; border-radius: 16px; padding: 0 0 6px; }
.ws-panel-img { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--soft); display: grid; place-items: center; padding: 12% 16%; transition: background .2s; }
.ws-panel-img picture { display: contents; }
.ws-panel-img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; transition: transform .35s var(--ease); }
.ws-panel-item:hover .ws-panel-img { background: var(--soft-2); }
.ws-panel-item:hover .ws-panel-img img { transform: scale(1.05); }
.ws-panel-item strong { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; padding: 0 2px; }
.ws-panel-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; padding: 0 2px; }

/* ---------- Product imagery ---------- */
.ws-shot { position: relative; isolation: isolate; display: block; }
.ws-shot picture { display: block; position: relative; z-index: 1; }
.ws-shot img { position: relative; z-index: 1; width: 100%; height: auto; }
.ws-shot::after { content: ""; position: absolute; z-index: 0; left: 10%; right: 10%; bottom: -3%; height: 10%; background: radial-gradient(closest-side, rgba(11,13,18,.30), rgba(11,13,18,0)); filter: blur(2px); }
.ws-shot.is-standing::after { left: 16%; right: 16%; bottom: -2.5%; height: 6%; }
.ws-shot.is-flat::after { left: 4%; right: 4%; bottom: -6%; height: 16%; background: radial-gradient(closest-side, rgba(11,13,18,.20), rgba(11,13,18,0)); }
.ws-shot.no-floor::after { display: none; }
.is-dark .ws-shot::after, .ws-stage.is-dark .ws-shot::after, .ws-prod.is-dark .ws-shot::after { background: radial-gradient(closest-side, rgba(0,0,0,.85), rgba(0,0,0,0)); }

.ws-stage { position: relative; border-radius: var(--r-xl); background: var(--soft); overflow: hidden; display: grid; place-items: center; }
.ws-stage.is-dark { background: radial-gradient(70% 60% at 50% 42%, #1a3a7a 0%, #0d2352 55%, #08183a 100%); }
.is-soft .ws-stage:not(.is-dark) { background: #fff; }

/* ---------- Hero ---------- */
.ws-hero { padding: clamp(48px, 8vw, 100px) 0 0; text-align: center; overflow: hidden; }
.ws-hero .ws-lead { margin: 0 auto 30px; font-size: clamp(18px, 1.8vw, 22px); max-width: 720px; }
.ws-hero .ws-btns { justify-content: center; }
.ws-hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.ws-hero-stage { margin-top: clamp(40px, 6vw, 64px); position: relative; height: clamp(380px, 46vw, 620px); border-radius: var(--r-xl); background: var(--soft); overflow: hidden; }
.ws-hero-prod { position: absolute; }
.ws-hero-prod.is-uac { width: min(47%, 580px); left: 50%; bottom: 13%; transform: translateX(-50%); }
.ws-hero-prod.is-reader { width: min(11.5%, 140px); left: 13%; bottom: 13%; }
.ws-hero-prod.is-card { width: min(16%, 200px); right: 9%; bottom: 12%; }
.ws-hero-prod.is-card img { transform: rotate(-3deg); }
@media (max-width: 719.98px) {
    .ws-hero-stage { height: 360px; margin-left: -16px; margin-right: -16px; border-radius: 0; }
    .ws-hero-prod.is-uac { width: 74%; bottom: 24%; }
    .ws-hero-prod.is-reader { width: 18%; left: 5%; bottom: 10%; }
    .ws-hero-prod.is-card { width: 30%; right: 4%; bottom: 8%; }
}
.t-green { background: #e5f6ec; color: var(--green); }
.t-blue { background: var(--accent-50); color: var(--accent); }
.t-red { background: #fdeced; color: var(--red); }
.t-amber { background: #fdf3df; color: #b7770a; }
.t-grey { background: var(--soft); color: var(--ink); }

/* ---------- Customers + marquee ---------- */
.ws-trust { padding: 48px 0 0; }
.ws-trust-label { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-bottom: 22px; }
.ws-trust-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px 64px; }
.ws-trust-logo { display: flex; align-items: center; justify-content: center; height: 46px; opacity: .58; transition: opacity .2s; }
.ws-trust-logo:hover { opacity: .9; }
.ws-trust-logo img { height: 100%; width: auto; }
.ws-trust-logo.is-lvmh img { height: 19px; }
.ws-trust-logo.is-fayat img { height: 44px; }
.ws-wordmark-vinci { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: #111318; }
.ws-wordmark-vinci b { font-size: 25px; font-weight: 800; letter-spacing: .1em; padding-left: .1em; }
.ws-wordmark-vinci small { font-size: 8.5px; font-weight: 700; letter-spacing: .36em; margin-top: 5px; padding-left: .36em; }

.ws-marquee-wrap { margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 20px; }
.ws-marquee-label { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); padding-left: max(16px, calc((100vw - 1240px) / 2 + 32px)); white-space: nowrap; }
.ws-marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ws-marquee-track { display: flex; gap: 12px; width: max-content; animation: ws-marquee 50s linear infinite; }
.ws-marquee:hover .ws-marquee-track { animation-play-state: paused; }
@keyframes ws-marquee { to { transform: translateX(-50%); } }
.ws-int { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ws-int-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); flex: none; }
.ws-int-ico svg { width: 16px; height: 16px; }
@media (max-width: 719.98px) { .ws-marquee-label { display: none; } }

/* ---------- Cards / bento ---------- */
.ws-card { position: relative; background: var(--soft); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); overflow: hidden; }
.is-soft .ws-card { background: #fff; }
.is-dark .ws-card { background: var(--dark-2); border: 1px solid var(--dark-line); }
.ws-card h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.022em; line-height: 1.2; margin-bottom: 8px; }
.ws-card p { color: var(--muted); font-size: 15.5px; }
.ws-card .ws-card-fig { margin-top: 24px; }
.ws-bento { display: grid; gap: 20px; }
.ws-bento > * { min-width: 0; }
@media (min-width: 900px) {
    .ws-bento { grid-template-columns: repeat(6, 1fr); }
    .ws-bento .s2 { grid-column: span 2; } .ws-bento .s3 { grid-column: span 3; } .ws-bento .s4 { grid-column: span 4; } .ws-bento .s6 { grid-column: span 6; }
}

.ws-checks { display: grid; gap: 12px; margin: 22px 0 0; }
.ws-checks li { position: relative; padding-left: 30px; color: var(--text); font-size: 16px; line-height: 1.5; }
.ws-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.6 7.4-5.3 5.4a1 1 0 0 1-1.4 0L5.4 10.3a1 1 0 1 1 1.4-1.4l1.8 1.8 4.6-4.7a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.6 7.4-5.3 5.4a1 1 0 0 1-1.4 0L5.4 10.3a1 1 0 1 1 1.4-1.4l1.8 1.8 4.6-4.7a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ws-checks li b { color: var(--ink); font-weight: 600; }
.is-dark .ws-checks li { color: var(--dark-text); }
.is-dark .ws-checks li::before { background: var(--orange); }
.is-dark .ws-checks li b { color: #fff; }
.ws-checks.is-small { gap: 10px; }
.ws-checks.is-small li { font-size: 14.5px; padding-left: 26px; }
.ws-checks.is-small li::before { width: 16px; height: 16px; top: 3px; }

.ws-points { display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 640px) { .ws-points.is-2, .ws-points.is-4, .ws-points.is-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .ws-points.is-4 { grid-template-columns: repeat(4, 1fr); } .ws-points.is-3 { grid-template-columns: repeat(3, 1fr); } }
.ws-point { border-top: 1px solid var(--line); padding-top: 18px; }
.is-dark .ws-point { border-top-color: var(--dark-line); }
.ws-point h4 { font-size: 17px; letter-spacing: -.015em; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ws-point p { font-size: 15px; color: var(--muted); margin: 0; }
.is-dark .ws-point p { color: var(--dark-text); }
.ws-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: var(--soft); color: var(--ink); flex: none; }
.ws-ico svg { width: 20px; height: 20px; }
.is-soft .ws-ico, .ws-card .ws-ico { background: #fff; border: 1px solid var(--line); }
.is-soft .ws-card .ws-ico { background: var(--soft); border: 0; }
.is-dark .ws-ico { background: rgba(255,255,255,.07); color: #fff; border: 1px solid var(--dark-line); }

.ws-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 900px) { .ws-stats { grid-template-columns: repeat(4, 1fr); } }
.ws-stat { background: #fff; padding: 28px 24px; }
.ws-stat strong { display: block; font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -.04em; color: var(--ink); font-weight: 700; margin-bottom: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-stat > span { font-size: 14.5px; color: var(--muted); line-height: 1.4; display: block; }
.is-dark .ws-stats { background: var(--dark-line); border-color: var(--dark-line); }
.is-dark .ws-stat { background: var(--dark); }
.is-dark .ws-stat strong { color: #fff; }

/* ---------- Product lineup ---------- */
.ws-lineup { display: grid; gap: 20px; }
.ws-lineup > * { min-width: 0; }
@media (min-width: 720px) { .ws-lineup { grid-template-columns: repeat(2, 1fr); } .ws-lineup .is-xl { grid-column: span 2; } }
@media (min-width: 1080px) { .ws-lineup { grid-template-columns: repeat(6, 1fr); } .ws-lineup .is-xl { grid-column: span 4; grid-row: span 2; } .ws-lineup .is-m { grid-column: span 2; } .ws-lineup .is-l { grid-column: span 3; } }
.ws-prod { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--soft); color: var(--ink) !important; overflow: hidden; padding: 28px 28px 0; min-height: 380px; transition: background .25s; }
.is-soft .ws-prod { background: #fff; }
.ws-prod:hover { background: var(--soft-2); }
.is-soft .ws-prod:hover { background: #fbfbfc; }
.ws-prod-top { position: relative; z-index: 2; }
.ws-prod-kicker { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.ws-prod h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.028em; line-height: 1.1; margin: 0 0 8px; }
.ws-prod p { font-size: 15px; color: var(--muted); margin: 0 0 12px; max-width: 440px; }
.ws-prod .ws-more { font-size: 15px; color: var(--accent); }
.ws-prod-img { margin-top: auto; flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 24px 0 36px; min-height: 180px; }
.ws-prod-img .ws-shot { width: 66%; max-width: 340px; transition: transform .6s var(--ease); }
.ws-prod-img .ws-shot.is-standing { width: 30%; max-width: 150px; }
.ws-prod:hover .ws-prod-img .ws-shot { transform: translateY(-4px) scale(1.02); }
.ws-prod.is-xl .ws-prod-img { align-items: center; padding-bottom: 56px; }
.ws-prod.is-xl .ws-prod-img .ws-shot { width: 80%; max-width: 640px; }
.ws-prod.is-dark { background: var(--dark); }
.ws-prod.is-dark h3 { color: #fff; }
.ws-prod.is-dark p, .ws-prod.is-dark .ws-prod-kicker { color: var(--dark-text); }
.ws-prod.is-dark .ws-more { color: var(--accent-dark); }
.ws-prod.is-dark:hover { background: #0d2250; }
.ws-prod-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.ws-prod-chips span { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(11,13,18,.05); color: var(--ink); }
.ws-prod.is-dark .ws-prod-chips span, .is-dark .ws-prod-chips span { background: rgba(255,255,255,.08); color: #e6e8ec; }

/* ---------- Product page ---------- */
.ws-phero { background: var(--dark); color: var(--dark-text); text-align: center; padding: clamp(56px, 8vw, 96px) 0 0; overflow: hidden; position: relative; }
.ws-phero::before { content: ""; position: absolute; left: 50%; top: 66%; width: 1200px; height: 760px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,255,255,.11), rgba(255,255,255,0)); pointer-events: none; }
.ws-phero h1 { color: #fff; }
.ws-phero .ws-eyebrow { color: var(--orange); }
.ws-phero .ws-lead { color: var(--dark-text); margin: 0 auto 28px; }
.ws-phero .ws-btns { justify-content: center; }
.ws-phero-img { position: relative; margin: clamp(36px, 5vw, 60px) auto 0; max-width: 820px; padding-bottom: clamp(56px, 7vw, 96px); }
.ws-phero-img.is-tall { max-width: 300px; }
.ws-phero-img.is-duo { max-width: 980px; display: flex; align-items: flex-end; justify-content: center; gap: clamp(20px, 5vw, 64px); }

.ws-subnav { position: sticky; top: var(--nav-h); z-index: 900; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.ws-subnav-in { display: flex; align-items: center; gap: 18px; height: 52px; }
.ws-subnav-name { font-weight: 650; color: var(--ink); font-size: 16px; letter-spacing: -.015em; white-space: nowrap; }
.ws-subnav-links { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.ws-subnav-links::-webkit-scrollbar { display: none; }
.ws-subnav-links a { font-size: 14px; color: var(--muted) !important; padding: 6px 12px; border-radius: 999px; white-space: nowrap; font-weight: 500; }
.ws-subnav-links a:hover, .ws-subnav-links a.is-on { color: var(--ink) !important; background: var(--soft); }
.ws-subnav .ws-btn { flex: none; }
@media (max-width: 719.98px) { .ws-subnav-name { display: none; } .ws-subnav-links { margin-left: -10px; } .ws-subnav .ws-btn { display: none; } }

.ws-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 720px) { .ws-highlights { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .ws-highlights { grid-template-columns: repeat(6, 1fr); } }
.ws-hl { background: #fff; padding: 26px 20px 22px; }
.ws-hl strong { display: block; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.04em; color: var(--ink); font-weight: 700; margin-bottom: 10px; white-space: nowrap; }
.ws-hl strong small { font-size: .48em; letter-spacing: -.01em; font-weight: 650; margin-left: 2px; }
.ws-hl span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }

.ws-callouts { position: relative; }
.ws-callouts .ws-shot::after { display: none; }
.ws-pin { position: absolute; z-index: 3; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--ink); color: #fff !important; font-size: 13px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,255,255,.95), 0 6px 14px rgba(0,0,0,.25); cursor: pointer; border: 0; padding: 0; transition: transform .2s var(--ease), background .2s; }
.ws-pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.ws-pin.is-on, .ws-pin:hover { background: var(--accent); transform: scale(1.1); }
.ws-pin.is-on::after { animation: ws-ping 1.6s var(--ease) infinite; }
@keyframes ws-ping { 0% { opacity: .8; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.5); } }
.ws-legend { display: grid; gap: 4px; }
.ws-legend li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 14px 12px; border-radius: 14px; cursor: pointer; transition: background .2s; }
.ws-legend li.is-on, .ws-legend li:hover { background: var(--soft); }
.is-soft .ws-legend li.is-on, .is-soft .ws-legend li:hover { background: #fff; }
.ws-legend .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; transition: background .2s; }
.ws-legend li.is-on .n { background: var(--accent); }
.ws-legend b { display: block; color: var(--ink); font-size: 16px; letter-spacing: -.01em; font-weight: 650; }
.ws-legend span { font-size: 14.5px; color: var(--muted); line-height: 1.45; display: block; }

.ws-specs { border-top: 1px solid var(--line); }
.ws-spec-group { display: grid; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .ws-spec-group { grid-template-columns: 260px 1fr; gap: 40px; } }
.ws-spec-group h3 { font-size: 20px; letter-spacing: -.02em; margin: 0; }
.ws-spec-rows { display: grid; margin: 0; }
.ws-spec-row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ws-spec-row:first-child { padding-top: 2px; }
.ws-spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 640px) { .ws-spec-row { grid-template-columns: minmax(180px, 38%) 1fr; gap: 24px; } }
.ws-spec-row dt { font-size: 15px; color: var(--muted); }
.ws-spec-row dd { margin: 0; font-size: 15px; color: var(--ink); font-weight: 500; }
.ws-spec-row dd small { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; margin-top: 2px; }
.ws-spec-note { font-size: 13.5px; color: var(--muted); margin-top: 20px; }

.ws-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--soft); gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.is-soft .ws-seg { background: #fff; border: 1px solid var(--line); }
.ws-seg button { border: 0; background: none; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.ws-seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,13,18,.12); }
.is-soft .ws-seg button[aria-selected="true"] { background: var(--ink); color: #fff; }

/* ---------- Pricing ---------- */
.ws-plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .ws-plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .ws-plans { grid-template-columns: repeat(4, 1fr); } }
.ws-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; }
.ws-plan.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 50px -28px rgba(21,84,181,.45); }
.ws-plan-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; min-height: 28px; }
.ws-plan-name h3 { font-size: 20px; letter-spacing: -.02em; margin: 0; }
.ws-plan-for { font-size: 14.5px; color: var(--muted); min-height: 44px; margin-bottom: 18px; line-height: 1.45; }
.ws-price { margin-bottom: 20px; min-height: 70px; }
.ws-price small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; min-height: 18px; }
.ws-price strong { display: block; font-size: 40px; line-height: 1.05; letter-spacing: -.04em; color: var(--ink); font-weight: 700; }
.ws-price strong span { font-size: 15px; letter-spacing: -.01em; font-weight: 500; color: var(--muted); }
.ws-price strong.is-text { font-size: 28px; letter-spacing: -.03em; padding-top: 8px; }
.ws-price-fcfa { display: inline-flex; align-items: center; margin: 10px 0 0; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--text); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-plan.is-featured .ws-price-fcfa { background: var(--accent-50); }
.ws-table thead th small.ws-th-fcfa { margin-top: 1px; font-size: 11.5px; }
/* Four plans in a row: the plans without an FCFA line keep the same height, so the limit boxes line up. */
@media (min-width: 1140px) { .ws-plans .ws-price { min-height: 82px; } }
.ws-plan .ws-btn { margin-bottom: 24px; }
.ws-plan-inc { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.ws-plan .ws-checks { margin: 0; gap: 10px; }

.ws-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.ws-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.ws-table th, .ws-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.ws-table th:first-child, .ws-table td:first-child { text-align: left; width: 34%; color: var(--ink); }
.ws-table thead th { background: #fff; font-size: 15px; color: var(--ink); font-weight: 650; padding-top: 22px; padding-bottom: 16px; vertical-align: bottom; }
.ws-table thead th small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 3px; }
.ws-table td { color: var(--text); }
.ws-table tr:last-child td { border-bottom: 0; }
.ws-table .ws-group td { background: var(--soft); font-weight: 650; color: var(--ink); font-size: 13px; letter-spacing: .02em; padding-top: 12px; padding-bottom: 12px; text-align: left; }
.ws-table td .ws-tag { margin-left: 8px; height: 20px; font-size: 11px; padding: 0 8px; }
.ws-table .is-featured { background: var(--accent-50); }
.ws-yes, .ws-no { display: inline-block; vertical-align: middle; }
.ws-yes { width: 18px; height: 18px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.6 7.4-5.3 5.4a1 1 0 0 1-1.4 0L5.4 10.3a1 1 0 1 1 1.4-1.4l1.8 1.8 4.6-4.7a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.6 7.4-5.3 5.4a1 1 0 0 1-1.4 0L5.4 10.3a1 1 0 1 1 1.4-1.4l1.8 1.8 4.6-4.7a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ws-no { width: 12px; height: 2px; background: var(--line-2); border-radius: 2px; }
.ws-swipe { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
@media (min-width: 900px) { .ws-swipe { display: none; } }

.ws-faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.ws-faq details { border-bottom: 1px solid var(--line); }
.ws-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.015em; }
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.8px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.8px 12px no-repeat; transition: transform .25s var(--ease); }
.ws-faq details[open] summary::after { transform: rotate(45deg); }
.ws-faq details p { margin: -6px 0 22px; color: var(--muted); font-size: 16px; max-width: 760px; }

/* ---------- CTA ---------- */
.ws-cta { background: var(--dark); color: var(--dark-text); text-align: center; padding: clamp(88px, 11vw, 140px) 0 0; position: relative; overflow: hidden; }
.ws-cta::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: 1100px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,255,255,.10), rgba(255,255,255,0)); pointer-events: none; }
.ws-cta h2 { color: #fff; }
.ws-cta .ws-lead { margin: 0 auto 32px; color: var(--dark-text); }
.ws-cta .ws-btns { justify-content: center; }

/* ---------- Field / stories ---------- */
.ws-field { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #08183a; min-height: 360px; display: flex; align-items: flex-end; }
.ws-field picture { position: absolute; inset: 0; }
.ws-field img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: .8; }
.ws-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,18,.05) 30%, rgba(11,13,18,.9) 100%); }
.ws-field-cap { position: relative; z-index: 2; padding: 28px; color: #c9ccd3; }
.ws-field-cap b { display: block; color: #fff; font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }
.ws-field-cap span { font-size: 14.5px; }
.ws-story { display: flex; flex-direction: column; gap: 14px; }
.ws-story-logo { height: 44px; display: flex; align-items: center; opacity: .72; }
.ws-story-logo img { height: 100%; width: auto; }
.ws-story-logo.is-lvmh img { height: 18px; }
.ws-story-meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.ws-story p { color: var(--text); font-size: 16px; margin: 0; }
.ws-story .ws-prod-chips { margin: 0; }

.ws-soon { display: flex; gap: 18px; align-items: flex-start; }
.ws-soon .ws-ico { margin: 0; }
.ws-soon h3 { font-size: 20px; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ws-soon p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.ws-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 14px; color: var(--muted); }
.ws-footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .ws-footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.ws-footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .ws-footer-brand { grid-column: auto; } }
.ws-footer-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.ws-footer-brand p { max-width: 320px; }
.ws-footer h4 { font-size: 13px; color: var(--ink); font-weight: 650; margin: 0 0 14px; letter-spacing: .01em; }
.ws-footer li + li { margin-top: 9px; }
.ws-footer a { color: var(--muted); }
.ws-footer a:hover { color: var(--ink); }
.ws-footer-phones span { display: inline-block; min-width: 54px; color: var(--faint); }
.ws-footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }

/* ---------- Forms ---------- */
.ws-input, .ws-select, .ws-textarea {
    width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink);
    font: inherit; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.ws-textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 130px; }
.ws-select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6f79' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
.ws-input:focus, .ws-select:focus, .ws-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(21,84,181,.14); }
.ws-input::placeholder, .ws-textarea::placeholder { color: var(--faint); }
.ws-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
@media (min-width: 768px) { .ws-form { padding: 36px; } }
.ws-form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .ws-form-row.is-2 { grid-template-columns: 1fr 1fr; } }
.ws-form label, .ws-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.ws-field-error { display: none; color: #c4262b; font-size: 13px; margin-top: 6px; }
.ws-form .is-invalid { border-color: #c4262b; }
.ws-form .is-invalid ~ .ws-field-error, .ws-field-error.is-shown { display: block; }
.ws-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); cursor: pointer; font-weight: 400 !important; }
.ws-check input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--ink); }
.ws-alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; margin-top: 18px; display: none; }
.ws-alert.is-success { display: block; background: #e7f6ee; color: #10643b; }
.ws-alert.is-error { display: block; background: #fdeced; color: #9d1c21; }
.ws-recaptcha { margin: 6px 0 18px; }

.ws-contact-list { display: grid; border-top: 1px solid var(--line); }
.ws-contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ws-contact-item h3 { font-size: 17px; margin: 0 0 4px; letter-spacing: -.015em; }
.ws-contact-item p { margin: 0; color: var(--muted); font-size: 15px; }
.ws-contact-item .ws-ico { margin: 0; }

.ws-member { padding-top: 22px; border-top: 1px solid var(--line); }
.ws-avatar { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 19px; letter-spacing: -.02em; background: var(--soft); color: var(--ink); border: 1px solid var(--line); margin-bottom: 16px; }
.ws-member h3 { font-size: 19px; letter-spacing: -.018em; margin: 0 0 2px; }
.ws-role { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.ws-member p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.965); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .ws-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Small blocks used in bento cards */
.ws-stat strong.is-sm { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; padding-top: clamp(4px, .9vw, 12px); }
.ws-enroll { display: grid; gap: 10px; }
.ws-enroll > div { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.is-soft .ws-enroll > div { background: var(--soft); border-color: transparent; }
.ws-enroll .ws-ico { grid-row: span 2; margin: 0; background: #fff; border: 1px solid var(--line); }
.ws-enroll b { color: var(--ink); font-size: 15px; letter-spacing: -.01em; }
.ws-enroll small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.ws-roles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ws-roles li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ws-roles b { color: var(--ink); font-weight: 650; }
.ws-roles span { color: var(--muted); }
.ws-intlist { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.ws-intlist li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ws-intlist .ws-int-ico { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.ws-intlist b { display: block; color: var(--ink); font-size: 15.5px; letter-spacing: -.01em; }
.ws-intlist small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.ws-ico.is-xl { width: 104px; height: 104px; border-radius: 30px; margin: 0 0 20px; background: #fff; border: 1px solid var(--line); }
.ws-ico.is-xl svg { width: 46px; height: 46px; stroke-width: 1.4; }

.ws-specs .ws-spec-group:first-child { padding-top: 24px; }
.ws-split .ws-specs { margin-top: 24px; }
@media (min-width: 900px) { .ws-split .ws-spec-group { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Auth pages (layout/auth.php) ---------- */
.ws-auth { display: grid; min-height: 100vh; }
@media (min-width: 1024px) { .ws-auth { grid-template-columns: minmax(480px, 1fr) 1.15fr; } }
.ws-auth-main { display: flex; flex-direction: column; padding: 20px 16px; }
@media (min-width: 640px) { .ws-auth-main { padding: 28px 48px; } }
.ws-auth-top { display: flex; align-items: center; justify-content: space-between; }
.ws-auth-form { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 420px; margin: 0 auto; padding: 48px 0; }
.ws-auth-foot { display: flex; gap: 18px; justify-content: center; font-size: 13px; color: var(--muted); }
.ws-auth-foot a { color: var(--muted); }
.ws-auth-side { display: none; position: relative; overflow: hidden; background: radial-gradient(70% 55% at 50% 62%, #1b3d80 0%, #0d2352 55%, #08183a 100%); color: var(--dark-text); }
@media (min-width: 1024px) { .ws-auth-side { display: block; } }
.ws-auth-side-in { position: absolute; inset: 0; padding: 72px 64px; display: flex; flex-direction: column; }
.ws-auth-quote { color: #fff; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin: 0 0 16px; }
.ws-auth-sub { font-size: 17px; max-width: 440px; margin: 0; }
.ws-auth-prods { position: relative; flex: 1; max-height: 620px; margin-top: auto; }
.ws-auth-prods .ws-shot { position: absolute; }
.ws-auth-prods .ws-shot::after { background: radial-gradient(closest-side, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.ws-auth-prods .is-u { width: 62%; left: 50%; bottom: 14%; transform: translateX(-50%); }
.ws-auth-prods .is-r { width: 14%; left: 6%; bottom: 15%; }
.ws-auth-prods .is-c { width: 22%; right: 4%; bottom: 13%; }

.ws-auth h1 { font-size: 32px; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 8px; }
.ws .ws-auth-lead { color: var(--muted); margin: 0 0 32px; font-size: 16px; }
.ws-fld { margin-bottom: 18px; }
.ws-fld label, .ws-auth .ws-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.ws-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ws-label-row a { font-size: 13.5px; font-weight: 500; }
.ws-auth input[type=text], .ws-auth input[type=email], .ws-auth input[type=password] {
    width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink);
    font: inherit; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.ws-auth input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(21,84,181,.14); }
.ws-auth input::placeholder { color: var(--faint); }
.ws-auth .form-error, .ws-auth input.is-invalid { border-color: #c4262b; }
.ws-auth .error-message, .ws-auth .error { color: #c4262b; font-size: 13px; margin-top: 6px; }
.ws-auth .ws-check { margin: 4px 0 22px; }
.ws-auth .g-recaptcha { margin-bottom: 18px; }
.ws-auth-alt { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); text-align: center; }
.ws-auth .ws-btn[disabled] { opacity: .7; }
.ws-auth .input { margin: 0; }
.ws-auth .input label { display: none; }

/* "this will sign out your other session" */
.ws-takeover-ico { width: 44px; height: 44px; border-radius: 12px; background: #fdf3df; color: #b7770a; display: grid; place-items: center; margin-bottom: 18px; }
.ws-takeover-ico svg { width: 22px; height: 22px; }
.ws-takeover h1 { font-size: 26px; }
.ws-takeover p { color: var(--muted); }
.ws-takeover ul { border: 1px solid var(--line); border-radius: 14px; margin: 18px 0 24px; }
.ws-takeover li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 13px 16px; font-size: 14.5px; color: var(--ink); }
.ws-takeover li + li { border-top: 1px solid var(--line); }
.ws-takeover li span { color: var(--muted); }
.ws-takeover-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }


/* Fixes: products panel tiles, mobile sheet (a backdrop-filter on the bar would trap the fixed sheet) */
.ws-panel-img { aspect-ratio: auto; height: 132px; overflow: hidden; }
.ws-panel-img img { max-height: 100%; height: auto; }
@media (max-width: 1023.98px) { .ws-panel-img { height: 104px; } }
@media (min-width: 1024px) { .ws-panel { background: #fff; } }
body.ws-menu-open .ws-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.ws-panel-img img { max-height: 96px; max-width: 100%; width: auto; }
@media (max-width: 1023.98px) { .ws-panel-img img { max-height: 76px; } }

/* UAC: every angle (crossfading views, thumbnails) */
.ws-angles { display: grid; gap: 18px; }
.ws-angles-stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); background: radial-gradient(70% 70% at 50% 45%, #fff 0%, var(--soft) 70%); overflow: hidden; }
.ws-angle { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4% 8% 72px; opacity: 0; transform: scale(.96) translateY(10px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.ws-angle.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ws-angle .ws-shot { display: block; width: 100%; height: 100%; }
.ws-angle .ws-shot img { width: 100%; height: 100%; object-fit: contain; }
.ws-angle figcaption { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); }
.ws-angle figcaption b { color: var(--ink); font-size: 16px; }
.ws-angles-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.ws-angles-thumbs::-webkit-scrollbar { display: none; }
.ws-angle-thumb { flex: 0 0 118px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 8px; border-radius: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 600 12px/1.2 var(--font); color: var(--muted); transition: border-color .2s, box-shadow .2s, color .2s; }
.ws-angle-thumb .ws-shot { display: block; width: 100%; height: 56px; }
.ws-angle-thumb .ws-shot img { width: 100%; height: 100%; object-fit: contain; }
.ws-angle-thumb .ws-shot::after { display: none; }
.ws-angle-thumb.is-on { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
@media (max-width: 720px) { .ws-angles-stage { aspect-ratio: 4 / 3; } .ws-angle { padding: 6% 4% 76px; } .ws-angle-thumb { flex-basis: 96px; } }
@media (prefers-reduced-motion: reduce) { .ws-angle { transition: none; transform: none; } }
.ws-angle-thumb { overflow: hidden; }
.ws-angle-thumb .ws-shot { display: flex; align-items: center; justify-content: center; height: 56px; overflow: hidden; }
.ws-angle-thumb .ws-shot picture { display: contents; }
.ws-angle-thumb .ws-shot img { width: auto; height: auto; max-width: 100%; max-height: 56px; }

/* About: numbers, team portraits, join strip */
.ab-numbers { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .ab-numbers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ab-numbers { grid-template-columns: repeat(3, 1fr); } }
.ab-num { background: #fff; padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.ab-num strong { font-size: clamp(36px, 4.2vw, 56px); line-height: 1; letter-spacing: -.04em; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ab-num span { font-size: 15px; color: var(--muted); line-height: 1.45; max-width: 30ch; }
.ab-team { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .ab-team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ab-team { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.ab-member { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.ab-member:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(8, 24, 58, .28); border-color: var(--line-2); }
.ab-photo { position: relative; width: 184px; height: 184px; border-radius: 50%; overflow: hidden; margin-bottom: 22px; flex: none;
    background: radial-gradient(85% 85% at 50% 35%, #f6f8fb 0%, #e5eaf2 60%, #d6deea 100%);
    box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), 0 14px 30px -14px rgba(8, 24, 58, .35); transition: box-shadow .35s var(--ease); }
.ab-member:hover .ab-photo { box-shadow: 0 0 0 6px #fff, 0 0 0 7.5px var(--accent), 0 16px 34px -14px rgba(21, 84, 181, .35); }
.ab-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: translateY(11%) scale(1.3); transition: transform .8s var(--ease); }
.ab-member:hover .ab-photo img { transform: translateY(10%) scale(1.34); }
.ab-member h3 { font-size: 19px; letter-spacing: -.018em; margin: 0 0 6px; color: var(--ink); }
.ab-member .ws-role { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-50); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.ab-member p { font-size: 15px; color: var(--muted); margin: 0; max-width: 34ch; }
@media (max-width: 639.98px) { .ab-photo { width: 152px; height: 152px; } }
.ab-join { margin-top: 48px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.ab-join .ws-ico { margin: 0; }
.ab-join > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.ab-join b { color: var(--ink); font-size: 17px; }
.ab-join span { color: var(--muted); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .ab-photo img, .ab-member, .ab-photo { transition: none; } .ab-member:hover { transform: none; } }

/* Datasheet page */
.ds-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.ds-foot .ws-spec-note { margin: 0; }
.ws-btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Downloads (/downloads) ---------- */
.ws-dl-hero { padding-bottom: 8px; }
.ws-dl-product { display: flex; gap: 22px; align-items: flex-start; }
.ws-dl-app { flex: none; width: 84px; height: 84px; border-radius: 22px; background: var(--accent); display: grid; place-items: center; box-shadow: 0 14px 30px -14px rgba(21, 84, 181, .7); }
.ws-dl-app svg { width: 58px; height: 58px; }
.ws-dl-product-main { min-width: 0; }
.ws-dl-product-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.ws-dl-product-top .ws-h3 { margin: 0; }
.ws-dl-product-main .ws-muted { max-width: 640px; margin: 0 0 8px; }
.ws-dl-meta { font-size: 14px; color: var(--faint); margin: 0; }

.ws-dl-pick { margin-top: 32px; }
.ws-dl-pick-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); }
.ws-dl-pick-card[hidden] { display: none; }
.ws-dl-pick-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ws-dl-pick-text strong { font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.ws-dl-pick-text .ws-muted { font-size: 14px; }
.ws-dl-pick-k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.ws-dl-pick .ws-btn svg, .ws-dl-get svg { width: 18px; height: 18px; margin-right: 8px; }
.ws-dl-other { margin: 10px 2px 0; font-size: 14px; color: var(--muted); }

.ws-dl-os { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.ws-dl-os svg { width: 20px; height: 20px; }
.ws-dl-os.is-lg { width: 52px; height: 52px; border-radius: 14px; }
.ws-dl-os.is-lg svg { width: 26px; height: 26px; }
.ws-dl-os.is-accent { color: var(--accent); background: var(--accent-50); border-color: transparent; }

.ws-dl-files { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ws-dl-files-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.ws-dl-files-head .ws-h4 { margin: 0; }
.ws-dl-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 20px 22px; }
.ws-dl-file + .ws-dl-file { border-top: 1px solid var(--line); }
.ws-dl-file-name { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.ws-dl-sha { display: flex; align-items: center; gap: 8px; margin-top: 8px; min-width: 0; }
.ws-dl-sha-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); flex: none; }
.ws-dl-sha code { font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ws-dl-copy { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, color .15s; }
.ws-dl-copy svg { width: 14px; height: 14px; }
.ws-dl-copy:hover { border-color: var(--accent); color: var(--accent); }
.ws-dl-copy.is-done { border-color: var(--green); color: var(--green); }
.ws-dl-facts { display: flex; gap: 22px; margin: 0; }
.ws-dl-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ws-dl-facts dd { margin: 2px 0 0; font-size: 14px; color: var(--ink); white-space: nowrap; }
.ws-dl-fname { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px !important; }

.ws-dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.ws-dl-step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ws-dl-step-head { display: flex; align-items: center; gap: 12px; }
.ws-dl-step-head .ws-h4 { margin: 0; }
.ws-dl-ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text); font-size: 15px; line-height: 1.5; }
.ws-dl-cmd { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 8px 8px 12px; border-radius: 10px; background: var(--dark); min-width: 0; }
.ws-dl-cmd code { flex: 1; min-width: 0; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #e6edf7; overflow-x: auto; white-space: nowrap; }
.ws-dl-cmd .ws-dl-copy { background: transparent; color: #e6edf7; border-color: var(--dark-line); }
.ws-dl-check .ws-muted { margin: 0; font-size: 15px; }
.ws-dl-check .ws-btn { align-self: flex-start; margin-top: auto; }
.ws-dl-probe { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--text); }
.ws-dl-probe-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--faint); }
.ws-dl-probe[data-state="busy"] .ws-dl-probe-dot { background: var(--accent); animation: ws-dl-pulse 1s infinite; }
.ws-dl-probe[data-state="ok"] { background: #e8f6ee; }
.ws-dl-probe[data-state="ok"] .ws-dl-probe-dot { background: var(--green); }
.ws-dl-probe[data-state="warn"] { background: #fff4e0; }
.ws-dl-probe[data-state="warn"] .ws-dl-probe-dot { background: var(--amber); }
.ws-dl-probe[data-state="off"] { background: #fdeced; }
.ws-dl-probe[data-state="off"] .ws-dl-probe-dot { background: var(--red); }
@keyframes ws-dl-pulse { 50% { opacity: .35; } }

.ws-dl-verify { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ws-dl-verify-cmds { display: flex; flex-direction: column; gap: 16px; }
.ws-dl-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.ws-dl-help .ws-h3 { margin-bottom: 6px; }
.ws-dl-help .ws-btn svg { width: 18px; height: 18px; margin-right: 8px; }
.ws-eyebrow svg { width: 16px; height: 16px; }

@media (max-width: 980px) {
    .ws-dl-steps { grid-template-columns: minmax(0, 1fr); }
    .ws-dl-verify { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ws-dl-file { grid-template-columns: auto minmax(0, 1fr); }
    .ws-dl-facts, .ws-dl-get { grid-column: 2; }
    .ws-dl-get { justify-self: start; }
}
@media (max-width: 600px) {
    .ws-dl-product { flex-direction: column; gap: 16px; }
    .ws-dl-app { width: 68px; height: 68px; border-radius: 18px; }
    .ws-dl-app svg { width: 46px; height: 46px; }
    .ws-dl-pick-card { flex-wrap: wrap; padding: 18px; }
    .ws-dl-pick-card .ws-btn { width: 100%; }
    .ws-dl-file { padding: 18px 16px; gap: 12px; }
    .ws-dl-files-head { padding: 14px 16px; }
    .ws-dl-facts { flex-wrap: wrap; gap: 8px 18px; }
    .ws-dl-step-card { padding: 20px; }
}

/* /developers: API guide (templates/Pages/developers.php) */
.ws-api { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.ws-api-toc { position: sticky; top: 96px; font-size: 14px; }
.ws-api-toc-title { font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ws-api-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.ws-api-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text); text-decoration: none; }
.ws-api-toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.ws-api-main { min-width: 0; }
.ws-api-sec { padding: 8px 0 36px; scroll-margin-top: 96px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.ws-api-sec:last-child { border-bottom: 0; }
.ws-api-sec > p, .ws-api-ep > p { color: var(--text); line-height: 1.65; margin: 0 0 14px; }
.ws-api-sec h2 { margin-bottom: 14px; }
.ws-api-main code { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft); color: var(--ink); padding: 1px 6px; border-radius: 6px; }
/* Code card: navy body, header with the language and a copy button, brand colours. */
.ws-api-code { margin: 0 0 18px; border-radius: 14px; background: var(--dark); border: 1px solid var(--dark-3); overflow: hidden; box-shadow: 0 10px 30px -18px rgba(8, 24, 58, .55); }
.ws-api-code-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 16px; background: var(--dark-2); border-bottom: 1px solid var(--dark-line); }
.ws-api-code-lang { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--dark-text); }
.ws-api-code-lang::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(247, 148, 29, .18); }
.ws-api-copy { font: 600 12px/1 Inter, system-ui, sans-serif; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid var(--dark-line); border-radius: 8px; padding: 6px 11px; cursor: pointer; transition: background .15s ease; }
.ws-api-copy:hover { background: rgba(255, 255, 255, .16); }
.ws-api-copy.is-done { background: rgba(23, 160, 93, .25); border-color: rgba(23, 160, 93, .5); }
.ws-api-code pre { margin: 0; padding: 14px 16px 16px; overflow-x: auto; }
.ws-api-main .ws-api-code code { display: block; background: none; padding: 0; color: #dbe5f5; font-size: 12.5px; line-height: 1.6; white-space: pre; }
.ws-api-code .tk-key { color: var(--accent-dark); }
.ws-api-code .tk-str { color: #ffb35c; }
.ws-api-code .tk-num { color: #7fdcb0; }
.ws-api-code .tk-bool { color: #f0a0c8; }
.ws-api-code .tk-punc { color: #7d8fb3; }
.ws-api-code .tk-cmd { color: var(--orange); font-weight: 700; }
.ws-api-code .tk-flag { color: var(--accent-dark); }
.ws-api-code .tk-url { color: #fff; text-decoration: underline; text-decoration-color: rgba(106, 166, 255, .5); text-underline-offset: 3px; }
.ws-api-steps { padding-left: 20px; margin: 0 0 14px; line-height: 1.65; color: var(--text); }
.ws-api-steps li { margin-bottom: 6px; }
.ws-table.ws-api-table { min-width: 0; font-size: 14px; }
.ws-api-table th, .ws-api-table td { text-align: left; vertical-align: top; padding: 10px 14px; }
.ws-api-table td:first-child, .ws-api-table th:first-child { width: auto; white-space: nowrap; }
.ws-api-sec .ws-table-wrap { margin-bottom: 14px; }
.ws-api-ep { padding: 18px 0 6px; border-top: 1px dashed var(--line); }
.ws-api-ep:first-of-type { border-top: 0; padding-top: 4px; }
.ws-api-ep-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.ws-api-main .ws-api-path { font-size: 14px; font-weight: 600; background: none; padding: 0; overflow-wrap: anywhere; }
.ws-api-method { font: 700 11.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 5px 8px; border-radius: 6px; letter-spacing: .03em; }
.ws-api-method.is-get { background: var(--accent-50); color: var(--accent-600); }
.ws-api-method.is-post { background: #e8f7ef; color: #11804a; }
.ws-api-method.is-patch { background: var(--orange-50); color: var(--orange-600); }
.ws-api-method.is-delete { background: #fdecec; color: #c4363b; }
.ws-api-scope { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.ws-api-params { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: 14px; }
.ws-api-params dt { font-weight: 400; }
.ws-api-params dd { margin: 0; color: var(--text); }
.ws-api-label { font-size: 12px !important; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted) !important; margin-bottom: 6px !important; }
@media (max-width: 900px) {
  .ws-api { grid-template-columns: 1fr; gap: 16px; }
  .ws-api-toc { position: static; }
  .ws-api-toc ul { display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .ws-api-toc a { padding: 5px 11px; margin: 0; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
  .ws-api-params { grid-template-columns: 1fr; gap: 2px; }
  .ws-api-params dd { margin-bottom: 8px; }
}
@media (max-width: 600px) {
  /* Phones: one row = the code line, then the explanation under it. */
  .ws-table.ws-api-table thead { display: none; }
  .ws-table.ws-api-table tr { display: flex; flex-wrap: wrap; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .ws-table.ws-api-table tr:last-child { border-bottom: 0; }
  .ws-table.ws-api-table td { padding: 0; border: 0; font-size: 13.5px; }
  .ws-table.ws-api-table td:last-child { flex-basis: 100%; }
}

/* /developers/reference: Swagger UI in Mirialabs colours */
.ws-ref .swagger-ui { font-family: Inter, system-ui, sans-serif; color: var(--text); }
.ws-ref .swagger-ui .info { display: none; } /* the page has its own title */
.ws-ref .swagger-ui .scheme-container { box-shadow: none; padding: 0 0 16px; background: none; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.ws-ref .swagger-ui .opblock-tag { font-family: Inter, system-ui, sans-serif; color: var(--ink); border-bottom-color: var(--line); }
.ws-ref .swagger-ui .opblock { border-radius: 12px; box-shadow: none; }
.ws-ref .swagger-ui .opblock .opblock-summary-method { border-radius: 7px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; min-width: 70px; }
.ws-ref .swagger-ui .opblock .opblock-summary-path { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); }
.ws-ref .swagger-ui .opblock.opblock-get { background: var(--accent-50); border-color: rgba(21, 84, 181, .3); }
.ws-ref .swagger-ui .opblock.opblock-get .opblock-summary-method { background: var(--accent); }
.ws-ref .swagger-ui .opblock.opblock-get .opblock-summary { border-color: rgba(21, 84, 181, .3); }
.ws-ref .swagger-ui .opblock.opblock-post { background: #ecf8f1; border-color: rgba(23, 160, 93, .35); }
.ws-ref .swagger-ui .opblock.opblock-post .opblock-summary-method { background: var(--green); }
.ws-ref .swagger-ui .opblock.opblock-patch { background: var(--orange-50); border-color: rgba(247, 148, 29, .4); }
.ws-ref .swagger-ui .opblock.opblock-patch .opblock-summary-method { background: var(--orange-600); }
.ws-ref .swagger-ui .opblock.opblock-delete { background: #fdf2f2; border-color: rgba(229, 72, 77, .35); }
.ws-ref .swagger-ui .opblock.opblock-delete .opblock-summary-method { background: var(--red); }
.ws-ref .swagger-ui .btn { border-radius: 10px; font-family: Inter, system-ui, sans-serif; box-shadow: none; }
.ws-ref .swagger-ui .btn.authorize { color: var(--accent); border-color: var(--accent); }
.ws-ref .swagger-ui .btn.authorize svg { fill: var(--accent); }
.ws-ref .swagger-ui .btn.execute { background: var(--accent); border-color: var(--accent); }
/* Swagger's code boxes in the colours of our code cards (.ws-api-code). Swagger paints
   with inline monokai styles, so they are matched on those (!important beats inline). */
.ws-ref .swagger-ui .highlight-code > .microlight, .ws-ref .swagger-ui .microlight { background: var(--dark) !important; color: #dbe5f5 !important; border-radius: 12px; border: 1px solid var(--dark-3); padding: 14px 16px !important; font-size: 12.5px; line-height: 1.6; }
.ws-ref .swagger-ui .microlight .hljs-attr { color: var(--accent-dark); }
.ws-ref .swagger-ui .microlight span[style*="166, 226, 46"] { color: #ffb35c !important; }
.ws-ref .swagger-ui .microlight span[style*="249, 38, 114"] { color: #f0a0c8 !important; font-weight: 400 !important; }
.ws-ref .swagger-ui .microlight span[style*="174, 129, 255"] { color: #7fdcb0 !important; }
.ws-ref .swagger-ui select, .ws-ref .swagger-ui input[type=text] { border-radius: 8px; }
.ws-ref .swagger-ui .model-box { border-radius: 10px; }
.ws-ref .swagger-ui .markdown code, .ws-ref .swagger-ui .renderedMarkdown code { color: var(--accent-600); background: var(--accent-50); border-radius: 5px; padding: 1px 5px; font-weight: 600; }
.ws-ref .swagger-ui .opblock .opblock-summary-control:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.ws-ref-hero { padding-bottom: 8px; }
/* Phones: Swagger's answers table (code | description | links) squeezes the code boxes: stack it. */
@media (max-width: 640px) {
    .ws-ref .swagger-ui .responses-table thead, .ws-ref .swagger-ui .responses-table .response-col_links { display: none; }
    .ws-ref .swagger-ui .responses-table tr.response { display: flex; flex-direction: column; }
    .ws-ref .swagger-ui .responses-table td { padding: 4px 0; }
}
