:root {
  --page: #f7fbff;
  --paper: #ffffff;
  --paper-2: #eef8ff;
  --ink: #102033;
  --text: #28394d;
  --muted: #66798c;
  --line: #d8e7f1;
  --blue: #0b74d1;
  --thai-blue: #1e4fbf;
  --thai-red: #d53e4f;
  --green: #05b989;
  --green-2: #1ee0a6;
  --gold: #f4b942;
  --violet: #7c4dff;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(5, 185, 137, 0.16), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(30, 79, 191, 0.16), transparent 30%),
    linear-gradient(180deg, #f9fdff 0%, #edf7ff 48%, #f8fbff 100%);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.5;
}

body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: 0; line-height: 1.08; }

h1,
.intro-band h2,
.section-head h2,
.split-panel h2,
.page-hero h1,
.legal-copy h2 {
  font-family: "Outfit", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(216, 231, 241, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #31506c;
  font-size: 12px;
  font-weight: 900;
}

.site-nav a:hover {
  color: var(--thai-blue);
  background: #eef5ff;
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--thai-blue), #0b74d1);
  box-shadow: 0 8px 20px rgba(30, 79, 191, 0.18);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn svg, .text-link svg { width: 16px; height: 16px; }
.btn-primary { color: #06251d; background: linear-gradient(135deg, var(--green), var(--green-2)); box-shadow: 0 12px 28px rgba(5, 185, 137, 0.22); }
.btn-ghost, .btn-outline { color: var(--thai-blue); border-color: #b8d3f1; background: rgba(255, 255, 255, 0.68); }
.btn:hover, .text-link:hover { transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(213, 62, 79, 0.1), transparent 24%),
    linear-gradient(180deg, transparent 0%, rgba(30, 79, 191, 0.07) 100%);
  pointer-events: none;
}

.hero-bg, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center right;
  opacity: 0.16;
  filter: saturate(1.15);
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 45%, rgba(5, 185, 137, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.88) 54%, rgba(247, 251, 255, 0.68) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.86fr);
  gap: 54px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;
  padding: 48px 0;
}

.kicker {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 7px 13px;
  border: 1px solid rgba(5, 185, 137, 0.22);
  border-radius: 999px;
  color: #087b78;
  background:
    radial-gradient(circle at 18% 50%, rgba(30, 224, 166, 0.22), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 250, 247, 0.88));
  box-shadow: 0 0 24px rgba(5, 185, 137, 0.16);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .kicker,
.split-panel .kicker,
.section-head .kicker,
.page-hero .kicker {
  margin-left: 0;
  margin-right: 0;
}

.hero h1 {
  max-width: 590px;
  margin-bottom: 14px;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: clamp(31px, 3.05vw, 44px);
  font-weight: 800;
  line-height: 1.08;
}

.hero h1 span {
  display: block;
  color: var(--thai-blue);
}

.hero h1 span,
.page-hero h1 span {
  color: var(--thai-blue);
}

.page-hero h1 span {
  display: block;
}

.intro-band h2 span,
.section-head h2 span,
.split-panel h2 span,
.legal-copy h2 span {
  color: var(--ink);
  background: none;
  box-decoration-break: initial;
  -webkit-box-decoration-break: initial;
}

.hero-copy > p {
  max-width: 570px;
  margin-bottom: 14px;
  color: #4d6479;
  font-size: 14px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 570px;
  margin: 0 0 16px;
}

.value-strip div {
  padding: 11px 13px;
  border: 1px solid #cfe0f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.value-strip strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.value-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.market-tags span {
  padding: 8px 11px;
  border: 1px solid #cfe0f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #31506c;
  font-size: 12px;
  font-weight: 900;
}

.risk-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 660px;
  padding: 12px 14px;
  border: 1px solid rgba(244, 185, 66, 0.48);
  border-radius: 12px;
  background: rgba(255, 248, 229, 0.88);
  color: #526374;
  font-size: 12px;
  font-weight: 800;
}

.risk-note svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; }

.trading-animation {
  padding: 20px;
  border: 1px solid rgba(154, 197, 226, 0.78);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 8%, rgba(5, 185, 137, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 247, 255, 0.94));
  box-shadow: 0 28px 86px rgba(25, 70, 120, 0.18);
  overflow: hidden;
}

.animation-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.animation-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.animation-header strong {
  color: var(--thai-blue);
  font-size: 13px;
}

.ticker-row {
  display: flex;
  gap: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.ticker-row span {
  flex: 1;
  min-width: 118px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef8ff, #ffffff);
  color: #41596e;
  font-size: 11px;
  font-weight: 900;
}

.ticker-row em {
  display: block;
  margin-top: 3px;
  color: var(--green);
  font-style: normal;
}

.chart-stage {
  position: relative;
  height: 250px;
  overflow: hidden;
  border: 1px solid #bcd7eb;
  border-radius: 22px;
  background:
    radial-gradient(circle at 72% 22%, rgba(30, 224, 166, 0.2), transparent 30%),
    radial-gradient(circle at 42% 56%, rgba(30, 79, 191, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #eaf7ff 100%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#dcebf5 1px, transparent 1px),
    linear-gradient(90deg, #dcebf5 1px, transparent 1px);
  background-size: 100% 44px, 58px 100%;
  opacity: 0.75;
}

.chart-stage svg {
  position: absolute;
  inset: 34px 12px 0;
  width: calc(100% - 24px);
  height: calc(100% - 36px);
}

.session-flow {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.session-flow span {
  padding: 7px 8px;
  border: 1px solid rgba(30, 79, 191, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #31506c;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  animation: sessionGlow 4.8s ease-in-out infinite;
}

.session-flow span:nth-child(2) { animation-delay: 1.2s; }
.session-flow span:nth-child(3) { animation-delay: 2.4s; }
.session-flow span:nth-child(4) { animation-delay: 3.6s; }

.world-orbit {
  position: absolute;
  right: 44px;
  top: 66px;
  width: 146px;
  height: 146px;
  border: 1px solid rgba(30, 79, 191, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg);
  opacity: 0.72;
}

.world-orbit::before {
  content: "";
  position: absolute;
  inset: 28px -18px;
  border: 1px solid rgba(5, 185, 137, 0.28);
  border-radius: 50%;
}

.orbit-two {
  transform: rotate(28deg);
  animation: orbitTurn 7s linear infinite;
}

.chart-line, .chart-glow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: drawChart 3.2s ease-in-out infinite;
}

.chart-glow {
  stroke: rgba(5, 185, 137, 0.22);
  stroke-width: 14;
  filter: blur(2px);
}

.chart-line {
  stroke: var(--green);
  stroke-width: 5;
}

.candle {
  position: absolute;
  bottom: 30px;
  width: 10px;
  border-radius: 999px;
  background: var(--thai-blue);
  animation: candlePulse 1.8s ease-in-out infinite;
}

.c1 { left: 12%; height: 54px; animation-delay: 0s; }
.c2 { left: 22%; height: 88px; background: var(--green); animation-delay: 0.2s; }
.c3 { left: 33%; height: 68px; background: var(--thai-red); animation-delay: 0.4s; }
.c4 { left: 44%; height: 108px; background: var(--green); animation-delay: 0.6s; }

.pulse-dot {
  position: absolute;
  right: 44px;
  top: 88px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(5, 185, 137, 0.44);
  animation: pulseDot 1.4s ease-out infinite;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.mini-stats div {
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d8e7f1;
}

.mini-stats span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.mini-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

@keyframes drawChart {
  0% { stroke-dashoffset: 720; }
  42%, 72% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -720; }
}

@keyframes candlePulse {
  0%, 100% { transform: scaleY(0.72); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(5, 185, 137, 0.44); }
  100% { box-shadow: 0 0 0 18px rgba(5, 185, 137, 0); }
}

@keyframes sessionGlow {
  0%, 100% {
    color: #31506c;
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(30, 79, 191, 0.18);
  }
  38%, 58% {
    color: #06251d;
    background: rgba(30, 224, 166, 0.26);
    border-color: rgba(5, 185, 137, 0.42);
  }
}

@keyframes orbitTurn {
  from { transform: rotate(28deg); }
  to { transform: rotate(388deg); }
}

.intro-band, .section, .split-panel, .proof-strip, .content-page {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.intro-band {
  padding: 38px 0 20px;
  text-align: center;
}

.intro-band h2, .section-head h2, .split-panel h2, .content-page h1, .content-page h2 { color: var(--ink); }
.intro-band h2 { max-width: 700px; margin: 0 auto 20px; font-size: 24px; line-height: 1.12; }

.feature-grid, .market-grid, .info-grid, .legal-grid { display: grid; gap: 14px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }

.feature-grid article, .market-card, .info-card, .legal-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(16, 32, 51, 0.08);
}

.feature-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  min-height: 102px;
  padding: 18px;
  text-align: left;
}

.feature-grid svg, .market-card svg, .proof-strip svg, .info-card svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 12px;
  color: var(--thai-blue);
  background: #eaf3ff;
}

.feature-grid h3, .market-card h3, .info-card h3, .legal-card h3 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 15px;
}

.feature-grid p, .market-card p, .split-panel p, .info-card p, .legal-card p, .content-page p, .content-page li {
  color: var(--muted);
  font-size: 13px;
}

.feature-grid article p { grid-column: 2; }

.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 248, 255, 0.9)),
    var(--paper);
  box-shadow: var(--shadow);
}

.split-panel img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.split-panel div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 38px;
}

.split-panel h2 { max-width: 480px; margin-bottom: 10px; font-size: 27px; line-height: 1.12; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid #b8d3f1;
  border-radius: 999px;
  color: var(--thai-blue);
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.section { padding: 30px 0 20px; }
.compact-section { padding-top: 22px; }
.section-head { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 0; font-size: 24px; line-height: 1.12; }

.market-grid { grid-template-columns: repeat(6, 1fr); }
.market-card { min-height: 178px; padding: 18px; }
.market-card h3 { margin-top: 14px; }
.market-card p { min-height: 58px; }
.market-card span { color: var(--green); font-size: 12px; font-weight: 900; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.proof-strip div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.proof-strip strong { color: var(--ink); font-size: 14px; }
.proof-strip span { display: block; grid-column: 2; margin-top: 5px; color: var(--muted); font-size: 12px; }

.condition-grid,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.condition-grid article,
.timeline-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(16, 32, 51, 0.07);
}

.condition-grid span,
.timeline-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--thai-red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.condition-grid strong,
.timeline-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.condition-grid p,
.timeline-grid p {
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 28px auto 0;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.55fr));
  gap: 32px;
  padding: 30px 0 24px;
  border-top: 1px solid var(--line);
}

.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 360px; color: var(--muted); }

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer a, .site-footer span {
  display: block;
  margin-bottom: 9px;
  color: #31506c;
}

