/* WhalesStreet theme — design tokens from the brand manual (Feb 2026).
   Navy #20295F, light blue #4B8AC7, light grey #DDDDDD, dark grey #4A5662, Poppins. */

:root {
	--navy: #20295f;
	--navy-deep: #151b44;
	--graphite: #12162a;      /* dark graphite surface, derived from brand navy + dark grey */
	--graphite-2: #1a1f36;
	--glass: rgba(255, 255, 255, .045);
	--glass-line: rgba(169, 200, 232, .16);
	--violet-light: rgba(98, 92, 199, .28); /* restrained lighting accent only, never a fill colour */
	--blue: #4b8ac7;
	--blue-soft: #a9c8e8;
	--grey: #dddddd;
	--slate: #4a5662;
	--paper: #f4f6fa;
	--ink: #1b2140;
	--white: #ffffff;
	--ok: #1f7a55;
	--warn: #9a5b00;
	--bad: #a12a2a;

	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-xs: 0.8125rem;
	--fs-s: 0.9375rem;
	--fs-m: 1.0625rem;
	--fs-l: 1.375rem;
	--fs-xl: 1.75rem;
	--fs-2xl: 2.375rem;
	--fs-3xl: clamp(2.25rem, 5.2vw, 3.75rem);

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--space: clamp(56px, 8vw, 104px);
	--r-s: 8px;
	--r-m: 14px;
	--line: 1px solid #e3e7ef;
	--focus: 0 0 0 3px var(--white), 0 0 0 5px var(--blue);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-m);
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.6em; color: var(--navy); }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-l); }
p { margin: 0 0 1em; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ws-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: var(--r-s); }
.ws-skip:focus { top: 12px; }
.ws-main:focus { outline: none; }

.ws-wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.ws-narrow { max-width: 760px; }
.ws-lead { font-size: var(--fs-l); font-weight: 300; line-height: 1.5; color: var(--slate); max-width: 62ch; }
.ws-muted { color: var(--slate); font-size: var(--fs-s); }

/* ------------------------------------------------------------------ buttons */
.ws-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px;
	font: 500 var(--fs-s)/1 var(--font);
	color: var(--white); background: var(--navy);
	border: 1.5px solid var(--navy); border-radius: var(--r-s);
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.ws-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.ws-btn--sm { min-height: 38px; padding: 0 14px; }
.ws-btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.ws-btn--light:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--navy); }
.ws-btn--outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.ws-btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.ws-btn--ghost { background: transparent; color: var(--navy); border-color: var(--grey); }
.ws-btn--ghost:hover { border-color: var(--navy); background: transparent; color: var(--navy); }
.ws-btn[disabled] { opacity: .55; cursor: default; }
.ws-link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }

/* ------------------------------------------------------------------ header */
.ws-header { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); color: var(--white); }
.admin-bar .ws-header { top: 32px; }
.ws-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.ws-logo img { width: auto; height: 46px; max-width: 160px; object-fit: contain; }
.ws-header { background: rgba(18, 22, 42, .97); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--glass-line); }
.ws-wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.22em; line-height: 1.15; }
.ws-wordmark:hover { color: var(--white); }
.ws-mark { width: 16px; height: 34px; color: var(--blue); }
.custom-logo { max-height: 52px; width: auto; }
.ws-nav { display: flex; align-items: center; gap: 28px; }
.ws-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.ws-nav__list a, .ws-nav__login { color: rgba(255, 255, 255, .86); text-decoration: none; font-size: var(--fs-s); }
.ws-nav__list a:hover, .ws-nav__login:hover, .ws-nav__list .current-menu-item > a { color: var(--white); text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.ws-nav-toggle { display: none; }

@media (max-width: 900px) {
	.ws-nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-s); color: var(--white); cursor: pointer; }
	.ws-nav-toggle__bars, .ws-nav-toggle__bars::before, .ws-nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
	.ws-nav-toggle__bars::before { position: absolute; top: -6px; }
	.ws-nav-toggle__bars::after { position: absolute; top: 6px; }
	.ws-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--navy-deep); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .08); }
	.ws-nav.is-open { display: flex; }
	.ws-nav__list { flex-direction: column; gap: 0; }
	.ws-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.ws-nav__account { padding-top: 12px; }
}

