/* Vector Trading — DESIGN v3 "Kinetic / Accelerate".
   Energetic and motion-forward: white ground with deep-navy contrast sections,
   vivid Vector-blue → cyan accents, heavy oversized Montserrat, amplified card
   kinetics and velocity motifs. Motion is a feature (disabled under
   prefers-reduced-motion). Same HTML/classes as the base site — CSS-only reskin. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-2: #eff5ff;          /* light blue-tinted elevated */
  --navy: #071633;
  --navy-2: #0a1e45;
  --ink: #0a1220;
  --text: #33425a;
  --muted: #5f6f85;
  --dim: #93a0b3;
  --line: #e5ecf6;
  --line-2: #d5deee;
  --accent: #0071ef;        /* Vector blue */
  --accent-2: #00c6ff;      /* cyan */
  --accent-3: #5eaaff;
  --white: #ffffff;
  --black: #000000;
  /* legacy aliases so untouched selectors resolve sensibly */
  --primary: #0071ef;
  --secondary: #071633;
  --info: #0071ef;
  --info-light: #00c6ff;
  --gray-100: #eff5ff;
  --gray-200: #e5ecf6;
  --gray-300: #c3cee0;
  --gray-400: #9aa6b8;
  --gray-500: #7c8798;
  --gray-600: #5f6f85;
  --gray-700: #3e4c63;
  --gray-800: #26324a;
  --gray-900: #0a1220;

  --grad: linear-gradient(90deg, #0071ef, #00c6ff);
  --font-family: "Montserrat", "Helvetica Neue", Helvetica, sans-serif;
  --font-bold: 700;
  --font-semibold: 600;
  --font-medium: 500;
  --font-regular: 400;
  --max-width: 1296px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body { margin: 0; padding: 0; overflow-x: hidden; width: 100%; background: var(--bg); font-family: var(--font-family); font-weight: 400; color: var(--text); line-height: 1.6; }

/* Amplified 3D tilt — energy on hover. */
.tilt { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; transform-style: preserve-3d; perspective: 1000px; }
.tilt:hover { transform: perspective(1000px) rotateY(8deg) rotateX(5deg) scale(1.06); box-shadow: 0 30px 60px rgba(0,113,239,.20); }

p { margin: 0 0 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.link-inline { color: var(--accent); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.link-inline:hover { text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jobs-status { text-align: center; color: var(--dim); font-size: 14px; margin: 8px 0 0; }
img { max-width: 100%; height: auto; }
strong { font-weight: 800; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.section { padding: 88px 0; }

/* ---------- Buttons (bold, kinetic sheen) ---------- */
.btn, .header-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 28px; border-radius: 50px;
  background: var(--grad); color: var(--white);
  font-weight: 800; font-size: 15px; letter-spacing: .3px; border: 0; cursor: pointer; line-height: 1;
  box-shadow: 0 8px 22px rgba(0,113,239,.30);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover, .header-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,113,239,.42); text-decoration: none; }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); }
@media (prefers-reduced-motion: no-preference) { .btn:hover::after, .header-btn:hover::after { animation: sheen .6s ease; } }
@keyframes sheen { from { left: -60%; } to { left: 120%; } }
.btn-ghost { background: transparent; color: var(--white); box-shadow: none; border: 2px solid rgba(255,255,255,.6); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; height: 84px; max-width: var(--max-width); margin: 0 auto; padding: 16px; }
.site-header::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; height: 100%; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); z-index: -1; }
.site-header .logo { display: inline-flex; }
.site-header .logo img { height: 62px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: block; background: none; border: 0; cursor: pointer; padding: 8px; }
@media (min-width: 900px) { .nav-toggle { display: none; } }
@media (max-width: 899px) { .header-btn { display: none; } }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: .3s; }
.main-nav { display: none; position: absolute; top: 84px; right: 24px; min-width: 220px; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 44px rgba(7,22,51,.18); padding: 8px 0; z-index: 200; }
.main-nav.open { display: flex; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: 16px; padding: 12px 20px; }
.main-nav a:hover { color: var(--accent); text-decoration: none; background: var(--bg-2); }