.footer-risk {
  padding: 14px 16px;
  border: 1px solid rgba(244, 185, 66, 0.44);
  border-radius: 16px;
  background: rgba(255, 248, 229, 0.9);
  color: #526374;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.footer-bottom span { margin-bottom: 0; color: var(--muted); }

.content-page { padding: 54px 0 36px; }

.page-hero {
  margin-bottom: 22px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0%, rgba(30, 79, 191, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 248, 255, 0.9));
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.1;
}

.page-hero p { max-width: 850px; font-size: 15px; }

.info-grid { grid-template-columns: repeat(3, 1fr); }
.info-card, .legal-card { padding: 22px; }
.info-card svg { margin-bottom: 14px; }
.legal-grid { grid-template-columns: repeat(2, 1fr); }

.doc-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px solid #b8d3f1;
  border-radius: 999px;
  color: var(--thai-blue);
  background: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.document-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
}

.document-menu {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.document-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #31506c;
  font-size: 12px;
  font-weight: 900;
}

.document-menu a:hover,
.document-menu a.is-active-doc {
  color: #ffffff;
  background: linear-gradient(135deg, var(--thai-blue), #0b74d1);
}

.document-frame-wrap {
  min-height: 720px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.document-frame-wrap iframe {
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.document-readable-wrap {
  display: grid;
  gap: 18px;
}

.document-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.document-readable {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 32px;
}

.document-readable-title {
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.document-readable-title span,
.document-page-label {
  color: var(--brand);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-readable-title h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 8px 0 10px;
}

.document-readable-title p,
.document-page p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.document-page {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(42, 99, 255, 0.14);
  border-radius: 22px;
  margin-top: 18px;
  padding: 24px;
}

.document-page h3 {
  color: var(--ink);
  font-size: 1.08rem;
  margin: 18px 0 8px;
}

.document-page h3:first-of-type {
  margin-top: 10px;
}

.document-empty {
  border: 1px dashed var(--line);
  border-radius: 22px;
  padding: 24px;
  text-align: center;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(16, 32, 51, 0.08);
}

table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
th {
  color: var(--ink);
  background: #eef8ff;
  font-size: 12px;
  text-transform: uppercase;
}
td:first-child { color: var(--thai-blue); font-weight: 900; }
tr:last-child td { border-bottom: 0; }

.legal-copy { display: grid; gap: 14px; }
.legal-copy section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}
.legal-copy h2 { margin-bottom: 10px; font-size: 21px; line-height: 1.12; }
.legal-copy ul { margin: 10px 0 0; padding-left: 18px; }

.risk-callout {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(244, 185, 66, 0.48);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 248, 229, 0.96), rgba(255, 255, 255, 0.9));
}

.risk-callout svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 14px;
  color: #9b6a06;
  background: rgba(244, 185, 66, 0.18);
}

.risk-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 16px;
}

.risk-callout p {
  color: #526374;
  font-size: 13px;
}

.auth-page {
  padding-top: 34px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
  gap: 34px;
  align-items: start;
}

.auth-copy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 8%, rgba(5, 185, 137, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 248, 255, 0.9));
  box-shadow: var(--shadow);
}

.auth-copy h1 {
  max-width: 620px;
  margin-bottom: 12px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(31px, 3.2vw, 44px);
  line-height: 1.1;
}

.auth-copy h1 span {
  display: block;
  color: var(--thai-blue);
}

.auth-copy > p {
  color: var(--muted);
  font-size: 14px;
}

.auth-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.auth-points div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px 12px;
  align-items: start;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.auth-points svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 12px;
  color: var(--thai-blue);
  background: #eaf3ff;
}

.auth-points strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.auth-points span {
  display: block;
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.auth-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef8ff;
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  color: #31506c;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--thai-blue), #0b74d1);
}

.auth-form {
  display: none;
  gap: 12px;
}

.auth-form.is-active {
  display: grid;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #cfe0f0;
  border-radius: 12px;
  color: var(--ink);
  background: #fafdff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--thai-blue);
  box-shadow: 0 0 0 4px rgba(30, 79, 191, 0.1);
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 9px !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.45;
}

.check-row input {
  width: 16px;
  min-height: 16px;
  margin-top: 2px;
}

.check-row.small {
  align-items: center;
}

.legal-consent button {
  padding: 0;
  border: 0;
  color: var(--thai-blue);
  background: transparent;
  font: inherit;
  color: var(--thai-blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  padding: 22px;
}

.legal-modal.is-open {
  display: grid;
  place-items: center;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 32, 51, 0.56);
  backdrop-filter: blur(6px);
}

.legal-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(1000px, 100%);
  height: min(760px, calc(100vh - 44px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(16, 32, 51, 0.34);
}

.legal-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f7fbff;
}

.legal-modal-head strong {
  color: var(--ink);
  font-size: 15px;
}

.legal-modal-head button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
}

.legal-modal-head svg {
  width: 18px;
  height: 18px;
}

.legal-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.login-row a {
  color: var(--thai-blue);
  font-size: 12px;
  font-weight: 900;
}

.auth-submit {
  width: 100%;
}

.form-note,
.auth-feedback {
  color: var(--muted);
  font-size: 12px;
}

.auth-feedback {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(5, 185, 137, 0.28);
  border-radius: 14px;
  background: rgba(232, 250, 247, 0.9);
  color: #087b78;
  font-weight: 800;
}

.auth-feedback.is-visible {
  display: block;
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav, .header-actions { display: none; }

  .site-nav.is-open {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 13px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open a:last-child { border-bottom: 0; }

  .hero-inner, .split-panel, .feature-grid, .proof-strip, .info-grid, .legal-grid, .footer-top, .auth-shell, .document-layout {
    grid-template-columns: 1fr;
  }

  .market-grid, .condition-grid, .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .site-header { min-height: 68px; padding: 0 16px; }
  .brand span { font-size: 18px; }
  .hero-inner, .intro-band, .section, .split-panel, .proof-strip, .content-page, .site-footer {
    width: calc(100% - 28px);
  }
  .hero-inner { min-height: auto; padding: 32px 0; }
  .hero h1 { font-size: 33px; }
  .value-strip { grid-template-columns: 1fr; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .feature-grid article { grid-template-columns: 1fr; }
  .feature-grid article p, .proof-strip span { grid-column: auto; }
  .risk-callout { grid-template-columns: 1fr; }
  .split-panel div, .page-hero { padding: 22px; }
  .market-grid, .mini-stats, .condition-grid, .timeline-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .trading-animation { padding: 14px; }
  .auth-copy, .auth-card { padding: 18px; }
  .auth-points { grid-template-columns: 1fr; }
  .form-grid.two { grid-template-columns: 1fr; }
  .login-row { align-items: flex-start; flex-direction: column; }
  .document-frame-wrap,
  .document-frame-wrap iframe {
    min-height: 520px;
  }
}

/* Register legal popup: readable text modal, no iframe */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.legal-modal.is-open {
  display: flex;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 42, 0.58);
  backdrop-filter: blur(12px);
}

.legal-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(940px, 100%);
  max-height: min(86vh, 820px);
  overflow: hidden;
  border: 1px solid rgba(184, 211, 241, 0.92);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(5, 185, 137, 0.13), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
  box-shadow: 0 30px 90px rgba(8, 24, 42, 0.28);
}

.legal-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.legal-modal-head strong {
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-modal-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
}

.legal-modal-body {
  overflow: auto;
  padding: 22px 24px 24px;
  outline: none;
}

.legal-modal-intro,
.legal-modal-warning,
.legal-modal-documents,
.legal-modal-section {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.legal-modal-intro {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(30, 79, 191, 0.08), rgba(5, 185, 137, 0.1)),
    #ffffff;
}

.legal-modal-intro span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #073d8d;
  background: rgba(30, 79, 191, 0.1);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-modal-intro p,
.legal-modal-warning p,
.legal-modal-documents p,
.legal-modal-section p {
  margin: 0;
  color: #4d6479;
  font-size: 14px;
}

.legal-modal-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 14px;
  padding: 15px 17px;
  border-color: rgba(244, 185, 66, 0.55);
  background: #fff8e8;
}

.legal-modal-warning strong {
  color: #865600;
  font-size: 13px;
}

.legal-modal-documents {
  margin-top: 14px;
  padding: 18px;
}

.legal-modal-documents h3,
.legal-modal-section h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.legal-modal-documents > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.legal-modal-documents article {
  padding: 13px;
  border: 1px solid #dbeaf6;
  border-radius: 16px;
  background: #ffffff;
}

.legal-modal-documents strong {
  display: block;
  margin-bottom: 5px;
  color: #073d8d;
  font-size: 13px;
}

.legal-modal-documents span {
  display: block;
  color: #60768a;
  font-size: 12px;
  line-height: 1.45;
}

.legal-modal-sections {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.legal-modal-section {
  padding: 16px 18px;
}

.legal-modal-foot {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

@media (max-width: 720px) {
  .legal-modal {
    padding: 10px;
  }

  .legal-modal-panel {
    max-height: 92vh;
    border-radius: 22px;
  }

  .legal-modal-head,
  .legal-modal-body,
  .legal-modal-foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-modal-documents > div {
    grid-template-columns: 1fr;
  }

  .legal-modal-warning {
    grid-template-columns: 1fr;
  }
}

/* Registration form validation and country/mobile controls */
.auth-form select,
.auth-form input[type="email"],
.auth-form input[type="tel"] {
  min-height: 58px;
}

.auth-form select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 48px 0 18px;
  border: 1px solid #c7ddf0;
  border-radius: 18px;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, #1e4fbf 50%) calc(100% - 24px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, #ffffff, #f7fcff);
  font: inherit;
  font-weight: 850;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.auth-form select:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="tel"]:focus {
  border-color: rgba(30, 79, 191, 0.55);
  box-shadow: 0 0 0 4px rgba(30, 79, 191, 0.1);
}

.phone-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  margin-top: 7px;
}

.phone-row select,
.phone-row input {
  margin-top: 0 !important;
}

.phone-row select {
  padding-left: 14px;
  padding-right: 34px;
  font-size: 15px;
}

.phone-row input {
  letter-spacing: 0.02em;
}

@media (max-width: 620px) {
  .phone-row {
    grid-template-columns: 104px minmax(0, 1fr);
  }
}

.phone-code-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #c7ddf0;
  border-radius: 18px;
  color: #073d8d;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  font-weight: 900;
  white-space: nowrap;
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.captcha-row {
  margin: 12px 0 4px;
  padding: 14px;
  border: 1px solid rgba(244, 185, 66, 0.5);
  border-radius: 18px;
  background: #fff8e8;
}

.captcha-row label {
  margin: 0;
}

