/* ===== CSS VARIABLES ===== */
:root {
  --blue-950: #062344;
  --blue-900: #082c52;
  --blue-800: #0d3a63;
  --blue-700: #155582;
  --blue-600: #1d74ad;
  --blue-500: #3198d5;
  --blue-300: #88d9ff;
  --blue-100: #eaf6ff;
  --ink: #082344;
  --muted: #59728f;
  --soft: #f5fbff;
  --line: rgba(13, 58, 99, 0.16);
  --white: #ffffff;
  --cyan: #88d9ff;
  --shadow: 0 16px 36px rgba(6, 35, 68, 0.08);
  --shadow-soft: 0 8px 20px rgba(6, 35, 68, 0.05);
  --radius-xl: 8px;
  --radius-lg: 8px;
  --radius-md: 8px;
  --max: 1220px;
}

/* ===== RESET & BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 30%, #f7fbfd 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

h1, h2, h3, p { margin: 0; }

ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

section {
  padding: 118px 0;
  scroll-margin-top: 92px;
}

/* ===== SHELL ===== */
.shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ===== HEADER & NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(13, 58, 99, 0.08);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 160px;
  padding: 0;
}

.brand img { width: 100%; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3c5a79;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a { transition: color 180ms ease; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-700); }
.nav-links a.active { font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.text-link {
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: var(--blue-900);
  box-shadow: 0 12px 24px rgba(6, 35, 68, 0.18);
}

.btn-secondary {
  color: var(--blue-800);
  background: #fff;
  border-color: rgba(13, 58, 99, 0.16);
  box-shadow: 0 8px 20px rgba(6, 35, 68, 0.06);
}

.btn-light { background: #fff; color: var(--blue-900); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--blue-800);
  background: #fff;
  border: 1px solid rgba(13, 58, 99, 0.16);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ===== EYEBROW / SECTION LABEL ===== */
.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 99px;
  background: var(--blue-500);
}

/* ===== MAIN ===== */
main { overflow: hidden; }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   INDEX PAGE
   =================================================================== */

.hero {
  position: relative;
  padding: 112px 0 104px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -350px;
  top: -420px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(202, 235, 255, 0.86), rgba(49, 152, 213, 0.11) 48%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  gap: 64px;
  align-items: start;
}

h1 {
  margin: 18px 0 20px;
  max-width: 760px;
  font-size: clamp(52px, 5.4vw, 84px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 500;
}

h1 span { color: var(--blue-600); }

h2 {
  margin-top: 14px;
  max-width: 790px;
  font-size: clamp(40px, 4.7vw, 72px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 500;
}

.hero-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.66;
}

.hero-copy strong { color: var(--blue-700); }

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.52;
}

.note-dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 2px solid #88d9ff;
  border-radius: 50%;
  position: relative;
}

.note-dot::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: var(--blue-600);
  box-shadow: 0 6px 0 var(--blue-600);
}

