:root {
  --bg: #050506;
  --bg-2: #0c0c0e;
  --bg-3: #141416;
  --fg: #f3f1ec;
  --muted: #8a8a86;
  --line: rgba(243, 241, 236, 0.1);
  --line-strong: rgba(243, 241, 236, 0.22);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Syne", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 22px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

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

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: #fff;
  color: #000;
}

.grain,
.scanlines,
.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.grain {
  z-index: 80;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.18s steps(4) infinite;
}

.scanlines {
  z-index: 81;
  opacity: 0.045;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.45) 2px 3px
  );
}

.vignette {
  z-index: 79;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

@keyframes grain {
  0% { transform: translate(0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0); }
}

.cursor {
  display: none;
}

@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    pointer-events: none;
    mix-blend-mode: difference;
  }
  .cursor span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
  }
  .cursor.is-hover span {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid #fff;
  }
  body,
  a,
  button {
    cursor: none;
  }
}

/* ── stamp ── */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28em 0.55em 0.18em;
  border: 2px solid var(--fg);
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 13px;
  transform: rotate(-2deg);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--fg);
}

.stamp--sm {
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 0.22em 0.45em 0.12em;
}

.redact {
  position: relative;
  display: inline-block;
}

.redact::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  top: 0.12em;
  bottom: 0.08em;
  background: #000;
  box-shadow: 0 0 0 1px #fff2;
  transform-origin: left center;
  animation: censor-flicker 4.5s steps(2, end) infinite;
}

.redact.is-open::after {
  transform: scaleX(0);
}

.redact--inline::after {
  background: #111;
}

@keyframes censor-flicker {
  0%, 86%, 100% { transform: scaleX(1); }
  88% { transform: scaleX(0.15) translateX(40%); }
  90% { transform: scaleX(1); }
  93% { transform: scaleX(0); }
  96% { transform: scaleX(1); }
}

/* ── loader ── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader__stamp {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.42em;
  font-size: clamp(28px, 6vw, 64px);
  border: 3px solid #fff;
  padding: 0.2em 0.35em 0.08em;
  transform: rotate(-3deg);
  animation: stamp-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), glitch-skew 3s infinite;
}

.loader__status,
.loader__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin: 0;
}

.loader__bar {
  width: min(280px, 70vw);
  height: 2px;
  background: #222;
}

.loader__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

@keyframes stamp-in {
  from { transform: rotate(-12deg) scale(1.4); opacity: 0; filter: blur(8px); }
  to { transform: rotate(-3deg) scale(1); opacity: 1; filter: none; }
}

/* ── nav ── */
.nav {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 32px));
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 10px 0 16px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #cfcfc8;
}

.nav__links a:hover {
  color: #fff;
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: #fff;
}

.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }

.nav-mobile {
  display: none;
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 12px 18px 12px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn--sm {
  padding: 8px 12px 8px 16px;
  font-size: 13px;
}

.btn--lg {
  padding: 16px 22px 16px 26px;
  font-size: 16px;
}

.btn--solid {
  background: #fff;
  color: #111;
}

.btn--solid:hover {
  background: #e8e8e4;
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn__arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 13px;
}

.btn--solid .btn__arrow {
  background: #111;
  color: #fff;
}

/* ── hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px 24px 80px;
  text-align: center;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero__title .line {
  display: block;
}

.hero__title .italic {
  font-style: italic;
}

.hero__title-censor .redact::after {
  background: #000;
  box-shadow: inset 0 0 0 1px #fff3, 0 8px 30px #000;
}

.hero__lead {
  max-width: 520px;
  margin: 28px auto 0;
  color: #c5c5bf;
  font-size: 17px;
}

.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 24px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero__scroll::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 36px;
  margin-left: 12px;
  background: linear-gradient(#fff, transparent);
  vertical-align: middle;
  animation: scroll-line 1.6s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── marquee ── */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: #000;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 16px 0;
  animation: marquee 32s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee span {
  color: #fff;
}

.marquee i {
  font-style: normal;
  color: #555;
  padding: 3px 8px;
  background: #111;
  border: 1px solid #222;
}

.marquee i.ok {
  color: #111;
  background: #fff;
  border-color: #fff;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── sections ── */
.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 40px;
}

.section__head {
  margin-bottom: 56px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.section h2 em {
  font-style: italic;
  color: #cfcfc8;
}

.section__sub {
  max-width: 480px;
  color: var(--muted);
  margin: 18px 0 0;
}

/* ── about ── */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.about__copy p {
  font-size: 18px;
  color: #d2d2cc;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.checklist li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  color: #cfcfc8;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 12px;
  height: 1px;
  background: #fff;
}

.demo-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
}

.demo-card__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.demo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
}