/* Compact phone code pill so mobile number field gets full space */
.phone-row {
  grid-template-columns: 82px minmax(0, 1fr) !important;
  gap: 8px !important;
}

.phone-code-pill {
  min-width: 0;
  width: 82px;
  padding: 0 8px;
  font-size: 14px;
}

@media (max-width: 620px) {
  .phone-row {
    grid-template-columns: 74px minmax(0, 1fr) !important;
  }

  .phone-code-pill {
    width: 74px;
    font-size: 13px;
  }
}

/* Extra compact phone country code */
.phone-row {
  grid-template-columns: 64px minmax(0, 1fr) !important;
  gap: 7px !important;
}

.phone-code-pill {
  width: 64px !important;
  padding: 0 6px !important;
  font-size: 13px !important;
}

@media (max-width: 620px) {
  .phone-row {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }

  .phone-code-pill {
    width: 58px !important;
    font-size: 12px !important;
  }
}

/* Polished HTML legal-document reader */
.document-readable {
  display: grid;
  gap: 22px;
  color: #10243d;
  font-family: "Outfit", sans-serif;
}

.document-readable-title {
  margin-bottom: 4px;
  padding: 22px 24px;
  border: 1px solid rgba(180, 210, 239, 0.9);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(5, 185, 137, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 18px 42px rgba(20, 54, 90, 0.08);
}

.document-readable-title span,
.document-section-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(5, 185, 137, 0.22);
  border-radius: 999px;
  background: rgba(232, 255, 248, 0.92);
  color: #075f4b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.document-readable-title h2 {
  margin: 0 0 8px;
  color: #071a32;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.document-readable-title p {
  max-width: 740px;
  margin: 0;
  color: #60738d;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.document-page {
  position: relative;
  overflow: hidden;
  padding: 28px 32px;
  border: 1px solid rgba(176, 209, 240, 0.96);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(31, 95, 213, 0.06), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 20px 46px rgba(12, 38, 70, 0.075);
}

.document-page::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #1f5fd5 0%, #05c897 100%);
}

.document-page h3 {
  margin: 22px 0 10px;
  color: #071a32;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.document-page h3:first-of-type {
  margin-top: 4px;
}

.document-page p {
  margin: 0 0 13px;
  color: #344b68;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.72;
}

.document-page p:last-child {
  margin-bottom: 0;
}

.document-page-label {
  display: none !important;
}

@media (max-width: 680px) {
  .document-readable-title,
  .document-page {
    padding: 20px;
    border-radius: 22px;
  }

  .document-readable-title h2 {
    font-size: 32px;
  }

  .document-page p {
    font-size: 15.5px;
    line-height: 1.68;
  }
}


/* UPGLOBALS completed SEO pages */
.seo-page .seo-hero { overflow: hidden; position: relative; }
.seo-page .seo-hero::after { content: ""; position: absolute; right: 7%; top: 18%; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(5,185,137,.2), transparent 68%); pointer-events: none; }
.seo-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-card i { width: 34px; height: 34px; color: var(--thai-blue); padding: 8px; border-radius: 14px; background: #eaf4ff; }
.seo-content-block .section-head { max-width: 980px; }
.seo-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.seo-list li { padding: 13px 15px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.74); color: var(--text); font-weight: 800; }
.link-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.link-hub-grid a { padding: 15px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); font-weight: 900; box-shadow: 0 12px 30px rgba(16,32,51,.06); }
.link-hub-grid a:hover { color: #fff; background: linear-gradient(135deg, var(--thai-blue), var(--green)); }
.expanded-footer { grid-template-columns: 1.4fr repeat(5, minmax(140px, 1fr)); align-items: start; }
.expanded-footer a, .expanded-footer span { display: block; margin: 8px 0; color: #44637f; font-weight: 700; }
.expanded-footer a:hover { color: var(--thai-blue); }
.missing-doc-grid article { border-top: 3px solid rgba(244,185,66,.65); }
@media (max-width: 980px) { .seo-card-grid, .link-hub-grid, .expanded-footer { grid-template-columns: 1fr; } }


/* Clean risk reminder strip on generated SEO pages */
.risk-callout {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  grid-template-columns: none !important;
  padding: 20px 22px !important;
  line-height: 1.55 !important;
}
.risk-callout strong {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  color: var(--ink) !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}
.risk-callout span,
.risk-callout p {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: var(--text) !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
}
@media (max-width: 680px) {
  .risk-callout {
    display: block !important;
    padding: 17px 18px !important;
  }
  .risk-callout strong {
    display: block !important;
    margin-bottom: 6px !important;
  }
}


/* Footer heading hierarchy */
.site-footer .footer-top h2,
.site-footer .expanded-footer h2 {
  margin: 0 0 18px !important;
  color: var(--ink) !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 15px !important;
  line-height: 1 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  position: relative !important;
  padding-bottom: 11px !important;
}
.site-footer .footer-top h2::after,
.site-footer .expanded-footer h2::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 38px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--thai-blue), var(--green)) !important;
}
.site-footer .footer-top h2 span,
.site-footer .expanded-footer h2 span {
  color: inherit !important;
}
.site-footer .expanded-footer a,
.site-footer .expanded-footer span {
  font-size: 14px !important;
  line-height: 1.35 !important;
}


/* Full content SEO page polish */
.trust-disclosure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: -28px auto 26px;
  padding: 0 0;
  position: relative;
  z-index: 2;
}
.trust-disclosure div {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 48px rgba(16,32,51,.08);
  padding: 20px 22px;
}
.trust-disclosure span,
.split-info-section .kicker {
  color: var(--thai-blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.trust-disclosure strong {
  display: block;
  margin: 7px 0 7px;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  line-height: 1.16;
}
.trust-disclosure p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 750; line-height: 1.5; }
.split-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.split-info-grid article { border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.92); padding: 24px; box-shadow: 0 20px 50px rgba(16,32,51,.08); }
.split-info-grid h3 { margin-bottom: 8px; font-family: "Outfit", sans-serif; font-size: 24px; }
.split-info-grid p { color: var(--muted); font-weight: 700; }
.split-info-grid ul { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.split-info-grid li { position: relative; padding-left: 24px; color: var(--text); font-weight: 800; }
.split-info-grid li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--thai-blue), var(--green)); box-shadow: 0 0 0 5px rgba(5,185,137,.12); }
.seo-content-block .section-head p { max-width: 920px; }
@media (max-width: 900px) { .trust-disclosure, .split-info-grid { grid-template-columns: 1fr; } .trust-disclosure { margin-top: 18px; } }


/* Trust disclosure spacing fix across SEO pages */
.seo-page .page-hero + .trust-disclosure,
.trust-disclosure {
  margin: 30px auto 36px !important;
  max-width: var(--max) !important;
  padding: 0 !important;
  clear: both !important;
}
.seo-page .seo-hero {
  margin-bottom: 0 !important;
}
.trust-disclosure div {
  min-height: 168px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}
@media (max-width: 900px) {
  .seo-page .page-hero + .trust-disclosure,
  .trust-disclosure {
    margin: 22px auto 28px !important;
  }
  .trust-disclosure div {
    min-height: auto !important;
  }
}


