/* Core X Capital v21 — one authoritative visual system.
   Direction: institutional fintech, high trust, restrained technology. */
:root {
  --black: #020611;
  --navy-950: #030817;
  --navy-900: #07101f;
  --navy-800: #0c1729;
  --navy-700: #12233b;
  --navy-600: #1d385c;
  --blue: #2c7dff;
  --blue-light: #65b8ff;
  --blue-pale: #c6e5ff;
  --blue-glow: rgba(44, 125, 255, .24);
  --gold: #65b8ff;
  --gold-light: #c6e5ff;
  --white: #f7f9fc;
  --gray-200: #dce4ef;
  --gray-300: #bdc7d6;
  --gray-500: #8e9bb0;
  --gray-700: #69758a;
  --green: #49c991;
  --danger: #ff7b82;
  --border: rgba(132, 164, 206, .22);
  --border-strong: rgba(113, 179, 255, .42);
  --surface: rgba(9, 19, 36, .84);
  --surface-strong: rgba(11, 23, 42, .96);
  --font-display: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "IBM Plex Sans", system-ui, sans-serif;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-card: 0 18px 48px rgba(0, 0, 0, .26);
  --shadow-blue: 0 18px 44px rgba(35, 107, 229, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-height: 78px;
}

html { scroll-padding-top: calc(var(--nav-height) + 16px); }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
.container { padding-inline: clamp(20px, 4vw, 48px); }
body::before {
  opacity: .42;
  background: radial-gradient(circle at 72% 2%, rgba(36, 101, 210, .16), transparent 28%);
  background-size: auto;
}
body::after { display: none; }
body.menu-open { overflow: hidden; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #061126;
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(101, 184, 255, .78);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}
.section-title {
  max-width: 820px;
  margin: 12px 0 14px;
  font-size: clamp(38px, 4.1vw, 48px);
  font-weight: 700;
  letter-spacing: -.025em;
  text-wrap: balance;
  text-shadow: none;
}
.section-sub {
  max-width: 700px;
  color: var(--gray-300);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.75;
}
.eyebrow {
  color: var(--blue-light);
  font-family: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}
.eyebrow::before { background: var(--blue-light); box-shadow: none; }
.section-pad { padding: 96px 0; }
.section-head { margin-bottom: 42px; }

/* Navigation */
.nav {
  height: var(--nav-height);
  background: rgba(2, 6, 17, .88);
  border-bottom: 1px solid rgba(112, 168, 235, .16);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px) saturate(1.1);
}
.nav-inner {
  min-height: var(--nav-height);
  max-width: 1380px;
  padding: 10px 40px;
  gap: 28px;
}
.brand-logo {
  width: 232px;
  height: 58px;
  border-radius: 0;
  overflow: visible;
  flex: 0 0 auto;
}
.brand-logo::after { display: none; }
.brand-logo img {
  filter: none;
  object-fit: cover;
  object-position: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: var(--gray-300);
  font-family: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.nav-links a {
  position: relative;
  padding: 9px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: var(--blue-light);
  transition: right .2s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-actions { gap: 10px; }
.instagram-nav-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-200);
  border-color: var(--border);
}
.instagram-nav-btn .label { display: none; }
.nav-actions .wa-link {
  min-height: 44px;
  padding: 10px 18px;
  background: var(--white);
  color: #071226;
  font-size: 13px;
  border-color: rgba(113, 179, 255, .35);
}
.hamburger {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  min-height: min(900px, 100svh);
  padding: calc(var(--nav-height) + 54px) 0 0;
  justify-content: flex-start;
  background: var(--navy-950);
  isolation: isolate;
}
.hero::before { display: none; }
.floating-lines-root {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 76% 34%, rgba(31, 88, 184, .21), transparent 44%),
    linear-gradient(145deg, #030817 0%, #061225 50%, #020711 100%);
}
.floating-lines-root .floating-lines-container { position: absolute; inset: 0; opacity: .62; }
.hero > .glow,
.hero > .noise-layer,
.hero > .trading-chart-bg { display: none; }
.hero > .container { position: relative; z-index: 2; }
.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-areas: "badge photo" "body photo";
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(36px, 5vw, 76px);
  row-gap: 18px;
  align-items: start;
}
.hero-badge-block {
  grid-area: badge;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero-brand-slab { display: none; }
.hero-title {
  order: 1;
  max-width: 700px;
  margin: 0;
  font-family: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(66px, 7vw, 88px);
  font-weight: 700;
  font-style: normal;
  line-height: .95;
  letter-spacing: -.025em;
  transform: none;
  text-shadow: 0 16px 42px rgba(0, 0, 0, .38);
}
.hero-title .line { display: block; overflow: visible; }
.hero-title .line + .line { padding-left: .72em; margin-top: .03em; }
.hero-title .line span {
  display: inline-block;
  color: #f3f7fc;
  background: none;
}
.hero-title .line:last-child span {
  color: #94bde8;
}
.hero-sub {
  order: 2;
  max-width: 620px;
  margin-top: 22px;
  color: var(--blue-pale);
  font-size: clamp(18px, 1.75vw, 22px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.cert-badge-row {
  order: 3;
  gap: 9px;
  margin: 26px 0 0;
}
.cert-badge {
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(9, 20, 38, .66);
  border-color: var(--border);
  color: var(--gray-200);
  font-size: 12px;
  backdrop-filter: blur(10px);
}
.cert-badge .en { color: var(--gray-500); font-size: 9.5px; }
.cert-badge svg { color: var(--blue-light); }
.hero-body-block { grid-area: body; align-self: start; }
.hero-desc {
  max-width: 640px;
  margin-top: 8px;
  color: var(--gray-200);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}
.pill-row { gap: 9px; margin: 24px 0; }
.pill {
  min-height: 38px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 18, 34, .72);
  color: var(--gray-200);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: none;
}
.hero-btns { gap: 12px; margin-top: 4px; align-items: center; }
.btn {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-wa-light {
  background: var(--white);
  color: #071226;
  border: 1px solid rgba(122, 179, 241, .42);
  box-shadow: var(--shadow-blue);
}
.btn-outline {
  background: rgba(6, 14, 28, .62);
  border-color: var(--border);
  color: var(--gray-200);
}
.hero-note { margin-top: 14px; color: var(--gray-500); font-size: 12.5px; }
.hero-photo-block { grid-area: photo; align-self: end; }
.mentor-photo-wrap { height: min(720px, calc(100svh - 118px)); max-width: 540px; }
.mentor-photo-glow {
  width: 96%;
  height: 65%;
  left: 55%;
  top: 38%;
  background: radial-gradient(circle, rgba(55, 129, 236, .3), transparent 66%);
  filter: blur(58px);
}
.mentor-photo-frame {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, rgba(0,0,0,.92) 81%, rgba(0,0,0,.48) 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, rgba(0,0,0,.92) 81%, rgba(0,0,0,.48) 91%, transparent 100%);
}
.mentor-photo-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.mentor-photo-frame img {
  filter: drop-shadow(0 0 4px rgba(113, 179, 255, .55)) drop-shadow(0 22px 36px rgba(0, 0, 0, .42));
}
.mentor-photo-fade { display: none; }
.mentor-frame-label {
  left: 2%;
  right: auto;
  bottom: 28%;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 9px 13px;
  text-align: left;
  border-left: 1px solid var(--blue-light);
  background: linear-gradient(90deg, rgba(3, 9, 21, .86), rgba(3, 9, 21, .46) 68%, transparent);
}
.mentor-frame-label .name {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.mentor-frame-label .role { color: var(--blue-pale); font-size: 9.5px; letter-spacing: .12em; }
.marquee-wrap {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  padding: 38px 0 18px;
  border: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 17, .78) 58%, var(--black));
  overflow-x: auto;
  scrollbar-width: none;
}
.marquee-wrap::-webkit-scrollbar { display: none; }
.marquee-track { animation: none; opacity: .72; }

/* Shared chapter and card language */
.pain-section,
.value-section,
.story-section,
.cred-section,
.week-section,
.roadmap-section,
.eco-section,
.ai-section,
.testi-section,
.video-section,
.gallery-section,
.fit-section,
.faq-section,
.form-section {
  position: relative;
  background: transparent;
}
.story-section { padding-bottom: 48px; }
.cred-section { padding-top: 48px; }
.week-section { padding-bottom: 48px; }
.roadmap-section { padding-top: 48px; }
.eco-section { padding-bottom: 48px; }
.ai-section { padding-top: 48px; }
.testi-section { padding-bottom: 44px; }
.video-section { padding-top: 44px; padding-bottom: 44px; }
.gallery-section { padding-top: 44px; }

.pain-card,
.value-card,
.cred-card,
.week-panel,
.road-card,
.eco-card,
.ai-card,
.testi-card,
.worker-card,
.case-card,
.fit-card,
.stat-box,
.history-card,
.form-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, rgba(12, 25, 46, .88), rgba(5, 12, 25, .94));
  box-shadow: var(--shadow-card);
}
.pain-card:hover,
.value-card:hover,
.cred-card:hover,
.eco-card:hover,
.ai-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.pain-card,
.value-card,
.cred-card,
.eco-card,
.road-card,
.ai-card { padding: 24px; }
.pain-card p,
.value-card p,
.cred-card p,
.eco-card p,
.road-card p,
.ai-card p,
.week-content p,
.testi-body dd,
.fit-card li { color: var(--gray-300); font-size: 15px; line-height: 1.75; }
.q-mark { color: var(--danger); }

