/* ==========================================================================
   Wafra Capital — design system
   ========================================================================== */

:root {
    --red: #c5212a;
    --red-600: #a8151f;
    --red-700: #7f0f17;
    --red-300: #ef5a63;
    --red-tint: #fbeeee;

    --ink: #1c1819;
    --ink-2: #4b4546;
    --muted: #867f80;
    --paper: #faf7f4;
    --paper-2: #f3ede8;
    --white: #fff;
    --line: rgba(28, 24, 25, .1);

    --night: #130a0c;
    --night-2: #1d1013;
    --night-line: rgba(255, 255, 255, .1);
    --night-text: rgba(255, 255, 255, .72);

    --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
    --font-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;

    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px -28px rgba(60, 12, 16, .35);
    --shadow-sm: 0 10px 30px -18px rgba(28, 24, 25, .35);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --header-h: 78px;
    --surface: #fff;
    --contrast: #1c1819;
    --header-bg: rgba(250, 247, 244, .82);
    --header-bg-solid: rgba(250, 247, 244, .94);
    --container: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.85;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.3; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wc-container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.wc-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- scroll progress + page intro ---------- */
.wc-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--red-300), var(--red)); transform-origin: right; transform: scaleX(0); }

.wc-intro { position: fixed; inset: 0; z-index: 200; background: var(--night); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.wc-intro img { width: 190px; animation: wc-intro-pulse 1.1s var(--ease) both; }
.wc-intro::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--red); transform-origin: right; animation: wc-intro-bar .9s var(--ease) both; }
.is-ready .wc-intro { opacity: 0; visibility: hidden; }
@keyframes wc-intro-pulse { from { opacity: 0; transform: scale(.92) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wc-intro-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- buttons ---------- */
.wc-btn {
    --bg: var(--red); --fg: #fff;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border: 0; border-radius: 999px;
    font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
    color: var(--fg); background: var(--bg); overflow: hidden; isolation: isolate;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s;
    box-shadow: 0 14px 30px -14px rgba(200, 32, 42, .75);
    will-change: transform;
}
.wc-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--contrast); border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.wc-btn:hover::before { transform: none; }
.wc-btn:hover { box-shadow: 0 18px 34px -16px rgba(28, 24, 25, .6); }
.wc-btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.wc-btn:hover svg { transform: translateX(-4px); }
.wc-btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.wc-btn--ghost:hover { color: #fff; box-shadow: none; }
.wc-btn--light { --bg: #fff; --fg: #1c1819; box-shadow: none; }
.wc-btn--light::before { background: var(--red); }
.wc-btn--light:hover { color: #fff; }
.wc-btn--outline-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.wc-btn--outline-light::before { background: #fff; }
.wc-btn--outline-light:hover { color: #1c1819; box-shadow: none; }
.wc-btn--sm { padding: 10px 20px; font-size: 14px; }
.wc-btn--block { width: 100%; }
.wc-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.wc-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--red); }
.wc-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.wc-link:hover svg { transform: translateX(-5px); }

/* ---------- header ---------- */
.wc-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: height .4s var(--ease), background .4s, box-shadow .4s, transform .45s var(--ease); background: var(--header-bg); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.wc-header.is-scrolled { height: 66px; box-shadow: 0 16px 40px -30px rgba(28, 24, 25, .55); background: var(--header-bg-solid); }
.wc-header.is-hidden { transform: translateY(-100%); }
.wc-header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.wc-logo img { height: 56px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .wc-logo img { height: 46px; }

.wc-nav { margin-inline-start: auto; }
.wc-nav > ul { display: flex; align-items: center; gap: 4px; }
.wc-nav__item { position: relative; }
.wc-nav__link { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-family: var(--font-display); font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: none; border: 0; transition: color .25s, background .25s; }
.wc-nav__link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.wc-nav__link:hover, .wc-nav__item:hover > .wc-nav__link, .wc-nav__link.is-active { color: var(--red); background: var(--red-tint); }
.wc-nav__item:hover > .wc-nav__link svg { transform: rotate(180deg); }
.wc-drop { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 230px; padding: 10px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top; transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s; }
.wc-drop::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.wc-nav__item:hover > .wc-drop, .wc-nav__item:focus-within > .wc-drop { opacity: 1; visibility: visible; transform: none; }
.wc-drop a { display: block; padding: 9px 14px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s, padding .25s var(--ease); }
.wc-drop a:hover { background: var(--red-tint); color: var(--red); padding-inline-start: 20px; }

.wc-header__cta { display: flex; align-items: center; gap: 10px; }
.wc-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); position: relative; }
.wc-burger span { position: absolute; inset-inline: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s; }
.wc-burger span:nth-child(1) { top: 16px; } .wc-burger span:nth-child(2) { top: 22px; } .wc-burger span:nth-child(3) { top: 28px; }
.menu-open .wc-burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .wc-burger span:nth-child(2) { opacity: 0; }
.menu-open .wc-burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.wc-drawer { position: fixed; inset: 0; z-index: 99; background: var(--night); color: #fff; padding: calc(var(--header-h) + 24px) 24px 32px; overflow-y: auto; clip-path: circle(0 at calc(100% - 46px) 39px); transition: clip-path .65s var(--ease); visibility: hidden; }
[dir="rtl"] .wc-drawer { clip-path: circle(0 at 46px 39px); }
.menu-open .wc-drawer { clip-path: circle(150% at 46px 39px); visibility: visible; }
.wc-drawer__group { border-bottom: 1px solid var(--night-line); padding: 14px 0; }
.wc-drawer__group > a, .wc-drawer__group > span { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.wc-drawer__group > span { color: var(--red-300); font-size: 13px; letter-spacing: .08em; margin-bottom: 6px; }
.wc-drawer__group li a { display: block; padding: 6px 0; font-size: 18px; color: var(--night-text); }
.wc-drawer__cta { display: grid; gap: 10px; margin-top: 24px; }
.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.wc-section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.wc-section--tint { background: var(--paper-2); }
.wc-section--dark { background: var(--night); color: #fff; }
.wc-section--dark p { color: var(--night-text); }

.wc-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: .04em; margin-bottom: 16px; }
.wc-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.wc-section--dark .wc-eyebrow { color: var(--red-300); }
.wc-title { font-size: clamp(24px, 3vw, 38px); font-weight: 800; }
.wc-title em { font-style: normal; color: var(--red); }
.wc-section--dark .wc-title em { color: var(--red-300); }
.wc-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 62ch; margin-top: 16px; }
.wc-head { margin-bottom: clamp(36px, 5vw, 64px); }
.wc-head--center { text-align: center; }
.wc-head--center .wc-lead { margin-inline: auto; }
.wc-head--split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.wc-grid { display: grid; gap: 22px; }
.wc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.wc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wc-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); will-change: transform, opacity; }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }

.wc-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .12em; margin-block: -.12em; }
.wc-split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--w) * 70ms + 150ms); }
.is-ready .wc-split.is-in .w > span { transform: none; }