/* ------------------------------------------------------------------ hero (the one bold moment: navy with the brand's Volume Pulse glowing up from the base) */
.ws-hero {
	position: relative; overflow: hidden; isolation: isolate;
	color: var(--white);
	background:
		radial-gradient(80% 90% at 85% 120%, rgba(75, 138, 199, .45), transparent 60%),
		linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
	padding-block: clamp(64px, 10vw, 128px) clamp(96px, 12vw, 160px);
}
.ws-hero--compact { padding-block: clamp(48px, 7vw, 88px) clamp(72px, 9vw, 112px); }
.ws-hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.ws-hero__title { font-size: var(--fs-3xl); font-weight: 600; color: var(--white); max-width: 18ch; letter-spacing: -0.02em; line-height: 1.08; }
.ws-hero--compact .ws-hero__title { font-size: clamp(2rem, 4.2vw, 3rem); }
.ws-hero__text { font-size: var(--fs-l); font-weight: 300; color: rgba(255, 255, 255, .82); max-width: 54ch; line-height: 1.55; }
.ws-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ws-hero__img { border-radius: var(--r-m); width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.ws-pulse { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 34%; z-index: -1; fill: var(--blue); opacity: .22; }
.ws-hero .ws-pulse rect { transform-origin: bottom; transform-box: fill-box; animation: ws-rise 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.ws-hero .ws-pulse rect:nth-child(3n) { animation-delay: .08s; }
.ws-hero .ws-pulse rect:nth-child(3n + 1) { animation-delay: .16s; }
@keyframes ws-rise { from { transform: scaleY(.1); } to { transform: scaleY(1); } }

.ws-doors { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .14); border-radius: var(--r-m); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); }
.ws-doors a { display: grid; gap: 4px; padding: 22px 24px; background: rgba(21, 27, 68, .72); color: var(--white); text-decoration: none; backdrop-filter: blur(6px); }
.ws-doors a:hover { background: rgba(32, 41, 95, .95); color: var(--white); }
.ws-doors strong { font-weight: 600; font-size: var(--fs-l); }
.ws-doors span { color: rgba(255, 255, 255, .72); font-size: var(--fs-s); }

.ws-facts { display: flex; flex-wrap: wrap; gap: 32px; margin: 24px 0 0; }
.ws-facts dt { font-size: var(--fs-xs); color: rgba(255, 255, 255, .65); }
.ws-facts dd { margin: 0; font-weight: 600; }

@media (max-width: 900px) { .ws-hero__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ sections */
.ws-section { padding-block: var(--space); }
.ws-section--tint { background: var(--paper); }
.ws-section--page { padding-top: 40px; }
.ws-section__head { margin-bottom: 40px; }
.ws-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .ws-split { grid-template-columns: 1fr; } }

.ws-page-head { background: var(--paper); padding-block: 56px 40px; border-bottom: var(--line); }
.ws-page-head h1 { margin: 0 0 0.3em; }
.ws-page-head--slim { padding-block: 32px 24px; }

.ws-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; border-inline-start: 2px solid var(--grey); }
.ws-steps li { counter-increment: step; position: relative; padding: 0 0 28px 40px; padding-inline-start: 40px; display: grid; gap: 2px; }
.ws-steps li::before { content: counter(step); position: absolute; inset-inline-start: -15px; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: var(--fs-xs); font-weight: 600; display: grid; place-items: center; }
.ws-steps strong { color: var(--navy); font-weight: 600; }
.ws-steps span { color: var(--slate); font-size: var(--fs-s); }

.ws-cta-band { background: var(--navy); color: var(--white); padding-block: 56px; }
.ws-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ws-cta-band h2 { color: var(--white); margin: 0; }

/* ------------------------------------------------------------------ cards, grids */
.ws-grid { display: grid; gap: 24px; }
.ws-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.ws-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ws-card { background: var(--white); border: var(--line); border-radius: var(--r-m); padding: 24px; }
.ws-card h3 { font-size: var(--fs-l); margin-bottom: 0.4em; }
.ws-card h3 a { text-decoration: none; }
.ws-course { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ws-course > :not(.ws-course__media) { padding-inline: 22px; }
.ws-course h3 { margin-top: 20px; }
.ws-course__media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--navy); }
.ws-course__foot { margin-top: auto; padding-block: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: var(--line); }