/* Trader system scan — a single diagnostic instrument, not a wall of cards */
.pain-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(37, 111, 221, .12), transparent 31%),
    linear-gradient(180deg, rgba(3, 8, 23, .35), transparent 22%, transparent 78%, rgba(3, 8, 23, .4));
}
.pain-console {
  --pain-alert: #ff6275;
  --pain-alert-rgb: 255, 98, 117;
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.2vw, 44px);
  border: 1px solid rgba(112, 168, 235, .24);
  border-radius: 26px;
  background:
    linear-gradient(rgba(77, 141, 221, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 141, 221, .035) 1px, transparent 1px),
    radial-gradient(circle at 9% 52%, rgba(36, 127, 255, .13), transparent 31%),
    linear-gradient(145deg, rgba(10, 24, 45, .96), rgba(3, 10, 23, .98));
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(198, 229, 255, .06);
  isolation: isolate;
}
.pain-console .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.pain-console::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 24%, rgba(60, 149, 255, .08) 24.1%, transparent 24.35%),
    radial-gradient(ellipse 72% 46% at 50% 100%, rgba(23, 86, 182, .14), transparent 72%);
}
.pain-console__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(132, 164, 206, .16);
  color: var(--gray-500);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
}
.pain-console__live { color: rgba(var(--pain-alert-rgb), .88); }
.pain-console__live i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--pain-alert);
  box-shadow: 0 0 14px rgba(var(--pain-alert-rgb), .72);
}
.pain-console__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px) 0 34px;
}
.pain-console__head .section-head { margin: 0; }
.pain-console__head .section-title { margin-bottom: 12px; }
.pain-console__head .section-sub { max-width: 680px; }
.pain-console__body {
  display: block;
  padding: 10px 0 34px;
}