/* ---------- hero ---------- */
.wc-hero { position: relative; min-height: min(100svh, 980px); padding: calc(var(--header-h) + 70px) 0 90px; display: flex; align-items: center; color: #fff; background: radial-gradient(120% 90% at 85% 0%, #3a0d13 0%, var(--night) 55%); overflow: hidden; isolation: isolate; }
.wc-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .9; }
.wc-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; background: linear-gradient(to top, var(--night), transparent); pointer-events: none; }
.wc-orb { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -3; pointer-events: none; }
.wc-orb--1 { width: 520px; height: 520px; background: rgba(200, 32, 42, .5); top: -160px; inset-inline-end: -120px; animation: wc-float 14s ease-in-out infinite; }
.wc-orb--2 { width: 380px; height: 380px; background: rgba(239, 90, 99, .22); bottom: -140px; inset-inline-start: -100px; animation: wc-float 18s ease-in-out infinite reverse; }
@keyframes wc-float { 50% { transform: translate3d(40px, 50px, 0) scale(1.12); } }

.wc-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.wc-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--night-line); font-size: 13.5px; color: var(--night-text); backdrop-filter: blur(8px); }
[dir="rtl"] .wc-badge { padding: 8px 8px 8px 16px; }
.wc-badge i { width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; position: relative; }
.wc-badge i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: wc-ping 2s ease-out infinite; }
.wc-badge i svg { width: 14px; height: 14px; }
@keyframes wc-ping { to { transform: scale(2.1); opacity: 0; } }
.wc-hero h1 { font-size: clamp(32px, 4.5vw, 60px); font-weight: 800; line-height: 1.18; margin: 26px 0 22px; letter-spacing: -.02em; }
.wc-hero h1 em { font-style: normal; background: linear-gradient(100deg, #ff8a90, var(--red) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wc-hero__lead { font-size: clamp(16px, 1.7vw, 20px); color: var(--night-text); max-width: 54ch; }
.wc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.wc-hero__meta { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--night-line); }
.wc-hero__meta b { display: block; font-family: var(--font-display); font-size: clamp(20px, 2.1vw, 27px); font-weight: 700; line-height: 1.2; }
.wc-hero__meta span { font-size: 13.5px; color: var(--night-text); }

.wc-terminal { position: relative; border-radius: 26px; padding: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); border: 1px solid var(--night-line); backdrop-filter: blur(14px); box-shadow: 0 50px 100px -40px #000; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.wc-terminal__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-family: var(--font-display); font-size: 13px; color: var(--night-text); }
.wc-terminal__dots { display: flex; gap: 6px; }
.wc-terminal__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.wc-terminal__dots i:first-child { background: var(--red); }
.wc-terminal canvas { width: 100%; height: 250px; display: block; border-radius: 14px; background: rgba(0, 0, 0, .28); }
.wc-terminal__tabs { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.wc-terminal__tabs button { flex: 1; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, .04); color: var(--night-text); font-family: var(--font-display); font-size: 13px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.wc-terminal__tabs button.is-active, .wc-terminal__tabs button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.wc-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; color: #1c1819; font-family: var(--font-display); font-size: 13px; font-weight: 600; box-shadow: var(--shadow); animation: wc-bob 6s ease-in-out infinite; transform: translateZ(50px); }
.wc-chip i { width: 34px; height: 34px; border-radius: 10px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; }
.wc-chip i svg { width: 18px; height: 18px; }
.wc-chip small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 11.5px; }
.wc-chip--a { top: -26px; inset-inline-start: -30px; }
.wc-chip--b { bottom: 70px; inset-inline-end: -34px; animation-delay: -3s; }
@keyframes wc-bob { 50% { translate: 0 -12px; } }
.wc-scroll-hint { position: absolute; bottom: 26px; inset-inline-start: 50%; translate: 50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .35); }
.wc-scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: wc-wheel 1.8s var(--ease) infinite; }
@keyframes wc-wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- ticker ---------- */
.wc-ticker { background: var(--night-2); border-block: 1px solid var(--night-line); padding: 7px 0; overflow: hidden; direction: ltr; }
.wc-ticker iframe { width: 100%; height: 46px; border: 0; margin: 0; display: block; }

.wc-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.wc-marquee__track { display: flex; gap: 56px; width: max-content; align-items: center; animation: wc-marquee var(--dur, 34s) linear infinite; }
.wc-marquee:hover .wc-marquee__track { animation-play-state: paused; }
@keyframes wc-marquee { to { transform: translateX(-50%); } }
.wc-pay img { height: 44px; width: auto; max-width: none; object-fit: contain; opacity: .6; transition: opacity .3s, transform .3s var(--ease); }
.wc-pay img:hover { opacity: 1; transform: scale(1.08); }

/* ---------- cards ---------- */
.wc-card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.wc-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 32, 42, .11), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.wc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200, 32, 42, .28); }
.wc-card:hover::before { opacity: 1; }
.wc-card h3 { font-size: 19px; margin-bottom: 8px; }
.wc-card p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.wc-card__num { position: absolute; top: 18px; inset-inline-end: 22px; font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); transition: -webkit-text-stroke-color .4s; }
.wc-card:hover .wc-card__num { -webkit-text-stroke-color: rgba(200, 32, 42, .45); }
.wc-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); margin-bottom: 22px; transition: background .4s, color .4s, transform .5s var(--ease); }
.wc-icon svg { width: 28px; height: 28px; }
.wc-card:hover .wc-icon { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.06); }

.wc-section--dark .wc-card { background: rgba(255, 255, 255, .04); border-color: var(--night-line); }
.wc-section--dark .wc-card p { color: var(--night-text); }
.wc-section--dark .wc-icon { background: rgba(200, 32, 42, .18); color: var(--red-300); }

/* markets */
.wc-market { display: flex; flex-direction: column; min-height: 320px; }
.wc-market__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wc-market__tags span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--night-line); font-family: var(--font-display); font-size: 12.5px; direction: ltr; }
.wc-spark { margin-top: auto; padding-top: 24px; }
.wc-spark svg { width: 100%; height: 70px; overflow: visible; }
.wc-spark path.l { fill: none; stroke: var(--red-300); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.wc-spark path.a { fill: url(#wcSparkFill); opacity: 0; transition: opacity 1.2s 1.2s; }
.is-in .wc-spark path.l { stroke-dashoffset: 0; }
.is-in .wc-spark path.a { opacity: 1; }

/* account plans */
.wc-plan { display: flex; flex-direction: column; padding: 34px 30px; }
.wc-plan__name { font-size: 22px; font-weight: 800; }
.wc-plan__tag { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--red-tint); color: var(--red); font-family: var(--font-display); font-size: 12px; font-weight: 600; }
.wc-plan ul { margin: 22px 0 28px; display: grid; gap: 12px; flex: 1; }
.wc-plan li { position: relative; padding-inline-start: 30px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.wc-plan li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5212a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.wc-plan--featured { background: var(--night); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.wc-plan--featured li { color: var(--night-text); }
.wc-plan--featured .wc-plan__tag { background: var(--red); color: #fff; }
.wc-plan--featured li::before { background-color: rgba(255, 255, 255, .1); }

/* media cards (seminars / reports / videos) */
.wc-post { display: flex; flex-direction: column; padding: 0; }
.wc-post__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.wc-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wc-post:hover .wc-post__img img { transform: scale(1.07); }
.wc-post__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(19, 10, 12, .55), transparent 55%); opacity: 0; transition: opacity .4s; }
.wc-post:hover .wc-post__img::after { opacity: 1; }
.wc-post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.wc-post__body h3 { font-size: 17.5px; line-height: 1.55; margin: 0; }
.wc-post__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: 13.5px; color: var(--muted); }
.wc-post__meta svg { width: 16px; height: 16px; vertical-align: -3px; margin-inline-end: 4px; }
.wc-post__link { position: absolute; inset: 0; z-index: 2; }
.wc-play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; z-index: 1; transition: transform .4s var(--ease); box-shadow: 0 0 0 10px rgba(200, 32, 42, .22); }
.wc-play svg { width: 22px; height: 22px; margin-inline-start: -3px; }
.wc-post:hover .wc-play { transform: scale(1.12); }

.wc-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 82vw); gap: 22px; overflow-x: auto; padding: 6px 2px 26px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.wc-rail > * { scroll-snap-align: start; }