/* ---------- Banner (home hero) — kinetic ---------- */
.banner { position: relative; background: var(--bg); color: var(--ink); padding: 0 16px; overflow: hidden; }
/* velocity streaks in the background */
.banner::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 140%;
  background: repeating-linear-gradient(115deg, rgba(0,113,239,.06) 0 2px, transparent 2px 26px);
  transform: skewX(-12deg); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) { .banner::before { animation: drift 8s linear infinite; } }
@keyframes drift { from { background-position: 0 0; } to { background-position: 260px 0; } }
.banner .container { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.banner-left { flex: 1 1 420px; max-width: 560px; padding-top: 116px; }
.banner-right { flex: 1 1 360px; text-align: center; position: relative; top: 24px; }
.banner h1 { position: relative; color: var(--ink); font-size: 52px; font-weight: 900; line-height: 1.05; letter-spacing: -1px; margin: 0 0 28px; text-transform: none; }
.banner h1 img { position: absolute; left: -196px; top: 8px; height: 149px; width: auto; }
.banner p { color: var(--muted); font-size: 18px; line-height: 30px; margin: 0 0 36px; max-width: 533px; }

/* "WE ARE …" — big, the emphasis painted with the blue→cyan gradient. */
.animation { display: flex; justify-content: center; margin: 80px 0; font-size: 44px; font-weight: 900; letter-spacing: 1px; color: var(--ink); text-align: center; }
.anim-inner { overflow: hidden; white-space: nowrap; transition: width .5s ease-in-out; max-width: 100%; }
.anim-text { display: inline-block; white-space: nowrap; }
.animation .emphasis {
  display: inline-block; opacity: 1; transition: opacity .35s ease, transform .35s ease;
  color: var(--accent);
}
@media (prefers-reduced-motion: reduce) { .animation .emphasis { transition: none; } }

/* ---------- Characteristics ---------- */
.characteristics { position: relative; z-index: 2; padding: 48px 0 0; }
.characteristics .container { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 24px; max-width: 1041px; padding: 24px; margin: 0 auto 16px; }
.char-card { display: flex; flex-direction: column; align-items: flex-start; width: 299px; min-height: 270px; padding: 32px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(7,22,51,.08); text-align: left; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; transform-style: preserve-3d; perspective: 1000px; }
.char-card:hover { transform: perspective(1000px) rotateY(10deg) rotateX(6deg) scale(1.06); box-shadow: 0 30px 60px rgba(0,113,239,.22); }
.char-card img { height: 76px; margin-bottom: 8px; }
.char-card h3 { color: var(--ink); font-size: 28px; font-weight: 800; margin: 20px 0 0; line-height: 1.1; }
.char-card h4 { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin: 12px 0; }
.char-card p { color: var(--muted); font-size: 16px; font-weight: 600; margin: 0; }

/* ---------- About Us banner (vivid overlay) ---------- */
.aboutus-banner { position: relative; z-index: 1; text-align: center; color: var(--white); margin-top: -120px; padding: 150px 16px 170px; background-image: linear-gradient(180deg, rgba(7,22,51,.55), rgba(7,22,51,.85)), url("/assets/about-us-banner-2.png"); background-size: cover; background-repeat: no-repeat; background-position: center; }
.aboutus-banner .container { max-width: 920px; }
.aboutus-banner h2 { color: var(--white); font-size: 58px; font-weight: 900; text-align: center; line-height: 1.05; letter-spacing: -1px; }
.aboutus-banner p { color: rgba(255,255,255,.9); line-height: 26px; text-align: center; max-width: 620px; margin: 0 auto; font-size: 18px; }

/* ---------- Section titles (bold + kinetic underline) ---------- */
.section-title { position: relative; text-align: center; color: var(--ink); font-size: 44px; font-weight: 900; margin: 0 0 24px; line-height: 1.05; letter-spacing: -1px; }
.section-title::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 4px; margin: 20px auto 0; background: var(--grad); }
.section-title strong { color: var(--accent); font-weight: 900; }
.section-subtitle { text-align: center; color: var(--muted); font-size: 18px; font-weight: 600; margin: 0 0 56px; }