.ws-price__amount { font-size: var(--fs-xl); font-weight: 600; color: var(--navy); }
.ws-price__cur, .ws-price__int { color: var(--slate); font-size: var(--fs-s); }
.ws-price--tbd { color: var(--slate); font-size: var(--fs-s); }

.ws-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; align-items: stretch; }
.ws-plan { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--white); border: var(--line); border-radius: var(--r-m); padding: 28px; }
.ws-plan--hl { border: 2px solid var(--navy); }
.ws-plan__tag { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--navy); color: var(--white); font-size: var(--fs-xs); padding: 3px 12px; border-radius: 99px; }
.ws-plan .ws-buy, .ws-plan > .ws-btn { margin-top: auto; }
.ws-ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.ws-ticks li { padding-inline-start: 26px; position: relative; }
.ws-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 12px; height: 7px; border-inline-start: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.ws-buy { display: grid; gap: 12px; }
.ws-buybox { background: var(--white); color: var(--ink); border-radius: var(--r-m); padding: 22px; display: grid; gap: 14px; }
.ws-buybox__img { border-radius: var(--r-s); aspect-ratio: 16 / 10; object-fit: cover; }

/* ------------------------------------------------------------------ forms */
.ws-account label, .ws-contact label, .ws-buy label { display: grid; gap: 6px; font-size: var(--fs-s); font-weight: 500; color: var(--navy); margin-bottom: 14px; }
.ws-check { display: flex !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--ink) !important; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px;
	font: 400 var(--fs-m) var(--font); color: var(--ink);
	background: var(--white); border: 1.5px solid #cdd3df; border-radius: var(--r-s);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(75, 138, 199, .25); }
input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.ws-hp { position: absolute; inset-inline-start: -9999px; }
.ws-inline { display: inline; }