/* ---------- platform block ---------- */
.wc-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.wc-checks { display: grid; gap: 14px; margin: 26px 0 34px; }
.wc-checks li { position: relative; padding-inline-start: 34px; }
.wc-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.wc-checks--cols { grid-template-columns: repeat(2, 1fr); }

.wc-device { position: relative; padding: 14px; border-radius: 28px; background: linear-gradient(150deg, #2a171b, #0d0607); box-shadow: 0 60px 90px -50px rgba(60, 12, 16, .9); }
.wc-device__screen { border-radius: 18px; background: #0b0506; padding: 18px; overflow: hidden; }
.wc-device__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .8); font-family: var(--font-display); font-size: 13.5px; direction: ltr; }
.wc-device__row i { display: block; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--red), var(--red-300)); width: var(--w, 40%); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) calc(var(--i) * 120ms); }
.is-in .wc-device__row i { transform: none; }
.wc-device canvas { width: 100%; height: 190px; display: block; margin-bottom: 8px; }

.wc-os { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.wc-os .wc-card { display: flex; flex-direction: column; gap: 6px; }
.wc-os .wc-link { margin-top: auto; padding-top: 16px; }
.wc-steps { counter-reset: s; display: grid; gap: 10px; margin-top: 12px; }
.wc-steps li { counter-increment: s; position: relative; padding-inline-start: 34px; font-size: 15px; color: var(--ink-2); }
.wc-steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--red-tint); color: var(--red); font-family: var(--font-display); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* ---------- accordion ---------- */
.wc-acc { display: grid; gap: 12px; }
.wc-acc__item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.wc-acc__item.is-open { border-color: rgba(200, 32, 42, .35); box-shadow: var(--shadow-sm); }
.wc-acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; background: none; border: 0; text-align: start; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--ink); line-height: 1.6; }
.wc-acc__btn i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--red-tint); position: relative; transition: background .3s, transform .45s var(--ease); }
.wc-acc__btn i::before, .wc-acc__btn i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2px; background: var(--red); border-radius: 2px; transition: transform .45s var(--ease), background .3s; }
.wc-acc__btn i::after { transform: rotate(90deg); }
.is-open .wc-acc__btn i { background: var(--red); transform: rotate(180deg); }
.is-open .wc-acc__btn i::before, .is-open .wc-acc__btn i::after { background: #fff; }
.is-open .wc-acc__btn i::after { transform: rotate(0); }
.wc-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.is-open .wc-acc__panel { grid-template-rows: 1fr; }
.wc-acc__panel > div { overflow: hidden; }
.wc-acc__panel .wc-prose { padding: 0 24px 22px; font-size: 15.5px; }

.wc-search { position: relative; max-width: 520px; margin: 0 auto 34px; }
.wc-search input { padding-inline-start: 50px; }
.wc-search svg { position: absolute; inset-inline-start: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); }

/* ---------- prose (CMS html) ---------- */
.wc-prose { color: var(--ink-2); overflow-wrap: anywhere; }
.wc-prose > *:first-child { margin-top: 0; }
.wc-prose h1, .wc-prose h2, .wc-prose h3, .wc-prose h4 { color: var(--ink); margin: 1.6em 0 .6em; }
.wc-prose h1 { font-size: 28px; } .wc-prose h2 { font-size: 24px; } .wc-prose h3 { font-size: 20px; } .wc-prose h4 { font-size: 18px; }
.wc-prose a { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.wc-prose ul, .wc-prose ol { margin: 0 0 1.2em; padding-inline-start: 1.4em; }
.wc-prose ul { list-style: none; padding-inline-start: 0; }
.wc-prose ul li { position: relative; padding-inline-start: 22px; margin-bottom: .5em; }
.wc-prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.wc-prose img { border-radius: var(--radius-sm); margin: 1.2em 0; height: auto !important; }
.wc-prose strong { color: var(--ink); }
.wc-prose > :last-child { margin-bottom: 0; }
.wc-section--dark .wc-prose, .wc-section--dark .wc-prose strong { color: var(--night-text); }
.wc-prose [style] { font-family: inherit !important; background: none !important; }
.wc-prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius-sm); }
.wc-prose table, .wc-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.2em 0; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.wc-prose th, .wc-prose td, .wc-table th, .wc-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: start; }
.wc-prose tr:last-child td, .wc-table tr:last-child td { border-bottom: 0; }
.wc-prose tr:first-child td, .wc-prose th, .wc-table th { background: var(--contrast); color: #fff; font-family: var(--font-display); font-weight: 600; }
.wc-prose tr:first-child td strong { color: #fff; }
.wc-prose tbody tr, .wc-table tbody tr { transition: background .2s; }
.wc-prose tbody tr:not(:first-child):hover, .wc-table tbody tr:hover { background: var(--red-tint); }
.wc-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.wc-sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow-sm); }
.wc-narrow { max-width: 880px; margin-inline: auto; }