/* ---------- Proprietary Trading ---------- */
.proprietary { padding: 80px 0 24px; overflow: visible; }
.proprietary .container { max-width: 958px; position: relative; left: -40px; }
.deco-rings { position: absolute; left: 60%; top: 0; width: 1270px; max-width: none; height: auto; z-index: -2; pointer-events: none; opacity: .5; }
.proprietary .content { position: relative; padding: 64px 64px 48px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(7,22,51,.10); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; transform-style: preserve-3d; perspective: 1000px; }
.proprietary .content:hover { transform: perspective(1000px) rotateY(5deg) rotateX(3deg) scale(1.03); box-shadow: 0 30px 70px rgba(0,113,239,.18); }
.proprietary h2 { color: var(--ink); font-size: 42px; font-weight: 900; text-align: left; margin: 0 0 28px; line-height: 1.05; letter-spacing: -1px; }
.proprietary p { color: var(--muted); font-size: 18px; line-height: 30px; margin: 0 0 22px; }
.proprietary p:last-child { margin-bottom: 0; }

/* ---------- Mission ---------- */
.mission { padding: 24px 0 80px; }
.mission .container { max-width: 958px; position: relative; left: 40px; }
.mission .content { padding: 64px; border-radius: 24px; background: var(--navy); color: rgba(255,255,255,.86); border: 0; box-shadow: 0 28px 70px rgba(7,22,51,.35); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; transform-style: preserve-3d; perspective: 1000px; }
.mission .content:hover { transform: perspective(1000px) rotateY(-5deg) rotateX(3deg) scale(1.03); box-shadow: 0 34px 80px rgba(0,113,239,.30); }
.mission h2 { color: var(--white); font-size: 42px; font-weight: 800; text-align: left; margin: 0 0 16px; line-height: 1.05; letter-spacing: -1px; }
.mission h2 strong { color: var(--accent-2); font-weight: 900; }
.mission p { color: rgba(255,255,255,.82); font-size: 18px; line-height: 180%; margin: 0 0 16px; }
.mission p:last-child { margin-bottom: 0; }

/* ---------- Our Numbers (bold gradient figures) ---------- */
#our-numbers .section-title, #our-numbers .section-subtitle { text-align: left; }
#our-numbers .section-title::after { margin-left: 0; }
.numbers-grid { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 24px; max-width: 900px; margin: 0 auto; }
.number-card { width: 200px; margin-bottom: 16px; padding: 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); transition: transform .25s ease; }
.number-card:hover { transform: translateY(-4px); }
.number-card img { height: 44px; margin-bottom: 4px; }
.number-value { font-size: 42px; font-weight: 900; margin: 12px 0 0; font-variant-numeric: tabular-nums; letter-spacing: -1.5px; color: var(--accent); }
.number-desc { color: var(--muted); font-size: 14px; font-weight: 600; margin: 6px 0 0; }