/* Data completion pages */
.data-page .seo-hero { margin-bottom: 0 !important; }
.data-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 18px 42px rgba(16,32,51,.07); margin: 18px auto 28px; max-width: var(--max); }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.data-table th { text-align: left; padding: 17px 18px; color: var(--ink); background: #f2f8fd; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-weight: 950; border-bottom: 1px solid var(--line); }
.data-table td { padding: 17px 18px; color: #405b74; font-size: 14px; font-weight: 750; vertical-align: top; border-bottom: 1px solid #e4eef6; }
.data-table tr:last-child td { border-bottom: 0; }
.data-card-grid .legal-card { min-height: 210px; }
.site-footer .expanded-footer { grid-template-columns: 1.25fr repeat(6, minmax(120px, 1fr)); }
@media (max-width: 1180px) { .site-footer .expanded-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .site-footer .expanded-footer { grid-template-columns: 1fr; } .data-table th, .data-table td { padding: 13px 14px; } }


/* NEXT_CONTENT_POLISH */
.page-completion {
  margin-top: clamp(36px, 5vw, 70px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(36, 91, 196, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(11, 35, 70, 0.07);
}
.page-completion .eyebrow,
.footer-heading {
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #1657d7;
  font-weight: 900;
  font-size: 0.78rem;
}
.page-completion h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.65rem, 2.4vw, 2.65rem);
  line-height: 1.08;
  color: #071a33;
}
.page-completion p,
.page-completion li {
  color: #536b84;
  line-height: 1.68;
  font-weight: 600;
}
.page-copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.page-copy-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(54, 111, 198, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,252,255,0.82));
}
.page-copy-card h3 {
  margin: 0 0 10px;
  color: #071a33;
  font-size: 1.05rem;
}
.detail-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.detail-list div,
.detail-list li {
  list-style: none;
  padding: 16px 18px;
  border: 1px solid rgba(39, 100, 190, 0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
}
@media (max-width: 900px) {
  .page-copy-grid { grid-template-columns: 1fr; }
  .page-completion { border-radius: 22px; }
}
body.admin-dark .page-completion,
[data-theme="dark"] .page-completion {
  background: rgba(11, 26, 47, 0.92);
  border-color: rgba(120, 170, 255, 0.22);
}
body.admin-dark .page-completion h2,
body.admin-dark .page-copy-card h3,
[data-theme="dark"] .page-completion h2,
[data-theme="dark"] .page-copy-card h3 { color: #f5f9ff; }
body.admin-dark .page-completion p,
body.admin-dark .page-completion li,
[data-theme="dark"] .page-completion p,
[data-theme="dark"] .page-completion li { color: #c8d7ea; }
body.admin-dark .page-copy-card,
body.admin-dark .detail-list div,
body.admin-dark .detail-list li,
[data-theme="dark"] .page-copy-card,
[data-theme="dark"] .detail-list div,
[data-theme="dark"] .detail-list li {
  background: rgba(14, 35, 61, 0.86);
  border-color: rgba(120, 170, 255, 0.18);
}


/* FOOTER_DISCLOSURES_BLOCK */
.footer-disclosures {
  margin-top: clamp(26px, 4vw, 48px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(30, 96, 180, 0.13);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(244,250,255,0.58));
  color: #516b84;
}
.footer-disclosures h2 {
  margin: 0 0 16px;
  color: #172f4a;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-disclosures ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.footer-disclosures li {
  padding-left: 6px;
  line-height: 1.58;
  font-size: 0.92rem;
  font-weight: 650;
  color: #516b84;
}
.footer-disclosures li::marker {
  color: #245bc4;
  font-weight: 900;
}
body.admin-dark .footer-disclosures,
[data-theme="dark"] .footer-disclosures {
  background: rgba(9, 25, 45, 0.88);
  border-color: rgba(125, 178, 255, 0.2);
}
body.admin-dark .footer-disclosures h2,
[data-theme="dark"] .footer-disclosures h2 { color: #f6fbff; }
body.admin-dark .footer-disclosures li,
[data-theme="dark"] .footer-disclosures li { color: #c8d7ea; }
@media (max-width: 700px) {
  .footer-disclosures { padding: 20px; border-radius: 18px; }
  .footer-disclosures li { font-size: 0.86rem; }
}


/* FOOTER_DISCLOSURES_COMPACT_TUNE */
.footer-disclosures {
  margin-bottom: 24px;
  padding: clamp(18px, 2.4vw, 28px);
  border-color: rgba(36, 91, 196, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(244,250,255,0.66));
}
.footer-disclosures h2 {
  font-size: 0.84rem;
  margin-bottom: 13px;
}
.footer-disclosures ol {
  gap: 7px;
}
.footer-disclosures li {
  font-size: 0.78rem;
  line-height: 1.52;
  font-weight: 620;
}
.footer-disclosure-extra {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(36, 91, 196, 0.12);
  display: grid;
  gap: 9px;
}
.footer-disclosure-extra p {
  margin: 0;
  color: #5f748b;
  font-size: 0.78rem;
  line-height: 1.58;
  font-weight: 620;
}
.footer-risk {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(240, 178, 58, 0.5);
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.94), rgba(255, 246, 221, 0.82));
  box-shadow: 0 18px 44px rgba(120, 84, 20, 0.08);
  color: #52677c;
}
.footer-risk strong {
  color: #1b3048;
}
body.admin-dark .footer-disclosure-extra,
[data-theme="dark"] .footer-disclosure-extra {
  border-top-color: rgba(125, 178, 255, 0.18);
}
body.admin-dark .footer-disclosure-extra p,
[data-theme="dark"] .footer-disclosure-extra p { color: #bdcce0; }
body.admin-dark .footer-risk,
[data-theme="dark"] .footer-risk {
  background: rgba(52, 39, 14, 0.88);
  border-color: rgba(248, 197, 89, 0.42);
  color: #f2dfb8;
}
body.admin-dark .footer-risk strong,
[data-theme="dark"] .footer-risk strong { color: #fff3d3; }
@media (max-width: 700px) {
  .footer-disclosures li,
  .footer-disclosure-extra p { font-size: 0.74rem; }
  .footer-risk { padding: 18px; border-radius: 18px; }
}


/* FOOTER_DISCLOSURES_ABOVE_FOOTER */
.footer-disclosures {
  max-width: min(1500px, calc(100% - 48px));
  margin: clamp(34px, 4vw, 62px) auto 28px;
}
.site-footer .footer-disclosures {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 700px) {
  .footer-disclosures {
    max-width: calc(100% - 28px);
    margin-top: 28px;
    margin-bottom: 22px;
  }
}


/* DISCLOSURE_RISK_WIDTH_MATCH */
.footer-disclosures {
  max-width: min(1500px, calc(100% - 48px));
  margin: clamp(34px, 4vw, 62px) auto 30px;
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.94), rgba(255, 246, 221, 0.82));
  border: 1px solid rgba(240, 178, 58, 0.5);
  box-shadow: 0 18px 44px rgba(120, 84, 20, 0.08);
}
.site-footer .footer-risk {
  max-width: min(1500px, calc(100% - 48px));
  margin: 0 auto 28px;
  width: 100%;
}
.footer-risk {
  display: block;
  box-sizing: border-box;
}
.footer-disclosures + .site-footer {
  padding-top: 42px;
}
.footer-disclosures h2 {
  color: #1b3048;
}
.footer-disclosures li,
.footer-disclosure-extra p {
  color: #52677c;
}
.footer-disclosures li::marker {
  color: #b98512;
}
body.admin-dark .footer-disclosures,
[data-theme="dark"] .footer-disclosures {
  background: rgba(52, 39, 14, 0.88);
  border-color: rgba(248, 197, 89, 0.42);
  box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}
body.admin-dark .footer-disclosures h2,
[data-theme="dark"] .footer-disclosures h2 { color: #fff3d3; }
body.admin-dark .footer-disclosures li,
body.admin-dark .footer-disclosure-extra p,
[data-theme="dark"] .footer-disclosures li,
[data-theme="dark"] .footer-disclosure-extra p { color: #f2dfb8; }
@media (max-width: 700px) {
  .footer-disclosures,
  .site-footer .footer-risk {
    max-width: calc(100% - 28px);
  }
  .footer-disclosures + .site-footer {
    padding-top: 30px;
  }
}


/* COLORFUL_EARTH_HERO_ANIMATION */
.chart-stage {
  background:
    radial-gradient(circle at 77% 34%, rgba(33, 211, 182, 0.22), transparent 26%),
    radial-gradient(circle at 30% 68%, rgba(28, 94, 214, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #eaf7ff 100%);
}
.chart-stage svg {
  z-index: 2;
}
.earth-globe {
  position: absolute;
  right: 32px;
  top: 74px;
  width: 168px;
  height: 168px;
  z-index: 5;
  filter: drop-shadow(0 18px 30px rgba(0, 89, 170, 0.16));
}
.earth-sphere {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.98), rgba(255,255,255,0.2) 18%, transparent 38%),
    radial-gradient(circle at 64% 70%, rgba(7, 186, 150, 0.34), transparent 32%),
    linear-gradient(135deg, #1055d8 0%, #0daeea 44%, #25d6bd 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset -24px -22px 42px rgba(4, 43, 118, 0.38),
    inset 18px 12px 28px rgba(255,255,255,0.24),
    0 0 0 1px rgba(18, 110, 214, 0.2);
  animation: globeFloat 5.8s ease-in-out infinite;
}
.earth-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.36) 49%, rgba(255,255,255,0.36) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.3) 49%, rgba(255,255,255,0.3) 51%, transparent 52%),
    repeating-radial-gradient(ellipse at center, transparent 0 18px, rgba(255,255,255,0.22) 19px 20px),
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(255,255,255,0.15) 30px 31px);
  opacity: 0.72;
  mix-blend-mode: screen;
}
.continent {
  position: absolute;
  display: block;
  background: linear-gradient(135deg, #8bff8f, #10c87f 58%, #078f64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 0 14px rgba(18, 210, 132, 0.28);
  opacity: 0.92;
}
.continent-one {
  left: 24px;
  top: 38px;
  width: 48px;
  height: 34px;
  border-radius: 58% 42% 55% 45%;
  clip-path: polygon(12% 8%, 72% 0, 98% 38%, 74% 68%, 84% 100%, 30% 88%, 0 58%);
}
.continent-two {
  left: 68px;
  top: 62px;
  width: 36px;
  height: 58px;
  border-radius: 46% 54% 38% 62%;
  clip-path: polygon(42% 0, 88% 18%, 80% 58%, 100% 84%, 60% 100%, 20% 76%, 0 36%);
}
.continent-three {
  right: 23px;
  top: 34px;
  width: 52px;
  height: 42px;
  border-radius: 48% 52% 60% 40%;
  clip-path: polygon(0 30%, 22% 4%, 66% 0, 100% 28%, 92% 72%, 54% 98%, 22% 76%);
}
.continent-four {
  right: 30px;
  bottom: 28px;
  width: 32px;
  height: 45px;
  border-radius: 42% 58% 52% 48%;
  clip-path: polygon(36% 0, 82% 16%, 100% 50%, 72% 100%, 24% 82%, 0 38%);
}
.earth-ring {
  position: absolute;
  left: -12px;
  right: -12px;
  top: 50%;
  height: 52px;
  border: 2px solid rgba(28, 94, 214, 0.35);
  border-radius: 50%;
  transform: translateY(-50%) rotate(-18deg);
  box-shadow: 0 0 18px rgba(32, 210, 186, 0.18);
}
.ring-two {
  border-color: rgba(8, 191, 143, 0.42);
  transform: translateY(-50%) rotate(24deg);
  animation: earthRingSpin 7.5s linear infinite;
}
.ring-three {
  left: 16px;
  right: 16px;
  height: 182px;
  top: -7px;
  border-color: rgba(42, 118, 226, 0.22);
  transform: rotate(78deg);
  animation: earthRingTilt 8.8s ease-in-out infinite;
}
.earth-node {
  position: absolute;
  right: 18px;
  top: 42px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #05bd93;
  border: 3px solid rgba(255,255,255,0.85);
  box-shadow: 0 0 0 12px rgba(5, 189, 147, 0.15), 0 0 24px rgba(5, 189, 147, 0.72);
  animation: earthNodePulse 2s ease-in-out infinite;
}
.world-orbit {
  display: none;
}
@keyframes globeFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}
@keyframes earthRingSpin {
  from { transform: translateY(-50%) rotate(24deg); }
  to { transform: translateY(-50%) rotate(384deg); }
}
@keyframes earthRingTilt {
  0%, 100% { transform: rotate(72deg) scaleX(1); opacity: 0.72; }
  50% { transform: rotate(88deg) scaleX(1.08); opacity: 0.92; }
}
@keyframes earthNodePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 10px rgba(5, 189, 147, 0.13), 0 0 22px rgba(5, 189, 147, 0.65); }
  50% { transform: scale(1.18); box-shadow: 0 0 0 18px rgba(5, 189, 147, 0.08), 0 0 34px rgba(5, 189, 147, 0.85); }
}
@media (max-width: 700px) {
  .earth-globe {
    right: 18px;
    top: 86px;
    width: 126px;
    height: 126px;
    opacity: 0.92;
  }
}