/* legacy contract-spec markup */
.wc-legacy .container, .wc-legacy .row, .wc-legacy [class*="col-"] { width: auto; max-width: none; padding: 0; margin: 0; float: none; }
.wc-legacy h1, .wc-legacy h2, .wc-legacy h3 { font-size: 22px; margin: 34px 0 14px; }
.wc-legacy table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; background: var(--surface); direction: ltr; }
.wc-legacy th, .wc-legacy td { padding: 10px 12px; border: 1px solid var(--line); text-align: center; white-space: nowrap; }
.wc-legacy thead th, .wc-legacy tr:first-child th, .wc-legacy tr:first-child td { background: var(--contrast); color: #fff; font-family: var(--font-display); font-weight: 600; }
.wc-legacy tbody tr:nth-child(even) { background: var(--paper); }
.wc-legacy tbody tr:hover { background: var(--red-tint); }
.wc-legacy .table-responsive, .wc-legacy .tab-content { overflow-x: auto; }
.wc-legacy .nav-tabs, .wc-legacy .nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.wc-legacy .nav > li > a { display: block; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-family: var(--font-display); font-size: 14px; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.wc-legacy .nav > li.active > a, .wc-legacy .nav > li > a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.wc-legacy .tab-pane { display: none; }
.wc-legacy .tab-pane.active { display: block; animation: wc-fade .5s var(--ease); }
@keyframes wc-fade { from { opacity: 0; transform: translateY(10px); } }

/* ---------- page hero ---------- */
.wc-pagehero { position: relative; padding: calc(var(--header-h) + clamp(50px, 7vw, 90px)) 0 clamp(50px, 7vw, 90px); background: radial-gradient(110% 140% at 90% 0%, #3a0d13, var(--night) 60%); color: #fff; overflow: hidden; isolation: isolate; }
.wc-pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 90% at 70% 20%, #000, transparent); mask-image: radial-gradient(70% 90% at 70% 20%, #000, transparent); animation: wc-grid 22s linear infinite; }
@keyframes wc-grid { to { background-position: 56px 56px; } }
.wc-pagehero svg.wc-pagehero__line { position: absolute; inset: auto 0 0 0; width: 100%; height: 120px; z-index: -1; opacity: .55; }
.wc-pagehero__line path { fill: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: wc-draw 3s var(--ease) .3s forwards; }
@keyframes wc-draw { to { stroke-dashoffset: 0; } }
.wc-pagehero h1 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; }
.wc-pagehero p { color: var(--night-text); max-width: 60ch; margin: 16px 0 0; font-size: 17.5px; }
.wc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--night-text); margin-bottom: 18px; font-family: var(--font-display); }
.wc-crumbs a:hover { color: #fff; }
.wc-crumbs i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* ---------- forms ---------- */
.wc-form { display: grid; gap: 18px; }
.wc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wc-field { display: grid; gap: 8px; }
.wc-field label { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.wc-input, .wc-form input[type="text"], .wc-form input[type="email"], .wc-form input[type="tel"], .wc-form textarea, .wc-search input {
    width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-size: 16px; color: var(--ink);
    transition: border-color .3s, background .3s, box-shadow .3s;
}
.wc-form textarea { min-height: 130px; resize: vertical; }
.wc-form input:focus, .wc-form textarea:focus, .wc-search input:focus { outline: 0; border-color: var(--red); background: var(--surface); box-shadow: 0 0 0 5px rgba(200, 32, 42, .1); }
.wc-error { color: var(--red); font-size: 13.5px; }
.wc-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 600; }
.wc-check input { appearance: none; flex: none; width: 24px; height: 24px; margin-top: 4px; border-radius: 7px; border: 2px solid var(--muted); transition: background .25s, border-color .25s; background: var(--surface) center/14px no-repeat; }
.wc-check input:checked { border-color: var(--red); background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* contact */
.wc-info { display: grid; gap: 14px; }
.wc-info a, .wc-info > div { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--night-line); transition: background .3s, transform .4s var(--ease), border-color .3s; }
.wc-info a:hover { background: rgba(200, 32, 42, .2); border-color: rgba(239, 90, 99, .5); transform: translateX(-6px); }
.wc-info i { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--red); display: grid; place-items: center; }
.wc-info i svg { width: 22px; height: 22px; }
.wc-info small { display: block; color: var(--night-text); font-size: 13px; }
.wc-info b { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; line-height: 1.6; }
.wc-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 420px; background: var(--paper-2); }
.wc-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* licence facts */
.wc-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.wc-facts > div { padding: 22px 26px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background .3s; }
.wc-facts > div:hover { background: var(--red-tint); }
.wc-facts > div:nth-child(2n) { border-inline-end: 0; }
.wc-facts > div.full { grid-column: 1 / -1; border-inline-end: 0; }
.wc-facts > div:last-child { border-bottom: 0; }
.wc-facts dt { font-size: 13px; color: var(--muted); }
.wc-facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.6; }