.pain-radar-stage {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1;
  margin-inline: auto;
  min-width: 0;
}
.pain-scan-toggle {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(var(--pain-alert-rgb), .32);
  border-radius: 10px;
  color: rgba(var(--pain-alert-rgb), .9);
  background: rgba(5, 17, 36, .82);
  font: 600 10px/1 "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: .08em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.pain-scan-toggle:hover {
  border-color: rgba(var(--pain-alert-rgb), .7);
  background: rgba(var(--pain-alert-rgb), .1);
}
.pain-scan-toggle:focus-visible {
  outline: 2px solid var(--pain-alert);
  outline-offset: 3px;
}
.pain-scan-toggle:disabled { cursor: default; opacity: .66; }
.pain-scan-toggle__indicator {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}
.pain-scan-toggle__indicator::before,
.pain-scan-toggle__indicator::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 3px;
  height: 10px;
  border-radius: 1px;
  background: currentColor;
}
.pain-scan-toggle__indicator::before { left: 2px; }
.pain-scan-toggle__indicator::after { right: 2px; }
.pain-scan-toggle[aria-pressed="true"] .pain-scan-toggle__indicator::before {
  left: 1px;
  top: 0;
  width: 11px;
  height: 12px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  clip-path: polygon(12% 0, 100% 50%, 12% 100%);
}
.pain-scan-toggle[aria-pressed="true"] .pain-scan-toggle__indicator::after { display: none; }