/* PROFESSIONAL_EARTH_GLOBE_REWORK */
.earth-globe.pro-earth {
  right: 28px;
  top: 54px;
  width: 218px;
  height: 218px;
  z-index: 6;
  filter: drop-shadow(0 28px 42px rgba(12, 83, 170, 0.22));
}
.earth-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.earth-shadow {
  fill: url(#earthOcean);
  filter: url(#earthGlow);
  opacity: 0.92;
}
.earth-outline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 2.5;
}
.land {
  fill: url(#earthLand);
  opacity: 0.9;
  filter: drop-shadow(0 2px 5px rgba(0, 73, 61, 0.16));
}
.earth-grid-svg ellipse,
.earth-grid-svg line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 1;
}
.earth-orbit {
  fill: none;
  stroke: url(#orbitStroke);
  stroke-width: 2.2;
  stroke-linecap: round;
  transform-origin: 130px 130px;
}
.earth-orbit-a {
  transform: rotate(-18deg);
  animation: proOrbitA 6.5s linear infinite;
}
.earth-orbit-b {
  transform: rotate(28deg);
  opacity: 0.78;
  animation: proOrbitB 8.5s linear infinite reverse;
}
.earth-orbit-c {
  transform: rotate(76deg);
  opacity: 0.42;
  stroke-width: 1.4;
  animation: proOrbitC 10s ease-in-out infinite;
}
.market-route {
  fill: none;
  stroke: rgba(181, 255, 231, 0.9);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 260;
  animation: routeDash 3.8s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(23, 222, 181, 0.55));
}
.market-node {
  fill: #10d6a1;
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 0 12px rgba(16, 214, 161, 0.82));
  animation: nodeBlink 2.4s ease-in-out infinite;
}
.node-b { animation-delay: .7s; }
.node-c { fill: #05b894; animation-delay: 1.3s; }
.earth-globe.pro-earth .earth-sphere,
.earth-globe.pro-earth .earth-ring,
.earth-globe.pro-earth .earth-node {
  display: none;
}
@keyframes proOrbitA {
  from { transform: rotate(-18deg); }
  to { transform: rotate(342deg); }
}
@keyframes proOrbitB {
  from { transform: rotate(28deg); }
  to { transform: rotate(388deg); }
}
@keyframes proOrbitC {
  0%, 100% { transform: rotate(70deg) scaleX(0.96); opacity: 0.36; }
  50% { transform: rotate(92deg) scaleX(1.06); opacity: 0.58; }
}
@keyframes routeDash {
  0% { stroke-dashoffset: 260; opacity: .35; }
  42%, 70% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -260; opacity: .35; }
}
@keyframes nodeBlink {
  0%, 100% { transform: scale(1); opacity: .78; }
  45% { transform: scale(1.35); opacity: 1; }
}
@media (max-width: 700px) {
  .earth-globe.pro-earth {
    right: 12px;
    top: 92px;
    width: 152px;
    height: 152px;
  }
}

/* MARKET_GRAPH_REPLACES_GLOBE */
.market-graph-widget {
  position: absolute;
  right: 18px;
  top: 58px;
  width: 288px;
  height: 196px;
  z-index: 6;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(25, 215, 172, 0.26), transparent 28%),
    radial-gradient(circle at 18% 72%, rgba(36, 94, 216, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(229,246,255,0.76));
  border: 1px solid rgba(114, 178, 231, 0.38);
  box-shadow: 0 22px 54px rgba(20, 79, 145, 0.16);
  overflow: hidden;
}
.market-graph-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.62), transparent);
  transform: translateX(-120%);
  animation: graphSweep 4.6s ease-in-out infinite;
}
.market-graph-svg {
  position: absolute;
  inset: 6px 4px 0;
  width: calc(100% - 8px);
  height: calc(100% - 12px);
  overflow: visible;
}
.graph-bg-grid line {
  stroke: rgba(150, 190, 220, 0.35);
  stroke-width: 1;
}
.graph-area {
  fill: rgba(16, 214, 161, 0.12);
}
.graph-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  stroke-dasharray: 430;
  stroke-dashoffset: 430;
  filter: url(#graphGlow);
}
.graph-line-main {
  stroke: url(#graphLineA);
  animation: graphDraw 4.8s ease-in-out infinite;
}
.graph-line-alt {
  stroke: url(#graphLineB);
  stroke-width: 3;
  opacity: 0.58;
  animation: graphDraw 5.6s ease-in-out infinite .45s;
}
.volume-bars rect {
  fill: rgba(27, 90, 210, 0.34);
  animation: graphBars 2.6s ease-in-out infinite;
  transform-origin: bottom;
}
.volume-bars rect:nth-child(2n) { fill: rgba(12, 195, 146, 0.52); animation-delay: .28s; }
.volume-bars rect:nth-child(3n) { fill: rgba(239, 69, 91, 0.5); animation-delay: .52s; }
.graph-dot {
  fill: #0bd49f;
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 0 12px rgba(11, 212, 159, 0.7));
  animation: graphDotPulse 2.2s ease-in-out infinite;
}
.dot-two { fill: #245bd6; animation-delay: .55s; }
.dot-three { fill: #09b98d; animation-delay: 1s; }
.graph-price-card {
  position: absolute;
  min-width: 82px;
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid rgba(129, 186, 229, 0.42);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(26, 89, 150, 0.12);
  backdrop-filter: blur(12px);
}
.graph-price-card span,
.graph-price-card em {
  display: block;
  font-size: 9px;
  font-weight: 900;
  color: #5e7286;
  font-style: normal;
}
.graph-price-card strong {
  display: block;
  color: #091b32;
  font-size: 14px;
  line-height: 1.1;
  margin-top: 2px;
}
.graph-price-card em {
  color: #04b989;
  margin-top: 2px;
}
.price-card-one { left: 16px; top: 14px; }
.price-card-two { right: 16px; top: 22px; }
.price-card-three { left: 88px; bottom: 12px; }
.earth-globe,
.earth-globe.pro-earth {
  display: none !important;
}
@keyframes graphDraw {
  0% { stroke-dashoffset: 430; opacity: 0.38; }
  44%, 74% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -430; opacity: 0.48; }
}
@keyframes graphBars {
  0%, 100% { transform: scaleY(.64); opacity: .56; }
  50% { transform: scaleY(1); opacity: .94; }
}
@keyframes graphDotPulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.35); opacity: 1; }
}
@keyframes graphSweep {
  0%, 58% { transform: translateX(-120%); opacity: 0; }
  72% { opacity: .7; }
  100% { transform: translateX(120%); opacity: 0; }
}
@media (max-width: 700px) {
  .market-graph-widget {
    right: 10px;
    top: 92px;
    width: 210px;
    height: 154px;
    opacity: .92;
  }
  .graph-price-card { transform: scale(.82); transform-origin: top right; }
  .price-card-three { display: none; }
}