/* glossary */
.wc-letters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 30px; }
.wc-letters button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .25s, color .25s, transform .3s var(--ease), border-color .25s; }
.wc-letters button:hover { transform: translateY(-3px); border-color: var(--red); color: var(--red); }
.wc-letters button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.wc-gloss { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.wc-gloss__list { max-height: 560px; overflow-y: auto; display: grid; gap: 6px; padding: 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scrollbar-width: thin; }
.wc-gloss__list button { text-align: start; padding: 11px 16px; border-radius: 10px; border: 0; background: none; font-size: 15.5px; color: var(--ink-2); transition: background .2s, color .2s, padding .3s var(--ease); }
.wc-gloss__list button:hover, .wc-gloss__list button.is-active { background: var(--red-tint); color: var(--red); padding-inline-start: 22px; }
.wc-gloss__detail { position: sticky; top: calc(var(--header-h) + 20px); min-height: 260px; }
.wc-gloss__detail.is-swap { animation: wc-fade .45s var(--ease); }

/* ---------- CTA ---------- */
.wc-cta { position: relative; border-radius: 32px; padding: clamp(40px, 6vw, 80px); background: linear-gradient(120deg, var(--red-700), var(--red) 55%, #e3404a); color: #fff; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.wc-cta::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; border: 80px solid rgba(255, 255, 255, .08); z-index: -1; animation: wc-spin 40s linear infinite; }
.wc-cta::after { content: ""; position: absolute; inset: auto auto -60% -8%; width: 420px; height: 420px; border-radius: 50%; background: rgba(0, 0, 0, .16); z-index: -1; }
@keyframes wc-spin { to { rotate: 360deg; } }
.wc-cta h2 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 800; max-width: 18ch; }
.wc-cta p { color: rgba(255, 255, 255, .85); margin: 12px 0 0; max-width: 48ch; }
.wc-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.wc-footer { background: var(--night); color: var(--night-text); padding: clamp(60px, 8vw, 100px) 0 0; font-size: 15px; position: relative; overflow: hidden; }
.wc-footer::before { content: ""; position: absolute; top: 0; inset-inline: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.wc-footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.wc-footer__logo { height: 74px; width: auto; margin-bottom: 20px; }
.wc-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.wc-footer li { margin-bottom: 9px; }
.wc-footer li a { position: relative; transition: color .25s, padding .3s var(--ease); }
.wc-footer li a:hover { color: #fff; padding-inline-start: 10px; }
.wc-social { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.wc-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--night-line); display: grid; place-items: center; color: #fff; transition: background .3s, transform .4s var(--ease), border-color .3s; }
.wc-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-4px) rotate(-8deg); }
.wc-social svg { width: 18px; height: 18px; }
.wc-footer__legal { margin-top: 50px; padding: 26px 0; border-top: 1px solid var(--night-line); display: grid; gap: 14px; font-size: 13.5px; line-height: 1.9; }
.wc-footer__legal strong { color: #fff; }
.wc-footer__bottom { padding: 20px 0 26px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.wc-footer__mark { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 11.5vw, 172px); line-height: .8; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); letter-spacing: -.03em; user-select: none; margin-top: 10px; direction: ltr; }

/* ---------- floating / toast / modal ---------- */
.wc-fab { position: fixed; z-index: 90; bottom: 22px; inset-inline-start: 22px; display: grid; gap: 10px; }
.wc-fab a, .wc-fab button { width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: transform .4s var(--ease), opacity .3s; }
.wc-fab a:hover, .wc-fab button:hover { transform: scale(1.1) rotate(-6deg); }
.wc-fab svg { width: 24px; height: 24px; }
.wc-fab__wa { background: #25d366; position: relative; }
.wc-fab__wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wc-ping 2.4s ease-out infinite; }
.wc-fab__top { background: var(--contrast); opacity: 0; pointer-events: none; }
.wc-fab__top.is-on { opacity: 1; pointer-events: auto; }

.wc-toast { position: fixed; z-index: 150; top: calc(var(--header-h) + 16px); inset-inline-end: 20px; max-width: min(420px, calc(100vw - 40px)); padding: 16px 20px; border-radius: 16px; background: var(--contrast); color: #fff; box-shadow: var(--shadow); border-inline-start: 4px solid #3ecf8e; animation: wc-toast .6s var(--ease) both; font-size: 15px; }
.wc-toast--error { border-inline-start-color: var(--red-300); }
.wc-toast.is-out { opacity: 0; transform: translateY(-12px); transition: opacity .4s, transform .4s; }
@keyframes wc-toast { from { opacity: 0; transform: translateY(-16px) scale(.96); } }

.wc-modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; background: rgba(19, 10, 12, .82); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.wc-modal.is-open { opacity: 1; visibility: visible; }
.wc-modal__box { width: min(960px, 100%); transform: scale(.94) translateY(16px); transition: transform .45s var(--ease); }
.wc-modal.is-open .wc-modal__box { transform: none; }
.wc-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; margin-bottom: 14px; font-family: var(--font-display); font-weight: 600; }
.wc-modal__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--night-line); background: none; color: #fff; font-size: 22px; line-height: 1; transition: background .3s, transform .4s var(--ease); }
.wc-modal__close:hover { background: var(--red); transform: rotate(90deg); }
.wc-modal__media { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.wc-modal__media iframe, .wc-modal__media img { width: 100%; height: 100%; border: 0; object-fit: contain; }

.wc-empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.wc-note { padding: 18px 22px; border-radius: 14px; background: var(--red-tint); border-inline-start: 4px solid var(--red); font-size: 14.5px; color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .wc-nav, .wc-header__cta .wc-btn--ghost { display: none; }
    .wc-burger { display: block; }
    .wc-header__cta { margin-inline-start: auto; }
    .wc-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .wc-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    body { font-size: 16px; }
    .wc-hero__grid, .wc-two, .wc-gloss { grid-template-columns: 1fr; }
    .wc-hero { min-height: 0; }
    .wc-chip--a { inset-inline-start: 8px; } .wc-chip--b { inset-inline-end: 8px; }
    .wc-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .wc-gloss__detail { position: static; }
    .wc-gloss__list { max-height: 300px; }
    .wc-scroll-hint { display: none; }
}
@media (max-width: 620px) {
    .wc-grid--2, .wc-grid--3, .wc-grid--4, .wc-form__row, .wc-facts, .wc-checks--cols { grid-template-columns: 1fr; }
    .wc-facts > div { border-inline-end: 0; }
    .wc-footer__top { grid-template-columns: 1fr; }
    .wc-header__cta .wc-btn { display: none; }
    .wc-hero__actions .wc-btn, .wc-cta__actions .wc-btn { flex: 1 1 100%; }
    .wc-terminal canvas { height: 200px; }
    .wc-cta { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    [data-reveal], .wc-split .w > span { opacity: 1 !important; transform: none !important; }
    .wc-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- language switch ---------- */
.wc-lang { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: color .25s, background .25s; }
.wc-lang svg { width: 17px; height: 17px; transition: transform .6s var(--ease); }
.wc-lang:hover { color: var(--red); background: var(--red-tint); }
.wc-lang:hover svg { transform: rotate(180deg); }

/* ---------- left-to-right (English) adjustments ---------- */
[dir="ltr"] body { line-height: 1.7; }
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] h4 { line-height: 1.2; }
[dir="ltr"] .wc-hero h1 { line-height: 1.06; letter-spacing: -.035em; }
[dir="ltr"] .wc-progress, [dir="ltr"] .wc-intro::after { transform-origin: left; }
/* arrows are drawn pointing left (forward in Arabic) — mirror them */
[dir="ltr"] .wc-btn svg, [dir="ltr"] .wc-link svg { scale: -1 1; }
[dir="ltr"] .wc-btn:hover svg { transform: translateX(-4px); }
[dir="ltr"] .wc-link:hover svg { transform: translateX(-5px); }
[dir="ltr"] .wc-btn svg:has(path[d^="M12 4v11"]), [dir="ltr"] .wc-link svg:has(path[d^="M12 4v11"]) { scale: 1; }
[dir="ltr"] .wc-drawer { clip-path: circle(0 at calc(100% - 46px) 39px); }
[dir="ltr"] .menu-open .wc-drawer, .menu-open[dir="ltr"] .wc-drawer { clip-path: circle(150% at calc(100% - 46px) 39px); }
[dir="ltr"] .wc-scroll-hint { translate: -50% 0; }
[dir="ltr"] .wc-info a:hover { transform: translateX(6px); }
[dir="ltr"] [data-reveal="left"] { transform: translateX(40px); }
[dir="ltr"] [data-reveal="right"] { transform: translateX(-40px); }
[dir="ltr"] [data-reveal].is-in { transform: none; }
[dir="ltr"] .wc-play svg { margin-inline-start: 3px; }
[dir="ltr"] .wc-device__row, [dir="ltr"] .wc-market__tags span { direction: ltr; }
@media (max-width: 620px) { .wc-lang span { display: none; } .wc-lang { padding: 0 8px; } }
.wc-nav__link { white-space: nowrap; }
[dir="ltr"] .wc-header__in { gap: 18px; }

/* ==========================================================================
   Extra interaction layer
   ========================================================================== */

/* cursor follower (fine pointers only; injected by JS) */
.wc-cursor, .wc-cursor-ring { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s; translate: -50% -50%; }
.wc-cursor { width: 7px; height: 7px; background: var(--red); }
.wc-cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(197, 33, 42, .55); }
.has-cursor .wc-cursor, .has-cursor .wc-cursor-ring { opacity: 1; }
.wc-cursor-ring.is-hover { width: 62px; height: 62px; background: rgba(197, 33, 42, .1); border-color: transparent; }
.wc-cursor-ring.is-down { width: 26px; height: 26px; }
.cursor-off .wc-cursor, .cursor-off .wc-cursor-ring { opacity: 0; }

/* hero spotlight that follows the pointer */
.wc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--sx, 70%) var(--sy, 30%), rgba(239, 90, 99, .16), transparent 62%); transition: opacity .5s; }

/* click ripple */
.wc-ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); pointer-events: none; translate: -50% -50%; animation: wc-ripple .65s var(--ease) forwards; z-index: 0; }
.wc-btn--ghost .wc-ripple, .wc-btn--light .wc-ripple { background: rgba(197, 33, 42, .25); }
@keyframes wc-ripple { from { width: 0; height: 0; opacity: 1; } to { width: 420px; height: 420px; opacity: 0; } }

/* highlighted words get an underline that draws in */
.wc-title em { position: relative; white-space: nowrap; }
.wc-title em::after { content: ""; position: absolute; inset: auto 0 -.12em 0; height: .09em; border-radius: 99px; background: currentColor; opacity: .35; transform: scaleX(0); transform-origin: right; transition: transform 1s var(--ease) .7s; }
[dir="ltr"] .wc-title em::after { transform-origin: left; }
.wc-title.is-in em::after { transform: none; }