.pain-radar {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 360px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(101, 184, 255, .22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(101, 184, 255, .12) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(37, 111, 221, .13), rgba(4, 14, 30, .76) 63%, rgba(2, 8, 19, .94) 100%);
  box-shadow: inset 0 0 54px rgba(29, 102, 207, .12), 0 0 54px rgba(29, 102, 207, .08);
}
.pain-radar::before,
.pain-radar::after {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(101, 184, 255, .1);
  border-radius: 50%;
}
.pain-radar::after { inset: 22%; }
.pain-radar__ring,
.pain-radar__axis,
.pain-radar__sweep,
.pain-radar__dot,
.pain-radar__wave { position: absolute; }
.pain-radar__ring { border: 1px solid rgba(101, 184, 255, .15); border-radius: 50%; }
.pain-radar__ring--one { inset: 14%; }
.pain-radar__ring--two { inset: 29%; }
.pain-radar__ring--three { inset: 42%; }
.pain-radar__axis { background: linear-gradient(90deg, transparent, rgba(101, 184, 255, .18), transparent); }
.pain-radar__axis--x { top: 50%; left: 7%; right: 7%; height: 1px; }
.pain-radar__axis--y { top: 7%; bottom: 7%; left: 50%; width: 1px; transform: rotate(90deg); }
.pain-radar__sweep {
  inset: 7%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 72%, rgba(78, 169, 255, .04) 82%, rgba(78, 169, 255, .28) 99.5%, rgba(134, 213, 255, .78) 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 7%, #000 8% 100%);
  mask: radial-gradient(circle, transparent 0 7%, #000 8% 100%);
  animation: pain-radar-scan 20s linear infinite;
  will-change: transform;
}
.pain-radar.is-signal-synced .pain-radar__sweep { animation: none; }
.pain-radar__dot {
  --pain-dot-accent: var(--pain-alert-rgb);
  width: 9px;
  height: 9px;
  border: 2px solid #0a1c38;
  border-radius: 50%;
  background: rgb(var(--pain-dot-accent));
  opacity: .4;
  transform: translate(-50%, -50%) scale(.86);
  box-shadow: 0 0 0 4px rgba(var(--pain-dot-accent), .04), 0 0 9px rgba(var(--pain-dot-accent), .35);
  transition: opacity .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.pain-radar__dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(var(--pain-dot-accent), .92);
  border-radius: 50%;
  opacity: 0;
}
.pain-radar__dot.is-active {
  z-index: 2;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 0 0 6px rgba(var(--pain-dot-accent), .12), 0 0 24px rgba(var(--pain-dot-accent), .94);
}
.pain-radar__dot.is-hit::after { animation: pain-radar-hit .7s ease-out; }
.pain-radar__dot--one { top: 12%; left: 50%; }
.pain-radar__dot--two { top: 23.1%; left: 76.9%; }
.pain-radar__dot--three { top: 50%; left: 88%; }
.pain-radar__dot--four { top: 76.9%; left: 76.9%; }
.pain-radar__dot--five { top: 88%; left: 50%; }
.pain-radar__dot--six { top: 76.9%; left: 23.1%; }
.pain-radar__dot--seven { top: 50%; left: 12%; }
.pain-radar__dot--eight { top: 23.1%; left: 23.1%; }
.pain-radar__wave {
  left: 14%;
  right: 14%;
  bottom: 9%;
  width: 72%;
  height: 42px;
  overflow: visible;
  fill: none;
  stroke: rgba(101, 184, 255, .62);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 5px rgba(101, 184, 255, .4));
}
@keyframes pain-radar-scan { to { transform: rotate(1turn); } }
@keyframes pain-radar-hit {
  0% { opacity: .95; transform: scale(.55); }
  100% { opacity: 0; transform: scale(2.1); }
}