/* HERO_TRADING_TERMINAL_REWORK */
.tv-market-terminal {
  position: relative;
  padding: 18px;
  min-height: 0;
  border-radius: 34px;
  border: 1px solid rgba(84, 174, 234, 0.76);
  background:
    radial-gradient(circle at 88% 12%, rgba(11, 211, 174, 0.24), transparent 28%),
    radial-gradient(circle at 14% 92%, rgba(35, 92, 220, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(237,249,255,0.94));
  box-shadow: 0 30px 90px rgba(16, 64, 122, 0.18);
  overflow: hidden;
  isolation: isolate;
}
.tv-market-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(111, 178, 226, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 178, 226, 0.22) 1px, transparent 1px);
  background-size: 58px 58px;
  animation: tvGridMove 16s linear infinite;
  opacity: 0.45;
}
.tv-market-terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 8%, rgba(255,255,255,0.72) 26%, transparent 44%),
    radial-gradient(circle at 74% 55%, rgba(20, 202, 163, 0.2), transparent 26%);
  animation: tvLightSweep 7s ease-in-out infinite;
  opacity: 0.8;
}
.tv-ambient-lines {
  position: absolute;
  inset: 80px -80px auto auto;
  width: 520px;
  height: 270px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 20px, rgba(37, 107, 222, 0.08) 22px 24px),
    linear-gradient(135deg, rgba(20, 203, 161, 0.16), transparent);
  filter: blur(0.2px);
  transform: rotate(-12deg);
  animation: tvAmbientFloat 8s ease-in-out infinite;
}
.tv-terminal-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}
.tv-terminal-slim {
  justify-content: flex-end;
  min-height: 0;
}
.tv-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: #5f7489;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 950;
}
.tv-terminal-top h2 {
  margin: 0 0 7px;
  color: #071a33;
  font-size: clamp(1.48rem, 2vw, 2.25rem);
  line-height: 1.04;
}
.tv-terminal-top p {
  max-width: 470px;
  margin: 0;
  color: #5c7187;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.42;
}
.tv-live-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(19, 200, 154, 0.32);
  background: rgba(235, 255, 249, 0.88);
  color: #0a6d54;
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(12, 188, 144, 0.12);
}
.tv-live-pill span,
.tv-status-dot span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #14caa3;
  box-shadow: 0 0 0 8px rgba(20, 202, 163, 0.13);
  animation: tvPulse 1.7s ease-in-out infinite;
}
.tv-quote-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 7px;
}
.tv-quote-row article,
.tv-terminal-details article {
  padding: 9px 13px;
  border-radius: 15px;
  border: 1px solid rgba(163, 203, 232, 0.38);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 16px 40px rgba(17, 80, 145, 0.08);
  backdrop-filter: blur(10px);
}
.tv-quote-row article {
  min-height: 74px;
  display: grid;
  align-content: center;
}
.tv-quote-row span,
.tv-terminal-details span {
  display: block;
  color: #61778e;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.tv-quote-row strong,
.tv-terminal-details strong {
  display: inline-flex;
  margin-top: 2px;
  color: #071a33;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.1;
}
.tv-quote-row em {
  display: block;
  margin: 4px 0 0;
  color: #0aaf86;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}
.tv-chart-frame {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  border: 1px solid rgba(91, 174, 230, 0.58);
  background: rgba(248, 253, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72), 0 22px 58px rgba(16, 76, 143, 0.1);
  overflow: hidden;
}
.tv-chart-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(160, 202, 232, 0.44);
}
.tv-symbol-chip,
.tv-timeframes,
.tv-status-dot {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(158, 201, 232, 0.58);
  background: rgba(255,255,255,0.82);
  color: #143452;
  font-size: 0.76rem;
  font-weight: 950;
}
.tv-symbol-chip {
  padding: 8px 13px;
}
.tv-timeframes {
  overflow: hidden;
}
.tv-timeframes span {
  padding: 8px 12px;
}
.tv-timeframes .active {
  color: #fff;
  background: linear-gradient(135deg, #1358f0, #168ee8);
}
.tv-status-dot {
  margin-left: auto;
  gap: 8px;
  padding: 8px 12px;
  color: #0a6d54;
}
.tv-session-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 16px 0;
}
.tv-session-row span {
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(119, 200, 181, 0.42);
  background: rgba(255,255,255,0.58);
  color: #19334d;
  font-size: 0.78rem;
  font-weight: 950;
}
.tv-session-row .active {
  background: rgba(197, 249, 232, 0.82);
  border-color: rgba(22, 199, 150, 0.5);
}
.tv-chart-canvas {
  position: relative;
  height: 270px;
  margin: 10px 16px 16px;
  border-radius: 22px;
  border: 1px solid rgba(151, 198, 232, 0.48);
  background:
    linear-gradient(rgba(157, 203, 235, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 203, 235, 0.34) 1px, transparent 1px),
    radial-gradient(circle at 72% 10%, rgba(20, 202, 163, 0.14), transparent 30%),
    rgba(250, 254, 255, 0.86);
  background-size: 100% 54px, 74px 100%, auto, auto;
  overflow: hidden;
}
.tv-chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tv-area-fill {
  fill: url(#tvAreaGradient);
  animation: tvChartFloat 5.5s ease-in-out infinite;
}
.tv-line-shadow {
  fill: none;
  stroke: rgba(20, 202, 163, 0.22);
  stroke-width: 18;
  stroke-linecap: round;
  filter: url(#tvGlow);
}
.tv-main-line {
  fill: none;
  stroke: url(#tvLineGradient);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 950;
  stroke-dashoffset: 950;
  animation: tvLineTrace 3.8s ease-in-out infinite;
}
.tv-candle line {
  stroke-width: 4;
  stroke-linecap: round;
}
.tv-candle rect {
  animation: tvCandlePulse 3.4s ease-in-out infinite;
}
.tv-candle.up line,
.tv-candle.up rect {
  stroke: #11bd92;
  fill: #11bd92;
}
.tv-candle.down line,
.tv-candle.down rect {
  stroke: #e54c61;
  fill: #e54c61;
}
.tv-candle.delay-1 rect { animation-delay: .25s; }
.tv-candle.delay-2 rect { animation-delay: .55s; }
.tv-candle.delay-3 rect { animation-delay: .85s; }
.tv-volume-bars rect {
  fill: rgba(24, 95, 215, 0.34);
  animation: tvVolumeWave 3.4s ease-in-out infinite;
}
.tv-volume-bars rect:nth-child(2n) {
  fill: rgba(20, 202, 163, 0.35);
  animation-delay: .35s;
}
.tv-volume-bars rect:nth-child(3n) {
  fill: rgba(229, 76, 97, 0.32);
  animation-delay: .7s;
}
.tv-crosshair-x,
.tv-crosshair-y {
  stroke: rgba(23, 93, 219, 0.2);
  stroke-width: 2;
  stroke-dasharray: 8 8;
  animation: tvCrosshair 5s ease-in-out infinite;
}
.tv-price-dot {
  fill: #13c79a;
  stroke: #fff;
  stroke-width: 5;
  filter: url(#tvGlow);
  animation: tvPricePulse 1.7s ease-in-out infinite;
}
.tv-price-scale {
  position: absolute;
  top: 18px;
  right: 14px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #5e758d;
  font-size: 0.72rem;
  font-weight: 950;
}
.tv-price-label {
  position: absolute;
  right: 52px;
  top: 60px;
  padding: 8px 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1358f0, #0fbf96);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(24, 95, 215, 0.2);
  animation: tvPriceLabel 3s ease-in-out infinite;
}
.tv-terminal-details {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.tv-running-strip {
  position: relative;
  z-index: 2;
  margin-top: 9px;
  padding: 7px 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(151, 198, 232, 0.42);
  background: rgba(255,255,255,0.68);
  color: #0b6d55;
  font-size: 0.75rem;
  font-weight: 950;
  white-space: nowrap;
}
.tv-running-strip div {
  display: inline-block;
  min-width: 130%;
  animation: tvTicker 18s linear infinite;
}
.market-graph-widget,
.client-desk-panel {
  display: none !important;
}
@keyframes tvGridMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 58px 58px, 58px 0; }
}
@keyframes tvLightSweep {
  0%, 100% { transform: translateX(-12%); opacity: 0.55; }
  50% { transform: translateX(8%); opacity: 0.9; }
}
@keyframes tvAmbientFloat {
  0%, 100% { transform: translate(0, 0) rotate(-12deg); opacity: 0.55; }
  50% { transform: translate(-22px, 12px) rotate(-7deg); opacity: 0.9; }
}
@keyframes tvPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.24); opacity: 0.7; }
}
@keyframes tvLineTrace {
  0% { stroke-dashoffset: 950; opacity: 0.55; }
  42%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes tvChartFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes tvCandlePulse {
  0%, 100% { opacity: 0.76; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}
@keyframes tvVolumeWave {
  0%, 100% { transform: scaleY(0.72); transform-origin: bottom; opacity: 0.55; }
  50% { transform: scaleY(1); transform-origin: bottom; opacity: 0.95; }
}
@keyframes tvCrosshair {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.55; }
}
@keyframes tvPricePulse {
  0%, 100% { r: 8; opacity: 1; }
  50% { r: 13; opacity: 0.76; }
}
@keyframes tvPriceLabel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes tvTicker {
  from { transform: translateX(8%); }
  to { transform: translateX(-54%); }
}
@media (max-width: 900px) {
  .tv-market-terminal { min-height: auto; }
  .tv-terminal-top { flex-direction: column; }
}
@media (max-width: 620px) {
  .tv-quote-row,
  .tv-terminal-details { grid-template-columns: 1fr; }
  .tv-session-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-chart-toolbar { flex-wrap: wrap; }
  .tv-status-dot { margin-left: 0; }
  .tv-chart-canvas { height: 230px; margin-inline: 10px; }
}

/* HOME_INFO_PANEL_POLISH */
.split-panel {
  align-items: stretch;
  overflow: hidden;
}
.split-panel > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center top;
}
.home-info-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 20px;
}
.home-info-grid span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(159, 202, 232, 0.55);
  background: rgba(255, 255, 255, 0.72);
  color: #4f667e;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.28;
}
@media (max-width: 760px) {
  .split-panel > img {
    min-height: 260px;
    height: 260px;
  }
  .home-info-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER_CONTACT_NOWRAP */
.site-footer .expanded-footer > div:last-child {
  min-width: 260px;
}

.site-footer .expanded-footer > div:last-child > span:nth-of-type(1) {
  display: block;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .site-footer .expanded-footer > div:last-child {
    min-width: 0;
  }

  .site-footer .expanded-footer > div:last-child > span:nth-of-type(1) {
    white-space: normal;
  }
}

/* MOBILE_HEADER_POLISH */
@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-nav.is-open {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    grid-column: 1 / -1;
    width: 100%;
    box-shadow: 0 18px 42px rgba(20, 58, 96, 0.12);
  }

  .site-nav.is-open + .header-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .site-nav.is-open + .header-actions .btn {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .header-actions .btn {
    width: 100%;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .site-nav.is-open {
    margin-top: 2px;
  }
}

/* MOBILE_HEADER_FINAL_FIX */
@media (max-width: 1050px) {
  body .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 16px !important;
  }

  body .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  body .site-header .nav-toggle {
    display: grid !important;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
    justify-self: end;
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  body .site-header .header-actions {
    display: grid !important;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  body .site-header .header-actions .btn {
    width: 100%;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 12px;
  }

  body .site-header .site-nav {
    display: none !important;
  }

  body .site-header .site-nav.is-open {
    position: static !important;
    display: grid !important;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px !important;
    gap: 6px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 18px 42px rgba(20, 58, 96, 0.16) !important;
  }

  body .site-header .site-nav.is-open a {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border: 0 !important;
    border-radius: 16px !important;
    text-align: left !important;
  }
}

@media (max-width: 460px) {
  body .site-header .brand span {
    font-size: 28px;
    letter-spacing: -0.03em;
  }

  body .site-header .brand img {
    width: 42px;
    height: 42px;
  }

  body .site-header .header-actions .btn {
    min-height: 40px;
    font-size: 11.5px;
  }
}

/* COOKIE_CONSENT_COMPLIANCE */
.cookie-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(760px, calc(100vw - 44px));
  padding: 18px 20px;
  border: 1px solid rgba(149, 190, 224, 0.72);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 255, 0.96));
  box-shadow: 0 24px 70px rgba(20, 58, 96, 0.18);
  color: #0d1f34;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-consent.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.cookie-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-consent__copy p {
  margin: 0;
  color: #526982;
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent__actions a {
  color: #1754d5;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.cookie-consent__btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 15px;
  background: linear-gradient(135deg, #06bf8b, #24e0ad);
  color: #071d22;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.cookie-consent__btn--light {
  border: 1px solid rgba(149, 190, 224, 0.8);
  background: #fff;
  color: #28445f;
}

@media (max-width: 760px) {
  .cookie-consent {
    right: 14px;
    bottom: 96px;
    grid-template-columns: 1fr;
    width: calc(100vw - 28px);
    padding: 15px;
  }

  .cookie-consent__actions {
    justify-content: flex-start;
  }
}

/* MOBILE_NAV_AUTH_FINAL */
@media (max-width: 1050px) {
  body .site-header {
    position: sticky !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 54px !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 12px 18px !important;
    min-height: 78px !important;
  }

  body .site-header .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  body .site-header .nav-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: grid !important;
    width: 52px !important;
    height: 52px !important;
    place-items: center !important;
    border-radius: 18px !important;
    border: 1px solid rgba(173, 204, 232, 0.95) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 12px 28px rgba(7, 33, 62, 0.08) !important;
  }

  body .site-header .site-nav,
  body .site-header .header-actions {
    display: none !important;
  }

  body .site-header .site-nav.is-open {
    position: static !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 4px 0 0 !important;
    padding: 12px !important;
    border: 1px solid rgba(190, 216, 238, 0.95) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 18px 42px rgba(7, 33, 62, 0.14) !important;
  }

  body .site-header .site-nav.is-open a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(211, 227, 241, 0.95) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #ffffff, #f7fbff) !important;
    color: #14304a !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
  }

  body .site-header .site-nav.is-open a.is-active,
  body .site-header .site-nav.is-open a[aria-current="page"] {
    color: #ffffff !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, #1d5bd8, #0d83d8) !important;
  }

  body .site-header .site-nav.is-open + .header-actions {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body .site-header .site-nav.is-open + .header-actions .btn {
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }
}

@media (max-width: 430px) {
  body .site-header .brand span {
    font-size: 24px !important;
    letter-spacing: -0.04em !important;
  }

  body .site-header .brand img {
    width: 40px !important;
    height: 40px !important;
  }

  body .site-header .site-nav.is-open {
    grid-template-columns: 1fr !important;
  }
}


/* HOME_TRUST_PANEL_FINAL */
.home-trust-panel {
  width: min(var(--max), calc(100% - 48px));
  margin: 22px auto 0;
}

.home-trust-shell {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(244,251,255,.90)) padding-box,
    linear-gradient(135deg, rgba(30,79,191,.62), rgba(5,185,137,.76), rgba(244,185,66,.46)) border-box;
  box-shadow: 0 24px 70px rgba(16, 32, 51, .10);
}

.home-trust-shell::before {
  content: "";
  position: absolute;
  inset: -35% auto auto 42%;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(30,224,166,.18), transparent 68%);
  pointer-events: none;
}

.home-trust-head,
.home-trust-grid,
.home-trust-footer {
  position: relative;
  z-index: 1;
}

.home-trust-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.home-trust-head .kicker {
  margin-left: 0;
  margin-right: 0;
}

.home-trust-head h2 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(26px, 2.5vw, 38px);
  letter-spacing: -.035em;
  color: var(--ink);
}