/* chart crosshair in the hero terminal */
.wc-terminal__plot { position: relative; border-radius: 14px; overflow: hidden; cursor: crosshair; }
.wc-terminal__plot::before, .wc-terminal__plot::after { content: ""; position: absolute; pointer-events: none; opacity: 0; transition: opacity .25s; background: rgba(255, 255, 255, .4); }
.wc-terminal__plot::before { top: 0; bottom: 0; left: var(--cx, 50%); width: 1px; }
.wc-terminal__plot::after { left: 0; right: 0; top: var(--cy, 50%); height: 1px; }
.wc-terminal__plot.is-live::before, .wc-terminal__plot.is-live::after { opacity: 1; }
.wc-terminal__pin { position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid #fff; background: var(--red); opacity: 0; transition: opacity .25s; pointer-events: none; box-shadow: 0 0 0 6px rgba(197, 33, 42, .25); }
.wc-terminal__plot.is-live .wc-terminal__pin { opacity: 1; }

/* sparkline tracer on market cards */
.wc-spark { position: relative; }
.wc-spark__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(239, 90, 99, .35); opacity: 0; transition: opacity .25s; pointer-events: none; }
.wc-market:hover .wc-spark__dot { opacity: 1; }
.wc-market:hover .wc-spark path.l { stroke: #fff; transition: stroke .3s; }

/* margin calculator */
.wc-calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.wc-calc__in { padding: clamp(24px, 4vw, 44px); display: grid; gap: 28px; align-content: center; }
.wc-calc__out { padding: clamp(24px, 4vw, 44px); background: radial-gradient(120% 120% at 100% 0, #3a0d13, var(--night) 60%); color: #fff; display: grid; gap: 18px; align-content: center; }
.wc-calc label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--ink-2); margin-bottom: 14px; }
.wc-calc label output { font-size: 22px; font-weight: 700; color: var(--ink); direction: ltr; }
.wc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; outline: 0; cursor: pointer; direction: ltr; background: linear-gradient(90deg, var(--red) var(--fill, 20%), var(--paper-2) var(--fill, 20%)); }
.wc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 6px 16px -6px rgba(197, 33, 42, .8); transition: transform .25s var(--ease); }
.wc-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.wc-range:active::-webkit-slider-thumb { transform: scale(1.2); }
.wc-pills { display: flex; flex-wrap: wrap; gap: 8px; direction: ltr; }
[dir="rtl"] .wc-pills { justify-content: flex-end; }
.wc-pills button { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.wc-pills button:hover { transform: translateY(-2px); border-color: var(--red); }
.wc-pills button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.wc-calc__out small { color: var(--night-text); font-size: 14px; }
.wc-calc__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 54px); line-height: 1.1; direction: ltr; text-align: start; }
[dir="rtl"] .wc-calc__big { text-align: right; }
.wc-calc__bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; direction: ltr; }
.wc-calc__bar i { display: block; height: 100%; width: var(--pct, 2%); min-width: 6px; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--red-300)); transition: width .5s var(--ease); }
.wc-calc__row { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--night-line); font-size: 14.5px; color: var(--night-text); }
.wc-calc__row b { color: #fff; font-family: var(--font-display); direction: ltr; }
@media (max-width: 900px) { .wc-calc { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .wc-cursor, .wc-cursor-ring { display: none; } .wc-title em::after { transform: none; } }

/* ---------- live markets ---------- */
.wc-live { display: grid; grid-template-columns: 270px 1fr; gap: 20px; align-items: stretch; }
.wc-live__list { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.wc-live__group { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; color: var(--red); padding: 10px 10px 4px; }
.wc-live__list button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 0; background: none; color: var(--ink-2); direction: ltr; transition: background .25s, color .25s, transform .3s var(--ease); }
.wc-live__list button b { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.wc-live__list button i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--paper-2); color: var(--muted); transition: background .25s, color .25s, transform .4s var(--ease); }
.wc-live__list button i svg { width: 16px; height: 16px; }
.wc-live__list button:hover { background: var(--red-tint); color: var(--red); transform: translateX(4px); }
.wc-live__list button.is-active { background: var(--night); color: #fff; }
.wc-live__list button.is-active i { background: var(--red); color: #fff; transform: rotate(-8deg); }
.wc-live__chart { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-height: 560px; }
.wc-live__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--night); color: #fff; font-family: var(--font-display); direction: ltr; }
.wc-live__chart iframe { flex: 1; width: 100%; border: 0; display: block; transition: opacity .35s; }
.wc-live__chart.is-loading iframe { opacity: .25; }
.wc-embed { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 10px; }
.wc-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- four steps ---------- */
.wc-steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: none; }
.wc-steps4::before, .wc-steps4::after { content: ""; position: absolute; top: 36px; inset-inline: 12.5%; height: 2px; border-radius: 2px; background: var(--line); }
.wc-steps4::after { background: linear-gradient(90deg, var(--red-300), var(--red)); transform: scaleX(0); transform-origin: right; transition: transform 2.2s var(--ease) .3s; }
[dir="ltr"] .wc-steps4::after { transform-origin: left; }
.wc-steps4.is-in::after { transform: none; }
.wc-steps4 li { position: relative; z-index: 1; text-align: center; opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 420ms + 200ms); }
.wc-steps4.is-in li { opacity: 1; transform: none; }
.wc-steps4__num { position: relative; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--red); border: 2px solid var(--line); transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease), box-shadow .4s; }
.wc-steps4__num svg { width: 28px; height: 28px; }
.wc-steps4__num b { position: absolute; top: -6px; inset-inline-end: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--contrast); color: #fff; font-family: var(--font-display); font-size: 12.5px; display: grid; place-items: center; }
.wc-steps4 li:hover .wc-steps4__num { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-6px) scale(1.06); box-shadow: 0 18px 30px -16px rgba(197, 33, 42, .8); }
.wc-steps4 h3 { font-size: 18px; margin-bottom: 8px; }
.wc-steps4 p { color: var(--ink-2); font-size: 15px; margin: 0 auto; max-width: 26ch; }
@media (max-width: 900px) {
    .wc-live { grid-template-columns: 1fr; }
    .wc-live__list { flex-direction: row; flex-wrap: wrap; }
    .wc-live__group { width: 100%; }
    .wc-steps4 { grid-template-columns: 1fr 1fr; }
    .wc-steps4::before, .wc-steps4::after { display: none; }
}
@media (max-width: 520px) { .wc-steps4 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wc-steps4 li { opacity: 1 !important; transform: none !important; } .wc-steps4::after { transform: none; } }