.pain-radar__callout {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 226px;
  min-height: 142px;
  gap: 4px;
  padding: 18px 18px 17px;
  border: 1px solid rgba(var(--pain-alert-rgb), .44);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(28, 23, 39, .97), rgba(3, 12, 28, .98) 74%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42), 0 0 26px rgba(var(--pain-alert-rgb), .1);
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  pointer-events: none;
}
.pain-radar__callout.is-entering { animation: pain-callout-enter .26s var(--ease); }
.pain-radar__callout-kicker {
  color: var(--pain-alert);
  font: 600 9px/1.3 "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: .14em;
}
.pain-radar__callout strong { color: var(--white); font-size: 16px; line-height: 1.35; }
.pain-radar__callout p { margin: 0; color: var(--gray-300); font-size: 13.5px; line-height: 1.55; }
@keyframes pain-callout-enter {
  0% { opacity: .28; }
  100% { opacity: 1; }
}

.pain-console .pain-grid {
  position: absolute;
  z-index: 3;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
  overflow: visible;
  scroll-snap-type: none;
}
.pain-console .pain-card {
  --pain-node-transform: none;
  position: absolute;
  width: 156px;
  min-height: 52px;
  padding: 0;
  border: 1px solid rgba(var(--pain-alert-rgb), .28);
  border-radius: 999px;
  background: rgba(var(--pain-alert-rgb), .035);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  transform: var(--pain-node-transform);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  pointer-events: auto;
}
.pain-console .pain-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--pain-alert);
  border-radius: inherit;
  opacity: 0;
  box-shadow: 0 0 18px rgba(var(--pain-alert-rgb), .32);
  transition: opacity .18s ease;
  pointer-events: none;
}
.pain-console .pain-card::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(var(--pain-alert-rgb), .82);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.pain-console .pain-card:hover,
.pain-console .pain-card.is-active {
  border-color: var(--pain-alert);
  transform: var(--pain-node-transform);
}
.pain-console .pain-card:hover {
  background: rgba(var(--pain-alert-rgb), .12);
}
.pain-console .pain-card.is-active {
  background: var(--pain-alert);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .26), 0 0 28px rgba(var(--pain-alert-rgb), .28);
}
.pain-console .pain-card:hover::before,
.pain-console .pain-card.is-active::before { opacity: 1; }
.pain-console .pain-card.is-hit::after { animation: pain-node-hit .72s ease-out; }
@keyframes pain-node-hit {
  0% { opacity: .72; transform: scale(.92); }
  100% { opacity: 0; transform: scale(1.18); }
}
.pain-console .pain-card:nth-child(1) { --pain-node-transform: translateX(-50%); top: 0; left: 50%; }
.pain-console .pain-card:nth-child(2) { top: 14.5%; right: 0; }
.pain-console .pain-card:nth-child(3) { --pain-node-transform: translateY(-50%); top: 50%; right: -1%; }
.pain-console .pain-card:nth-child(4) { right: 0; bottom: 14.5%; }
.pain-console .pain-card:nth-child(5) { --pain-node-transform: translateX(-50%); bottom: 0; left: 50%; }
.pain-console .pain-card:nth-child(6) { bottom: 14.5%; left: 0; }
.pain-console .pain-card:nth-child(7) { --pain-node-transform: translateY(-50%); top: 50%; left: -1%; }
.pain-console .pain-card:nth-child(8) { top: 14.5%; left: 0; }
.pain-card__button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 0;
  border-radius: inherit;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pain-card__button:focus-visible {
  outline: 2px solid var(--pain-alert);
  outline-offset: 4px;
}
.pain-card__button h3 { margin: 0; color: rgba(255, 175, 184, .82); font-size: 14px; font-weight: 700; line-height: 1.2; }
.pain-card__label-short { display: none; }
.pain-code {
  color: rgba(var(--pain-alert-rgb), .78);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}