/* ---------- Our Team ---------- */
.team .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.team-col { display: flex; flex-direction: column; }
.team-col-right { margin-top: 74px; }
.team-intro { position: relative; background: linear-gradient(150deg, #0071ef, #071633); color: var(--white); border-radius: 24px; padding: 52px; margin-top: -80px; margin-bottom: 80px; z-index: 0; box-shadow: 0 24px 60px rgba(0,113,239,.25); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; transform-style: preserve-3d; perspective: 1000px; }
.team-intro:hover { transform: perspective(1000px) rotateY(8deg) rotateX(5deg) scale(1.04); box-shadow: 0 34px 80px rgba(0,113,239,.4); }
.team-intro img.object { position: absolute; top: 0; right: 0; z-index: 0; height: 120px; opacity: .35; }
.team-intro h2 { text-align: left; color: var(--white); font-size: 40px; font-weight: 900; margin: 0 0 20px; line-height: 1.05; letter-spacing: -.5px; }
.team-intro h2 strong { color: var(--accent-2); font-weight: 900; }
.team-intro h3 { color: var(--accent-2); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; font-weight: 800; margin-top: 20px; }
.team-intro p { color: rgba(255,255,255,.9); font-size: 17px; line-height: 160%; max-width: 476px; }
.team-card { padding: 36px; margin-bottom: 88px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 50px rgba(7,22,51,.10); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; transform-style: preserve-3d; perspective: 1000px; }
.team-card:hover { transform: perspective(1000px) rotateY(6deg) rotateX(4deg) scale(1.05); box-shadow: 0 30px 64px rgba(0,113,239,.2); }
.team-card h3 { color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px; }
.team-card p { color: var(--muted); font-size: 17px; line-height: 160%; margin: 0 0 28px; }
.team-card p:last-child { margin-bottom: 0; }

/* ---------- Culture ---------- */
.culture .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 150px; }
.culture-left h2 { text-align: left; color: var(--ink); font-size: 42px; font-weight: 900; margin: 0 0 20px; line-height: 1.05; letter-spacing: -1px; }
.culture-left h2 strong { color: var(--accent); font-weight: 900; }
.culture-left .section-subtitle { text-align: left; color: var(--muted); font-size: 24px; font-weight: 600; margin: 0 0 44px; }
.culture-left h3 { color: var(--accent); font-size: 22px; font-weight: 800; margin: 0 0 14px; }
.culture-left p { font-size: 17px; line-height: 160%; margin: 0 0 40px; color: var(--muted); }
.culture-left p:last-child { margin-bottom: 0; }
.culture-right { display: flex; align-items: center; justify-content: center; }
.culture-right img { max-width: 100%; border-radius: 20px; }

/* ---------- Your Career (vivid overlay) ---------- */
.your-career { color: var(--white); text-align: center; padding: 150px 0; background-image: linear-gradient(180deg, rgba(0,113,239,.35), rgba(7,22,51,.9)), url("/assets/your-careers.png"); background-size: cover; background-repeat: no-repeat; background-position: center; }
.your-career h2 { color: var(--white); font-size: 58px; font-weight: 900; line-height: 1.05; letter-spacing: -1px; }
.your-career h2 strong { color: var(--accent-2); }

/* ---------- Hiring Process / Open Roles (home) ---------- */
.roles { padding-bottom: 0; overflow: visible; }
.hiring-process-title { text-align: center; font-size: 56px; font-weight: 900; color: var(--ink); margin: 0 0 40px; letter-spacing: -1.5px; }
.roles-content { display: flex; gap: 40px; align-items: flex-start; max-width: var(--max-width); margin: 0 auto; padding-top: 40px; position: relative; }
.roles-intro { flex: 1 1 auto; max-width: 760px; position: relative; z-index: 1; text-align: left; padding: 0 16px; }
.roles-chart { position: absolute; left: -180px; top: 8px; height: 149px; width: auto; max-width: none; }
.roles-intro h3 { color: var(--accent); font-size: 32px; font-weight: 900; margin: 0 0 32px; }
.roles-intro p { color: var(--muted); font-size: 18px; line-height: 30px; margin: 0 0 16px; }
.roles-intro p strong { color: var(--accent); font-weight: 800; }
.roles-visual { flex: 1 1 auto; position: relative; align-self: stretch; }
.roles-circle { position: absolute; top: -40px; left: 140px; width: 100px; height: 100px; display: block; z-index: -1; }

/* ---------- Open Roles — hero (page /open-roles) ---------- */
.roles-hero-group { position: relative; overflow: hidden; }
.roles-hero-ring-wrap { position: absolute; top: 120px; left: 0; right: 0; height: 100vh; overflow: hidden; z-index: 0; pointer-events: none; }
.roles-hero-ring { position: relative; left: 50%; width: 1270px; max-width: none; height: auto; pointer-events: none; opacity: .5; }
.roles-hero { background: linear-gradient(150deg, #0a1e45, #071633); padding-bottom: 80px; }
.roles-hero-content { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 116px 0 0; min-height: 482px; position: relative; z-index: 1; }
.roles-hero-left { position: relative; z-index: 1; padding: 0 16px; }
.roles-hero-left .roles-chart { position: absolute; left: -180px; top: 8px; height: 149px; width: auto; max-width: none; }
.roles-hero-left h1 { color: var(--white); font-size: 48px; font-weight: 900; margin: 0 0 32px; line-height: 1.05; letter-spacing: -1px; }
.roles-hero-desc { font-weight: 400; color: rgba(255,255,255,.86); max-width: 508px; font-size: 18px; line-height: 30px; margin: 0 0 36px; }
.roles-hero-desc p { color: rgba(255,255,255,.86); margin: 0 0 16px; }
.roles-hero-desc p:last-child { margin: 0; }
.roles-hero-desc strong { color: var(--accent-2); font-weight: 800; }
.roles-hero-right { display: flex; flex-direction: column; align-items: flex-end; padding-right: 16px; position: relative; }
.roles-hero-img { position: relative; top: 80px; width: 100%; max-width: 620px; z-index: 1; }
.roles-hero-circle { position: absolute; top: -40px; left: -40px; width: 100px; height: 100px; z-index: -1; }
.roles-hero-group .job-card { z-index: 1; }
.roles-hero-group .submit-here { position: relative; z-index: 1; color: var(--white); }
.roles-hero-group .your-career .container { position: relative; z-index: 1; }
.roles-hero-group #jobs { padding: 0 0 16px; margin-top: 40px; }
.roles-hero-group .jobs-grid { margin-top: 0; }
@media (max-width: 1280px) {
  .roles-hero-content { grid-template-columns: 1fr; max-width: 480px; min-height: 0; padding-top: 48px; }
  .roles-hero-right { display: none; }
  .roles-hero-ring-wrap { display: none; }
}

/* ---------- Jobs (vivid cards) ---------- */
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.job-card { padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; top: 0; box-shadow: 0 16px 44px rgba(7,22,51,.08); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; text-decoration: none; color: inherit; overflow: hidden; }
.job-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.job-card:hover { transform: translateY(-6px); cursor: pointer; text-decoration: none; box-shadow: 0 28px 60px rgba(0,113,239,.20); }
.job-card:hover::before { transform: scaleX(1); }
.job-card h3 { position: relative; color: var(--ink); font-size: 23px; font-weight: 800; margin: 16px 0 0; padding-bottom: 20px; }
.job-card h3::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 8px; position: absolute; top: -14px; left: 0; background: var(--grad); }
.job-card p { color: var(--muted); font-size: 15px; line-height: 24px; margin: 0 0 16px; flex: 1; }
.job-card-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 20px; }
.job-card .btn { height: 40px; padding: 0 18px; font-size: 13px; }
.status-active { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; display: inline-flex; align-items: center; }
.status-active svg { width: 18px; height: 18px; margin-right: 6px; }
.submit-here { display: flex; align-items: center; justify-content: flex-start; gap: 24px; flex-wrap: wrap; max-width: var(--max-width); margin: 28px auto 0; color: var(--muted); }
.submit-here p { margin: 0; }

/* ---------- Application (zigzag, energetic) ---------- */
.application .container { max-width: 1080px; }
.application .section-title { color: var(--ink); font-size: 36px; font-weight: 900; margin: 0 0 48px; text-align: center; }
.application .cards { display: flex; flex-direction: column; align-items: center; }
.application .card { display: inline-flex; flex-direction: row-reverse; justify-content: center; align-items: center; position: relative; max-width: 958px; width: calc(100% - 80px); padding: 40px; gap: 24px; border-radius: 24px; margin: 0 auto 32px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 48px rgba(7,22,51,.08); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; transform-style: preserve-3d; perspective: 1000px; }
.application .card:nth-child(odd) { flex-direction: row; left: 40px; }
.application .card:nth-child(even) { left: -40px; }
.application .card:hover { transform: perspective(1000px) rotateY(6deg) rotateX(4deg) scale(1.04); box-shadow: 0 28px 64px rgba(0,113,239,.18); }
.application .card img { width: 110px; height: 110px; min-width: 110px; margin: 0; }
.application .card p { color: var(--muted); font-size: 17px; line-height: 160%; margin: 0; text-align: left; }
@media (max-width: 800px) {
  .application .card, .application .card:nth-child(odd), .application .card:nth-child(even) { flex-direction: column-reverse; left: 0; width: calc(100% - 24px); padding: 24px; }
  .application .card img { transform: scale(.7); }
}

/* ---------- Interview steps ---------- */
.interview .section-title { color: var(--ink); font-size: 36px; margin: 0 0 48px; }
.interview-cards { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.interview-path { position: absolute; top: 250px; left: 50%; transform: translateX(-50%); pointer-events: none; z-index: 0; }
.interview-path path { stroke: var(--accent-3); }
.interview-first { margin-bottom: 60px; z-index: 1; }
.interview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.step-card { border-radius: 24px; margin-bottom: 8px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; align-items: center; max-width: 506px; width: 100%; padding: 28px; color: var(--muted); z-index: 1; box-shadow: 0 16px 48px rgba(7,22,51,.08); text-align: center; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; transform-style: preserve-3d; perspective: 1000px; }
.step-card:hover { transform: perspective(1000px) rotateY(8deg) rotateX(5deg) scale(1.05); box-shadow: 0 28px 64px rgba(0,113,239,.18); }
.step-card img { height: 76px; margin-bottom: 16px; }
.step-card h3 { color: var(--accent); font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.step-card p { color: var(--muted); font-size: 17px; line-height: 160%; margin: 0; }
@media (max-width: 1200px) { .interview-path { display: none; } .interview-first { margin-bottom: 16px; } .interview-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Job detail ---------- */
.job-detail { background: var(--bg-2); padding-top: 120px; padding-bottom: 0; }
.job-detail .container { max-width: 994px; }
.job-detail-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 28px; border-bottom: 2px solid var(--line-2); }
.job-detail h1 { color: var(--ink); font-size: 40px; font-weight: 900; margin: 0; letter-spacing: -1px; }
.job-detail h2 { text-align: left; font-size: 24px; margin: 36px 0 18px; color: var(--accent); font-weight: 800; }
.job-detail ul { padding-left: 20px; }
.job-detail li { margin-bottom: 10px; color: var(--muted); }
.job-detail li::marker { color: var(--accent); }
.job-detail-footer { display: flex; justify-content: center; padding-bottom: 80px; margin-top: 44px; }
.job-detail-footer .btn { width: 100%; max-width: 315px; }

/* ---------- 404 ---------- */
.notfound { display: flex; align-items: center; justify-content: center; min-height: 100vh; text-align: center; }
.notfound-inner { display: inline-block; }
.notfound-code { display: inline-block; margin: 0 20px 0 0; padding: 0 23px 0 0; font-size: 24px; font-weight: 900; line-height: 49px; vertical-align: top; border-right: 1px solid var(--line-2); color: var(--ink); }
.notfound-desc { display: inline-block; text-align: left; height: 49px; vertical-align: middle; }
.notfound-msg { font-size: 14px; font-weight: 400; line-height: 49px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { display: flex; flex-direction: column; align-items: center; max-width: var(--max-width); margin: 0 auto; background: var(--bg); color: var(--dim); padding: 0 24px 44px; border-top: 1px solid var(--line); }
.site-footer .container { display: flex; justify-content: space-between; width: 100%; margin: 56px 40px; }
.footer-logo { max-width: 200px; margin-bottom: 24px; }
.site-footer img { height: 58px; width: auto; }
.site-footer .info { max-width: 220px; text-align: center; line-height: 24px; color: var(--muted); margin: 0; }
.footer-signature { text-align: center; color: var(--dim); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .banner .container { flex-direction: column; align-items: center; }
  .banner-left { padding: 48px 16px; }
  .banner h1 img { position: static; height: 90px; display: block; margin: 16px auto 0; }
  .team .container, .culture .container { grid-template-columns: 1fr; }
  .team-col-right { margin-top: 0; }
  .team-intro { margin-top: 0; }
  .numbers-grid { justify-content: center; }
  .jobs-grid { grid-template-columns: 1fr 1fr; }
  .roles-content { flex-direction: column; max-width: 480px; }
  .roles-intro { max-width: none; text-align: center; }
  .roles-chart { position: static; height: 120px; display: block; margin: 0 auto 8px; }
  .roles-visual { display: none; }
}
@media (max-width: 1000px) {
  .banner h1 { font-size: 34px; }
  .banner p { font-size: 16px; }
  .animation { font-size: 26px; }
  .aboutus-banner h2 { font-size: 40px; }
  .your-career h2 { font-size: 40px; }
  .hiring-process-title { font-size: 40px; }
  .section-title { font-size: 30px; }
  .proprietary h2, .mission h2, .culture-left h2 { font-size: 32px; }
}
@media (max-width: 900px) { .site-header { padding: 12px 20px; } .main-nav { right: 12px; } }
@media (max-width: 800px) {
  .jobs-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .site-footer .container { flex-direction: column; align-items: center; margin: 16px; }
}
@media (max-width: 560px) { .container { padding: 0 20px; } .char-card { width: auto; min-width: 240px; } .banner h1 { font-size: 26px; letter-spacing: -.5px; } }

/* ---------- Apply modal (navy, vivid) ---------- */
[hidden] { display: none !important; }
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(7,22,51,.7); padding: 16px; }
.modal-overlay:not([hidden]) { display: flex; align-items: center; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .modal-overlay:not([hidden]) { animation: modalOverlayShow 150ms cubic-bezier(.16,1,.3,1); }
  .modal-overlay:not([hidden]) .modal-dialog { animation: modalContentShow 150ms cubic-bezier(.16,1,.3,1); }
}
@keyframes modalOverlayShow { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalContentShow { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.modal-dialog { position: relative; width: 90vw; max-width: 751px; max-height: 90vh; overflow: auto; padding: 30px; background: var(--navy); border: 1px solid rgba(255,255,255,.1); color: var(--white); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.modal-close { all: unset; position: absolute; top: 16px; right: 16px; height: 40px; width: 40px; border-radius: 100%; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); cursor: pointer; }
.modal-close:hover { background: rgba(255,255,255,.1); color: var(--white); }
.modal-title { margin: 0; font-size: 32px; font-weight: 900; color: var(--white); letter-spacing: -.5px; }
.modal-subhead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
.modal-desc { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.7); }
.modal-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); white-space: nowrap; }
.modal-link:hover { text-decoration: underline; }
.apply-form { display: flex; flex-direction: column; gap: 20px; }
.af-row { display: flex; gap: 24px; }
.af-col { display: flex; flex-direction: column; gap: 20px; flex: 1; min-width: 0; }
.af-field { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.af-field-grow { flex: 1; }
.af-field label { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.75); }
.af-field input, .af-field select, .af-field textarea { width: 100%; font-family: var(--font-family); font-size: 15px; color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 12px 14px; }
.af-field input, .af-field select { height: 48px; }
.af-field textarea { resize: vertical; min-height: 120px; }
.af-field-grow textarea { flex: 1 1 auto; }
.af-field input::placeholder, .af-field textarea::placeholder { color: rgba(255,255,255,.4); }
.af-field input:focus, .af-field select:focus, .af-field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(0,198,255,.25); }
.af-field select option { color: var(--ink); background: var(--white); }
.af-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.af-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.7); max-width: 60%; }
.af-note svg { flex: none; margin-top: 1px; color: var(--accent-2); }
.apply-send { gap: 8px; }
.apply-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 72px 0; }
.apply-success svg { color: var(--accent-2); }
.apply-success p { font-size: 22px; margin: 0; max-width: 420px; color: var(--white); }
@media (max-width: 800px) {
  .modal-dialog { padding: 20px; }
  .modal-title { font-size: 26px; }
  .af-row { flex-direction: column; gap: 20px; }
  .af-footer { flex-direction: column; align-items: stretch; }
  .af-note { max-width: none; }
  .apply-send { justify-content: center; }
}