.home-trust-head p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
}

.home-trust-badge {
  justify-self: end;
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border: 1px solid rgba(5, 185, 137, .28);
  border-radius: 20px;
  background: rgba(232, 250, 247, .78);
  color: #087b78;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.home-trust-badge span {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 900;
  color: var(--thai-blue);
}

.home-trust-badge strong {
  font-size: 14px;
  line-height: 1.35;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-trust-card {
  padding: 18px;
  border: 1px solid rgba(184, 211, 241, .88);
  border-radius: 20px;
  background: rgba(255, 255, 255, .84);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 12px 34px rgba(16, 32, 51, .06);
}

.home-trust-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 13px;
  color: var(--thai-blue);
  stroke-width: 2.3;
}

.home-trust-card:nth-child(2n) svg {
  color: var(--green);
}

.home-trust-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -.015em;
  color: var(--ink);
}

.home-trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.home-trust-footer {
  display: grid;
  grid-template-columns: 165px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 185, 66, .48);
  border-radius: 18px;
  background: rgba(255, 248, 229, .78);
}

.home-trust-footer strong {
  color: var(--ink);
  font-weight: 900;
}

.home-trust-footer span {
  color: #526374;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.home-trust-footer .text-link {
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .home-trust-head,
  .home-trust-footer {
    grid-template-columns: 1fr;
  }

  .home-trust-badge {
    justify-self: start;
  }

  .home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-trust-panel {
    width: calc(100% - 28px);
    margin-top: 18px;
  }

  .home-trust-shell {
    padding: 18px;
    border-radius: 24px;
  }

  .home-trust-grid {
    grid-template-columns: 1fr;
  }

  .home-trust-footer .text-link {
    white-space: normal;
  }
}


/* CONDITION_AND_JOURNEY_POLISH_FINAL */
.condition-grid article,
.timeline-grid div {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 22px 20px 20px;
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,252,255,.90)) padding-box,
    linear-gradient(135deg, rgba(30,79,191,.38), rgba(5,185,137,.46), rgba(244,185,66,.28)) border-box;
  box-shadow: 0 18px 48px rgba(16, 32, 51, .08);
}

.condition-grid article::before,
.timeline-grid div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--thai-blue), var(--green), var(--gold));
}

.condition-grid article::after,
.timeline-grid div::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(30, 224, 166, .18), transparent 66%);
  pointer-events: none;
}

.condition-grid article > svg,
.timeline-grid div > svg {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 9px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--thai-blue);
  background: linear-gradient(135deg, rgba(230,242,255,.96), rgba(232,250,247,.90));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.condition-grid article:nth-child(2n) > svg,
.timeline-grid div:nth-child(2n) > svg {
  color: var(--green);
}

.condition-grid article span,
.timeline-grid div span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(232, 250, 247, .72);
  color: var(--thai-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.condition-grid article strong,
.timeline-grid div strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.condition-grid article p,
.timeline-grid div p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

@media (max-width: 680px) {
  .condition-grid article,
  .timeline-grid div {
    min-height: auto;
    padding: 20px 18px;
  }
}


/* MARKET_AND_PROOF_CARD_POLISH_FINAL */
.market-grid > article,
.proof-strip > div {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(247,252,255,.92)) padding-box,
    linear-gradient(135deg, rgba(30,79,191,.36), rgba(5,185,137,.46), rgba(244,185,66,.24)) border-box;
  box-shadow: 0 18px 48px rgba(16, 32, 51, .08);
}

.market-grid > article::before,
.proof-strip > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--thai-blue), var(--green), var(--gold));
}

.market-grid > article::after,
.proof-strip > div::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -45px;
  width: 128px;
  height: 128px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(30, 224, 166, .16), transparent 68%);
  pointer-events: none;
}

.market-grid > article {
  min-height: 236px;
  padding: 24px 22px 22px;
  border-radius: 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.market-grid > article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(16, 32, 51, .12);
}

.market-grid > article > svg,
.market-grid > article > i,
.proof-strip > div > svg,
.proof-strip > div > i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 17px;
  color: var(--thai-blue);
  background: linear-gradient(135deg, rgba(230,242,255,.98), rgba(232,250,247,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 12px 26px rgba(30,79,191,.08);
}

.market-grid > article:nth-child(2n) > svg,
.market-grid > article:nth-child(2n) > i,
.proof-strip > div:nth-child(2n) > svg,
.proof-strip > div:nth-child(2n) > i {
  color: var(--green);
}

.market-grid > article h3,
.market-grid > article strong,
.market-grid > article p,
.market-grid > article a,
.proof-strip > div strong,
.proof-strip > div span {
  position: relative;
  z-index: 1;
}

.market-grid > article h3 {
  margin-top: 24px;
  margin-bottom: 9px;
  font-size: 19px;
  letter-spacing: -.025em;
}

.market-grid > article p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.market-grid > article a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(232, 250, 247, .74);
  color: #079a77;
  font-weight: 900;
  text-decoration: none;
}

.market-grid > article a::after {
  content: "\2192";
  font-weight: 900;
}

.proof-strip {
  gap: 16px;
  align-items: stretch;
}

.proof-strip > div {
  min-height: 132px;
  padding: 22px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 5px;
  align-items: center;
}

.proof-strip > div > svg,
.proof-strip > div > i {
  grid-row: 1 / span 2;
  margin: 0;
}

.proof-strip > div strong {
  align-self: end;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.proof-strip > div span {
  align-self: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
}

@media (max-width: 680px) {
  .market-grid > article {
    min-height: auto;
    padding: 22px 20px;
  }

  .proof-strip > div {
    min-height: auto;
  }
}

/* GLOBAL_CARD_POLISH_FINAL */
main :where(
  section:not(.hero) article,
  .market-grid > article,
  .condition-grid > article,
  .timeline-grid > div,
  .proof-strip > div,
  .feature-grid > div,
  .info-grid > div,
  .legal-grid > a,
  .legal-grid > div,
  .legal-grid > article,
  .document-layout article,
  .document-card,
  .content-card,
  .policy-card,
  .risk-card,
  .account-card,
  .platform-card,
  .faq-item,
  .tool-card,
  .stat-card,
  .mini-card
) {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(247,252,255,.92)) padding-box,
    linear-gradient(135deg, rgba(30,79,191,.34), rgba(5,185,137,.45), rgba(244,185,66,.22)) border-box;
  box-shadow: 0 18px 48px rgba(16, 32, 51, .075);
}

main :where(
  section:not(.hero) article,
  .market-grid > article,
  .condition-grid > article,
  .timeline-grid > div,
  .proof-strip > div,
  .feature-grid > div,
  .info-grid > div,
  .legal-grid > a,
  .legal-grid > div,
  .legal-grid > article,
  .document-layout article,
  .document-card,
  .content-card,
  .policy-card,
  .risk-card,
  .account-card,
  .platform-card,
  .faq-item,
  .tool-card,
  .stat-card,
  .mini-card
)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--thai-blue), var(--green), rgba(244,185,66,.82));
}

main :where(
  section:not(.hero) article,
  .market-grid > article,
  .condition-grid > article,
  .timeline-grid > div,
  .proof-strip > div,
  .feature-grid > div,
  .info-grid > div,
  .legal-grid > a,
  .legal-grid > div,
  .legal-grid > article,
  .document-layout article,
  .document-card,
  .content-card,
  .policy-card,
  .risk-card,
  .account-card,
  .platform-card,
  .faq-item,
  .tool-card,
  .stat-card,
  .mini-card
) > :where(svg, i):first-child {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 10px;
  margin-bottom: 16px;
  border-radius: 17px;
  color: var(--thai-blue);
  background: linear-gradient(135deg, rgba(230,242,255,.98), rgba(232,250,247,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 12px 26px rgba(30,79,191,.08);
}

main :where(
  section:not(.hero) article,
  .market-grid > article,
  .condition-grid > article,
  .timeline-grid > div,
  .proof-strip > div,
  .feature-grid > div,
  .info-grid > div,
  .legal-grid > a,
  .legal-grid > div,
  .legal-grid > article,
  .document-layout article,
  .document-card,
  .content-card,
  .policy-card,
  .risk-card,
  .account-card,
  .platform-card,
  .faq-item,
  .tool-card,
  .stat-card,
  .mini-card
):not(:has(> svg:first-child)):not(:has(> i:first-child)) {
  padding-top: max(24px, inherit);
}

main :where(
  section:not(.hero) article,
  .feature-grid > div,
  .info-grid > div,
  .legal-grid > a,
  .legal-grid > div,
  .legal-grid > article,
  .document-layout article,
  .document-card,
  .content-card,
  .policy-card,
  .risk-card,
  .account-card,
  .platform-card,
  .faq-item,
  .tool-card,
  .stat-card,
  .mini-card
):not(:has(> svg:first-child)):not(:has(> i:first-child))::after {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 0 16px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 50%, var(--green) 0 5px, transparent 6px),
    linear-gradient(135deg, rgba(230,242,255,.98), rgba(232,250,247,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 12px 26px rgba(30,79,191,.08);
  order: -1;
}

main :where(
  section:not(.hero) article,
  .market-grid > article,
  .condition-grid > article,
  .timeline-grid > div,
  .feature-grid > div,
  .info-grid > div,
  .legal-grid > a,
  .legal-grid > div,
  .legal-grid > article,
  .document-layout article,
  .document-card,
  .content-card,
  .policy-card,
  .risk-card,
  .account-card,
  .platform-card,
  .faq-item,
  .tool-card,
  .stat-card,
  .mini-card
) :where(h2, h3, h4, strong, p, span, a, ul, ol) {
  position: relative;
  z-index: 1;
}

main :where(.legal-grid > a, .document-card, .content-card, .policy-card, .risk-card, .account-card, .platform-card, .tool-card) {
  transition: transform .22s ease, box-shadow .22s ease;
}

main :where(.legal-grid > a, .document-card, .content-card, .policy-card, .risk-card, .account-card, .platform-card, .tool-card):hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(16, 32, 51, .11);
}

/* HOME_MARKET_CARD_TARGETED_POLISH_20260626 */
.home-market-polish-note { display: none; }

.section .market-grid .market-card {
  position: relative;
  min-height: 220px;
  padding: 22px 22px 20px;
  border: 1px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,252,255,.96)) padding-box,
    linear-gradient(135deg, rgba(31,111,229,.34), rgba(20,200,167,.28), rgba(255,182,70,.18)) border-box;
  box-shadow: 0 18px 42px rgba(8, 35, 69, .075), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.section .market-grid .market-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(8, 35, 69, .11), inset 0 1px 0 rgba(255,255,255,.9);
}