/* ---------- tabs ---------- */
.wc-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.wc-tabs button { padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface, #fff); font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.wc-tabs button:hover { transform: translateY(-2px); border-color: var(--red); color: var(--red); }
.wc-tabs button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.wc-tabpane { display: none; }
.wc-tabpane.is-active { display: block; animation: wc-fade .5s var(--ease); }
select.wc-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23867f80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 16px center; }
[dir="ltr"] select.wc-input { background-position: right 16px center; }
.wc-input:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 5px rgba(197, 33, 42, .1); }
.wc-calc .wc-field label { margin-bottom: 0; }
.wc-calc__big.is-loss { color: var(--red-300); }
.wc-calc__big.is-gain { color: #5fd6a0; }

/* ---------- licence band ---------- */
.wc-trust { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.wc-trust p { margin: 16px 0 26px; max-width: 52ch; }
.wc-trust__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.wc-trust__facts > div { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, .04); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.wc-trust__facts > div:hover { background: rgba(197, 33, 42, .16); border-color: rgba(239, 90, 99, .5); transform: translateY(-4px); }
.wc-trust__facts dt { font-size: 13px; color: var(--night-text); }
.wc-trust__facts dd { margin: 6px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.5; color: #fff; }

/* ---------- market sessions ---------- */
.wc-sessions { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--surface, #fff); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.wc-sessions__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.wc-sessions__head .wc-eyebrow { margin-bottom: 6px; }
.wc-sessions__now { font-family: var(--font-display); font-size: 15px; padding: 8px 16px; border-radius: 999px; background: var(--red-tint); color: var(--red); }
.wc-sessions__axis, .wc-sessions__track { direction: ltr; }
.wc-sessions__axis { display: flex; justify-content: space-between; margin-inline-start: 150px; font-family: var(--font-display); font-size: 12px; color: var(--muted); padding-bottom: 8px; }
[dir="rtl"] .wc-sessions__axis { margin-inline-start: 0; margin-right: 150px; }
.wc-sessions__rows { position: relative; display: grid; gap: 12px; }
.wc-sessions__row { display: grid; grid-template-columns: 150px 1fr; align-items: center; }
.wc-sessions__city { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.wc-sessions__city small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--muted); }
.wc-sessions__row.is-open .wc-sessions__city small { color: #1f9d68; }
.wc-sessions__track { position: relative; height: 30px; border-radius: 10px; background: var(--paper-2); overflow: hidden; }
.wc-sessions__track i { position: absolute; top: 0; bottom: 0; left: var(--l, 0%); width: var(--w, 0%); background: rgba(197, 33, 42, .28); border-radius: 10px; transition: background .4s, width 1.2s var(--ease), left 1.2s var(--ease); }
.wc-sessions__row.is-open .wc-sessions__track i { background: linear-gradient(90deg, var(--red), var(--red-300)); }
.wc-sessions__needle { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); z-index: 2; border-radius: 2px; left: calc(150px + (100% - 150px) * var(--p, 0)); transition: left 1s var(--ease); }
[dir="rtl"] .wc-sessions__needle { left: calc((100% - 150px) * var(--p, 0)); }
.wc-sessions__needle::before { content: ""; position: absolute; top: -5px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(197, 33, 42, .2); }
.wc-sessions.is-weekend .wc-sessions__track i { background: var(--line); }
@media (max-width: 900px) { .wc-trust { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
    .wc-trust__facts { grid-template-columns: 1fr; }
    .wc-sessions__row { grid-template-columns: 92px 1fr; } .wc-sessions__axis { margin-inline-start: 92px; } [dir="rtl"] .wc-sessions__axis { margin-right: 92px; }
    .wc-sessions__needle { left: calc(92px + (100% - 92px) * var(--p, 0)); } [dir="rtl"] .wc-sessions__needle { left: calc((100% - 92px) * var(--p, 0)); }
}

/* ---------- account picker + comparison ---------- */
.wc-pick { margin-top: 40px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.wc-pick h3 { font-size: 20px; margin-bottom: 18px; }
.wc-pick__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wc-pick__opts button { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-2); text-align: start; font-size: 15px; line-height: 1.6; transition: border-color .25s, background .25s, color .25s, transform .35s var(--ease); }
.wc-pick__opts button i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); transition: background .25s, color .25s; }
.wc-pick__opts button i svg { width: 20px; height: 20px; }
.wc-pick__opts button:hover { transform: translateY(-3px); border-color: var(--red); }
.wc-pick__opts button.is-active { border-color: var(--red); background: var(--red-tint); color: var(--ink); }
.wc-pick__opts button.is-active i { background: var(--red); color: #fff; }
.wc-pick__result { margin: 20px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; animation: wc-fade .5s var(--ease); }
.wc-pick__result b { color: var(--red); }
.wc-plan.is-picked { border-color: var(--red); box-shadow: 0 0 0 4px rgba(197, 33, 42, .18), var(--shadow); animation: wc-picked 1.1s var(--ease); }
@keyframes wc-picked { 30% { transform: translateY(-12px) scale(1.02); } }
.wc-compare { margin-top: 26px; animation: wc-fade .5s var(--ease); }
.wc-compare tr.is-diff td { font-weight: 600; }
.wc-compare tr.is-diff td:first-child { box-shadow: inset 3px 0 0 var(--red); }
[dir="rtl"] .wc-compare tr.is-diff td:first-child { box-shadow: inset -3px 0 0 var(--red); }
.wc-compare.only-diff tr.is-same { display: none; }

/* ---------- learning paths ---------- */
.wc-path { display: flex; flex-direction: column; gap: 14px; }
.wc-path__head { display: flex; gap: 16px; align-items: center; }
.wc-path__head small { color: var(--red); font-family: var(--font-display); font-weight: 600; font-size: 12.5px; }
.wc-path__head h3 { margin: 0; font-size: 21px; }
.wc-path__bar { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; direction: ltr; }
[dir="rtl"] .wc-path__bar { direction: rtl; }
.wc-path__bar i { display: block; height: 100%; width: var(--pct, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--red-300)); transition: width .9s var(--ease); }
.wc-path__pct { color: var(--muted); font-size: 13px; }
.wc-path ol { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.wc-path li a { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); transition: border-color .25s, background .25s, transform .35s var(--ease); position: relative; z-index: 3; }
.wc-path li a:hover { border-color: var(--red); transform: translateX(-4px); }
[dir="ltr"] .wc-path li a:hover { transform: translateX(4px); }
.wc-path li a > i { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; transition: background .3s, border-color .3s, color .3s; }
.wc-path li a > i svg { width: 14px; height: 14px; }
.wc-path li a.is-done > i { background: #1f9d68; border-color: #1f9d68; color: #fff; }
.wc-path li a > span { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.5; }
.wc-path li a > span small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--muted); }
.wc-path li a > svg { width: 16px; height: 16px; color: var(--muted); }
[dir="ltr"] .wc-path li a > svg { scale: -1 1; }

/* ---------- theme toggle + dark theme ---------- */
.wc-theme { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--ink-2); display: grid; place-items: center; transition: background .25s, color .25s, transform .5s var(--ease); }
.wc-theme:hover { background: var(--red-tint); color: var(--red); transform: rotate(20deg); }
.wc-theme svg { width: 19px; height: 19px; }
.wc-theme__sun, .wc-logo__dark { display: none; }
[data-theme="dark"] .wc-theme__sun { display: grid; } [data-theme="dark"] .wc-theme__moon { display: none; }
[data-theme="dark"] .wc-logo__dark { display: block; } [data-theme="dark"] .wc-logo__light { display: none; }