/* ==========================================================================
   v3-DEEP — structural redesign of the HOME (real layout changes, not reskin).
   New sections: full-bleed hero, horizontal stat band, inline feature row,
   alternating split bands. Other pages keep the v3 skin.
   ========================================================================== */
.grad { color: var(--accent); }

/* HERO — full-bleed dark band */
.v-hero { position: relative; overflow: hidden; background: radial-gradient(1100px 600px at 80% -10%, rgba(0,113,239,.35), transparent 60%), linear-gradient(160deg, #0a1e45, #050e21); color: #fff; padding: 120px 24px 88px; text-align: center; }
.v-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 28px); transform: skewX(-12deg); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .v-hero::before { animation: drift 9s linear infinite; } }
.v-hero-inner { position: relative; z-index: 1; max-width: 940px; margin: 0 auto; }
.v-eyebrow { color: var(--accent-2); font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 20px; }
.v-hero h1 { color: #fff; font-size: 68px; font-weight: 900; line-height: 1.02; letter-spacing: -2px; margin: 0 0 24px; }
.v-hero-sub { color: rgba(255,255,255,.78); font-size: 19px; line-height: 32px; max-width: 680px; margin: 0 auto 32px; }
.v-hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.v-hero .animation { color: rgba(255,255,255,.9); margin: 56px 0 0; font-size: 34px; }

/* STATS BAND — horizontal figure strip */
.v-stats { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 56px 24px; }
.v-stats-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.v-stat { text-align: center; padding: 8px; border-left: 1px solid var(--line-2); }
.v-stat:first-child { border-left: 0; }
.v-stat-num { display: block; font-size: 44px; font-weight: 900; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; color: var(--accent); }
.v-stat-label { display: block; color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 8px; line-height: 1.35; }

/* FEATURES — inline 3-up row */
.v-features { padding: 72px 24px; }
.v-features-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.v-feature { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.v-feature:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,113,239,.14); }
.v-feature img { height: 60px; width: 60px; flex: none; }
.v-feature h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: var(--ink); }
.v-feature p { margin: 0; color: var(--muted); font-size: 15px; }
.v-feature p strong { color: var(--accent); }

