:root {
  --ink: #07131f;
  --panel: #0c1d2d;
  --line: #1e3850;
  --text: #eaf3f8;
  --muted: #9db1c1;
  --cyan: #38d6c7;
  --blue: #4f8cff;
  --red: #e13b47;
  --paper: #f4f7f9;
  --dark: #050b11;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font:
    16px/1.65 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 11, 17, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--cyan);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--cyan);
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
}
.nav-actions {
  display: flex;
  gap: 9px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 750;
  font-size: 0.9rem;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
}
.btn-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #03110f;
}
.btn-danger {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  color: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 82px;
  background:
    radial-gradient(
      circle at 78% 25%,
      rgba(79, 140, 255, 0.18),
      transparent 29%
    ),
    linear-gradient(180deg, #081522, #050b11);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 214, 199, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 214, 199, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin: 18px 0 24px;
}
.hero p,
.page-hero p {
  color: var(--muted);
  font-size: 1.13rem;
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.network {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(12, 29, 45, 0.58);
  padding: 28px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.node {
  position: absolute;
  border: 1px solid #2c5570;
  background: #0a1b29;
  border-radius: 12px;
  padding: 10px 14px;
  color: #cce2ef;
  font-size: 0.78rem;
}
.node:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 12px var(--cyan);
}
.node.core {
  left: 37%;
  top: 43%;
  padding: 20px;
  border-color: var(--cyan);
}
.node.n1 {
  left: 8%;
  top: 12%;
}
.node.n2 {
  right: 8%;
  top: 17%;
}
.node.n3 {
  left: 7%;
  bottom: 15%;
}
.node.n4 {
  right: 7%;
  bottom: 12%;
}
.network svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.trust {
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 10px;
  font-size: 0.76rem;
  color: var(--muted);
}
.trust strong {
  color: white;
  display: block;
}
.section {
  padding: 88px 0;
}
.section.alt {
  background: #08121c;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: end;
  margin-bottom: 36px;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 10px 0;
}
.section-head p {
  max-width: 520px;
  color: var(--muted);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card:hover {
  border-color: #35627b;
}
.card .num {
  color: var(--cyan);
  font: 800 0.75rem/1 monospace;
}
.card h3 {
  margin: 18px 0 8px;
  font-size: 1.18rem;
}
.card p,
.muted {
  color: var(--muted);
}
.tag {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.page-hero {
  padding: 82px 0 62px;
  background: linear-gradient(135deg, #091a29, #050b11);
}
.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  max-width: 920px;
}
.article {
  width: min(820px, calc(100% - 40px));
  margin: auto;
  padding: 70px 0;
}
.article h2 {
  margin-top: 42px;
  font-size: 1.75rem;
}
.article h3 {
  margin-top: 28px;
}
.article p,
.article li {
  color: #c3d2dc;
}
.article a {
  color: var(--cyan);
  text-decoration: underline;
}
.article .notice {
  border-left: 3px solid var(--cyan);
  background: var(--panel);
  padding: 18px 22px;
  margin: 30px 0;
}
.legal h2 {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.placeholder {
  color: #ff8f98;
  font-weight: 750;
}
.osi-wrap {
  display: grid;
  grid-template-columns: 1fr 110px 110px;
  gap: 12px;
}
.osi-stack {
  display: grid;
  gap: 9px;
}
.osi-layer {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
}
.osi-layer b {
  color: var(--cyan);
  font-size: 1.35rem;
}
.axis {
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    rgba(56, 214, 199, 0.15),
    rgba(79, 140, 255, 0.12)
  );
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.quiz {
  display: grid;
  gap: 14px;
}
.question {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.question p {
  margin-top: 0;
  font-weight: 700;
}
.choices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.choices label {
  cursor: pointer;
}
.choices input {
  position: absolute;
  opacity: 0;
}
.choices span {
  display: block;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
}
.choices input:checked + span {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04110f;
}
.result {
  display: none;
  margin-top: 22px;
  border: 1px solid var(--cyan);
  background: #09251f;
  border-radius: 16px;
  padding: 24px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 55px 0 30px;
  background: #03070b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 35px;
}
.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}
.fine {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 20px;
  color: #728695;
  font-size: 0.78rem;
}
.cookie-banner {
  position: fixed;
  z-index: 30;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 760px;
  margin: auto;
  background: #102638;
  border: 1px solid #31526b;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 15px 50px #000;
  display: none;
}
.cookie-banner .row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-banner p {
  margin: 0;
  color: #c5d5df;
  font-size: 0.88rem;
}
.cookie-banner .actions {
  display: flex;
  gap: 7px;
  margin-left: auto;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 100;
  background: white;
  color: black;
  padding: 8px;
}
@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .nav.open {
    flex-wrap: wrap;
    padding-bottom: 16px;
  }
  .nav.open .nav-links,
  .nav.open .nav-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .network {
    min-height: 350px;
  }
  .section-head {
    display: block;
  }
  .osi-wrap {
    grid-template-columns: 1fr 54px 54px;
  }
  .cookie-banner .row {
    display: block;
  }
  .cookie-banner .actions {
    margin-top: 12px;
  }
}
@media (max-width: 560px) {
  .container {
    width: min(100% - 26px, 1160px);
  }
  .hero {
    padding-top: 72px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .trust-row {
    grid-template-columns: 1fr;
  }
  .nav-actions {
    gap: 7px;
  }
  .osi-layer {
    grid-template-columns: 42px 1fr;
  }
  .axis {
    font-size: 0.72rem;
  }
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie-banner .actions {
    flex-wrap: wrap;
  }
}
