:root {
  --ink: #eef6ff;
  --muted: #9eb1c8;
  --muted-strong: #c5d3e2;
  --bg: #08111e;
  --panel: #101d2d;
  --panel-strong: #14263a;
  --line: rgba(197, 211, 226, .17);
  --line-strong: rgba(156, 215, 255, .52);
  --ice: #a6dcff;
  --ice-strong: #70c4ff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-shell { min-height: 100vh; overflow: hidden; }

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(8, 17, 30, .92);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.2px;
}

.brand img {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(112, 196, 255, .16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.site-nav a { transition: color 160ms ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang-link {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.lang-link:hover { color: var(--ink); border-color: var(--line-strong); }

.menu-toggle {
  display: none;
  width: 38px;
  height: 34px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 15px;
  height: 1px;
  margin: auto;
  background: currentColor;
  content: "";
}

.menu-toggle span::before { transform: translateY(-5px); }
.menu-toggle span::after { transform: translateY(4px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #08111e; background: var(--ice); box-shadow: 0 8px 24px rgba(112, 196, 255, .16); }
.btn-primary:hover { background: #c8edff; }
.btn-quiet { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .04); }
.btn-quiet:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .08); }

.page-main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.page-hero {
  padding: 116px 0 70px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ice);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.page-title {
  max-width: 850px;
  margin: 0 auto;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 700;
  letter-spacing: -3.2px;
  line-height: .98;
}

.page-sub {
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.hero-proof {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.hero-proof span + span::before { content: "·"; margin-right: 20px; color: var(--ice-strong); }

.flow-section { padding: 54px 0 110px; scroll-margin-top: 100px; }

.section-heading { max-width: 680px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-family: "Outfit", "Noto Sans SC", sans-serif; font-size: clamp(30px, 5vw, 52px); letter-spacing: -1.7px; line-height: 1.03; }
.section-heading p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 16px; }

.flow-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: stretch; }

.story-list { display: flex; flex-direction: column; gap: 8px; }

.story-tab {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 13px 12px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.story-tab:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.story-tab.is-active { color: var(--ink); background: var(--panel); border-color: var(--line); }
.story-number { color: var(--ice); font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 700; }
.story-tab strong { display: block; font-family: "Outfit", "Noto Sans SC", sans-serif; font-size: 14px; }
.story-tab small { display: block; margin-top: 3px; color: currentColor; font-size: 11px; opacity: .75; }

.flow-demo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0c1726;
  box-shadow: var(--shadow);
}

.flow-demo::before,
.flow-demo::after {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  content: "";
}

.flow-demo::before { width: 250px; height: 250px; top: 12%; left: 30%; background: rgba(112,196,255,.08); filter: blur(40px); }
.flow-demo::after { width: 180px; height: 180px; right: 10%; bottom: 3%; background: rgba(166,220,255,.06); filter: blur(35px); }

.window-core {
  position: absolute;
  z-index: 2;
  left: 24%;
  right: 24%;
  top: 23%;
  bottom: 23%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.window-bar { height: 32px; padding: 11px 12px; display: flex; gap: 5px; align-items: center; border-bottom: 1px solid #dce5ee; background: #f7fafc; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cbd6e0; }
.window-bar i:first-child { background: #8fc9ec; }
.window-body { display: grid; grid-template-columns: 27% 1fr; height: calc(100% - 32px); }
.window-sidebar { padding: 20px 12px; background: #edf4f9; border-right: 1px solid #dde7ef; }
.window-sidebar span, .window-copy span { display: block; height: 7px; margin-bottom: 12px; border-radius: 99px; background: #d4e0ea; }
.window-sidebar span:nth-child(2) { width: 72%; background: #abd8f4; }
.window-sidebar span:nth-child(3) { width: 58%; }
.window-copy { padding: 23px 20px; }
.window-copy span { width: 74%; height: 9px; margin-bottom: 17px; background: #dbe6ee; }
.window-copy span:nth-child(2) { width: 55%; }
.window-copy span:nth-child(3) { width: 88%; height: 5px; margin-top: 26px; }
.window-copy span:nth-child(4) { width: 70%; height: 5px; }

.edge-rail {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 8px;
  padding: 10px;
  color: var(--muted-strong);
  background: rgba(16, 29, 45, .96);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.edge-rail.is-active { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(166,220,255,.14), 0 14px 30px rgba(0,0,0,.24); }
.edge-rail.left, .edge-rail.right { top: 25%; bottom: 25%; width: 19%; flex-direction: column; }
.edge-rail.left { left: 3%; }
.edge-rail.right { right: 3%; }
.edge-rail.top, .edge-rail.bottom { left: 26%; right: 26%; height: 14%; align-items: center; }
.edge-rail.top { top: 5%; }
.edge-rail.bottom { bottom: 5%; }
.rail-mark { flex: 0 0 auto; width: 20px; height: 20px; border: 1px solid rgba(166,220,255,.7); border-radius: 7px; box-shadow: inset 0 0 0 3px rgba(166,220,255,.08); }
.rail-mark.active { background: var(--ice); border-color: var(--ice); }
.rail-copy { min-width: 0; }
.rail-copy strong { display: block; color: var(--ink); font-family: "Outfit", "Noto Sans SC", sans-serif; font-size: 11px; white-space: nowrap; }
.rail-copy span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-line { width: 100%; height: 5px; margin-top: auto; border-radius: 99px; background: rgba(166,220,255,.16); }
.rail-line.short { width: 70%; }

.flow-caption {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  color: #728ba4;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 11px;
  letter-spacing: .4px;
  white-space: nowrap;
}

.flow-panel { display: none; }
.flow-panel.is-active { display: block; animation: panelIn 300ms ease both; }
.flow-panel-title { position: absolute; z-index: 6; left: 50%; top: 46%; width: 50%; transform: translate(-50%, -50%); color: #11243a; text-align: center; font-family: "Outfit", "Noto Sans SC", sans-serif; font-size: clamp(14px, 2.4vw, 24px); font-weight: 700; }
.flow-panel-title span { display: block; margin-top: 8px; color: #6f879d; font-family: "DM Sans", "Noto Sans SC", sans-serif; font-size: 11px; font-weight: 500; line-height: 1.5; }

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

.edge-section { padding: 90px 0 110px; scroll-margin-top: 100px; border-top: 1px solid var(--line); }
.edge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.edge-card { min-height: 210px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; transition: transform 160ms ease, border-color 160ms ease; }
.edge-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.edge-card .card-direction { color: var(--ice); font-family: "Outfit", "Noto Sans SC", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.edge-card h3 { margin: 30px 0 8px; font-family: "Outfit", "Noto Sans SC", sans-serif; font-size: 21px; letter-spacing: -.5px; }
.edge-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.trust-section { padding: 90px 0 110px; scroll-margin-top: 100px; border-top: 1px solid var(--line); }
.trust-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }
.trust-card { padding: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.trust-card h2 { margin: 0; font-family: "Outfit", "Noto Sans SC", sans-serif; font-size: clamp(30px, 4vw, 46px); letter-spacing: -1.4px; line-height: 1.05; }
.trust-card p { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.trust-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.trust-list li { padding: 14px 15px; color: var(--muted-strong); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-radius: 11px; font-size: 13px; }
.trust-list strong { color: var(--ink); }

.final-cta { margin: 0 0 90px; padding: 56px 26px; text-align: center; background: var(--panel-strong); border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: var(--shadow); }
.final-cta h2 { margin: 0; font-family: "Outfit", "Noto Sans SC", sans-serif; font-size: clamp(30px, 5vw, 54px); letter-spacing: -1.8px; line-height: 1; }
.final-cta p { max-width: 540px; margin: 14px auto 0; color: var(--muted-strong); font-size: 15px; }
.final-cta .hero-actions { margin-top: 25px; }

.site-footer { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 42px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 14px; }
.footer-links a:hover { color: var(--ink); }

.legal-page { background: var(--bg); }
.legal { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 100px 0 80px; color: var(--muted-strong); }
.legal .back { display: inline-flex; margin-bottom: 34px; color: var(--ice); font-size: 13px; }
.legal h1, .legal h2 { color: var(--ink); font-family: "Outfit", "Noto Sans SC", sans-serif; letter-spacing: -.8px; }
.legal h1 { margin: 0; font-size: clamp(40px, 7vw, 64px); line-height: 1; }
.legal h2 { margin-top: 42px; font-size: 24px; }
.legal .updated { color: var(--muted); font-size: 13px; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; }
.legal a { color: var(--ice); }
.legal strong { color: var(--ink); }
.legal-intro { margin: 28px 0 40px; padding: 20px 22px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.legal-intro p { margin: 0; }

@media (max-width: 900px) {
  .site-header { gap: 14px; }
  .site-nav { gap: 13px; }
  .flow-layout { grid-template-columns: 1fr; }
  .story-list { display: grid; grid-template-columns: repeat(5, 1fr); }
  .story-tab { grid-template-columns: 1fr; gap: 3px; min-height: 70px; padding: 10px; }
  .story-tab small { display: none; }
  .edge-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .site-header { top: 10px; margin-top: 10px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; padding: 10px; flex-direction: column; align-items: stretch; background: #101d2d; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .header-actions { margin-left: 0; }
  .header-actions .btn { display: none; }
  .page-hero { padding: 84px 0 50px; }
  .page-title { letter-spacing: -2px; }
  .page-sub { font-size: 16px; }
  .flow-section, .edge-section, .trust-section { padding: 56px 0 76px; }
  .flow-demo { min-height: 420px; }
  .window-core { left: 17%; right: 17%; top: 24%; bottom: 24%; }
  .edge-rail.left, .edge-rail.right { width: 13%; padding: 7px; }
  .edge-rail.left { left: 2%; }
  .edge-rail.right { right: 2%; }
  .edge-rail.top, .edge-rail.bottom { left: 19%; right: 19%; }
  .rail-copy { display: none; }
  .rail-mark { margin: auto; }
  .window-body { grid-template-columns: 1fr; }
  .window-sidebar { display: none; }
  .flow-panel-title { width: 62%; }
  .trust-layout { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 460px) {
  .site-header { width: calc(100% - 20px); }
  .page-main { width: calc(100% - 20px); }
  .brand { font-size: 15px; }
  .lang-link { padding: 5px 8px; }
  .story-list { gap: 4px; }
  .story-tab { padding: 8px 5px; }
  .story-tab strong { font-size: 11px; }
  .flow-demo { min-height: 360px; border-radius: 16px; }
  .window-core { top: 26%; bottom: 26%; }
  .flow-caption { font-size: 9px; }
  .edge-grid { grid-template-columns: 1fr; }
}

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