.pain-console .pain-card.is-active h3,
.pain-console .pain-card.is-active .pain-code { color: var(--white); }

.pain-console .pain-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid rgba(101, 184, 255, .2);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(29, 91, 182, .22), rgba(4, 13, 28, .82));
  text-align: left;
}
.pain-footer__label {
  color: var(--blue-light);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.pain-console .pain-footer .big { margin: 0 0 2px; color: var(--white); font-size: 18px; font-weight: 700; }
.pain-console .pain-footer .small { margin: 0; color: var(--gray-300); font-size: 13px; line-height: 1.65; }
.pain-footer__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(101, 184, 255, .28);
  border-radius: 10px;
  color: var(--blue-pale);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.pain-footer__link:hover { border-color: var(--blue-light); background: rgba(44, 125, 255, .12); }

/* Founder story and gallery */
.story-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
@media (min-width: 1024px) {
  .story-layout { grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); }
}
.timeline {
  margin: 0;
  padding: 26px 28px 26px 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--surface);
}
.timeline-item h4 { font-size: 17px; font-weight: 700; }
.timeline-item p { display: none; }
.photo-strip { width: 100%; }
.media-slot .slot-empty { display: none; }
.media-missing { display: none; }

/* Curriculum / AI readability */
.week-tabs { gap: 8px; }
.week-tab { min-height: 44px; border-radius: 10px; }
.week-tab.active { background: var(--blue); color: white; }
.week-content h3,
.value-card h3,
.eco-card h3,
.ai-card h3 { font-weight: 700; }
.eco-body ul li,
.tag-list span {
  background: rgba(44, 125, 255, .08);
  border-color: var(--border);
  color: var(--blue-pale);
}

/* FAQ */
.faq-item { border-bottom-color: rgba(132, 164, 206, .18); }
.faq-q {
  min-height: 62px;
  padding: 18px 4px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}
.faq-a p { color: var(--gray-300); font-size: 15px; }
.faq-item.faq-extra { display: none; }
#faqList.expanded .faq-item.faq-extra { display: block; }
.faq-more {
  min-height: 44px;
  margin-top: 22px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--gray-200);
  font-weight: 600;
}

/* Lead form */
.form-section::before {
  content: "";
  position: absolute;
  inset: 7% 0 auto;
  height: 460px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(36, 104, 224, .15), transparent 66%);
}
.form-wrap { max-width: 800px; padding: clamp(24px, 4vw, 44px); }
.form-grid { gap: 18px; }
.field label { color: var(--gray-200); font-size: 13px; font-weight: 600; }
.field input,
.field select,
.field textarea {
  min-height: 48px;
  background: rgba(2, 8, 19, .78);
  border-color: rgba(132, 164, 206, .26);
  border-radius: 10px;
  color: var(--white);
  font-size: 15px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(101, 184, 255, .25);
  outline-offset: 1px;
  border-color: var(--blue-light);
}
.form-submit {
  background: linear-gradient(135deg, #236fe5, #388dff);
  border-color: rgba(138, 199, 255, .5);
  box-shadow: var(--shadow-blue);
}
.form-trust-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(132, 164, 206, .16);
  border-radius: 10px;
  background: rgba(4, 11, 23, .58);
  color: var(--gray-500);
  font-size: 12.5px;
  line-height: 1.65;
}
.form-success { color: var(--gray-200); }
.form-success[data-state="error"] {
  color: #ffd8da;
  border-color: rgba(255, 123, 130, .4);
  background: rgba(99, 20, 29, .24);
}