[data-theme="dark"] {
    color-scheme: dark;
    --paper: #100809; --paper-2: #170c0f; --surface: #1e1316; --contrast: #060304;
    --ink: #f6f0f0; --ink-2: #cfc5c6; --muted: #988d8e; --line: rgba(255, 255, 255, .11);
    --red-tint: rgba(197, 33, 42, .2);
    --header-bg: rgba(16, 8, 9, .8); --header-bg-solid: rgba(16, 8, 9, .94);
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8); --shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, .7);
}
[data-theme="dark"] .wc-section--dark, [data-theme="dark"] .wc-footer { background: #090506; }
[data-theme="dark"] .wc-btn::before { background: #fff; }
[data-theme="dark"] .wc-btn:hover { color: #1c1819; }
[data-theme="dark"] .wc-btn--light:hover, [data-theme="dark"] .wc-btn--light::before { color: #fff; }
[data-theme="dark"] .wc-btn--light::before { background: var(--red); }
[data-theme="dark"] .wc-btn--outline-light:hover { color: #1c1819; }
[data-theme="dark"] .wc-plan--featured { background: linear-gradient(160deg, #3a0d13, #1e1316); border-color: rgba(239, 90, 99, .4); }
[data-theme="dark"] .wc-link, [data-theme="dark"] .wc-eyebrow, [data-theme="dark"] .wc-title em, [data-theme="dark"] .wc-prose a { color: var(--red-300); }
[data-theme="dark"] .wc-icon { color: var(--red-300); }
[data-theme="dark"] .wc-card:hover .wc-icon { color: #fff; }
[data-theme="dark"] .wc-pay img { opacity: .7; }
[data-theme="dark"] .wc-map iframe { filter: invert(.92) hue-rotate(180deg) contrast(.9); }
[data-theme="dark"] .wc-sessions__needle { background: #fff; }
[data-theme="dark"] select.wc-input, [data-theme="dark"] .wc-input, [data-theme="dark"] .wc-form input, [data-theme="dark"] .wc-form textarea, [data-theme="dark"] .wc-search input { color: var(--ink); }
[data-theme="dark"] .wc-legacy tbody tr:hover, [data-theme="dark"] .wc-table tbody tr:hover { background: rgba(197, 33, 42, .16); }
html.theme-fade, html.theme-fade * { transition: background-color .45s ease, border-color .45s ease, color .3s ease !important; }

@media (max-width: 900px) { .wc-pick__opts { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .wc-theme { width: 36px; } }

/* ==========================================================================
   Phones & tablets
   ========================================================================== */
html { -webkit-tap-highlight-color: transparent; }
.wc-fab { bottom: max(22px, env(safe-area-inset-bottom)); }

/* tablets (portrait + small landscape) */
@media (max-width: 1100px) {
    .wc-container { width: min(100% - 48px, var(--container)); }
    .wc-header__cta { gap: 6px; }
}
@media (max-width: 900px) {
    .wc-hero { padding: calc(var(--header-h) + 40px) 0 70px; }
    .wc-hero__grid { gap: 40px; }
    .wc-hero__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
    .wc-chip { display: none; }
    .wc-terminal { padding: 16px; }
    .wc-head--split { align-items: start; }
    .wc-two { gap: 36px; }
    .wc-live__list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px; gap: 6px; scrollbar-width: none; }
    .wc-live__list::-webkit-scrollbar { display: none; }
    .wc-live__group { display: none; }
    .wc-live__list button { flex: none; scroll-snap-align: start; padding: 10px 14px; }
    .wc-live__list button i { display: none; }
    .wc-live__list button:hover { transform: none; }
    .wc-live__chart { min-height: 460px; }
    .wc-embed { padding: 6px; }
    .wc-trust__facts dd { font-size: 16px; }
    .wc-cta { flex-direction: column; align-items: flex-start; }
    .wc-footer__top { gap: 32px; }
    .wc-steps4 { gap: 34px 20px; }
}

/* phones */
@media (max-width: 620px) {
    :root { --header-h: 66px; }
    .wc-container { width: min(100% - 32px, var(--container)); }
    .wc-header.is-scrolled { height: 60px; }
    .wc-logo img { height: 44px; }
    .is-scrolled .wc-logo img { height: 38px; }
    .wc-header__in { gap: 10px; }
    .wc-burger { width: 42px; height: 42px; }
    .wc-burger span { inset-inline: 11px; } .wc-burger span:nth-child(1) { top: 14px; } .wc-burger span:nth-child(2) { top: 20px; } .wc-burger span:nth-child(3) { top: 26px; }
    .menu-open .wc-burger span:nth-child(1), .menu-open .wc-burger span:nth-child(3) { top: 20px; }
    .wc-drawer { padding: calc(var(--header-h) + 16px) 20px max(28px, env(safe-area-inset-bottom)); }
    .wc-drawer__group > a { font-size: 19px; }
    .wc-drawer__group li a { font-size: 16.5px; padding: 8px 0; }

    .wc-section { padding: 64px 0; }
    .wc-head { margin-bottom: 30px; }
    .wc-lead { font-size: 15.5px; }
    .wc-hero { padding: calc(var(--header-h) + 28px) 0 56px; }
    .wc-badge { font-size: 12px; padding-inline-end: 12px; }
    .wc-hero h1 { margin: 20px 0 16px; }
    .wc-hero__lead { font-size: 15.5px; }
    .wc-hero__actions { margin-top: 26px; }
    .wc-hero__meta { margin-top: 28px; padding-top: 20px; gap: 10px; }
    .wc-hero__meta span { font-size: 12px; line-height: 1.5; display: block; }
    .wc-terminal canvas { height: 180px; }
    .wc-terminal__tabs button { padding: 9px 6px; font-size: 12.5px; }
    .wc-scroll-hint { display: none; }
    .wc-pagehero { padding: calc(var(--header-h) + 36px) 0 44px; }
    .wc-pagehero p { font-size: 15.5px; }

    /* compact "why us" tiles: two per row */
    #why .wc-grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
    #why .wc-card { padding: 18px 16px; }
    #why .wc-card__num { display: none; }
    #why .wc-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
    #why .wc-icon svg { width: 22px; height: 22px; }
    #why .wc-card h3 { font-size: 15px; line-height: 1.5; margin: 0; }

    .wc-card { padding: 22px 20px; }
    .wc-card:hover { transform: none; }
    .wc-market { min-height: 0; }
    .wc-plan { padding: 26px 22px; }
    .wc-sheet { padding: 22px 18px; }
    .wc-calc__in, .wc-calc__out { padding: 22px 18px; }
    .wc-calc__big { font-size: 38px; }
    .wc-pills button { padding: 8px 13px; font-size: 13px; }
    .wc-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
    .wc-tabs::-webkit-scrollbar { display: none; }
    .wc-tabs button { flex: none; padding: 10px 16px; font-size: 13.5px; }
    .wc-pick__opts button { padding: 12px 14px; font-size: 14px; }
    .wc-acc__btn { padding: 16px 18px; font-size: 15px; }
    .wc-acc__panel .wc-prose { padding: 0 18px 18px; font-size: 15px; }
    .wc-info a, .wc-info > div { padding: 14px; gap: 12px; }
    .wc-info i { width: 40px; height: 40px; }
    .wc-info b { font-size: 14.5px; }
    .wc-map { height: 300px; }
    .wc-live__chart { min-height: 380px; }
    .wc-letters button { min-width: 38px; height: 38px; font-size: 14px; }
    .wc-facts > div { padding: 16px 18px; }
    .wc-cta { padding: 32px 22px; }
    .wc-cta__actions { width: 100%; }
    .wc-footer { padding-top: 54px; font-size: 14.5px; }
    .wc-footer__logo { height: 60px; }
    .wc-footer__legal { margin-top: 34px; font-size: 12.5px; }
    .wc-footer__bottom { flex-direction: column; }
    .wc-fab { inset-inline-start: 14px; }
    .wc-fab a, .wc-fab button { width: 48px; height: 48px; }
    .wc-fab svg { width: 22px; height: 22px; }
    .wc-toast { inset-inline: 14px; max-width: none; }
    .wc-modal { padding: 12px; }
    .wc-path li a:hover { transform: none; }
}

/* very small phones */
@media (max-width: 360px) {
    .wc-hero__meta { grid-template-columns: 1fr 1fr; }
    .wc-header__cta .wc-lang, .wc-theme { width: 34px; padding: 0; justify-content: center; }
}

/* touch devices: no hover lift that sticks after a tap */
@media (hover: none) {
    .wc-card:hover, .wc-btn:hover svg, .wc-letters button:hover, .wc-pills button:hover, .wc-tabs button:hover, .wc-pick__opts button:hover { transform: none; }
    .wc-card:hover::before { opacity: 0; }
}
@media (max-width: 1240px) and (min-width: 901px) {
    .wc-chip--a { inset-inline-start: 10px; top: -22px; }
    .wc-chip--b { inset-inline-end: 10px; bottom: 76px; }
    .wc-hero { min-height: 0; padding-bottom: 110px; }
}