.demo-toggle i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
}

body.vpn-on .demo-toggle {
  background: #fff;
  color: #111;
  border-color: #fff;
}

body.vpn-on .demo-toggle i {
  background: #111;
  box-shadow: 0 0 8px #111;
}

.feed {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.feed li {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.feed s {
  text-decoration: none;
  background: #000;
  color: transparent;
  padding: 0 8px;
  letter-spacing: 0.2em;
  box-shadow: inset 0 0 0 1px #222;
}

.feed b {
  font-weight: 500;
  color: transparent;
  filter: blur(5px);
  transition: 0.45s ease;
}

body.vpn-on .feed s {
  background: transparent;
  color: #666;
  box-shadow: none;
  text-decoration: line-through;
}

body.vpn-on .feed b {
  color: #fff;
  filter: none;
  animation: unglitch 0.45s steps(3);
}

@keyframes unglitch {
  0% { clip-path: inset(40% 0 20% 0); transform: translate(-6px, 2px); }
  40% { clip-path: inset(10% 0 60% 0); transform: translate(5px, -1px); }
  100% { clip-path: none; transform: none; }
}

.demo-card__hint {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 13px;
}

/* ── bento ── */
.bento__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tile {
  background: linear-gradient(180deg, #121214, #0a0a0c);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s;
}

.tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.tile--wide {
  grid-column: span 2;
}

.tile__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.tile h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.tile p {
  margin: 0;
  color: #b7b7b1;
  font-size: 15px;
}

.circuit {
  width: 100%;
  height: 120px;
  margin-top: 28px;
}

.circuit__path {
  stroke: #2a2a2e;
  stroke-width: 1.5;
}

.circuit__path--2 {
  stroke: #1c1c20;
}

.pulse {
  fill: #fff;
  filter: drop-shadow(0 0 6px #fff);
}

.pulse--dim {
  fill: #888;
}

.device-row {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.device-row span {
  width: 42px;
  height: 64px;
  border-radius: 10px;
  border: 1px solid #fff;
  background: #fff1;
}

.device-row .ghost {
  border-style: dashed;
  border-color: #333;
  background: transparent;
}

.lte-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
  margin-top: 36px;
}

.lte-bars i {
  width: 18px;
  background: #fff;
  animation: bars 1.6s ease-in-out infinite;
}

.lte-bars i:nth-child(1) { height: 22%; animation-delay: 0s; }
.lte-bars i:nth-child(2) { height: 38%; animation-delay: 0.1s; }
.lte-bars i:nth-child(3) { height: 58%; animation-delay: 0.2s; }
.lte-bars i:nth-child(4) { height: 78%; animation-delay: 0.3s; }
.lte-bars i:nth-child(5) { height: 100%; animation-delay: 0.4s; opacity: 0.35; }

@keyframes bars {
  50% { transform: scaleY(0.7); }
}

.big-num {
  font-family: var(--serif);
  font-size: 88px;
  line-height: 1;
  margin-top: 18px !important;
  color: #fff;
}

.bot-preview {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.msg {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  color: #ddd;
}

.keys {
  display: grid;
  gap: 8px;
}

.keys span {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 13px;
  background: #0a0a0c;
}

/* ── network ── */
.network__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.globe-wrap {
  position: relative;
}

#globe-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.globe-caption {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.network__stats {
  display: grid;
  gap: 18px;
}

.network__stats article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b0b0d;
}

.network__stats h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
}

.network__stats p {
  margin: 6px 0 0;
  color: var(--muted);
}

.charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.chart-card {
  background: #0b0b0d;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.chart-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.chart-card canvas {
  width: 100%;
  height: 220px;
}

.legend {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 12px 0 0;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.legend i {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 6px;
  vertical-align: middle;
  background: #fff;
}

.legend .dash {
  background: repeating-linear-gradient(90deg, #666 0 6px, transparent 6px 10px);
}

.chart-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ── steps ── */
.steps__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

.steps__list li {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0b0d;
  min-height: 240px;
}

.steps__n {
  font-family: var(--mono);
  color: var(--muted);
  letter-spacing: 0.2em;
}

.steps__list h3 {
  margin: 28px 0 10px;
  font-size: 26px;
}

.steps__list p {
  margin: 0;
  color: #b7b7b1;
}

/* ── pricing ── */
.switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0a0a0c;
  margin-bottom: 28px;
}

.switch button {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--muted);
}

.switch button.is-on {
  background: #fff;
  color: #111;
}

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

.plan {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0b0d;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.plan--feat {
  background: #141416;
  border-color: #fff3;
  box-shadow: 0 0 0 1px #fff1, 0 30px 80px #0008;
}

.plan__badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid #fff;
  margin: 0 0 12px;
}

.plan__term {
  margin: 0;
  color: var(--muted);
}

.plan__price {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 48px;
}

.plan__meta {
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  color: #cfcfc8;
}

.plan li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.plan .btn {
  margin-top: 24px;
  justify-content: center;
}

.lte-packs {
  margin-top: 40px;
  padding: 28px;
  border: 1px dashed #2a2a2e;
  border-radius: var(--radius);
}

.lte-packs p {
  color: #b7b7b1;
  max-width: 640px;
}

.lte-packs__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lte-packs__row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
}

.pay-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

/* ── faq ── */
.faq__list {
  display: grid;
  gap: 8px;
}

.faq__list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0b0b0d;
  padding: 0 22px;
}