.liquidity-visual {
  position: relative;
  min-height: 492px;
  margin-top: 54px;
  padding: 28px 32px 20px;
  border: 1px solid rgba(13, 58, 99, 0.14);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 58%, rgba(49, 152, 213, 0.11), transparent 28rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 251, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.liquidity-visual::before {
  content: "";
  position: absolute;
  inset: auto -12% -34% -12%;
  height: 45%;
  background:
    linear-gradient(rgba(29, 116, 173, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 116, 173, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(480px) rotateX(62deg);
  transform-origin: top center;
  opacity: 0.58;
}

.diagram-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.diagram-title b { display: block; color: var(--ink); font-size: 16px; }
.diagram-title span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

.diagram-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: var(--blue-700);
  background: #edf8ff;
  border: 1px solid rgba(49, 152, 213, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.diagram-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(49, 152, 213, 0.14);
}

.flow-white {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 372px;
}

.flow-path {
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 18 14;
  animation: dashFlow 1.7s linear infinite;
  filter: drop-shadow(0 5px 10px rgba(8, 41, 79, 0.12));
}

.flow-path.soft {
  stroke: #80bde7;
  stroke-width: 2;
  stroke-dasharray: 12 14;
  animation-duration: 2s;
}

.flow-node {
  fill: rgba(255, 255, 255, 0.94);
  stroke: #c9e4f6;
  stroke-width: 2;
  filter: drop-shadow(0 18px 26px rgba(6, 35, 68, 0.1));
}

.flow-node-blue {
  fill: url(#finovaBlue);
  filter: drop-shadow(0 18px 28px rgba(8, 41, 79, 0.14));
}

.flow-label { fill: var(--blue-900); font-size: 15px; font-weight: 800; letter-spacing: 0; }
.flow-small { fill: #526780; font-size: 10px; font-weight: 800; }

.flow-orbit {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 20s linear infinite;
}

.flow-card { animation: softFloat 5s ease-in-out infinite; }
.flow-card:nth-of-type(2) { animation-delay: 0.35s; }
.flow-card:nth-of-type(3) { animation-delay: 0.7s; }

.pulse-ring {
  fill: none;
  stroke: #a9ddff;
  stroke-width: 2;
  transform-origin: center;
  animation: pulse 2.8s ease-out infinite;
}

.signal-dot { animation: floatDot 4s ease-in-out infinite; }
.flow-mobile { display: none; }

.fw-diagram { width: 100%; height: 100%; min-height: 520px; display: block; }
.fw-ring { fill: none; transform-box: fill-box; transform-origin: center; animation: spin 32s linear infinite; }
.fw-ring.reverse { animation: spin 18s linear infinite reverse; }
.fw-core { transform-box: fill-box; transform-origin: center; animation: fwCorePulse 3.6s ease-in-out infinite; }
.fw-label { fill: var(--blue-900); font-size: 17px; font-weight: 600; letter-spacing: 2.2px; }
.fw-core-title { fill: #ffffff; font-size: 33px; font-weight: 600; letter-spacing: 0.3px; }
.fw-core-sub { fill: #bfe6ff; font-size: 20px; font-weight: 600; letter-spacing: 6px; }

.trust-row { padding: 8px 0 76px; }

.trust-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #70839a;
  font-size: 13px;
}

.trust-inner::before,
.trust-inner::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(49, 152, 213, 0.24));
}

.trust-inner::after { transform: scaleX(-1); }

.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px 30px;
}

.trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tiny-check {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-700);
  border: 1px solid #cde8f8;
  background: #fff;
  font-size: 10px;
  font-style: normal;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.5fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 62px;
}

.section-intro {
  color: var(--muted);
  line-height: 1.72;
  font-size: 18px;
}

.movement {
  background: #fff;
  border-top: 1px solid rgba(13, 58, 99, 0.06);
  border-bottom: 1px solid rgba(13, 58, 99, 0.06);
}

.section-center {
  max-width: 900px;
  margin: 0 auto 76px;
  text-align: center;
}

.section-center .section-label { justify-content: center; }
.section-center h2 { margin-left: auto; margin-right: auto; }
.section-center .section-intro { max-width: 760px; margin: 18px auto 0; }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px 64px;
}

.solution-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.solution-thumb {
  width: 156px;
  height: 156px;
  overflow: hidden;
  border: 1px solid rgba(13, 58, 99, 0.13);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 35, 68, 0.06);
}