/* SPLIT BANDS — proprietary (2-col) + mission (navy full) */
.v-split { padding: 90px 24px; }
.v-split-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.v-split-text h2 { font-size: 46px; font-weight: 900; letter-spacing: -1px; margin: 0 0 24px; color: var(--ink); line-height: 1.05; }
.v-split-text p { color: var(--muted); font-size: 18px; line-height: 30px; margin: 0 0 20px; }
.v-split-text p:last-child { margin-bottom: 0; }
.v-split-aside { position: relative; display: flex; align-items: center; justify-content: center; }
.v-split .deco-rings { position: static; width: 100%; max-width: 420px; height: auto; opacity: .8; }
.v-split-alt { background: linear-gradient(150deg, #0a1e45, #050e21); color: #fff; }
.v-split-alt .v-split-inner { grid-template-columns: 1fr; max-width: 900px; text-align: center; }
.v-split-alt .v-split-text h2 { color: #fff; }
.v-split-alt .v-split-text p { color: rgba(255,255,255,.82); font-size: 19px; }

/* characteristics overlap trick no longer applies (feature row replaced it) */
.aboutus-banner { margin-top: 0; }

@media (max-width: 1000px) {
  .v-hero h1 { font-size: 44px; letter-spacing: -1px; }
  .v-hero-sub { font-size: 17px; }
  .v-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
  .v-stat:nth-child(3n+1) { border-left: 0; }
  .v-features-grid { grid-template-columns: 1fr; gap: 16px; }
  .v-split-inner { grid-template-columns: 1fr; gap: 32px; }
  .v-split-aside { display: none; }
  .v-split-text h2 { font-size: 34px; }
}
@media (max-width: 560px) {
  .v-hero h1 { font-size: 36px; }
  .v-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .v-stat:nth-child(odd) { border-left: 0; }
  .v-stat:nth-child(3n+1) { border-left: 1px solid var(--line-2); }
  .v-stat:nth-child(1) { border-left: 0; }
}