.faq__list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list details p {
  margin: 0 0 20px;
  color: #b7b7b1;
}

.faq__list summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq__list details[open] summary::after {
  content: "–";
}

/* ── cta ── */
.cta {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}

#vortex-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.cta .eyebrow,
.cta h2,
.cta p,
.cta .btn {
  position: relative;
}

.cta h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 400;
}

.cta p {
  color: #cfcfc8;
  margin: 0 0 28px;
}

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.glitch::before {
  animation: glitch-1 2.4s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  transform: translate(-2px, 0);
  opacity: 0.8;
}

.glitch::after {
  animation: glitch-2 3s infinite linear alternate-reverse;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  transform: translate(2px, 0);
  opacity: 0.8;
}

@keyframes glitch-1 {
  0% { clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%); transform: translate(-3px); }
  20% { clip-path: polygon(0 15%, 100% 15%, 100% 30%, 0 30%); }
  40% { clip-path: polygon(0 60%, 100% 60%, 100% 65%, 0 65%); transform: translate(3px); }
  60% { clip-path: polygon(0 80%, 100% 80%, 100% 100%, 0 100%); }
  100% { clip-path: polygon(0 40%, 100% 40%, 100% 48%, 0 48%); transform: translate(-1px); }
}

@keyframes glitch-2 {
  0% { clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%); transform: translate(3px); }
  35% { clip-path: polygon(0 10%, 100% 10%, 100% 16%, 0 16%); }
  70% { clip-path: polygon(0 50%, 100% 50%, 100% 58%, 0 58%); transform: translate(-4px); }
  100% { clip-path: polygon(0 90%, 100% 90%, 100% 100%, 0 100%); }
}

@keyframes glitch-skew {
  0%, 90%, 100% { transform: rotate(-3deg) skew(0); }
  92% { transform: rotate(-3deg) skew(8deg) translate(4px); }
  94% { transform: rotate(-3deg) skew(-6deg) translate(-3px); }
  96% { transform: rotate(-3deg); }
}

/* ── footer ── */
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
}

.footer__brand p {
  max-width: 360px;
  color: var(--muted);
  margin: 18px 0;
}

.footer__social,
.footer__cols {
  display: flex;
  gap: 28px;
}

.footer__cols {
  justify-content: flex-end;
}

.footer__cols div {
  display: grid;
  gap: 8px;
  min-width: 160px;
}

