:root {
  --bg: #eef0f4;
  --bg-2: #e4e8ef;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-2: rgba(255, 255, 255, 0.78);
  --ink: #0d1220;
  --text: #0d1220;
  --muted: #5a6275;
  --dim: #8a91a2;
  --line: rgba(13, 18, 32, 0.09);
  --line-2: rgba(13, 18, 32, 0.16);
  --accent: #0fb59c;
  --accent-2: #3fa8ff;
  --accent-3: #9b8cff;
  --grad: linear-gradient(100deg, #0fb59c 0%, #3fa8ff 55%, #9b8cff 100%);
  --done: #12b07a;
  --wip: #f0a91b;
  --next: #9aa1b2;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 20px 50px -28px rgba(31, 45, 80, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: rgba(15, 181, 156, 0.25); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- pastel mesh background ---------- */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .7; }
.mesh i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: #bfe0ff; animation: m1 24s ease-in-out infinite alternate; }
.mesh i:nth-child(2) { width: 40vw; height: 40vw; right: -8vw; top: 6vh; background: #c8f3e6; animation: m2 28s ease-in-out infinite alternate; }
.mesh i:nth-child(3) { width: 36vw; height: 36vw; left: 30vw; top: 40vh; background: #e2dbff; animation: m3 32s ease-in-out infinite alternate; }
.mesh i:nth-child(4) { width: 30vw; height: 30vw; right: 10vw; bottom: -10vw; background: #d4ecff; animation: m1 36s ease-in-out infinite alternate-reverse; }
@keyframes m1 { to { transform: translate(10vw, 8vh) scale(1.1); } }
@keyframes m2 { to { transform: translate(-12vw, 10vh) scale(1.15); } }
@keyframes m3 { to { transform: translate(-8vw, -12vh) scale(.92); } }

/* ---------- status bar ---------- */
.statusbar { position: relative; z-index: 60; background: var(--ink); color: #c9cfdc; font-size: 13px; }
.statusbar__inner { display: flex; align-items: center; gap: 14px; min-height: 40px; }
.statusbar__pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(240, 169, 27, 0.16);
  color: #ffcf6b;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.statusbar__pill i { width: 6px; height: 6px; border-radius: 50%; background: #ffcf6b; animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.statusbar__link { margin-left: auto; color: #fff; font-weight: 500; white-space: nowrap; }
.statusbar__link:hover { color: #8ff0dc; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn__arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }
.btn--accent {
  color: #fff;
  background: var(--grad);
  background-size: 160% 100%;
  box-shadow: 0 12px 30px -12px rgba(15, 181, 156, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--accent:hover { background-position: 100% 0; box-shadow: 0 18px 40px -14px rgba(63, 168, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--glass { background: var(--glass-2); color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.btn--glass:hover { background: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1d2436; }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn--outline-light:hover { border-color: #fff; }
.btn--outline-light.is-copied { border-color: #8ff0dc; color: #8ff0dc; }
.btn--sm { padding: 11px 18px; font-size: 14px; }

/* ---------- nav (floating glass pill) ---------- */
.nav { position: sticky; top: 14px; z-index: 50; padding: 0 var(--gutter); margin-top: 14px; }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 8px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px) rotate(-6deg); }
.brand__name { display: flex; flex-direction: column; font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1; letter-spacing: -0.02em; }
.brand__name small { margin-top: 3px; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(13, 18, 32, 0.05); }
.burger { display: none; position: relative; width: 42px; height: 42px; margin-left: auto; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.nav.is-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  max-width: 1040px;
  margin: 8px auto 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.mobile-menu a:not(.btn) { padding: 13px 10px; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }
.nav.is-open .mobile-menu { display: flex; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 9vw, 100px); text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: var(--glass-2);
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(15, 181, 156, 0.15); }
.hero__title {
  margin-top: 28px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(46px, 9.4vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.hero__title .w { display: inline-block; }
.hero__lead { max-width: 600px; margin-top: 28px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }

.rise { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.is-ready .rise { opacity: 1; transform: none; filter: none; }

/* 3D stage */
.stage { position: relative; height: clamp(320px, 44vw, 560px); margin-top: clamp(8px, 2vw, 24px); }
#knot { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__fallback {
  position: absolute;
  left: 50%; top: 50%;
  width: min(46vw, 420px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 120deg, #9ff2df, #bfe0ff, #e2dbff, #9ff2df);
  filter: blur(30px);
  opacity: .9;
  transition: opacity .8s;
}
.has-3d .stage__fallback { opacity: 0; }
.float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float i {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-style: normal;
  font-size: 13px;
}
.float--a { left: 12%; top: 18%; }
.float--b { right: 11%; top: 26%; animation-delay: -1.5s; }
.float--c { left: 17%; bottom: 16%; animation-delay: -3s; }
.float--d { right: 15%; bottom: 10%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.ticker {
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: #3b4357; }
.ticker__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 11vw, 150px) 0; }
.section--tint { background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55) 20%, rgba(255, 255, 255, 0.55) 80%, rgba(255, 255, 255, 0)); }
.head { margin-bottom: clamp(44px, 6vw, 72px); }
.head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.head__sub { max-width: 520px; margin-top: 18px; color: var(--muted); }
.kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 181, 156, 0.1);
  color: #0a8f7c;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.kicker--light { background: rgba(255, 255, 255, 0.12); color: #8ff0dc; }
.h2 { margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5.2vw, 70px); line-height: 1; letter-spacing: -0.045em; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.svc {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r);
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease), box-shadow .5s, opacity .9s var(--ease);
}
.svc.reveal:not(.is-visible) { transform: translateY(26px); }
.svc:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 30px 60px -30px rgba(31, 45, 80, 0.45); }
.svc--feat { background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(220, 244, 238, 0.7)); }
.svc__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px -12px rgba(31, 45, 80, 0.35);
}
.svc__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc__icon .a { stroke: var(--accent); stroke-width: 2; }
.svc__icon .af { fill: var(--accent); stroke: none; }
.svc h3 { margin-top: 32px; font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.svc p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.svc ul { list-style: none; display: grid; gap: 9px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.svc li { position: relative; padding-left: 26px; }
.svc li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(15, 181, 156, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%230fb59c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* approach */
.flow { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%; top: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 181, 156, 0.45), rgba(63, 168, 255, 0.45), rgba(155, 140, 255, 0.45), transparent);
}
.flow__step { position: relative; text-align: center; padding: 0 12px; }
.flow__n {
  position: relative;
  display: inline-grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
}
.flow__step h3 { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; }
.flow__step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 64px; }
.value { padding: 22px 24px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 18px; background: var(--glass); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.value b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.value span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* build board */
.board { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: stretch; }
.ring {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 24px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.ring::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(63, 168, 255, 0.35), transparent 65%); filter: blur(20px); }
.ring svg { position: relative; width: 180px; height: 180px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring__bg { stroke: rgba(255, 255, 255, 0.1); }
.ring__fg { stroke: url(#ssG); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease); }
.ring__dial { position: relative; width: 180px; height: 180px; }
.ring__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring__label b { font-family: var(--display); font-weight: 600; font-size: 48px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ring__label span { margin-top: 4px; font-family: var(--mono); font-size: 11px; color: #a9b1c3; }
.ring__ver { position: relative; margin-top: 18px; font-family: var(--mono); font-size: 12px; color: #a9b1c3; }
.ring__ver b { color: #ffcf6b; font-weight: 500; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.col { padding: 16px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r); background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.col__head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 14px; font-weight: 600; font-size: 14px; }
.col__head span { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: rgba(13, 18, 32, 0.06); font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--muted); }
.st { width: 9px; height: 9px; border-radius: 50%; }
.st--done { background: var(--done); }
.st--wip { background: var(--wip); animation: blink 1.4s steps(1) infinite; }
.st--next { background: transparent; border: 1.5px dashed var(--next); }
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px -14px rgba(31, 45, 80, 0.4);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.card + .card { margin-top: 10px; }
.card:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 16px 30px -16px rgba(31, 45, 80, 0.45); }
.card b { font-size: 15px; font-weight: 600; }
.card span { font-size: 13px; color: var(--muted); }
.card em { margin-top: 8px; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--done); }
.card--next { background: rgba(255, 255, 255, 0.5); border: 1.5px dashed var(--line-2); box-shadow: none; }
.card--next em { color: var(--dim); }
.bar { display: block; height: 5px; margin-top: 10px; border-radius: 5px; background: var(--bg-2); overflow: hidden; }
.bar s { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #f0a91b, #ffcf6b); transition: width 1.6s var(--ease) .3s; }
.col.is-visible .bar s { width: calc(var(--p) * 100%); }

/* contact */
.contact { padding-top: 20px; }
.cta {
  position: relative;
  padding: clamp(36px, 7vw, 90px);
  border-radius: 32px;
  background: radial-gradient(120% 140% at 0% 0%, #123a4a 0%, #0d1220 55%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta__glow { position: absolute; z-index: -1; inset: auto -10% -60% -10%; height: 120%; background: conic-gradient(from 180deg at 50% 100%, rgba(15, 181, 156, 0.0), rgba(15, 181, 156, 0.45), rgba(63, 168, 255, 0.45), rgba(155, 140, 255, 0.45), rgba(15, 181, 156, 0)); filter: blur(60px); animation: glow 14s ease-in-out infinite alternate; }
@keyframes glow { to { transform: rotate(8deg) scale(1.1); } }
.cta__title { margin-top: 20px; font-family: var(--display); font-weight: 600; font-size: clamp(32px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.045em; }
.cta__mail { display: inline-block; margin-top: 30px; font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2.8vw, 34px); letter-spacing: -0.03em; color: #8ff0dc; border-bottom: 1px solid rgba(143, 240, 220, 0.35); padding-bottom: 4px; transition: border-color .3s; word-break: break-all; }
.cta__mail:hover { border-color: #8ff0dc; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.cta__meta { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; color: #dfe5f0; }
.cta__meta span { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #8b94a8; }

/* footer */
.footer { padding: 64px 0 24px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 32px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r); background: var(--glass); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.footer__brand p { margin-top: 14px; max-width: 280px; font-size: 14px; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer__col h4 { margin-bottom: 4px; font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); }
.footer__col a, .footer__col address { width: fit-content; color: var(--muted); font-style: normal; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__legal { padding: 22px 8px 0; font-size: 13px; color: var(--muted); }
.footer__legal p:first-child { max-width: 820px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; color: var(--dim); }
.to-top:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .board { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow::before { display: none; }
  .values, .cols { grid-template-columns: 1fr; }
  .float--a, .float--d { display: none; }
  .float--b { right: 4%; top: 10%; }
  .float--c { left: 4%; bottom: 8%; }
}
@media (max-width: 560px) {
  .statusbar__text { display: none; }
  .flow { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; padding: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .float { font-size: 12px; padding: 8px 12px 8px 8px; }
  .float i { width: 22px; height: 22px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .rise { opacity: 1; transform: none; filter: none; }
}

/* ---------- legal pages ---------- */
.legal-hero { padding: clamp(56px, 8vw, 96px) 0 40px; text-align: center; }
.legal-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs b { font-weight: 400; color: var(--ink); }
.legal-hero h1 { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6.4vw, 88px); line-height: 0.98; letter-spacing: -0.045em; }
.legal-hero p { max-width: 600px; margin-top: 16px; font-size: 17px; color: var(--muted); }
.doc-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.doc-meta span { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 999px; background: var(--glass-2); box-shadow: var(--shadow); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legal-tabs { display: flex; gap: 4px; max-width: 100%; width: max-content; margin-top: 28px; padding: 5px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 999px; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(14px); box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.legal-tabs::-webkit-scrollbar { display: none; }
.legal-tabs a { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.legal-tabs a:hover { color: var(--ink); background: rgba(13, 18, 32, 0.05); }
.legal-tabs a[aria-current="page"] { background: var(--ink); color: #fff; }

.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding-top: 24px; padding-bottom: 40px; }
.doc-toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 130px); overflow-y: auto; padding: 18px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r); background: var(--glass); backdrop-filter: blur(14px); box-shadow: var(--shadow); scrollbar-width: thin; }
.doc-toc__label { margin-bottom: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); }
.doc-toc ol { list-style: none; }
.doc-toc a { display: flex; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--muted); transition: color .2s, background .2s; }
.doc-toc a span { font-family: var(--mono); font-size: 11px; color: var(--dim); padding-top: 2px; }
.doc-toc a:hover { color: var(--ink); background: rgba(13, 18, 32, 0.04); }
.doc-toc a.is-active { color: #0a8f7c; background: rgba(15, 181, 156, 0.1); }
.doc-toc a.is-active span { color: var(--accent); }

.doc-body { min-width: 0; max-width: 800px; }
.summary { padding: 26px 28px; border-radius: var(--r); background: radial-gradient(120% 140% at 0% 0%, #123a4a 0%, #0d1220 60%); color: #fff; }
.summary__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #8ff0dc; }
.summary ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.summary li { position: relative; padding-left: 26px; color: #e6ebf3; }
.summary li::before { content: "✓"; position: absolute; left: 0; font-family: var(--mono); font-size: 13px; color: #8ff0dc; }
.summary__note { margin-top: 16px; font-size: 13px; color: #8b94a8; }
.summary a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }

.doc-sec { margin-top: 16px; padding: 30px 32px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r); background: var(--glass); backdrop-filter: blur(14px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.doc-sec h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.03em; line-height: 1.2; }
.doc-sec__num { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--accent); }
.doc { color: #333a4b; font-size: 16px; line-height: 1.75; }
.doc > * + * { margin-top: 14px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: #0a8f7c; border-bottom: 1px solid rgba(15, 181, 156, 0.35); }
.doc a:hover { border-color: var(--accent); }
.doc ul, .doc ol { list-style: none; display: grid; gap: 8px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 3px; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.doc ol { counter-reset: n; }
.doc ol li { position: relative; padding-left: 36px; counter-increment: n; }
.doc ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0.2em; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.table-wrap { overflow-x: auto; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px -16px rgba(31, 45, 80, 0.4); }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.doc th { padding: 12px 16px; text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: #f4f6f9; }
.doc td { padding: 14px 16px; vertical-align: top; border-top: 1px solid var(--line); }
.doc td:first-child { color: var(--ink); font-weight: 500; }
.details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.details div { padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px -16px rgba(31, 45, 80, 0.4); }
.details .details__wide { grid-column: 1 / -1; }
.details--single { grid-template-columns: 1fr; }
.details dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.details dd { margin-top: 5px; color: var(--ink); line-height: 1.5; }
.details a { color: #0a8f7c; border-bottom: 1px solid rgba(15, 181, 156, 0.35); }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.doc-pager a { display: flex; flex-direction: column; gap: 5px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r); background: var(--glass); box-shadow: var(--shadow); font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; transition: background .3s, transform .4s var(--ease); }
.doc-pager a span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--dim); }
.doc-pager a:hover { background: #fff; transform: translateY(-2px); }
.doc-pager__next { text-align: right; }

.legal-hub { padding-bottom: 40px; }
.legal-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.legal-card { display: flex; flex-direction: column; min-height: 260px; padding: 26px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r); background: var(--glass); backdrop-filter: blur(14px); box-shadow: var(--shadow); transition: transform .5s var(--ease), background .3s; }
.legal-card:hover { transform: translateY(-5px); background: #fff; }
.legal-card__num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.legal-card h2 { margin-top: 40px; font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: -0.03em; line-height: 1.1; }
.legal-card p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.legal-card__meta { display: flex; justify-content: space-between; margin-top: auto; padding-top: 20px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.legal-card__meta b { font-weight: 400; color: var(--accent); transition: transform .35s var(--ease); }
.legal-card:hover .legal-card__meta b { transform: translateX(4px); }
.hub-facts { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 64px); margin-top: 64px; align-items: start; }
.hub-facts__head h2 { margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.04em; line-height: 1.05; }
.hub-facts__head p:last-child { margin-top: 12px; color: var(--muted); }

@media (max-width: 1024px) { .legal-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; max-height: 260px; }
  .hub-facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .legal-cards, .doc-pager, .details { grid-template-columns: 1fr; }
  .doc-pager__next { text-align: left; }
  .doc-sec { padding: 22px 20px; }
}