.ws-auth { max-width: 460px; margin-inline: auto; }
.ws-alert { padding: 14px 18px; border-radius: var(--r-s); background: #eef4fb; border-inline-start: 4px solid var(--blue); margin-bottom: 20px; }
.ws-alert--error { background: #fbeeee; border-color: var(--bad); }
.ws-alert--success { background: #ecf7f1; border-color: var(--ok); }

/* ------------------------------------------------------------------ account */
.ws-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: var(--line); margin-bottom: 32px; }
.ws-tabs a { padding: 12px 16px; text-decoration: none; color: var(--slate); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ws-tabs a[aria-current="page"] { color: var(--navy); border-color: var(--navy); font-weight: 500; }
.ws-stat { display: grid; gap: 4px; }
.ws-stat__n { font-size: var(--fs-2xl); font-weight: 600; color: var(--navy); line-height: 1.1; }
.ws-stat__n--text { font-size: var(--fs-l); }
.ws-empty { text-align: center; padding: 48px 16px; border: 1.5px dashed var(--grey); border-radius: var(--r-m); }
.ws-progress { height: 6px; background: #e6eaf2; border-radius: 99px; overflow: hidden; margin: 10px 0; }
.ws-progress span { display: block; height: 100%; background: var(--blue); }
.ws-badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: var(--fs-xs); background: #eef1f6; color: var(--slate); }
.ws-badge--active, .ws-badge--paid { background: #e3f3eb; color: var(--ok); }
.ws-badge--past_due, .ws-badge--pending { background: #fdf2df; color: var(--warn); }
.ws-badge--expired, .ws-badge--cancelled, .ws-badge--refunded, .ws-badge--failed { background: #f6e6e6; color: var(--bad); }
.ws-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.ws-dl dt { color: var(--slate); }
.ws-dl dd { margin: 0; }
.ws-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; margin-top: 20px; }
.ws-onboarding { margin-top: 20px; padding-top: 16px; border-top: var(--line); }
.ws-table-wrap { overflow-x: auto; }
.ws-table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.ws-table th, .ws-table td { text-align: start; padding: 12px 10px; border-bottom: var(--line); }
.ws-table th { color: var(--slate); font-weight: 500; }

/* ------------------------------------------------------------------ course and lesson */
.ws-course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.ws-curriculum { position: sticky; top: 100px; background: var(--paper); border-radius: var(--r-m); padding: 24px; }
.ws-curriculum h3 { font-size: var(--fs-m); margin: 18px 0 8px; }
.ws-curriculum ol, .ws-lesson__nav ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.ws-curriculum li, .ws-lesson__nav li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: var(--fs-s); border-bottom: 1px solid #e3e7ef; }
.ws-curriculum .is-locked, .ws-lesson__nav .is-locked { color: var(--slate); }
.ws-curriculum .is-locked span:first-child::before, .ws-lesson__nav .is-locked span::before { content: ""; display: inline-block; width: 9px; height: 7px; border: 1.5px solid currentColor; border-radius: 2px; margin-inline-end: 8px; vertical-align: 1px; }
@media (max-width: 960px) { .ws-course-layout { grid-template-columns: 1fr; } .ws-curriculum { position: static; } }

.ws-lesson { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 70vh; }
.ws-lesson__nav { background: var(--paper); padding: 28px 22px; border-inline-end: var(--line); }
.ws-lesson__back { display: block; font-weight: 600; text-decoration: none; margin-bottom: 12px; }
.ws-lesson__nav .is-current a { font-weight: 600; color: var(--navy); }
.ws-lesson__nav .is-done a::after { content: " ✓"; color: var(--ok); }
.ws-lesson__main { padding: 32px clamp(16px, 4vw, 56px) 64px; max-width: 1000px; }
.ws-lesson__controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: var(--line); }
.ws-player { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--r-m); overflow: hidden; margin-bottom: 28px; }
.ws-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-locked { padding: 40px; text-align: center; background: var(--paper); border-radius: var(--r-m); }
@media (max-width: 900px) { .ws-lesson { grid-template-columns: 1fr; } .ws-lesson__nav { border-inline-end: 0; border-bottom: var(--line); } }

/* ------------------------------------------------------------------ prose, faq */
.ws-prose { max-width: 72ch; }
.ws-prose > * + * { margin-top: 1em; }
.ws-prose h2 { margin-top: 1.8em; }
.ws-prose ul, .ws-prose ol { padding-inline-start: 1.3em; }
.ws-prose img { border-radius: var(--r-m); }
.ws-feature { border-radius: var(--r-m); margin-bottom: 28px; }
.ws-faq details { border-bottom: var(--line); }
.ws-faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary::after { content: "+"; font-weight: 300; font-size: 1.4em; line-height: 1; color: var(--blue); }
.ws-faq details[open] summary::after { content: "–"; }
.ws-faq details > div { padding-bottom: 16px; color: var(--slate); }

/* ------------------------------------------------------------------ footer */
.ws-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding-top: 64px; font-size: var(--fs-s); }
.ws-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.ws-footer a:hover { color: var(--white); text-decoration: underline; }
.ws-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ws-footer__h { color: var(--white); font-size: var(--fs-s); font-weight: 600; margin-bottom: 14px; }
.ws-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ws-footer__tag { color: var(--blue-soft); font-weight: 500; margin: 14px 0 10px; }
.ws-footer address { font-style: normal; line-height: 1.8; }
.ws-footer__legal { margin-top: 48px; padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; }
.ws-risk { font-size: var(--fs-xs); color: var(--slate); max-width: 100ch; }
.ws-footer .ws-risk { color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .ws-footer__grid { grid-template-columns: 1fr 1fr; } .ws-footer__brand { grid-column: 1 / -1; } }

.ws-wa { position: fixed; inset-inline-end: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; z-index: 40; box-shadow: 0 6px 18px rgba(21, 27, 68, .25); }
.ws-wa svg { width: 28px; height: 28px; }

/* WordPress core alignment helpers */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-inline-start: calc(50% - 50vw); }
.wp-block-image figcaption { font-size: var(--fs-xs); color: var(--slate); }
.nav-links { display: flex; gap: 12px; margin-top: 40px; }

/* ================================================================== corporate / technology layer (v1.1) */
.ws-dark { background: var(--graphite); color: rgba(255, 255, 255, .8); }
.ws-dark h2, .ws-dark h3 { color: var(--white); }
.ws-dark .ws-lead { color: rgba(255, 255, 255, .72); }
.ws-textlink { display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-weight: 500; text-decoration: none; }
.ws-textlink::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width .2s; }
.ws-textlink:hover::after, a:hover > .ws-textlink::after { width: 30px; }
.ws-dark .ws-textlink { color: var(--blue-soft); }
.ws-pending { display: inline-block; vertical-align: middle; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; color: #5a3b00; background: #ffd98a; padding: 1px 8px; border-radius: 99px; }

/* Home hero: full-bleed animated market canvas */
.ws-hero--home { min-height: min(92vh, 860px); display: flex; align-items: center; background: var(--graphite); padding-block: 120px; }
.ws-hero--home::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(60% 70% at 78% 40%, rgba(75, 138, 199, .22), transparent 65%),
	radial-gradient(40% 50% at 90% 85%, var(--violet-light), transparent 70%),
	linear-gradient(180deg, var(--graphite) 0%, #151a33 100%); }
.ws-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.ws-hero--home .ws-hero__grid { grid-template-columns: minmax(0, 640px); }
.ws-hero--home .ws-hero__copy { position: relative; }
.ws-hero--home .ws-hero__copy::before { content: ""; position: absolute; inset: -40px -60px; z-index: -1; background: radial-gradient(closest-side, rgba(18, 22, 42, .85), transparent); }
.ws-hero__note { position: absolute; inset-inline-end: var(--gutter); bottom: 16px; margin: 0; font-size: 0.72rem; color: rgba(255, 255, 255, .42); }
[data-ws-split] .w { display: inline-block; opacity: 0; transform: translateY(.4em); animation: ws-word .7s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes ws-word { to { opacity: 1; transform: none; } }

/* Why / mission */
.ws-why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ws-why h2 { font-size: var(--fs-2xl); max-width: 14ch; }
.ws-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.ws-mv > div { padding: 22px; border: 1px solid var(--glass-line); border-radius: var(--r-m); background: var(--glass); }
.ws-mv dt { color: var(--blue-soft); font-size: var(--fs-s); font-weight: 600; margin-bottom: 6px; }
.ws-mv dd { margin: 0; color: rgba(255, 255, 255, .86); }
@media (max-width: 900px) { .ws-why__grid, .ws-mv { grid-template-columns: 1fr; } }

/* Ecosystem map */
.ws-eco { background: linear-gradient(180deg, var(--graphite) 0%, #161b35 100%); border-top: 1px solid rgba(255, 255, 255, .05); }
.ws-eco__stage { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.ws-eco__map { width: 100%; height: auto; overflow: visible; }
.ws-eco__links path { stroke: rgba(169, 200, 232, .28); stroke-width: 1.2; fill: none; stroke-dasharray: 4 8; animation: ws-flow 6s linear infinite; }
.ws-eco__links .ws-eco__ring { stroke: rgba(169, 200, 232, .1); animation-duration: 12s; }
@keyframes ws-flow { to { stroke-dashoffset: -120; } }
.ws-eco__core circle { fill: var(--navy); stroke: var(--blue); stroke-width: 1.5; }
.ws-eco__core text { fill: var(--white); font: 600 13px var(--font); letter-spacing: .2em; }
.ws-eco__node circle { fill: var(--blue); transition: r .25s, fill .25s; }
.ws-eco__node .ws-eco__halo { fill: none; stroke: var(--blue); stroke-opacity: .35; transform-box: fill-box; transform-origin: center; animation: ws-halo 3.2s ease-out infinite; }
.ws-eco__node.is-active circle:first-child { fill: var(--white); }
@keyframes ws-halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ws-eco__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ws-eco__list a { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-m); border: 1px solid var(--glass-line); background: var(--glass); color: rgba(255, 255, 255, .75); text-decoration: none; transition: border-color .2s, background-color .2s, transform .2s; }
.ws-eco__list strong { color: var(--white); font-weight: 600; }
.ws-eco__list a:hover, .ws-eco__list a:focus-visible, .ws-eco__list a.is-active { border-color: rgba(75, 138, 199, .6); background: rgba(75, 138, 199, .1); transform: translateX(4px); color: rgba(255, 255, 255, .9); }
[dir="rtl"] .ws-eco__list a:hover { transform: translateX(-4px); }
@media (max-width: 900px) { .ws-eco__stage { grid-template-columns: 1fr; } .ws-eco__map { max-width: 460px; margin-inline: auto; } }

/* Technology + console preview */
.ws-tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ws-principles { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.ws-principles li { padding-inline-start: 18px; border-inline-start: 2px solid var(--blue); color: var(--slate); }
.ws-principles strong { color: var(--navy); }
.ws-console { margin: 0; border-radius: 16px; background: var(--graphite); border: 1px solid var(--glass-line); box-shadow: 0 30px 60px -20px rgba(18, 22, 42, .45), 0 0 0 1px rgba(255, 255, 255, .02); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ws-console:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.ws-console__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ws-console__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ws-console__bar em { margin-inline-start: 10px; font-style: normal; font-size: var(--fs-xs); color: rgba(255, 255, 255, .55); }
.ws-console__body { padding: 8px 18px 18px; }
.ws-console__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .82); font-size: var(--fs-s); }
.ws-console__row i { font-style: normal; color: var(--blue-soft); }
.ws-console__row--col { display: grid; gap: 6px; }
.ws-console .ws-progress { background: rgba(255, 255, 255, .08); }
.ws-console .ws-progress span { width: 0; transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.ws-console figcaption { padding: 10px 18px 14px; font-size: 0.72rem; color: rgba(255, 255, 255, .4); }
@media (max-width: 900px) { .ws-tech__grid { grid-template-columns: 1fr; } .ws-console { transform: none; } }

/* Products */
.ws-product-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #dfe3ec; border: 1px solid #dfe3ec; border-radius: var(--r-m); overflow: hidden; }
.ws-product { display: grid; align-content: start; gap: 10px; padding: clamp(24px, 4vw, 44px); background: var(--white); text-decoration: none; color: var(--slate); transition: background-color .2s; }
.ws-product:hover { background: #f7f9fd; color: var(--slate); }
.ws-product h3 { font-size: var(--fs-xl); margin: 0; }
@media (max-width: 800px) { .ws-product-rows { grid-template-columns: 1fr; } }

.ws-section__head--row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ws-post-line { padding-top: 18px; border-top: 2px solid var(--navy); }
.ws-post-line time { font-size: var(--fs-xs); color: var(--slate); }
.ws-post-line h3 { font-size: var(--fs-m); margin-top: 6px; }
.ws-post-line a { text-decoration: none; }

/* Corporate pages (About, Technology): dark heading band */
.ws-corporate .ws-page-head { background: var(--graphite); border: 0; padding-block: 96px 64px; position: relative; overflow: hidden; }
.ws-corporate .ws-page-head::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 0%, rgba(75, 138, 199, .3), transparent 70%); pointer-events: none; }
.ws-corporate .ws-page-head h1 { color: var(--white); font-size: var(--fs-3xl); max-width: 16ch; }
.ws-corporate .ws-page-head .ws-lead { color: rgba(255, 255, 255, .72); }
.ws-prose mark { background: #ffe7b0; color: #5a3b00; padding: 0 4px; border-radius: 4px; font-size: .85em; }

/* Scroll reveal: one consistent, quiet entrance per section */
.ws-js [data-ws-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.ws-js [data-ws-reveal].is-in { opacity: 1; transform: none; }
.ws-btn { transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.ws-btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .ws-js [data-ws-reveal] { opacity: 1; transform: none; } .ws-console { transform: none; } [data-ws-split] .w { opacity: 1; transform: none; } }

/* links awaiting a destination */
.ws-pending-link { cursor: default; opacity: .7; }
.ws-pending-link::after { content: "Coming soon"; display: inline-block; margin-inline-start: .5em; padding: .1em .5em; border-radius: 999px; font-size: .7em; letter-spacing: .02em; background: rgba(75,138,199,.18); color: inherit; vertical-align: middle; }