.solution-thumb img { width: 100%; height: 100%; object-fit: cover; }
.solution-card h3 { color: #151c24; font-size: 29px; line-height: 1.18; font-weight: 400; }
.solution-card p { max-width: 350px; color: #303a45; font-size: 18px; line-height: 1.58; }

.solution-link {
  width: max-content;
  margin-top: 8px;
  color: #fff;
  background: var(--blue-900);
  box-shadow: 0 12px 24px rgba(6, 35, 68, 0.18);
}

.movement-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}

.asset-orbit {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.asset-orbit::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 2px dashed rgba(49, 152, 213, 0.34);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.asset-orbit::after {
  content: "";
  position: absolute;
  width: 278px;
  height: 278px;
  border: 2px solid rgba(49, 152, 213, 0.13);
  border-radius: 50%;
}

.orbit-center {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 9px;
  padding: 20px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(145deg, #1d74ad, #082c52);
  box-shadow: 0 18px 38px rgba(6, 35, 68, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.orbit-mark {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  font-size: 34px;
}

.asset-node {
  position: absolute;
  z-index: 3;
  width: 142px;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(49, 152, 213, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(6, 35, 68, 0.07);
  color: #8193a9;
  font-weight: 600;
  text-align: center;
}

.asset-node strong { color: var(--blue-900); font-size: 25px; line-height: 1; }
.asset-node span { font-size: 15px; }

.coin-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(6, 35, 68, 0.08);
}

.coin-icon.btc { background: linear-gradient(135deg, #4fb8f5, #155582); }
.coin-icon.eth { background: linear-gradient(135deg, #7dd6ff, #0d3a63); }
.coin-icon.sol { background: linear-gradient(135deg, #2f95d2, #0d3a63); font-size: 19px; }
.coin-icon.usdc { background: linear-gradient(135deg, #3198d5, #082c52); font-size: 26px; }

.asset-node.one { top: 24px; left: 30px; }
.asset-node.two { top: 66px; right: 18px; }
.asset-node.three { bottom: 34px; left: 16px; }
.asset-node.four { bottom: 12px; right: 36px; }

.feature-stack { display: grid; gap: 16px; }

.feature-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
  padding: 23px 26px;
  border: 1px solid rgba(13, 58, 99, 0.13);
  border-radius: 8px;
  background: #fff;
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-700);
  background: #edf8ff;
  border: 1px solid #cde8f8;
}

.feature-row b { display: block; color: var(--ink); font-size: 24px; line-height: 1.25; margin-bottom: 6px; font-weight: 500; }
.feature-row p { color: var(--muted); font-size: 17px; line-height: 1.62; }

.framework-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 58px;
  align-items: center;
}

.framework-section { background: linear-gradient(180deg, #f5fbff 0%, #ffffff 100%); }

.framework-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.framework-list { border-top: 2px solid var(--blue-500); }

.framework-item {
  display: grid;
  gap: 14px;
  padding: 31px 28px;
  border-bottom: 2px solid var(--blue-500);
}

.framework-item.is-active { background: #dff4ff; }
.framework-item h3 { color: var(--blue-700); font-size: 31px; line-height: 1.18; font-weight: 400; }
.framework-item p { color: #2f3e4d; font-size: 18px; line-height: 1.58; }

.framework-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--blue-700);
  font-size: 16px;
  font-weight: 600;
}

.framework-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(13, 58, 99, 0.12);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #ffffff 0%, #eaf6ff 100%);
  box-shadow: 0 12px 28px rgba(6, 35, 68, 0.06);
}

.framework-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }

.copy-stack { display: grid; gap: 20px; }
.lead { color: var(--blue-700); font-size: 22px; line-height: 1.55; font-weight: 400; }
.muted { color: var(--muted); line-height: 1.65; }

.os-card {
  position: relative;
  min-height: 560px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(13, 58, 99, 0.14);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 54%, rgba(49, 152, 213, 0.11), transparent 23rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 251, 0.94));
  box-shadow: 0 12px 28px rgba(6, 35, 68, 0.06);
}

.os-card svg { width: 100%; height: 500px; }

.control-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.control-pill {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(13, 58, 99, 0.13);
  border-radius: 8px;
  background: #fff;
}

.control-pill span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: var(--blue-700);
  background: #edf8ff;
  border: 1px solid #cde8f8;
  border-radius: 8px;
  font-weight: 700;
}

.control-pill strong { display: block; font-size: 15px; }

.journey { background: linear-gradient(180deg, #ffffff, #f5fbff); }

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

.timeline-card,
.principle-card,
.process-step {
  border: 1px solid rgba(13, 58, 99, 0.13);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
}

.timeline-card { min-height: 244px; padding: 24px; }

.timeline-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue-700);
  background: #edf8ff;
  border: 1px solid #cde8f8;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
}

.timeline-card small {
  display: block;
  color: #7a93ad;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-card h3 { margin: 8px 0 10px; color: var(--ink); font-size: 21px; line-height: 1.15; font-weight: 500; }
.timeline-card p, .principle-card p, .process-step p { color: var(--muted); font-size: 14px; line-height: 1.58; }

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

.principle-card { padding: 20px; }
.principle-card strong { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 600; }

.operations {
  position: relative;
  color: #fff;
  background: var(--blue-950);
  overflow: hidden;
}

.operations::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -240px;
  width: 630px;
  height: 630px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 152, 213, 0.22), transparent 66%);
}

.operations .shell { position: relative; }
.operations .section-label { color: #88d9ff; }
.operations .section-label::before { background: #88d9ff; }
.operations h2 { color: #fff; }
.operations .section-intro { color: #c9e4f6; }

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

.operations-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: 78px;
  align-items: start;
}

.operations-copy { position: sticky; top: 112px; }
.operations-copy h2 { margin-bottom: 28px; }

.operation-list {
  display: grid;
  border-top: 1px solid rgba(136, 217, 255, 0.24);
}

.operation-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(136, 217, 255, 0.24);
}

.operation-no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #88d9ff;
  background: rgba(136, 217, 255, 0.1);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.operation-step h3 { margin: 0 0 7px; color: #fff; font-size: 22px; line-height: 1.25; font-weight: 600; }
.operation-step p { max-width: 620px; color: #c9e4f6; font-size: 16px; line-height: 1.58; }

.operation-summary {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(136, 217, 255, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(26, 72, 112, 0.42);
}

.operation-metric {
  padding: 24px;
  border-right: 1px solid rgba(136, 217, 255, 0.18);
}

.operation-metric:last-child { border-right: 0; }
.operation-metric strong { display: block; color: #88d9ff; font-size: 22px; line-height: 1.2; font-weight: 600; }
.operation-metric span { display: block; margin-top: 8px; color: #c9e4f6; font-size: 13px; line-height: 1.45; }

.process-step {
  position: relative;
  min-height: 206px;
  padding: 26px;
  overflow: hidden;
  color: #d8edf9;
  border-color: rgba(136, 217, 255, 0.18);
  background: rgba(26, 72, 112, 0.66);
  backdrop-filter: blur(6px);
}

.process-step .step-no {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #88d9ff;
  background: rgba(136, 217, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.process-step h3 { margin: 28px 0 9px; color: #fff; font-size: 18px; line-height: 1.25; font-weight: 600; }
.process-step p { color: #c9e4f6; }

.settlement-panel {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 34px;
  padding: 42px;
  border: 1px solid rgba(136, 217, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(26, 72, 112, 0.66);
}

.settlement-panel h3 { color: #fff; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; font-weight: 500; }
.settlement-panel p { color: #c9e4f6; line-height: 1.68; }
.settlement-panel strong { color: #88d9ff; }

.future-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 58px;
  align-items: center;
}

.infrastructure-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(13, 58, 99, 0.14);
  border-radius: var(--radius-xl);
  background: #eaf6ff;
  box-shadow: 0 12px 28px rgba(6, 35, 68, 0.06);
}

.infrastructure-card img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }

.infrastructure-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 35, 68, 0.18), transparent 42%),
    linear-gradient(180deg, transparent 58%, rgba(6, 35, 68, 0.32));
  pointer-events: none;
}

.photo-caption { position: absolute; left: 24px; bottom: 22px; z-index: 2; max-width: 320px; color: #fff; }
.photo-caption strong { display: block; font-size: 18px; line-height: 1.3; font-weight: 600; }
.photo-caption span { display: block; margin-top: 7px; color: rgba(255, 255, 255, 0.8); font-size: 13px; line-height: 1.45; }

.quote-card {
  margin: 26px 0;
  padding-left: 22px;
  border-left: 4px solid var(--blue-500);
  color: var(--blue-700);
  font-size: 23px;
  line-height: 1.45;
  font-weight: 400;
}

.resource-strip {
  padding: 96px 0 118px;
  background: linear-gradient(180deg, #f5fbff, #ffffff);
}

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

.resource-card {
  min-height: 142px;
  padding: 26px;
  border: 1px solid rgba(13, 58, 99, 0.13);
  border-radius: 8px;
  background: #fff;
}

.resource-card strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 18px; font-weight: 500; }
.resource-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ===================================================================
   ACADEMY / GLANCE / LICENSE / NEWS — SHARED STYLES
   =================================================================== */

.academy-hero { padding: 84px 0 30px; }

.academy-hero h1 {
  margin: 18px 0 14px;
  max-width: 720px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.academy-hero p {
  max-width: 640px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 600;
}

.meta-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); }

.featured { padding: 34px 0 10px; }

.featured-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.featured-copy { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }

.tagline {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.featured-copy h2 { margin: 16px 0 12px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 600; }
.featured-copy p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: 15px;
  font-weight: 600;
  transition: gap 180ms ease;
}

.read-link:hover { gap: 12px; }

.featured-visual {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(circle at 70% 20%, rgba(49, 152, 213, 0.35), transparent 55%),
    linear-gradient(140deg, #082c52, #06121f);
}

.featured-visual img {
  max-height: 420px;
  max-width: 100%;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.glance-quote {
  margin-top: 10px;
  padding: 44px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--blue-950), var(--blue-800));
  color: #fff;
  box-shadow: var(--shadow);
}

.glance-quote h2 { margin: 0 0 16px; font-size: 24px; font-weight: 600; }
.glance-quote p { margin: 0; color: #cfe6f7; font-size: 16.5px; line-height: 1.8; max-width: 860px; }

.modules { padding: 44px 0 30px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2 { margin: 0; font-size: 26px; font-weight: 600; }
.section-head span { color: var(--muted); font-size: 14px; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.module-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-visual { overflow: hidden; background: #06121f; }
.card-visual img { width: 100%; height: auto; display: block; transition: transform 300ms ease; }
.module-card:hover .card-visual img { transform: scale(1.03); }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }

.card-tag {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.card-body h3 { margin: 10px 0 8px; font-size: 18px; line-height: 1.35; font-weight: 600; }
.card-body p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.65; flex: 1; }

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue-700);
  font-size: 13.5px;
  font-weight: 600;
}

.card-foot .mins { color: var(--muted); font-weight: 500; }

.cta-band { padding: 40px 0 90px; }

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 40px 46px;
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700));
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-inner h2 { margin: 0 0 8px; font-size: 26px; font-weight: 600; }
.cta-inner p { margin: 0; color: #bfe0f5; font-size: 15px; line-height: 1.6; max-width: 560px; }

.article-head { padding: 64px 0 26px; }

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 600;
}

.crumb:hover { color: var(--blue-800); }

.article-head h1 {
  margin: 20px 0 14px;
  max-width: 860px;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta b { color: var(--blue-800); font-weight: 600; }

.article-banner { padding: 26px 0 4px; }
.poster-figure { margin: 0 auto; max-width: 430px; }
.poster-figure img { width: 100%; display: block; border-radius: 12px; box-shadow: 0 24px 54px rgba(6, 35, 68, 0.28); }

.journey-band { padding: 34px 0 4px; }
.journey-band img { width: 100%; display: block; border-radius: var(--radius-xl); box-shadow: var(--shadow); }

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px 0 30px;
  font-size: 17px;
  line-height: 1.78;
  color: #24405c;
}

.article-body h2 { margin: 46px 0 14px; font-size: 27px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.article-body h3 { margin: 30px 0 8px; font-size: 19px; font-weight: 600; color: var(--blue-800); }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body li { margin: 0 0 10px; }
.article-body strong { color: var(--ink); font-weight: 600; }

.takeaways {
  margin: 40px 0;
  padding: 28px 30px 20px;
  border-left: 3px solid var(--blue-600);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  background: var(--blue-100);
}

.takeaways h2 { margin: 0 0 14px !important; font-size: 21px !important; }
.takeaways ul { margin-bottom: 6px; }

.knowledge {
  margin: 40px 0;
  padding: 28px 30px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.knowledge h2 { margin: 0 0 6px !important; font-size: 21px !important; display: flex; align-items: center; gap: 10px; }
.knowledge h2::before { content: "?"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-900); color: #fff; font-size: 15px; }
.knowledge .hint { margin: 0 0 14px; color: var(--muted); font-size: 14px; }

.outro {
  margin: 40px 0 8px;
  padding: 24px 28px;
  border: 1px dashed rgba(13, 58, 99, 0.3);
  border-radius: var(--radius-xl);
  background: var(--soft);
  font-size: 15.5px;
}

.outro p { margin: 0 0 10px; }
.outro p:last-child { margin: 0; }

.pager { padding: 8px 0 30px; }
.pager-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.pager-link {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pager-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.pager-link.next { text-align: right; }
.pager-link small { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; }
.pager-link b { font-size: 15.5px; font-weight: 600; color: var(--blue-800); line-height: 1.4; }
.pager-link.empty { visibility: hidden; }

.related { padding: 24px 0 90px; }
.related h2 { margin: 0 0 22px; font-size: 24px; font-weight: 600; }

/* --- Newsroom --- */
.news-visual { height: 118px; overflow: hidden; }
.news-visual svg { width: 100%; height: 100%; display: block; }
.news-card .card-body { padding: 20px 24px 22px; }
.news-card h3 { font-size: 19px; }
.news-card .outlet-en { margin: -4px 0 8px; color: var(--blue-600); font-size: 12.5px; font-weight: 600; letter-spacing: 0.6px; }
.news-featured .featured-copy .domain { color: var(--muted); font-size: 13px; margin-top: 14px; }

.press-note {
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px dashed rgba(13, 58, 99, 0.28);
  border-radius: var(--radius-xl);
  background: var(--soft);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* --- License page --- */
.license-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }

.license-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.license-card img { width: 100%; display: block; }
.license-body { padding: 24px 26px 26px; }
.license-body h2 { margin: 0 0 4px; font-size: 21px; font-weight: 600; }
.license-body .authority { margin: 0 0 16px; color: var(--blue-600); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }

.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 168px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.55; }
.facts dt { color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }

.pillar {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.pillar i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  margin-bottom: 14px;
}

.pillar h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 600; letter-spacing: 0.4px; }
.pillar p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.verify-note {
  margin-top: 30px;
  padding: 20px 24px;
  border-left: 3px solid var(--blue-600);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  background: var(--blue-100);
  font-size: 14.5px;
  line-height: 1.65;
  color: #24405c;
}

/* --- Glance page --- */
.glance-wrap { padding: 26px 0 20px; }

.qa-columns { columns: 2; column-gap: 24px; }

.qa-card {
  break-inside: avoid;
  margin: 0 0 24px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.qa-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.qa-card h2 { margin: 0 0 10px; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.qa-card p { margin: 0 0 12px; color: #2c4258; font-size: 15px; line-height: 1.72; }
.qa-card p:last-child { margin-bottom: 0; }

.wallet-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 0;
  list-style: none;
}

.wallet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-800);
}

.wallet-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
}

.qa-card.vision {
  background: linear-gradient(140deg, var(--blue-100), #ffffff 70%);
  border-color: rgba(29, 116, 173, 0.32);
}

/* --- Press / gallery --- */
.press-article {
  padding: 40px 46px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.press-article h2 { margin: 16px 0 14px; max-width: 900px; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.22; font-weight: 600; letter-spacing: -0.3px; }
.press-article .dek { margin: 0 0 16px; color: var(--blue-800); font-size: 17.5px; line-height: 1.65; font-weight: 500; font-style: italic; }
.press-article p { margin: 0 0 14px; color: #2c4258; font-size: 16px; line-height: 1.75; max-width: 900px; }
.press-article .continue-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(13, 58, 99, 0.1); color: var(--blue-700); font-size: 14.5px; font-weight: 600; }

.press-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.shot {
  display: block;
  height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.news-shot { height: 220px; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.news-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 300ms ease; }
.module-card:hover .news-shot img { transform: scale(1.03); }

.also-row { margin: 26px 0 0; color: var(--muted); font-size: 14px; line-height: 2.2; }

.also-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px 0 4px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 180ms ease, color 180ms ease;
}

.also-chip:hover { border-color: var(--blue-500); color: var(--blue-600); }

/* ===================================================================
   TERMS OF USE PAGE
   =================================================================== */

.legal-hero { padding: 112px 0 76px; }

.legal-hero h1 {
  margin-top: 18px;
  max-width: 840px;
  font-size: clamp(52px, 6vw, 92px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0;
}

.effective {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 78px;
  padding: 36px 0 118px;
  align-items: start;
}

.legal-side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
  padding-top: 4px;
  animation: fadeUp 700ms ease both;
  animation-delay: 80ms;
}

.legal-side strong { color: var(--blue-900); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }

.legal-side a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue-700);
  font-size: 15px;
  font-weight: 600;
}

.legal-content {
  padding: 54px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  animation: fadeUp 700ms ease both;
  animation-delay: 140ms;
}

.legal-hero .shell { animation: fadeUp 700ms ease both; }

.legal-section {
  scroll-margin-top: 106px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:first-child { padding-top: 0; }
.legal-section:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-section h2 { color: var(--ink); font-size: clamp(28px, 3vw, 42px); line-height: 1.15; font-weight: 500; }
.legal-section p, .legal-section li { color: #33475c; font-size: 17px; line-height: 1.72; }
.legal-section p { margin-top: 16px; }

/* ===================================================================
   LIGHT FOOTER — academy, glance, license
   =================================================================== */

footer {
  border-top: 1px solid rgba(13, 58, 99, 0.1);
  background: #fff;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 26px;
  padding: 46px 0 22px;
}

.footer-brand { width: 150px; }
.footer-copy { max-width: 460px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: flex-start;
  color: var(--blue-800);
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover { color: var(--blue-600); }

.footer-bottom {
  padding: 18px 0 40px;
  border-top: 1px solid rgba(13, 58, 99, 0.08);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-bottom p { margin: 6px 0 0; }

/* ===================================================================
   DARK FOOTER — index.html + terms-of-use.html
   Add class="footer-dark" to <footer> on those pages
   =================================================================== */

footer.footer-dark {
  padding: 54px 0 36px;
  color: #d1e9fb;
  background: var(--blue-950);
  border-top: none;
}

footer.footer-dark .footer-top {
  flex-wrap: nowrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(166, 221, 255, 0.15);
}

footer.footer-dark .footer-brand {
  width: 176px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
}

footer.footer-dark .footer-copy {
  max-width: 560px;
  margin-top: 17px;
  color: #98bedb;
  line-height: 1.6;
  font-size: 13px;
}

footer.footer-dark .footer-links {
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 8px;
  color: #c4e3f7;
  font-size: 14px;
  font-weight: 500;
  align-items: flex-start;
}

footer.footer-dark .footer-links a:hover { color: #fff; }

footer.footer-dark .footer-bottom {
  padding-top: 21px;
  padding-bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: none;
  color: #91b9d6;
  font-size: 13px;
}

footer.footer-dark .footer-bottom p { max-width: 790px; line-height: 1.55; margin: 0; }

/* ===================================================================
   LANGUAGE SWITCHER
   =================================================================== */

.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.lang-btn:hover { background: var(--soft); border-color: var(--blue-300); }
.lang-btn svg { opacity: 0.55; transition: transform 0.2s; }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 148px;
  z-index: 50;
  overflow: hidden;
}

.lang-menu.is-open { display: block; }

.lang-menu [data-lang] {
  display: block;
  width: 100%;
  padding: 9px 14px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  transition: background 0.1s;
}

.lang-menu [data-lang]:hover { background: var(--soft); }
.lang-menu [data-lang].is-active { color: var(--blue-600); font-weight: 600; }

/* ===================================================================
   KEYFRAMES
   =================================================================== */

@keyframes dashFlow {
  to { stroke-dashoffset: -64; }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(0.88); }
  80%, 100% { opacity: 0; transform: scale(1.36); }
}

@keyframes floatDot {
  0%, 100% { transform: translateY(0); opacity: 0.72; }
  50% { transform: translateY(-9px); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fwCorePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 720px) {
  .flow-white { display: none; }
  .flow-mobile { display: block; width: 100%; height: auto; }
}

@media (max-width: 1060px) {
  .nav-links,
  .nav-actions .text-link,
  .nav-actions .btn {
    display: none;
  }

  .menu-btn { display: inline-flex; }

  .nav-links {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 72px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(13, 58, 99, 0.14);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(6, 35, 68, 0.08);
  }

  .nav-links.open { display: flex; }
  .nav-links.open a { padding: 10px 0; font-size: 16px; }

  .hero-grid,
  .movement-grid,
  .framework-grid,
  .framework-showcase,
  .operations-layout,
  .future-grid,
  .section-heading,
  .settlement-panel {
    grid-template-columns: 1fr;
  }

  .liquidity-visual { min-height: 500px; }

  .flow-white { height: 388px; }

  .asset-orbit { max-width: 620px; width: 100%; margin: 0 auto; }

  .timeline,
  .principle-grid,
  .process-grid,
  .resource-grid,
  .control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .operations-copy { position: static; }

  .module-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .license-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .press-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .qa-columns { columns: 1; }
  .wallet-list { grid-template-columns: 1fr; }
  .qa-card { padding: 24px 22px; }
}

@media (max-width: 760px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-visual { min-height: 220px; order: -1; }
  .featured-copy { padding: 30px 26px 34px; }
  .module-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 32px 26px; }
  .pager-grid { grid-template-columns: 1fr; }
  .pager-link.next { text-align: left; }
  .article-body { font-size: 16.5px; }
  .glance-quote { padding: 30px 26px; }
}

@media (max-width: 720px) {
  .shell { width: min(var(--max), calc(100% - 34px)); }

  .navbar { min-height: 72px; gap: 12px; }
  .brand { width: 150px; }

  .nav-links { left: 17px; right: 17px; top: 64px; }

  .hero { padding: 58px 0 64px; }
  .hero-grid { gap: 34px; }

  h1 { font-size: clamp(42px, 13vw, 62px); line-height: 1.08; }

  .hero-copy, .section-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }

  section { padding: 82px 0; }

  .section-center { margin-bottom: 42px; text-align: left; }
  .section-center .section-label { justify-content: flex-start; }

  .liquidity-visual { min-height: 410px; padding: 20px; margin-left: -8px; margin-right: -8px; }
  .diagram-top { flex-direction: column; }
  .flow-white { height: 315px; }

  .asset-orbit { min-height: 430px; transform: scale(0.82); transform-origin: center; margin: -40px auto; }

  .feature-row { grid-template-columns: 56px 1fr; padding: 20px; }
  .feature-icon { width: 50px; height: 50px; border-radius: 8px; }
  .feature-row b { font-size: 20px; }
  .feature-row p { font-size: 15px; }

  .os-card { min-height: 430px; padding: 18px; }
  .os-card svg { height: 360px; }

  .infrastructure-card, .infrastructure-card img { min-height: 320px; }

  .timeline, .principle-grid, .process-grid, .resource-grid, .control-grid { grid-template-columns: 1fr; }

  .solutions-grid { grid-template-columns: 1fr; gap: 34px; }
  .solution-card { grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
  .solution-thumb { width: 112px; height: 112px; border-radius: 20px; }
  .solution-card h3 { font-size: 22px; }
  .solution-card p { font-size: 15px; line-height: 1.52; }
  .solution-link { min-height: 40px; padding: 0 15px; font-size: 13px; }

  .framework-showcase { gap: 32px; }
  .framework-item { padding: 22px 18px; }
  .framework-item h3 { font-size: 26px; }
  .framework-item p { font-size: 15px; }
  .framework-media, .framework-media img { min-height: 270px; }

  .operations-layout { gap: 34px; }
  .operation-step { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; }
  .operation-no { width: 38px; height: 38px; font-size: 12px; }
  .operation-step h3 { font-size: 18px; margin-bottom: 4px; }
  .operation-step p { font-size: 14px; line-height: 1.5; }
  .operation-summary { grid-template-columns: 1fr; }
  .operation-metric { padding: 18px; border-right: 0; border-bottom: 1px solid rgba(136, 217, 255, 0.18); }
  .operation-metric:last-child { border-bottom: 0; }

  .control-pill { min-height: 74px; padding: 14px 16px; }
  .timeline-card, .process-step { min-height: 0; }

  footer.footer-dark .footer-top,
  footer.footer-dark .footer-bottom {
    flex-direction: column;
  }

  .footer-links { gap: 12px 18px; }
}

@media (max-width: 640px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
  .press-article { padding: 28px 24px 26px; }
  .press-gallery { grid-template-columns: 1fr; }
  .shot { height: 210px; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .legal-hero { padding: 72px 0 44px; }

  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-bottom: 82px; }

  .legal-side {
    position: static;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 12px;
  }

  .legal-side strong { display: none; }

  .legal-side a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
  }

  .legal-content { padding: 28px 22px; }
  .legal-section p, .legal-section li { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.button-news-reveal {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
  margin-top: -10px;
}

.button-news-reveal a {
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
  color: white!important;
  font-size: 15px;
  font-weight: 600;
  transition: gap 180ms ease;
  max-width: 150px;
  width: 100%;
  min-width: 150px;
}

.button-news-reveal a span {
  color: white!important;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

@media (max-width: 640px) {
  .card-visual {
    max-height: 120vw;
    height: 100%;
    min-height: 120vw;
  }
}