.footer__cols p {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__cols a,
.footer__cols span,
.footer__social a {
  color: #cfcfc8;
  font-size: 14px;
}

.footer__social a:hover,
.footer__cols a:hover {
  color: #fff;
}

.footer__copy {
  grid-column: 1 / -1;
  color: #555;
  font-size: 12px;
  font-family: var(--mono);
}

/* ── responsive ── */
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .bento__grid { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav .btn { display: none; }
  .nav__burger { display: block; }
  .nav-mobile {
    display: none;
    position: fixed;
    z-index: 49;
    top: 86px;
    left: 16px;
    right: 16px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(8, 8, 10, 0.94);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }
  .nav-mobile.is-open { display: grid; gap: 16px; }

  .hero {
    min-height: auto;
    padding: 110px 20px 48px;
  }
  .hero__scroll { display: none; }
  .hero__title { font-size: clamp(40px, 11vw, 64px); }
  .hero__lead { margin-top: 18px; font-size: 16px; }
  .hero__cta { margin-top: 24px; }

  .section {
    width: min(1120px, calc(100% - 32px));
    padding: 56px 0 12px;
  }
  .section__head { margin-bottom: 22px; }
  .section h2 { font-size: clamp(28px, 8vw, 44px); }
  .eyebrow { margin-bottom: 10px; }

  .about__grid,
  .network__layout,
  .footer {
    grid-template-columns: 1fr;
  }
  .about__grid { gap: 16px; }
  .about__copy p { font-size: 16px; }
  .checklist { margin-top: 14px; }
  .checklist li { padding: 8px 0 8px 24px; }
  .demo-card { min-height: 0; }
  .feed li { padding: 10px 14px; }

  .rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 2px 16px 18px;
    touch-action: pan-x pan-y;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * {
    flex: 0 0 min(78vw, 320px);
    width: min(78vw, 320px);
    max-width: min(78vw, 320px);
    scroll-snap-align: start;
    min-height: 0;
  }
  .tile--wide { grid-column: auto; }
  .tile { padding: 22px; min-height: 0; }
  .tile:hover { transform: none; }
  .tile h3 { font-size: 20px; }
  .circuit { height: 72px; margin-top: 16px; }
  .device-row,
  .lte-bars { margin-top: 20px; }
  .big-num { font-size: 64px; margin-top: 10px !important; }
  .bot-preview { margin-top: 16px; }

  .charts { margin-top: 18px; }
  .chart-card { padding: 16px; }
  .chart-card canvas { height: 170px; }
  .legend { flex-wrap: wrap; gap: 10px; }

  .steps__list li { padding: 22px; min-height: 0; }
  .steps__list h3 { margin: 16px 0 8px; font-size: 22px; }

  .switch { margin-bottom: 18px; }
  .plan { padding: 22px; min-height: 0; }
  .plan__price { font-size: 40px; }
  .lte-packs { margin-top: 24px; padding: 18px; }
  .pay-note { margin-top: 16px; }

  .faq__list details { padding: 0 16px; }
  .faq__list summary { padding: 16px 0; font-size: 16px; }

  .cta {
    min-height: auto;
    padding: 56px 20px;
  }

  .footer {
    padding: 48px 0 28px;
    gap: 24px;
  }
  .footer__cols { justify-content: flex-start; }
}

/* ── legal pages ── */
.legal-hero {
  width: min(720px, calc(100% - 80px));
  margin: 0 auto;
  padding: 132px 0 28px;
}

.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.legal-hero h1 em {
  font-style: italic;
  color: #cfcfc8;
}

.legal-hero__lead {
  max-width: 38rem;
  margin: 16px 0 0;
  color: #b7b7b1;
  font-size: 15px;
  line-height: 1.55;
}

.legal-layout {
  width: min(920px, calc(100% - 80px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 200px minmax(0, 38rem);
  gap: 48px;
  justify-content: center;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 4px 0 0;
}

.legal-toc p {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-toc a {
  color: #8f8f89;
  font-size: 12px;
  line-height: 1.3;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  color: #fff;
}

.legal-doc {
  display: grid;
  gap: 28px;
  max-width: 38rem;
  font-size: 15px;
  line-height: 1.65;
}

.legal-doc section {
  scroll-margin-top: 96px;
}

.legal-doc h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.legal-doc h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.legal-doc p,
.legal-doc li {
  color: #c4c4be;
}

.legal-doc p {
  margin: 0 0 10px;
}

.legal-doc ol,
.legal-doc ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.legal-doc li {
  margin: 0 0 6px;
}

.legal-doc a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc strong,
.legal-doc b {
  color: #f3f1ec;
  font-weight: 600;
}

.legal-note {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b0b0d;
}

.legal-note p {
  margin: 0;
  color: #b7b7b1;
  font-size: 14px;
  line-height: 1.55;
}

.legal-cross {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

@media (max-width: 820px) {
  .legal-hero,
  .legal-layout {
    width: min(1120px, calc(100% - 32px));
  }
  .legal-hero { padding: 118px 0 18px; }
  .legal-hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 48px;
  }
  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: none;
  }
  .legal-toc::-webkit-scrollbar { display: none; }
  .legal-toc p { display: none; }
  .legal-toc a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
  }
  .legal-doc { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .grain,
  .scanlines { display: none; }
}
