/* Inter, latin-ext (variable; SIL Open Font License 1.1) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter, latin (variable; SIL Open Font License 1.1) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono, latin-ext (variable; SIL Open Font License 1.1) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono, latin (variable; SIL Open Font License 1.1) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0d0f13;
  --bg2: #13161c;
  --card: #171a21;
  --line: #262a33;
  --text: #eef0f3;
  --muted: #a3a8b3;
  --dim: #6d7380;
  --accent: #3987e5;
  --accent2: #5aa2ff;
  --teal: #2cc3b0;
  --amber: #f0b44c;
  --radius: 16px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
main, .nav, .foot { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
em { font-style: normal; background: linear-gradient(90deg, var(--accent2), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
.nav {
  position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(13, 15, 19, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.05); z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand .mark { width: 28px; height: 28px; color: var(--muted); }
.nav nav { display: flex; gap: 26px; align-items: center; font-size: 15px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
.lang { border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; font-size: 14px; color: var(--text); }
.lang:hover { border-color: var(--accent); }
.langmenu { position: relative; }
.langmenu summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; font-size: 14px; color: var(--text); }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary::after { content: ""; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--muted); }
.langmenu[open] summary::after { transform: rotate(180deg); }
.langmenu summary:hover, .langmenu[open] summary { border-color: var(--accent); }
.langmenu img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.langmenu ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.45); z-index: 30; }
.langmenu li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text); font-size: 14px; }
.langmenu li a:hover, .langmenu li a:focus-visible { background: var(--bg2); }
.langmenu li a[aria-current] { background: rgba(57,135,229,.16); }
.langmenu li span { color: var(--muted); }

/* hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 80px 16px 60px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: calc(100vh - 64px);
}
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(44,195,176,.35); background: rgba(44,195,176,.08); color: #9be8de; font-size: 14px; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(44,195,176,.7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(44,195,176,.6); } 80%,100% { box-shadow: 0 0 0 10px rgba(44,195,176,0); } }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; margin: 22px 0 22px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 16px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn.primary { background: linear-gradient(135deg, var(--accent), #2463c9); color: #fff; box-shadow: 0 10px 30px -10px rgba(57,135,229,.7); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(57,135,229,.9); }
.btn.ghost { border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.btn.ghost:hover { border-color: var(--accent); }
.hero-art { position: relative; }
.orbit { width: 100%; max-width: 560px; display: block; margin: 0 auto; overflow: visible; }
.ring { fill: none; stroke: #2a3140; stroke-width: 1.2; }
.ring.r2 { stroke-dasharray: 3 7; }
.ring.r3 { stroke: #1f2532; }
.spokes use { stroke: #2b3b55; stroke-width: 1.2; stroke-dasharray: 2 6; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -64; } }
.node { fill: var(--accent2); filter: drop-shadow(0 0 6px rgba(90,162,255,.8)); }
.node.teal { fill: var(--teal); filter: drop-shadow(0 0 6px rgba(44,195,176,.8)); }
.node.dim { fill: #44506a; filter: none; }
.chain { fill: #182235; stroke: var(--accent2); stroke-width: 1.5; }
.spin { transform-origin: 300px 300px; animation: spin 60s linear infinite; }
.spin.rev { animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.pk { fill: #bcd8ff; filter: drop-shadow(0 0 4px #5aa2ff); }
.pk.t { fill: #a5f0e6; filter: drop-shadow(0 0 4px #2cc3b0); }
.pulse { transform-origin: 300px 300px; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .6; } }
.hub { filter: drop-shadow(0 10px 30px rgba(57,135,229,.5)); }
.hubtxt { font: 700 16px Inter, sans-serif; letter-spacing: .2em; fill: #fff; }

/* strip */
.strip {
  max-width: var(--max); margin: 0 auto 40px; padding: 0 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: transparent;
}
.strip div { padding: 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.strip b { font-size: 22px; font-weight: 700; }
.strip span { color: var(--muted); font-size: 15px; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 110px 16px 40px; }
.head { max-width: 760px; margin-bottom: 54px; }
.kick { color: var(--accent2); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; margin-top: 12px; }
.sub { color: var(--muted); font-size: 19px; margin-top: 18px; }

/* layers */
.layers { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.layers-art svg { width: 100%; max-width: 520px; display: block; margin: 0 auto; overflow: visible; }
.iso.top.a { fill: #2a6fd6; } .iso.l.a { fill: #1e55a8; } .iso.r.a { fill: #184589; }
.iso.top.b { fill: #22a897; } .iso.l.b { fill: #19806f; } .iso.r.b { fill: #136558; }
.iso.top.c { fill: #e3a93f; } .iso.l.c { fill: #b5832c; } .iso.r.c { fill: #8f6722; }
.float { animation: float 5s ease-in-out infinite; }
.float.f2 { animation-delay: -1.6s; } .float.f3 { animation-delay: -3.1s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.plate { font: 700 15px Inter, sans-serif; letter-spacing: .22em; fill: #fff; }
.gn { fill: var(--teal); animation: blink 3s ease-in-out infinite; }
.gn.d1 { animation-delay: -.5s; } .gn.d2 { animation-delay: -1s; } .gn.d3 { animation-delay: -1.5s; } .gn.d4 { animation-delay: -2s; } .gn.d5 { animation-delay: -2.5s; }
@keyframes blink { 50% { opacity: .35; } }
.beams line { stroke: #8fc1ff; stroke-width: 2; stroke-dasharray: 4 8; animation: dash 2.4s linear infinite; opacity: .8; }
.layer-cards { display: flex; flex-direction: column; gap: 18px; }
.lc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; transition: border-color .3s, transform .3s; }
.lc:hover { border-color: #3a4560; transform: translateX(4px); }
.lc h3 { font-size: 21px; margin: 10px 0 8px; }
.lc p { color: var(--muted); font-size: 16px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.tag.a { background: rgba(227,169,63,.14); color: #f3c472; }
.tag.b { background: rgba(57,135,229,.15); color: #8fc1ff; }
.tag.c { background: rgba(44,195,176,.14); color: #7fe3d6; }

/* services */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  position: relative; background: linear-gradient(180deg, #181c24, var(--card)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.svc::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(400px 160px at 50% -40px, rgba(57,135,229,.18), transparent 70%); pointer-events: none; }
.svc:hover { transform: translateY(-4px); border-color: #3a4560; }
.svc h3 { font-size: 20px; }
.svc p { color: var(--muted); font-size: 15.5px; flex: 1; }
.ico { width: 52px; height: 52px; margin-bottom: 6px; }
.st { fill: none; stroke: var(--accent2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.st.dim { stroke: #3c4a63; }
.fa { fill: var(--teal); }
.fa.dim { fill: #3c4a63; }
.fa2 { fill: rgba(44,195,176,.2); stroke: var(--teal); stroke-width: 2.4; }
.svc:hover .fa { animation: blink 1.2s ease-in-out infinite; }
.status { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.status.ok { background: rgba(44,195,176,.12); color: #7fe3d6; }
.status.later { background: rgba(240,180,76,.12); color: #f3c472; }

/* how */
.flow { position: relative; }
.flowline { position: absolute; left: 0; right: 0; top: 30px; width: 100%; height: 20px; }
.flowline line { stroke: #2b3b55; stroke-width: 2; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.runner { fill: var(--teal); filter: drop-shadow(0 0 6px var(--teal)); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.sicon { width: 64px; height: 64px; border-radius: 18px; background: #151b26; border: 1px solid #2b3b55; display: grid; place-items: center; margin-bottom: 8px; transition: transform .3s, border-color .3s; }
.steps li:hover .sicon { transform: scale(1.08); border-color: var(--accent); }
.sicon svg { width: 34px; height: 34px; }
.n { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--dim); }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 15px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.pr { padding: 24px 26px; border-left: 3px solid var(--accent); background: rgba(57,135,229,.06); border-radius: 0 12px 12px 0; }
.pr b { font-size: 18px; display: block; margin-bottom: 6px; }
.pr p { color: var(--muted); font-size: 15.5px; }

/* who */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s, border-color .3s; }
.wc:hover { transform: translateY(-4px); border-color: #3a4560; }
.wart { width: 100%; height: auto; background: #12161e; border-radius: 12px; margin-bottom: 20px; padding: 8px; }
.bars rect { fill: var(--accent); transform-box: fill-box; transform-origin: bottom; animation: grow 2.4s ease-in-out infinite; }
.bars rect:nth-child(2) { animation-delay: -.4s; } .bars rect:nth-child(3) { animation-delay: -.8s; } .bars rect:nth-child(4) { animation-delay: -1.2s; } .bars rect:nth-child(5) { animation-delay: -1.6s; fill: var(--teal); }
@keyframes grow { 50% { transform: scaleY(.55); } }
.led { fill: var(--teal); animation: blink 1.1s steps(2) infinite; }
.led.l2 { animation-delay: -.35s; } .led.l3 { animation-delay: -.7s; }
.chainlinks rect { animation: float 3.4s ease-in-out infinite; }
.chainlinks rect:nth-child(2) { animation-delay: -1.1s; } .chainlinks rect:nth-child(3) { animation-delay: -2.2s; }
.wc h3 { font-size: 21px; margin-bottom: 8px; }
.wc > p { color: var(--muted); font-size: 15.5px; }
.wc ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.wc li { position: relative; padding-left: 22px; font-size: 15px; color: #cfd3da; }
.wc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--teal); }

/* roadmap */
.timeline { position: relative; padding: 10px 0; }
.tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.tl-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--teal), var(--accent)); transition: height .2s linear; box-shadow: 0 0 12px rgba(44,195,176,.6); }
.tl-item { position: relative; width: 50%; padding: 14px 44px; }
.tl-item.l { margin-right: 50%; text-align: right; }
.tl-item.r { margin-left: 50%; }
.tl-dot { position: absolute; top: 34px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid #3d4556; }
.tl-item.l .tl-dot { right: -8px; } .tl-item.r .tl-dot { left: -8px; }
.tl-card { display: inline-block; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; max-width: 460px; transition: border-color .3s, transform .3s; }
.tl-card:hover { transform: translateY(-3px); border-color: #3a4560; }
.tl-date { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--accent2); }
.tl-card h3 { font-size: 20px; margin: 6px 0 6px; }
.tl-card p { color: var(--muted); font-size: 15px; }
.tl-item.done .tl-dot { background: var(--teal); border-color: var(--teal); }
.tl-item.now .tl-dot { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 0 rgba(44,195,176,.6); animation: ping 2s infinite; }
.tl-item.now .tl-card { border-color: rgba(44,195,176,.5); background: linear-gradient(180deg, rgba(44,195,176,.08), var(--card)); }
.tl-item.now .tl-date::after { content: " · now"; color: var(--teal); }
html[lang="sr"] .tl-item.now .tl-date::after { content: " · sada"; }
html[lang="de"] .tl-item.now .tl-date::after { content: " · jetzt"; }
.tl-item.key .tl-dot { border-color: var(--accent); background: var(--accent); width: 20px; height: 20px; top: 32px; }
.tl-item.l.key .tl-dot { right: -10px; } .tl-item.r.key .tl-dot { left: -10px; }
.tl-item.key .tl-card { border-color: rgba(57,135,229,.45); }
.tl-item.key h3 { font-size: 24px; }
.after { margin-top: 50px; text-align: center; }
.after h3 { font-size: 20px; margin-bottom: 18px; color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips span { padding: 8px 16px; border-radius: 999px; border: 1px dashed #3a4560; color: #cfd3da; font-size: 14.5px; }
.note { color: var(--dim); font-size: 14px; margin-top: 26px; max-width: 720px; margin-left: auto; margin-right: auto; }
.note.center { text-align: center; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; display: flex; flex-direction: column; gap: 6px; }
.num { font-size: 50px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #9cc6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span:last-child { color: var(--muted); font-size: 15px; }

/* final */
.final { position: relative; max-width: var(--max); margin: 120px auto 0; padding: 90px 24px; text-align: center; border-radius: 28px; overflow: hidden;
  background: radial-gradient(800px 300px at 50% 0%, rgba(57,135,229,.25), transparent 70%), #121722; border: 1px solid #243045; }
.final-art { position: absolute; left: 0; bottom: 0; width: 100%; height: 60%; opacity: .6; }
.wave { fill: none; stroke-width: 2; stroke-dasharray: 8 10; animation: dash 8s linear infinite; }
.wave.w1 { stroke: var(--accent); } .wave.w2 { stroke: var(--teal); animation-duration: 11s; }
.final h2 { position: relative; font-size: clamp(28px, 4vw, 46px); font-weight: 800; max-width: 760px; margin: 0 auto; }
.final .sub { position: relative; max-width: 620px; margin: 18px auto 32px; }
.final .btn { position: relative; }

/* footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 60px 16px 40px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.brand.small .mark { width: 22px; height: 22px; }
.disc { color: var(--dim); font-size: 13.5px; margin-top: 20px; max-width: 860px; }
.copy { color: var(--dim); font-size: 13px; margin-top: 12px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 50px; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .layers { grid-template-columns: 1fr; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .steps li .sicon { grid-row: span 3; margin: 0; }
  .flowline { display: none; }
  .principles, .who { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .tl-line { left: 9px; }
  .tl-item, .tl-item.l, .tl-item.r { width: 100%; margin: 0; padding: 12px 0 12px 40px; text-align: left; }
  .tl-item.l .tl-dot, .tl-item.r .tl-dot { left: 1px; right: auto; }
  .tl-item.l.key .tl-dot, .tl-item.r.key .tl-dot { left: -1px; }
  .tl-card { max-width: none; display: block; }
}
@media (max-width: 640px) {
  .nav nav a:not(.lang) { display: none; }
  .nav nav .langmenu li a { display: flex; }
  .cards4, .stats { grid-template-columns: 1fr; }
  .section { padding-top: 80px; }
  .final { margin: 80px 16px 0; padding: 60px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* discord */
.dc { width: 18px; height: 18px; flex: none; }
.nav .discord { display: inline-flex; align-items: center; gap: 7px; color: #c7cbff; }
.nav .discord:hover { color: #fff; }
.btn .dc { margin-right: 9px; }
.cta.center { justify-content: center; position: relative; }
.foot-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.foot-links > a:not(.lang) { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }
.foot-links > a:not(.lang):hover { color: var(--text); }
@media (max-width: 640px) { .nav .discord { display: inline-flex !important; } .nav .discord { font-size: 0; gap: 0; } .nav .discord .dc { width: 22px; height: 22px; } }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; transition: transform .3s, border-color .3s; }
.member:hover { transform: translateY(-3px); border-color: #3a4560; }
.avatar { flex: none; width: 112px; height: 112px; margin-bottom: 14px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 700; font-size: 34px; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--accent), var(--teal)); border: 2px solid var(--line); box-shadow: 0 10px 30px -12px rgba(57,135,229,.8); }
.member h3 { font-size: 19px; }
.member p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.member-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.member-link:hover { color: var(--text); }
.member-link svg { width: 16px; height: 16px; }

/* Network bar: the same links in the same order on every The Only Grid site. */
.tog-bar { position: relative; z-index: 31; font: 500 13px/1 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: color-mix(in srgb, currentColor 4%, transparent); border-bottom: 1px solid color-mix(in srgb, currentColor 9%, transparent); }
.tog-bar-in { max-width: var(--max, 1200px); margin: 0 auto; padding: 0 6px; height: 34px; display: flex; align-items: center; gap: 2px;
  overflow-x: auto; scrollbar-width: none; }
.tog-bar-in::-webkit-scrollbar { display: none; }
.tog-bar a { flex: none; color: inherit; opacity: .66; text-decoration: none; padding: 7px 10px; border-radius: 6px; white-space: nowrap; }
.tog-bar a:hover { opacity: 1; text-decoration: none; background: color-mix(in srgb, currentColor 8%, transparent); }
.tog-bar a[aria-current="page"] { opacity: 1; font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent, #3987e5); border-radius: 0; }
.tog-bar a.tog-home { font-weight: 600; margin-right: 6px; }
@media (max-width: 480px) { .tog-bar { font-size: 12px; } .tog-bar a { padding: 7px 6px; } .tog-bar a.tog-home { margin-right: 0; } }
.foot-portals { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 18px 0 0; font-size: 14px; }
.foot-portals a { color: var(--muted); }
.foot-portals a:hover { color: var(--text); }
