/*
Theme Name: Stuniex Desk
Description: Trader hiring and training website for Stuniex.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stuniex-desk
*/

@font-face { font-family: Roboto; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Roboto; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: Roboto; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/roboto-latin-700-normal.woff2") format("woff2"); }


/* Concept: CMS Prime's rhythm of big left-aligned headlines, rounded stages and grey panels, recoloured with the gradient in the Stuniex logo. */
:root {
  --navy: #001048; --blue: #0038f8; --sky: #0068f8; --ice: #e8efff; --mist: #f2f4f9; --ink: #0b1120; --muted: #566076; --line: #e1e6f0; --white: #fff; --black: #050a1c;
  --grad: linear-gradient(100deg, #001048 0%, #0038f8 62%, #0068f8 100%);
  --grad-text: linear-gradient(100deg, #001048 0%, #0038f8 55%, #0a7bf8 100%);
  --display: Poppins, Roboto, "Segoe UI", system-ui, sans-serif;
  --accent: #0038f8; --accent-soft: #e8efff; --tint: #f2f4f9; --r: 28px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.6 var(--display); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--black); }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.14; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.9rem); line-height: 1.18; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0; } a { color: var(--blue); } img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.wrap { width: 100%; max-width: calc(1180px + 32px); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 26px; background: var(--grad); border: 1.5px solid transparent; border-radius: 999px; color: #fff; font: 500 .97rem/1.2 var(--display); text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 56, 248, .28); }
.btn-outline { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-s { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.topbar { background: var(--black); color: #dbe3f7; font-size: .78rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.logo { flex: none; } .logo img { width: 158px; }
#nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 22px; font-size: .92rem; }
#nav > a, .has-menu > button { padding: 8px 0; background: none; border: 0; color: #2b3345; font: inherit; text-decoration: none; cursor: pointer; white-space: nowrap; }
#nav > a:hover, .has-menu > button:hover { color: var(--blue); }
.has-menu > button i { display: inline-block; width: 7px; height: 7px; margin: 0 0 2px 5px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 24px); left: 50%; display: none; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 28px; width: min(820px, 92vw); padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 16, 72, .16); transform: translateX(-46%); }
.has-menu.open .mega { display: grid; }
.mega-col p { margin-bottom: 8px; color: var(--muted); font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.mega-col a { display: block; padding: 6px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.mega-col a:hover { color: var(--blue); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.mega-promo { display: grid; align-content: space-between; gap: 18px; padding: 22px; background: var(--grad); border-radius: 16px; color: #fff; }
.nav-cta { display: flex; gap: 10px; margin-left: 6px; }
.burger { display: none; width: 46px; height: 46px; padding: 12px; background: none; border: 0; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: var(--ink); content: ""; }
.burger span { position: relative; } .burger span::before { position: absolute; top: -7px; } .burger span::after { position: absolute; top: 7px; }

.hero { padding-top: 34px; }
.intro { max-width: 760px; margin-top: 14px; color: #3a4357; font-size: 1.08rem; }
.stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; margin-top: 24px; overflow: hidden; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 26px, transparent 26px 72px), radial-gradient(90% 130% at 78% 10%, #0068f8 0%, #0038f8 26%, #001048 66%, #050a1c 100%); border-radius: var(--r); color: #fff; }
.stage-copy { display: grid; align-content: end; gap: 18px; padding: 34px 34px 92px; }
.eyebrow { width: fit-content; padding: 6px 14px; background: rgba(255, 255, 255, .14); border-radius: 999px; font-size: .82rem; }
.stage-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 26px; margin: 0; padding: 0; list-style: none; }
.stage-facts li { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: #cfdcff; }
.stage-facts b { display: block; color: #fff; font-size: .98rem; font-weight: 600; }
.stage-art { position: relative; height: 400px; overflow: hidden; }
.stage-art .phone { position: absolute; top: 34px; left: 50%; transform: translateX(-50%) rotate(8deg); animation: rise .8s ease both; }
@keyframes rise { from { transform: translate(-50%, 28px) rotate(8deg); } }
.notch { position: absolute; right: 0; bottom: 0; display: flex; gap: 10px; padding: 14px 74px 0 14px; background: var(--white); border-radius: 26px 0 0 0; }
.risk-line { margin-top: 12px; color: var(--muted); font-size: .84rem; }
.center { text-align: center; } .risk-line.center { margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
.stats div { display: grid; justify-items: center; gap: 2px; padding-inline: 14px; border-left: 1px solid var(--line); text-align: center; }
.stats div:first-child { border-left: 0; }
.stats b { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1.2; }
.stats span { color: #3a4357; font-size: .9rem; }

.band { margin-top: 84px; }
.head { max-width: 920px; margin: 0 auto 38px; text-align: center; }
.head p { max-width: 780px; margin: 14px auto 0; color: #3a4357; font-size: 1.05rem; }
.head.left { margin-inline: 0; margin-bottom: 18px; text-align: left; } .head.left p { margin-inline: 0; }
.body { margin-bottom: 16px; color: #3a4357; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; }
.split > * { min-width: 0; }
.split.even { gap: 20px; margin-bottom: 20px; }
.plain { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.plain p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-grid.four { grid-template-columns: repeat(4, 1fr); }
.panel { padding: clamp(28px, 5vw, 60px) clamp(18px, 4vw, 52px); margin-top: 84px; background: var(--mist); border-radius: var(--r); }
.band > .panel { margin-top: 0; }
.panel .plain { border-color: transparent; }

.mk { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; }
.mk-list { display: grid; gap: 8px; }
.mk-tab { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; background: var(--mist); border: 0; border-radius: 14px; color: var(--ink); font: 500 .97rem var(--display); text-align: left; cursor: pointer; }
.mk-tab:hover { background: var(--ice); }
.mk-tab.on { background: var(--grad); color: #fff; }
.mk-view { padding: 28px; border: 1px solid var(--line); border-radius: 20px; }
.mk-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 8px; }
.mk-top h3 { font-size: 1.6rem; } .mini { font-weight: 500; text-decoration: none; }
.mk-panel > p { color: #3a4357; }
.mk-panel dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 18px; margin: 18px 0 0; }
.mk-panel dt, .mk-panel dd { padding-block: 14px; border-top: 1px solid var(--line); }
.mk-panel dt { color: var(--muted); font-size: .88rem; } .mk-panel dd { margin: 0; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 4px 12px; background: var(--ice); border-radius: 999px; color: var(--navy); font-size: .85rem; font-weight: 500; }
.band > .center, .wrap > .center { margin-top: 30px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps li { min-width: 0; padding: 22px; background: var(--white); border-radius: 20px; }
.steps h3 { margin-top: 14px; font-size: 1.05rem; } .steps p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.num { display: grid; place-items: center; width: 40px; height: 40px; background: var(--grad); border-radius: 50%; color: #fff; font-size: .92rem; font-weight: 600; }
.panel > .center { display: grid; justify-items: center; gap: 10px; margin-top: 30px; } .center-note { color: var(--muted); }

.tabs { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.tab { flex: 1 1 auto; min-height: 50px; padding: 10px 14px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: 500 1.02rem var(--display); cursor: pointer; }
.tab:hover { color: var(--ink); } .tab.on { border-bottom-color: var(--blue); color: var(--ink); }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; animation: fade .35s ease; }
@keyframes fade { from { opacity: .3; } }
.dark-card { display: flex; flex-direction: column; min-width: 0; height: 620px; padding: 32px; overflow: hidden; background: var(--black); border-radius: var(--r); color: #fff; }
.dark-card.alt { background: var(--grad); }
.dark-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); } .dark-card p { margin: 10px 0 18px; color: #d4dcf2; font-size: .95rem; }
.dark-card .checks { margin-bottom: 18px; color: #d4dcf2; font-size: .9rem; }
.dark-art { position: relative; flex: 1; display: flex; justify-content: center; min-height: 240px; margin-top: 22px; }
.dark-art .phone { position: absolute; top: 0; }
.dark-art.wide { align-items: center; margin-top: 0; }
.illus { margin: 16px 0 0 !important; font-size: .82rem !important; color: #dbe5ff !important; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.b { position: relative; min-width: 0; min-height: 270px; padding: 26px; overflow: hidden; background: var(--white); border-radius: 22px; }
.b p { margin-top: 8px; color: var(--muted); }
.b1 { grid-column: span 5; grid-row: span 2; background: var(--grad); color: #fff; } .b1 p { color: #dbe5ff; }
.b1 .b-art { position: absolute; inset: 150px 0 0; display: flex; justify-content: center; }
.b2 { grid-column: span 7; background: var(--black); color: #fff; } .b2 p { color: #c8d2ea; } .b2 .b-art { margin-top: 18px; }
.b3 { grid-column: span 3; } .b4 { grid-column: span 4; }
.ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; background: var(--ice); border-radius: 14px; color: var(--blue); }
.ladder { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.ladder li { padding: 4px 12px; border-radius: 8px; background: var(--ice); color: var(--navy); font-size: .85rem; font-weight: 500; }
.ladder li:nth-child(2) { margin-left: 8%; } .ladder li:nth-child(3) { margin-left: 16%; } .ladder li:nth-child(4) { margin-left: 24%; background: var(--grad); color: #fff; }

.globe-row { position: relative; padding-top: 90px; }
.dots { position: absolute; inset: 0 0 70px; background: radial-gradient(circle, #b9c9ef 1.4px, transparent 1.6px) 0 0 / 14px 14px; -webkit-mask-image: radial-gradient(60% 90% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 90% at 50% 40%, #000 30%, transparent 75%); }
.session-cards { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.session-cards article { padding: 22px; background: rgba(242, 244, 249, .96); border-radius: 20px; }
.session-cards p { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.pin { display: block; width: 14px; height: 14px; margin-bottom: 12px; background: var(--grad); border: 3px solid var(--ice); border-radius: 50%; box-sizing: content-box; }

.adv-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; animation: fade .35s ease; }
.adv-panel[hidden], .tab-panel[hidden], .mk-panel[hidden] { display: none; }
.adv-panel h3 { font-size: 1.6rem; } .adv-panel p { margin: 12px 0 22px; color: #3a4357; }
.adv-art { display: flex; justify-content: center; height: 400px; padding-top: 34px; overflow: hidden; background: var(--mist); border-radius: 22px; }

.black { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 84px; padding: clamp(28px, 5vw, 56px); background: radial-gradient(70% 100% at 100% 0, #001f8f 0%, var(--black) 62%); border-radius: var(--r); color: #fff; }
.band > .black { margin-top: 0; } .black.single { grid-template-columns: 1fr; } .black > * { min-width: 0; }
.black > div > p { margin: 14px 0 20px; color: #d4dcf2; } .black .checks { margin-bottom: 26px; color: #e7ecfb; }
.black h3 { margin-bottom: 18px; font-size: 1.4rem; }
.tag { display: inline-block; margin: 0 0 12px !important; padding: 4px 12px; background: #ffe9a8; border-radius: 999px; color: #4a3500 !important; font-size: .78rem !important; font-weight: 500; }
.quotes { display: grid; gap: 12px; } .quotes figure { margin: 0; padding: 18px; background: rgba(255, 255, 255, .08); border-radius: 16px; }
.quotes blockquote { margin: 0; font-size: .95rem; } .quotes figcaption { margin-top: 8px; color: #b9c7ec; font-size: .84rem; }
.checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 10px; } .checks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--sky); }
.black .checks .icon, .dark-card .checks .icon { color: #7fb0ff; }
.checks.two { grid-template-columns: 1fr 1fr; max-width: 820px; margin-inline: auto; }

.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; height: 440px; padding-inline: clamp(20px, 5vw, 56px); overflow: hidden; background: var(--ice); border-radius: var(--r); }
.cta > div:first-child { align-self: center; } .cta p { margin: 14px 0 22px; color: #3a4357; }
.cta-art { display: flex; justify-content: center; padding-top: 40px; }
.cta-small { display: block; height: auto; padding-block: 48px; text-align: center; } .cta-small p { max-width: 640px; margin-inline: auto; }

.page-top { padding-top: 48px; } .page-top .intro { max-width: 820px; }
.pill { display: inline-block; margin-bottom: 14px; padding: 5px 14px; background: var(--ice); border-radius: 999px; color: var(--blue); font-size: .82rem; font-weight: 500; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photos figure { margin: 0; } .photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.photos figcaption { margin-top: 8px; font-size: .9rem; font-weight: 500; } .photos em { color: var(--muted); font-style: normal; font-weight: 400; }
.tagline { margin-top: 28px; font-size: 1.15rem; font-weight: 500; text-align: center; }
.card-stack { display: grid; gap: 16px; padding: 26px; background: var(--mist); border-radius: 20px; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .reason-grid h3 { margin-top: 14px; }
.mk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mk-card { color: inherit; text-decoration: none; transition: border-color .15s ease, transform .15s ease; } .mk-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.pulse { padding: 24px; background: var(--white); border-radius: 20px; } .pulse ul { display: grid; gap: 10px; margin: 14px 0; padding-left: 18px; color: #3a4357; font-size: .93rem; } .pulse small { color: var(--muted); }
.side-phone { display: flex; justify-content: center; height: 470px; padding-top: 30px; overflow: hidden; background: var(--grad); border-radius: var(--r); }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .tri h3 { margin-bottom: 10px; }
.others { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip-link { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; } .chip-link:hover { border-color: var(--blue); color: var(--blue); }
.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article { min-width: 0; padding: clamp(22px, 3vw, 34px); background: var(--mist); border-radius: 22px; } .article h2 { margin-bottom: 14px; font-size: 1.5rem; } .article p:not(.pill) { margin-bottom: 12px; color: #3a4357; font-size: .96rem; }
.stack { display: grid; gap: 12px; }
.narrow { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); } .faq summary { padding: 16px 4px; font-weight: 500; cursor: pointer; } .faq details p { padding: 0 4px 18px; color: #3a4357; }
.search { display: grid; gap: 6px; margin-bottom: 18px; font-weight: 500; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--white); border: 1px solid #c8d0e0; border-radius: 10px; color: var(--ink); font: 400 1rem var(--display); }
.form { display: grid; gap: 8px; padding: 26px; background: var(--mist); border-radius: 22px; } .form label { margin-top: 8px; font-size: .92rem; font-weight: 500; } .form .btn { margin-top: 14px; }
.check { display: flex; gap: 10px; font-weight: 400 !important; } .check input { width: 18px; min-height: 18px; margin-top: 4px; }
.form-note { padding: 10px 14px; background: var(--ice); border-radius: 10px; color: var(--navy); font-size: .9rem; }
.mini-steps { display: grid; gap: 14px; margin: 0; padding-left: 20px; } .mini-steps b, .mini-steps span { display: block; } .mini-steps span { color: var(--muted); font-size: .93rem; }
.legal section { margin-top: 26px; } .legal h2 { font-size: 1.25rem; letter-spacing: -.01em; } .legal section p { margin-top: 8px; color: #3a4357; }
.draft { padding: 12px 16px; background: #ffe9a8; border-radius: 12px; color: #4a3500; font-size: .92rem; }

.foot { margin-block: 84px 16px; padding: clamp(24px, 4vw, 44px); overflow: hidden; background: var(--mist); border-radius: var(--r); }
.foot-grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 26px; } .foot-grid > * { min-width: 0; }
.foot-brand img { width: 170px; } .foot-brand p { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.foot h2 { margin-bottom: 8px; font-size: .95rem; font-weight: 600; letter-spacing: 0; }
.foot-grid a, .foot-grid div > span { display: block; padding: 3px 0; color: #3a4357; font-size: .9rem; text-decoration: none; } .foot-grid a:hover { color: var(--blue); }
.foot-legal { display: grid; gap: 8px; margin-top: 28px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: .84rem; }
.wordmark { margin-top: 20px; background: linear-gradient(180deg, #b7c5e8, transparent 92%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(3.4rem, 14.5vw, 11.5rem); font-weight: 700; letter-spacing: .03em; line-height: .85; text-align: center; }

.chat { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45; }
.chat-open { display: grid; place-items: center; width: 56px; height: 56px; background: var(--grad); border: 0; border-radius: 50%; box-shadow: 0 10px 26px rgba(0, 56, 248, .35); color: #fff; cursor: pointer; }
.chat-box { display: flex; flex-direction: column; width: min(370px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 22px 60px rgba(0, 16, 72, .25); }
.chat-box[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--grad); color: #fff; } .chat-head button { width: 32px; height: 32px; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }
.chat-log { flex: 1; display: grid; align-content: start; gap: 8px; padding: 14px; overflow-y: auto; background: var(--mist); font-size: .9rem; }
.chat-log p { width: fit-content; max-width: 90%; padding: 9px 12px; background: var(--white); border-radius: 12px; } .chat-log p.me { justify-self: end; background: var(--blue); color: #fff; }
.chat-q { display: flex; flex-wrap: wrap; gap: 6px; max-height: 136px; padding: 10px; overflow-y: auto; border-top: 1px solid var(--line); }
.chat-q button { padding: 6px 10px; background: var(--ice); border: 0; border-radius: 999px; color: var(--navy); font: 400 .8rem var(--display); cursor: pointer; }
.chat-box > .btn { margin: 0 10px 10px; }

.phone { flex: none; width: 262px; height: 540px; padding: 8px; background: #030716; border-radius: 40px; box-shadow: 0 26px 50px rgba(0, 10, 50, .4); }
.screen { height: 100%; padding: 12px 14px; overflow: hidden; background: #eef3ff; border-radius: 32px; color: var(--ink); font-size: 11.5px; line-height: 1.35; }
.ph-status { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 10px; } .ph-status i { width: 18px; height: 8px; background: var(--ink); border-radius: 2px; }
.ph-t { margin-bottom: 8px; font-size: 14px; font-weight: 600; } .ph-h { margin: 10px 0 6px; font-weight: 600; }
.ph-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 8px; text-align: center; } .ph-seg span { padding: 4px; background: var(--white); border-radius: 9px; color: var(--muted); } .ph-seg .on { background: var(--blue); color: #fff; }
.ph-card { margin-bottom: 7px; padding: 9px; background: var(--white); border-radius: 12px; } .ph-m small { color: var(--muted); }
.ph-pos { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; margin-bottom: 5px; padding: 8px 10px; background: var(--white); border-radius: 10px; } .ph-pos span { color: var(--blue); font-weight: 500; } .ph-pos small { color: var(--muted); }
.ph-row { margin-bottom: 6px; padding: 10px; background: var(--white); border-radius: 12px; } .ph-row b, .ph-row small { display: block; } .ph-row small { color: var(--muted); } .ph-row.on { background: var(--blue); color: #fff; } .ph-row.on small { color: #d8e3ff; }
.meter { height: 6px; margin-top: 4px; background: var(--ice); border-radius: 4px; } .meter i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.spark { display: block; width: 100%; } .spark polyline { fill: none; stroke: var(--blue); stroke-width: 2.4; } .spark polygon { fill: rgba(0, 56, 248, .1); stroke: none; }
.monitor { width: 100%; max-width: 560px; overflow: hidden; background: #0d1531; border: 6px solid #1a2547; border-radius: 16px; color: #dfe7ff; font-size: 11px; }
.mon-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #141e41; } .mon-bar span { width: 8px; height: 8px; background: #41507f; border-radius: 50%; } .mon-bar b { margin-left: 8px; font-weight: 500; }
.mon-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 10px; } .mon-main, .mon-side > div { padding: 8px; background: #141e41; border-radius: 8px; } .mon-side { display: grid; gap: 8px; } .mon-side i { display: block; height: 8px; margin-top: 8px; background: linear-gradient(90deg, #0068f8, #1a2547); border-radius: 4px; }
.monitor .spark polyline { stroke: #5a97ff; } .monitor .spark polygon { fill: rgba(90, 151, 255, .15); }

.foot-btn { padding: 3px 0; background: none; border: 0; color: #3a4357; font: inherit; font-size: .9rem; cursor: pointer; } .foot-btn:hover { color: var(--blue); }
.table-scroll { margin-top: 10px; overflow-x: auto; } .table-scroll table { width: 100%; border-collapse: collapse; font-size: .92rem; } .table-scroll th, .table-scroll td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } .table-scroll th { background: var(--ice); font-weight: 600; }
.consent { position: fixed; right: 0; bottom: 0; left: 0; z-index: 48; max-height: 85vh; padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -14px 40px rgba(0, 16, 72, .14); }
.consent-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.consent h2 { font-size: 1.1rem; letter-spacing: -.01em; } .consent-copy p { margin-top: 4px; color: #3a4357; font-size: .9rem; }
.consent-options { display: grid; gap: 8px; margin-top: 12px; font-size: .9rem; } .consent-options label { display: flex; align-items: flex-start; gap: 10px; } .consent-options input { width: 18px; min-height: 18px; margin-top: 3px; flex: none; }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 420px; }
body.has-consent .chat { bottom: calc(var(--consent-h, 0px) + 12px); }
dialog.hire { width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 10, 50, .4); color: var(--ink); }
dialog.hire[open] { display: grid; grid-template-columns: 40% minmax(0, 1fr); }
dialog.hire::backdrop { background: rgba(0, 10, 40, .6); }
.hire-side { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--grad); color: #fff; }
.hire-side img { width: 150px; padding: 8px 10px; background: var(--white); border-radius: 10px; }
.hire-side h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); } .hire-side > p { color: #e3e9fb; font-size: .95rem; } .hire-side .checks { font-size: .9rem; } .hire-side .checks .icon { color: #fff; } .hire-side small { margin-top: auto; color: #d4dcf2; font-size: .78rem; }
.hire-form { position: relative; display: grid; align-content: start; gap: 5px; max-height: calc(100vh - 32px); padding: 26px 28px; overflow-y: auto; }
.hire-form h3 { margin-bottom: 4px; font-size: 1.3rem; } .hire-form label { margin-top: 6px; font-size: .86rem; font-weight: 500; } .hire-form input:not([type=checkbox]), .hire-form select { min-height: 42px; padding-block: 7px; } .hire-form .btn { margin-top: 10px; }
.hire-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .hire-two > div { display: grid; gap: 5px; min-width: 0; }
.hire-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; background: var(--mist); border: 0; border-radius: 50%; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.hire-full { margin-top: 8px; color: var(--muted); font-size: .85rem; text-align: center; }

.mentor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.mentor { min-width: 0; padding: 14px 14px 20px; background: var(--mist); border-radius: 20px; }
.mentor-photo { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 14px; background: var(--grad); border-radius: 14px; }
.mentor-photo { overflow: hidden; align-items: end; } .mentor-photo svg { display: block; width: 100%; height: 100%; }
.mentor h3 { font-size: 1.05rem; } .mentor p { margin-top: 6px; color: #3a4357; font-size: .85rem; line-height: 1.5; } .mentor .mentor-years { margin-top: 2px; color: var(--blue); font-weight: 500; } .mentor .mentor-spec { color: var(--ink); font-weight: 600; } .mentor-style b { font-weight: 600; }

@media (max-width: 1060px) {
  .burger { display: block; }
  #nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 120px); padding: 12px 16px 18px; overflow-y: auto; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0, 16, 72, .1); }
  #nav.open { display: flex; }
  #nav > a, .has-menu > button { display: block; width: 100%; min-height: 46px; padding: 11px 0; font-size: 1rem; text-align: left; }
  .mega { position: static; grid-template-columns: 1fr; width: 100%; padding: 8px 0 12px; border: 0; box-shadow: none; transform: none; }
  .nav-cta { display: grid; grid-template-columns: 1fr 1fr; margin: 10px 0 0; }
  .steps, .steps.four { grid-template-columns: repeat(2, 1fr); }
  .bento .b1, .bento .b2, .bento .b3, .bento .b4 { grid-column: span 6; grid-row: auto; }
  .bento .b1 { min-height: 520px; }
  .value-grid.four, .mk-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .consent-in { grid-template-columns: 1fr; gap: 14px; } .consent-actions { display: grid; grid-template-columns: 1fr 1fr; max-width: none; } .consent-actions .btn-outline { grid-column: 1 / -1; }
  dialog.hire { overflow-y: auto; } dialog.hire[open] { display: block; } .hire-side { padding: 20px 22px; gap: 8px; } .hire-side .checks, .hire-side small { display: none; } .hire-side img { width: 120px; } .hire-form { max-height: none; overflow: visible; padding: 20px 22px; } .hire-close { position: fixed; top: 24px; right: 24px; }
  .band { margin-top: 60px; } .panel, .black { margin-top: 60px; }
  .stage, .split, .tab-panel, .adv-panel, .black, .art-grid, .photos, .tri, .reason-grid, .cta { grid-template-columns: 1fr; }
  .stage { display: flex; flex-direction: column; } .notch { order: -1; }
  .stage-copy { padding: 26px 22px 8px; } .stage-facts { grid-template-columns: 1fr; }
  .stage-art { height: 340px; } .notch { position: static; display: grid; padding: 22px 22px 0; background: none; border-radius: 0; } .notch .btn { background: var(--white); border-color: var(--white); color: var(--navy); }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 24px; } .stats div:nth-child(3) { border-left: 0; }
  .mk { grid-template-columns: minmax(0, 1fr); } .mk-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; } .mk-tab { flex: none; }
  .mk-view { padding: 20px; } .mk-panel dl { grid-template-columns: 1fr; } .mk-panel dt { padding-bottom: 0; } .mk-panel dd { padding-top: 4px; border-top: 0; }
  .mentor-grid { grid-template-columns: 1fr 1fr; }
  .session-cards { grid-template-columns: 1fr 1fr; } .globe-row { padding-top: 40px; }
  .dark-card { height: auto; min-height: 560px; } .dark-card.alt { min-height: 0; } .dark-art { min-height: 340px; } .dark-art.wide { min-height: 0; margin-top: 0; }
  .cta { height: auto; padding-top: 36px; } .cta-art { height: 330px; padding-top: 0; overflow: hidden; } .cta-small { padding-top: 40px; padding-bottom: 40px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; } .tab { flex: none; font-size: .95rem; }
  .bento .b1, .bento .b2, .bento .b3, .bento .b4 { grid-column: 1 / -1; }
  .checks.two { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .topbar span:last-child { display: none; } .logo img { width: 136px; } .bar { min-height: 66px; }
  .steps, .steps.four, .value-grid, .value-grid.four, .mk-grid, .foot-grid, .mentor-grid { grid-template-columns: 1fr; }
  .session-cards { grid-template-columns: 1fr; }
  .chat-open { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Legal pages */
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 56px; }
.legal-nav { position: sticky; top: 100px; padding: 20px; background: var(--tint); border-radius: 16px; font-size: 0.92rem; }
.legal-nav p { margin: 0 0 8px; font-weight: 600; }
.legal-nav ul { margin: 0; padding: 0; list-style: none; }
.legal-nav li { margin-top: 8px; }
.legal-nav a { color: var(--muted); text-decoration: none; }
.legal-nav a:hover { color: var(--accent); }
.legal-date { margin: 0 0 8px; color: var(--muted); font-size: 0.92rem; }
.legal-body section { scroll-margin-top: 100px; margin-top: 36px; }
.legal-body h2 { font-size: 1.6rem; letter-spacing: -0.02em; }
.legal-body p, .legal-body li { color: #43484f; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-top: 8px; }
.table-scroll { margin-top: 16px; overflow-x: auto; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.table-scroll th, .table-scroll td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-scroll th { background: var(--accent-soft); font-weight: 600; }

/* Login and profile creation */
.auth { padding: 40px 0 60px; overflow: hidden; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.auth-panel { max-width: 460px; }
.auth-panel h1 { font-size: clamp(2.2rem, 4vw, 3.25rem); }
.auth-panel .lead { margin: 12px 0 24px; }
.auth-form { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.auth-form p { margin: 0 0 16px; }
.auth-form label { display: block; margin-bottom: 6px; font-size: 0.95rem; font-weight: 500; }
.auth-form .apply-form label, .auth-form.apply-form label { display: grid; margin-bottom: 0; }
.auth-form input[type="password"], .auth-form input[type="text"], .auth-form input[type="email"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font: inherit;
}
.auth-form .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.auth-form .login-submit { margin-bottom: 0; }
.auth-form #wp-submit { width: 100%; padding: 12px 24px; background: var(--accent); border: 1px solid var(--accent); border-radius: 8px; color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.auth-form .btn { width: 100%; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 0.95rem; }
.auth-links a { text-decoration: none; }
.auth-art { display: flex; justify-content: center; height: 620px; overflow: hidden; background: linear-gradient(135deg, #e9f1ff, #e5f6ff); border-radius: 24px; }
.auth-art .phone { margin-top: 48px; }
.otp-input { font-size: 1.5rem !important; letter-spacing: 0.4em; text-align: center; }
.consent-check { display: flex !important; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 400 !important; }
.consent-check input { margin-top: 5px; }


/* Account, legal and form pages */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--white); } .skip-link:focus { left: 8px; }
.hp, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.admin-bar header.site { top: 32px; } @media (max-width: 782px) { .admin-bar header.site { top: 46px; } }
.section { padding-block: 60px; } .wrap-narrow { max-width: calc(820px + 32px); }
.accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 14px; color: #3a4357; font-size: 1.05rem; } .link { font-weight: 500; text-decoration: none; } .fine { color: var(--muted); font-size: .9rem; }
.card { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; } .card p { margin-top: 10px; color: var(--muted); }
.page-hero { padding-block: 56px 20px; text-align: center; } .cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.apply-form { display: grid; gap: 16px; } .apply-form label { display: grid; gap: 6px; font-size: .95rem; font-weight: 500; }
.apply-form .consent { position: static; display: flex; align-items: flex-start; gap: 10px; padding: 0; max-height: none; border: 0; box-shadow: none; color: var(--muted); font-weight: 400; } .apply-form .consent input { width: 18px; min-height: 18px; margin-top: 4px; }
.notice { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; } .notice-ok { background: var(--ice); color: var(--navy); } .notice-error { background: #fdecea; color: #99241a; }
.mentor-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; } .split-even { align-items: start; }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.contact-details p { margin-top: 18px; }
@media (max-width: 960px) { .split-grid, .legal-grid, .auth-grid { grid-template-columns: 1fr; } .cards-3 { grid-template-columns: repeat(2, 1fr); } .legal-nav { position: static; } .auth-art { display: none; } .auth-panel { max-width: none; } }
@media (max-width: 600px) { .cards-3 { grid-template-columns: 1fr; } }


/* Country picker and trader eligibility (added 16 Nov 2026) */
.stx-field { display: grid; gap: 6px; font-size: .95rem; font-weight: 500; }
.hire-form .stx-field { gap: 5px; margin-top: 6px; font-size: .86rem; }
.stx-phone { display: flex; align-items: stretch; overflow: hidden; background: var(--white); border: 1px solid #c8d0e0; border-radius: 10px; font-weight: 400; }
.stx-phone:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.stx-phone .stx-phone-code { display: flex; flex: none; align-items: center; min-width: 64px; padding: 0 12px; background: var(--mist); border-right: 1px solid #c8d0e0; color: var(--ink); font: 500 1rem var(--display); font-variant-numeric: tabular-nums; }
.stx-phone .stx-phone-code.is-empty { color: #8a93a8; }
.stx-phone input[type="tel"] { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none; outline: none; }
.hire-form .stx-field label { margin-top: 0; }
.stx-picker { position: relative; min-width: 0; font-size: 1rem; font-weight: 400; }
.stx-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.stx-picker-btn { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 46px; padding: 10px 34px 10px 12px; background: var(--white); border: 1px solid #c8d0e0; border-radius: 10px; color: var(--ink); font: 400 1rem var(--display); text-align: left; cursor: pointer; }
.stx-picker-btn::after { content: ""; position: absolute; top: 50%; right: 14px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .55; transform: translateY(-70%) rotate(45deg); }
.stx-picker-btn:focus-visible, .stx-picker.open .stx-picker-btn { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.stx-picker.invalid .stx-picker-btn { border-color: #c0392b; }
.stx-picker-btn .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stx-picker-btn .ph { color: #8a93a8; }
.stx-picker-btn .dc { color: var(--muted); font-size: .9em; }
.hire-form .stx-picker-btn { min-height: 42px; padding-block: 7px; }
.stx-flag { flex: none; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1.25em; line-height: 1; }
.stx-picker-pop { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; width: max(100%, 300px); max-width: calc(100vw - 40px); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 16, 72, .18); }
.stx-picker-pop .stx-picker-search { min-height: 44px; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.stx-picker-pop .stx-picker-search:focus { outline: none; background: var(--mist); }
.stx-picker-list { max-height: 264px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.stx-picker-list li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--ink); font-size: .98rem; cursor: pointer; }
.stx-picker-list li[hidden] { display: none; }
.stx-picker-list li .n { flex: 1; min-width: 0; }
.stx-picker-list li .d { color: var(--muted); font-variant-numeric: tabular-nums; }
.stx-picker-list li.active, .stx-picker-list li:hover { background: var(--ice); }
.stx-picker-list li[aria-selected="true"] { color: var(--blue); font-weight: 500; }
.stx-picker-empty { margin: 0; padding: 14px; color: var(--muted); font-size: .9rem; }
.stx-elig { display: grid; gap: 20px; margin-bottom: 32px; }
.stx-elig-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.stx-elig-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stx-elig-meta span { padding: 6px 12px; background: var(--mist); border-radius: 999px; color: var(--navy); font-size: .85rem; }
.stx-elig-intro { margin-top: 14px; color: #3a4357; }
.stx-elig-min { padding: clamp(20px, 3vw, 28px); background: var(--grad); border-radius: 20px; color: #fff; }
.stx-elig-min h3 { margin-bottom: 14px; color: #fff; font-size: 1.2rem; }
.stx-elig-min .checks { color: #fff; } .stx-elig-min .checks .icon { color: #fff; }
.stx-elig-min p { margin-top: 14px; color: #e3e9fb; font-size: .92rem; }
.stx-elig-list { display: grid; gap: 8px; margin: 0; padding: 0 4px 18px 22px; color: #3a4357; }
.stx-elig-more details > p { padding: 0 4px 18px; color: #3a4357; }
.stx-elig-dl { display: grid; gap: 6px; margin: 0; padding: 0 4px 18px; color: #3a4357; }
.stx-elig-dl dt { margin-top: 6px; color: var(--ink); font-weight: 500; } .stx-elig-dl dd { margin: 0; }
.stx-elig-note { padding: 14px 16px; background: var(--ice); border-radius: 12px; color: var(--navy); font-size: .92rem; }
.stx-elig-short { margin: 4px 0 6px; padding: 14px 16px; background: var(--mist); border-radius: 14px; font-size: .86rem; }
.stx-elig-short b { display: block; margin-bottom: 8px; }
.stx-elig-short .checks { gap: 6px; } .stx-elig-short .checks .icon { width: 18px; height: 18px; margin-top: 1px; }
.stx-elig-short a { display: inline-block; margin-top: 8px; font-weight: 500; }
.stx-elig-section, .stx-dash-elig { padding-bottom: 0; }
.stx-dash-elig { padding-top: 0; }
@media (max-width: 520px) { .stx-picker-pop { width: calc(100vw - 40px); } }
.stx-elig, #apply-form, #contact-form { scroll-margin-top: 110px; }