.section .market-grid .market-card svg,
.section .market-grid .market-card > i {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 17px;
  color: #1f5fd0;
  background: linear-gradient(145deg, #edf6ff, #eafff8);
  border: 1px solid rgba(31,111,229,.1);
  box-shadow: 0 12px 24px rgba(31,111,229,.08);
}

.section .market-grid .market-card h3 {
  margin-top: 18px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.section .market-grid .market-card p {
  min-height: 70px;
  color: #5c7188;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.48;
}

.section .market-grid .market-card span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #057a65;
  background: rgba(20,200,167,.12);
  border: 1px solid rgba(20,200,167,.2);
  font-size: 12px;
  font-weight: 900;
}

.section .market-grid .market-card span::after {
  content: "\2192";
  font-size: 13px;
}

.section:has(.market-grid) .section-head h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.15;
}

@media (max-width: 760px) {
  .section .market-grid .market-card {
    min-height: auto;
    padding: 20px;
  }
  .section .market-grid .market-card p {
    min-height: auto;
  }
}

/* HOME_MARKET_EXPLORE_ALIGNMENT_20260626 */
.section .market-grid .market-card {
  display: flex !important;
  flex-direction: column !important;
}

.section .market-grid .market-card p {
  min-height: 132px !important;
  margin-bottom: 0 !important;
}

.section .market-grid .market-card span {
  margin-top: auto !important;
  align-self: flex-start;
}

@media (max-width: 1180px) {
  .section .market-grid .market-card p {
    min-height: 96px !important;
  }
}

@media (max-width: 760px) {
  .section .market-grid .market-card p {
    min-height: auto !important;
  }
}


/* HOME_MARKET_TYPE_TUNING_20260626 */
.section:has(.market-grid) .section-head h2 {
  font-family: "Plus Jakarta Sans", "Sora", sans-serif !important;
  font-size: clamp(1.68rem, 2.15vw, 2.35rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
  font-weight: 690 !important;
  color: #0d2137 !important;
  max-width: 980px;
}

.section .market-grid .market-card h3 {
  font-family: "Plus Jakarta Sans", "Sora", sans-serif !important;
  font-size: clamp(1.02rem, 1.05vw, 1.2rem) !important;
  line-height: 1.13 !important;
  letter-spacing: -0.02em !important;
  font-weight: 680 !important;
  color: #10243b !important;
  min-height: 2.7em;
}

.section .market-grid .market-card p,
.section .trust-card p,
.section .condition-card p,
.section .journey-card p {
  font-family: "Plus Jakarta Sans", "Sora", sans-serif !important;
  font-size: clamp(0.92rem, 0.94vw, 1.02rem) !important;
  line-height: 1.52 !important;
  letter-spacing: -0.01em !important;
  font-weight: 500 !important;
  color: #587088 !important;
}

.section .market-grid .market-card span {
  font-family: "Plus Jakarta Sans", "Sora", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 680 !important;
  letter-spacing: -0.01em !important;
}

@media (max-width: 760px) {
  .section:has(.market-grid) .section-head h2 {
    font-size: clamp(1.45rem, 7vw, 1.92rem) !important;
  }
  .section .market-grid .market-card h3 {
    min-height: auto;
  }
}


/* RISK_PAGE_BORDER_POLISH_20260626 */
main.content-page .risk-callout {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent !important;
  border-radius: 28px !important;
  background:
    linear-gradient(145deg, rgba(255, 251, 240, .98), rgba(255, 255, 255, .96)) padding-box,
    linear-gradient(135deg, rgba(255, 184, 69, .72), rgba(31, 111, 229, .34), rgba(20, 200, 167, .34)) border-box !important;
  box-shadow: 0 22px 55px rgba(8, 35, 69, .08), inset 0 1px 0 rgba(255,255,255,.9) !important;
}

main.content-page .risk-callout::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #ffb845, #1f6fe5, #14c8a7);
}

main.content-page .legal-copy {
  display: grid;
  gap: 18px;
}

main.content-page .legal-copy section {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 34px) !important;
  border: 1px solid transparent !important;
  border-radius: 26px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,252,255,.96)) padding-box,
    linear-gradient(135deg, rgba(31,111,229,.28), rgba(20,200,167,.22), rgba(255,184,69,.18)) border-box !important;
  box-shadow: 0 18px 42px rgba(8, 35, 69, .065), inset 0 1px 0 rgba(255,255,255,.92) !important;
}

main.content-page .legal-copy section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #1f6fe5, #14c8a7, #ffb845);
  opacity: .95;
}

main.content-page .legal-copy section h2 {
  margin: 0 0 10px !important;
  font-family: "Plus Jakarta Sans", "Sora", sans-serif !important;
  font-size: clamp(1.08rem, 1.35vw, 1.42rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  font-weight: 720 !important;
  color: #0d2137 !important;
}

main.content-page .legal-copy section h2 span {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: inherit !important;
}

main.content-page .legal-copy section p {
  margin: 0 !important;
  font-family: "Plus Jakarta Sans", "Sora", sans-serif !important;
  font-size: clamp(.96rem, 1vw, 1.06rem) !important;
  line-height: 1.65 !important;
  letter-spacing: -0.005em !important;
  font-weight: 500 !important;
  color: #536b84 !important;
}

main.content-page .legal-copy section:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(8, 35, 69, .095), inset 0 1px 0 rgba(255,255,255,.92) !important;
}

@media (max-width: 760px) {
  main.content-page .legal-copy {
    gap: 14px;
  }
  main.content-page .legal-copy section {
    padding: 20px 18px 20px 22px !important;
    border-radius: 22px !important;
  }
}

/* COOKIE_CONSENT_GOOGLE_POLICY_20260627 */
.up-cookie-consent {
  position: fixed;
  inset: auto 22px 22px 22px;
  z-index: 2147482000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.up-cookie-consent--closing {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.up-cookie-consent__card {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(31, 111, 229, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(30, 111, 229, 0.14), transparent 36%),
    radial-gradient(circle at 92% 12%, rgba(22, 206, 153, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.96));
  box-shadow: 0 26px 70px rgba(10, 31, 58, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  pointer-events: auto;
}

.up-cookie-consent__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #165bdc;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(22, 91, 220, 0.13), rgba(22, 206, 153, 0.12));
  border: 1px solid rgba(33, 151, 211, 0.18);
}

.up-cookie-consent__icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.up-cookie-consent__content {
  min-width: 0;
}

.up-cookie-consent__eyebrow {
  margin: 0 0 3px;
  color: #0f8f73;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.up-cookie-consent__content h2 {
  margin: 0 0 6px;
  color: #0b1f36;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.up-cookie-consent__content p:not(.up-cookie-consent__eyebrow) {
  margin: 0;
  color: #49627d;
  font-size: 0.95rem;
  line-height: 1.5;
}

.up-cookie-consent__link {
  display: inline-flex;
  margin-top: 8px;
  color: #1d5fd0;
  font-weight: 800;
  text-decoration: none;
}

.up-cookie-consent__link:hover {
  text-decoration: underline;
}

.up-cookie-consent__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.up-cookie-consent__btn {
  border: 1px solid rgba(31, 111, 229, 0.2);
  border-radius: 999px;
  padding: 12px 17px;
  color: #0b1f36;
  background: #fff;
  font: inherit;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.up-cookie-consent__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(31, 111, 229, 0.14);
}

.up-cookie-consent__btn--primary {
  color: #071b30;
  border-color: rgba(17, 194, 143, 0.35);
  background: linear-gradient(135deg, #13c58f, #21e0ad);
  box-shadow: 0 14px 32px rgba(18, 199, 149, 0.22);
}

.up-cookie-consent__btn--soft {
  color: #1d5fd0;
  background: rgba(231, 242, 255, 0.95);
}

.up-cookie-consent__btn--ghost {
  color: #49627d;
  background: rgba(255, 255, 255, 0.78);
}

.up-cookie-consent__manage {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(158, 190, 220, 0.35);
}

.up-cookie-consent__manage[hidden] {
  display: none;
}

.up-cookie-consent__toggle {
  position: relative;
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(157, 194, 229, 0.36);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.up-cookie-consent__toggle strong {
  display: block;
  color: #0b1f36;
  font-size: 0.92rem;
}

.up-cookie-consent__toggle small {
  display: block;
  margin-top: 4px;
  color: #607790;
  font-size: 0.78rem;
  line-height: 1.35;
}

.up-cookie-consent__toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.up-cookie-consent__toggle i {
  flex: 0 0 auto;
  position: relative;
  width: 45px;
  height: 26px;
  border-radius: 999px;
  background: #d7e4f0;
  box-shadow: inset 0 0 0 1px rgba(74, 103, 132, 0.12);
}

.up-cookie-consent__toggle i::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(25, 44, 70, 0.2);
  transition: transform 0.18s ease;
}

.up-cookie-consent__toggle input:checked + i {
  background: linear-gradient(135deg, #1769e8, #14c995);
}

.up-cookie-consent__toggle input:checked + i::after {
  transform: translateX(19px);
}

.up-cookie-consent__toggle--locked {
  background: rgba(232, 251, 244, 0.76);
}

.up-cookie-consent__save {
  grid-column: 1 / -1;
  justify-self: end;
}

.up-cookie-settings {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 999px;
  color: #0f172a;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
  font: 800 12px/1 Inter, system-ui, sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.up-cookie-settings:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .2);
}

@media (max-width: 920px) {
  .up-cookie-consent__card {
    grid-template-columns: auto 1fr;
  }

  .up-cookie-consent__actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .up-cookie-consent__btn {
    flex: 1 1 auto;
  }

  .up-cookie-consent__manage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .up-cookie-consent {
    inset: auto 10px 10px 10px;
  }

  .up-cookie-consent__card {
    max-height: calc(100dvh - 22px);
    overflow: auto;
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 24px;
  }

  .up-cookie-consent__icon {
    width: 50px;
    height: 50px;
  }

  .up-cookie-consent__actions,
  .up-cookie-consent__manage {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .up-cookie-consent__btn,
  .up-cookie-consent__save {
    width: 100%;
    justify-self: stretch;
  }
}

/* GLOBAL_LOGO_REPLACEMENT_20260627 */
.site-header .brand,
.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.site-header .brand img,
.footer-brand .brand img {
  content: url("images/logo-wide.webp?v=20260627-logo");
  width: clamp(178px, 15vw, 250px);
  max-height: 58px;
  height: auto;
  object-fit: contain;
  display: block;
}

.site-header .brand span,
.footer-brand .brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.footer-brand .brand img {
  width: 190px;
  max-height: 70px;
}

@media (max-width: 720px) {
  .site-header .brand img {
    width: 190px;
    max-height: 56px;
  }

  .footer-brand .brand img {
    width: 180px;
  }
}

/* LOGIN_STATIC_LOGO_20260627 */
.brand-static {
    cursor: default;
    pointer-events: none;
}