/* Closing CTA and footer */
.footer-cta {
  padding: 92px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(38, 104, 216, .15), transparent 62%), var(--navy-950);
}
.footer-cta h2 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 700; }
.footer-cta .sub { color: var(--gray-300); }
footer { background: #01040c; border-top-color: rgba(132, 164, 206, .14); }
.footer-top { align-items: center; }
.disclaimer { color: var(--gray-500); font-size: 13px; line-height: 1.8; }
.copyright { color: var(--gray-700); font-size: 12.5px; }
.wa-float {
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  background: #2176e8;
  box-shadow: 0 14px 40px rgba(14, 70, 159, .42);
  animation: none;
}

@media (max-width: 1023px) {
  :root { --nav-height: 72px; }
  .nav-inner { padding: 8px 24px; }
  .brand-logo { width: 196px; height: 50px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 42px); }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
    column-gap: 28px;
  }
  .hero-title { font-size: clamp(56px, 7vw, 72px); }
  .mentor-photo-wrap { height: min(650px, 76svh); }
  .section-pad { padding: 82px 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .marquee-wrap { margin-top: 0; }
  .roadmap-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  :root { --nav-height: 66px; }
  .container { padding-inline: 20px; }
  .nav-inner { padding: 7px 14px 7px 18px; gap: 8px; }
  .brand-logo { width: 146px; height: 42px; }
  .instagram-nav-btn { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .wa-link {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .nav-actions .wa-link .label { display: none; }
  .hamburger { min-width: 44px; min-height: 44px; padding: 0; }
  .mobile-menu {
    padding: calc(var(--nav-height) + 44px) 24px 36px;
    background: rgba(3, 8, 23, .98);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mobile-menu a { font-size: 18px; }
  .hero { padding-top: calc(var(--nav-height) + 28px); }
  .hero-grid {
    grid-template-areas: "badge" "photo" "body";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: 18px;
  }
  .hero-grid,
  .hero-badge-block,
  .hero-body-block,
  .hero-photo-block,
  .form-grid,
  .field { min-width: 0; }
  .hero-title { font-size: clamp(44px, 13.5vw, 54px); line-height: .98; }
  .hero-title .line span {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-title .line + .line { padding-left: .42em; margin-top: .02em; }
  .hero-sub { margin-top: 14px; font-size: 16.5px; line-height: 1.5; }
  .cert-badge-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }
  .cert-badge { width: auto; min-width: 0; padding: 10px 11px; }
  .cert-badge:nth-child(2) { display: flex; }
  .cert-badge strong { font-size: 11.5px; line-height: 1.35; }
  .cert-badge .en { font-size: 8.5px; line-height: 1.35; }
  .hero-desc { margin-top: 0; font-size: 15px; line-height: 1.75; }
  .pill-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0;
    gap: 7px;
  }
  .pill { min-height: 35px; padding: 7px 10px; font-size: 11.5px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
  .hero-btns .btn-outline { display: inline-flex; }
  .hero-note { margin-top: 11px; }
  .mentor-photo-wrap { height: clamp(300px, 44svh, 410px); max-width: 360px; }
  .mentor-frame-label {
    left: 12px;
    right: auto;
    bottom: 19%;
    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 8px 11px;
  }
  .mentor-frame-label .name { font-size: 18px; line-height: 1.15; }
  .mentor-frame-label .role { font-size: 8.5px; overflow-wrap: anywhere; }
  .marquee-wrap { margin-top: 0; padding: 24px 0 12px; }
  .section-pad { padding: 60px 0; }
  .section-title { font-size: clamp(30px, 9vw, 36px); }
  .section-head { margin-bottom: 30px; }
  .story-section,
  .week-section,
  .eco-section,
  .testi-section,
  .video-section { padding-bottom: 32px; }
  .cred-section,
  .roadmap-section,
  .ai-section,
  .gallery-section { padding-top: 32px; }
  .pain-card,
  .value-card,
  .cred-card,
  .eco-card,
  .road-card,
  .ai-card { padding: 20px; }
  .pain-grid,
  .value-grid,
  .eco-grid,
  .ai-grid,
  .testi-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 330px);
    grid-template-columns: none;
    gap: 14px;
    margin-inline: -20px;
    padding: 2px 20px 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 171, 255, .42) transparent;
  }
  .pain-grid > *,
  .value-grid > *,
  .eco-grid > *,
  .ai-grid > *,
  .testi-grid > * {
    min-width: 0;
    scroll-snap-align: start;
  }
  .testi-card { height: 100%; }
  .testi-card .ph { min-height: 310px; }
  .fit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .story-layout { grid-template-columns: 1fr; gap: 24px; }
  .timeline { padding: 20px 20px 20px 40px; }
  .form-wrap { padding: 22px 18px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .field input,
  .field select,
  .field textarea {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 16px;
  }
  .footer-cta .btns { flex-direction: column; align-items: stretch; }
  .footer-cta .btns .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .footer-cta { padding: 72px 0; }
  .wa-float { display: none; }
}

/* The diagnostic section stays compact and fully readable on small screens. */
@media (max-width: 767px) {
  .pain-console {
    margin-inline: -4px;
    padding: 20px 16px;
    border-radius: 20px;
    background-size: 28px 28px, 28px 28px, auto, auto;
  }
  .pain-console__status {
    gap: 12px;
    padding-bottom: 14px;
    font-size: 8.5px;
    letter-spacing: .1em;
  }
  .pain-console__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 28px 0 24px;
  }
  .pain-console__head .section-title { font-size: clamp(30px, 9vw, 36px); }
  .pain-console__head .section-sub { font-size: 14.5px; line-height: 1.7; }
  .pain-scan-toggle { justify-self: start; }
  .pain-console__body {
    padding: 4px 0 26px;
  }
  .pain-radar-stage {
    display: grid;
    width: 100%;
    aspect-ratio: auto;
    justify-items: center;
    gap: 16px;
  }
  .pain-radar {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 320px);
    transform: none;
  }
  .pain-radar__wave { height: 34px; }
  .pain-radar__callout {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 320px);
    min-height: 0;
    padding: 14px 15px 15px;
    transform: none;
  }
  .pain-radar__callout strong { font-size: 15px; }
  .pain-radar__callout p { font-size: 13px; }
  .pain-console .pain-grid {
    position: static;
    inset: auto;
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    pointer-events: auto;
  }
  .pain-console .pain-grid .pain-card {
    --pain-node-transform: none;
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    min-height: 46px;
    padding: 0;
    transform: none;
    scroll-snap-align: none;
  }
  .pain-console .pain-grid .pain-card:hover,
  .pain-console .pain-grid .pain-card.is-active { transform: none; }
  .pain-card__button { min-height: 44px; gap: 7px; padding: 8px 10px; }
  .pain-card__button h3 { min-width: 0; font-size: 13px; white-space: nowrap; }
  .pain-card__label-full { display: none; }
  .pain-card__label-short { display: inline; }
  .pain-code { font-size: 10px; }
  .pain-console .pain-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }
  .pain-footer__label {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .pain-console .pain-footer .big { font-size: 16px; }
  .pain-footer__link { width: 100%; }
}

@media (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
  .floating-lines-root .floating-lines-container { display: none; }
  .floating-lines-root {
    background: radial-gradient(ellipse at 76% 34%, rgba(31, 88, 184, .21), transparent 44%), #030817;
  }
  .pain-radar__sweep { animation: none; transform: rotate(0deg) !important; }
  .pain-radar__dot::after,
  .pain-radar__callout,
  .pain-console .pain-card::after { animation: none !important; }
}
