:root {
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --black: #000;
  --ink: #1d1d1f;
  --gray: #86868b;
  --gray-2: #6e6e73;
  --line: #d2d2d7;
  --bg: #f5f5f7;
  --white: #fff;
  --nav: 44px;
  --local: 52px;
  --radius: 18px;
  --radius-lg: 28px;
  --wide: 1260px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav) + var(--local));
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #000;
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input {
  font-family: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

/* ── Promo ── */
.promo {
  background: #1d1d1f;
  color: #f5f5f7;
  font-size: 14px;
  line-height: 1.42859;
  letter-spacing: -0.016em;
  text-align: center;
  padding: 12px 20px;
  min-height: 44px;
  animation: fade 0.7s var(--ease-out) both;
}

.promo .count {
  color: #2997ff;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* ── Global nav ── */
.gnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav);
  overflow: visible;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.gnav-inner,
.lnav-inner {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gnav-inner {
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f5f5f7;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-decoration: none;
  position: relative;
  z-index: 61;
  margin-inline-end: auto;
}

.logo:hover {
  color: #fff;
  text-decoration: none;
}

.logo svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.gnav nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.gnav nav a {
  color: #f5f5f7;
  font-size: 12px;
  letter-spacing: -0.01em;
  opacity: 0.8;
  text-decoration: none;
}

.gnav nav a:hover {
  opacity: 1;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
  z-index: 61;
  flex-shrink: 0;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 15px;
  height: 1px;
  background: #fff;
  position: relative;
  margin: 0 auto;
  transition: transform 0.28s var(--ease), top 0.28s var(--ease), background 0.28s var(--ease);
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -5px;
}

.menu-btn span::after {
  top: 5px;
}

.menu-btn[aria-expanded="true"] span {
  background: transparent;
}

.menu-btn[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.lang-wrap {
  position: relative;
  margin-inline-start: 12px;
  z-index: 70;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f5f5f7;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  cursor: pointer;
  line-height: 1;
  min-width: 40px;
  min-height: 32px;
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #1d1d1f;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  z-index: 72;
}

.lang-menu:not([hidden]) {
  animation: fade 0.18s var(--ease-out) both;
}

.lang-menu button {
  width: 100%;
  text-align: start;
  background: none;
  border: 0;
  color: #f5f5f7;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.lang-menu button:hover,
.lang-menu button[aria-current="true"] {
  background: rgba(255, 255, 255, 0.08);
}

/* ── Local nav ── */
.lnav {
  position: sticky;
  top: var(--nav);
  z-index: 40;
  height: var(--local);
  background: rgba(22, 22, 23, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.lnav.is-scrolled {
  background: rgba(22, 22, 23, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.lnav-title {
  color: #f5f5f7;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
  text-decoration: none;
}

.lnav-title:hover {
  text-decoration: none;
}

.lnav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}

.lnav-links a {
  color: #fff;
  opacity: 0.72;
  text-decoration: none;
}

.lnav-links a:hover,
.lnav-links a.is-active {
  opacity: 1;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.28s var(--ease);
}

.btn:hover {
  background: var(--blue-hover);
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.56;
  cursor: default;
}

.btn-lg {
  height: 44px;
  padding: 0 22px;
  font-size: 17px;
}

.btn-ghost {
  background: none;
  color: var(--blue);
  height: auto;
  padding: 0;
  font-size: 21px;
  letter-spacing: -0.022em;
}

.btn-ghost:hover {
  background: none;
  text-decoration: underline;
}

/* ── Hero ── */
.hero {
  background: #000;
  color: #f5f5f7;
  text-align: center;
  padding: 64px 0 0;
  overflow: hidden;
}

.hero-kicker {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.004em;
  line-height: 1.14;
  opacity: 0;
  animation: rise 1.15s var(--ease-out) 0.08s both;
}

.hero h1 {
  font-size: clamp(52px, 9.4vw, 96px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 4px 0 36px;
  opacity: 0;
  animation: rise 1.25s var(--ease-out) 0.2s both;
}

.hero-media {
  width: min(100%, 1680px);
  margin: 0 auto;
  overflow: hidden;
  opacity: 0;
  animation: fade 1.4s var(--ease-out) 0.12s both;
}

.hero-media img {
  width: 100%;
  height: min(72vh, 820px);
  object-fit: cover;
  object-position: 50% 58%;
  transform: scale(1.08) translate3d(0, 1.6%, 0);
  animation: ken 8s var(--ease-soft) 0.12s both;
}

.hero-cta {
  padding: 52px 24px 88px;
  opacity: 0;
  animation: rise 1.15s var(--ease-out) 0.72s both;
}

.hero-cta .callout {
  font-size: 21px;
  color: #86868b;
  letter-spacing: 0.011em;
  margin-bottom: 6px;
}

.hero-cta .lead {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.007em;
  line-height: 1.14;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-timer {
  margin-top: 22px;
  font-size: 14px;
  color: #86868b;
}

.hero-timer span {
  color: #2997ff;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.smart-node {
  margin: 28px auto 0;
  width: min(100%, 420px);
  text-align: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px 16px 48px;
  position: relative;
}

.smart-pulse {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3ad4c7;
  box-shadow: 0 0 0 0 rgba(58, 212, 199, 0.6);
  animation: ping 2.2s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(58, 212, 199, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(58, 212, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 212, 199, 0); }
}

.smart-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3ad4c7;
  margin: 0 0 4px;
}

.smart-city {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.smart-meta {
  font-size: 13px;
  color: #86868b;
  margin: 4px 0 0;
}

.years {
  background: #000;
  color: #f5f5f7;
  padding: 72px 20px 24px;
}

.years h2 {
  width: min(100%, 980px);
  margin: 0 auto 28px;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
}

.years .eyebrow {
  width: min(100%, 980px);
  margin: 0 auto 8px;
  color: #86868b;
}

.year-rail {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 10px;
}

.year-rail article {
  background: #151516;
  border-radius: 16px;
  padding: 16px 14px 18px;
}

.year-rail b {
  display: block;
  font-size: 13px;
  color: #3ad4c7;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.year-rail span {
  font-size: 14px;
  color: #a1a1a6;
  line-height: 1.35;
}

.year-rail .is-now {
  background: #1c2a28;
  box-shadow: inset 0 0 0 1px rgba(58, 212, 199, 0.35);
}

.year-rail .is-now span {
  color: #f5f5f7;
}

.ia {
  background: #000;
  color: #f5f5f7;
  padding: 48px 20px 100px;
}

.ia-grid {
  width: min(100%, 1080px);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ia-copy h2 {
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 8px 0 16px;
}

.ia-copy .sub {
  color: #a1a1a6;
  font-size: 18px;
  line-height: 1.45;
}

.ia-points {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #d2d2d7;
  font-size: 15px;
}

.ia-media {
  position: relative;
}

.ia-media img {
  width: 100%;
  border-radius: 24px;
  height: min(52vh, 420px);
  object-fit: cover;
}

.smart-node-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  width: auto;
  backdrop-filter: blur(16px);
  background: rgba(12, 14, 16, 0.72);
}

.stack-2027 {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stack-2027 article {
  background: #151516;
  border-radius: 18px;
  padding: 22px 20px 24px;
}

.stack-2027 b {
  color: #3ad4c7;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.stack-2027 h3 {
  font-size: 22px;
  margin: 8px 0 6px;
}

.stack-2027 p {
  color: #86868b;
  font-size: 14px;
}

@keyframes ken {
  to {
    transform: scale(1) translate3d(0, 0, 0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── Highlights ── */
.highlights {
  background: #000;
  color: #f5f5f7;
  padding: 40px 0 100px;
  scroll-margin-top: calc(var(--nav) + var(--local));
}

.section-head {
  width: min(100% - 40px, var(--wide));
  margin: 0 auto 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.07;
}

.scroll-btns {
  display: flex;
  gap: 14px;
  padding-bottom: 6px;
}

.scroll-btns button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #424245;
  color: #f5f5f7;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background 0.28s var(--ease), opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.scroll-btns button:disabled {
  opacity: 0.35;
  cursor: default;
}

.rail-wrap {
  overflow: hidden;
}

.rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(20px, calc(50vw - 630px));
  padding: 8px max(20px, calc(50vw - 630px)) 28px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

.rail::-webkit-scrollbar {
  display: none;
}

.tile {
  flex: 0 0 min(480px, 82vw);
  height: min(640px, 78vh);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #151516;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 2.4s var(--ease-soft);
}

.tile-body {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 32px 32px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72) 55%);
  z-index: 1;
}

.tile-body .tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2997ff;
  margin-bottom: 8px;
}

.tile-body h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.007em;
  line-height: 1.14;
  margin-bottom: 8px;
}

.tile-body p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.38;
  letter-spacing: -0.016em;
}

/* ── Chapters ── */
.chapter {
  padding: 130px 20px 40px;
  text-align: center;
  scroll-margin-top: calc(var(--nav) + var(--local));
}

.chapter.dark {
  background: #000;
  color: #f5f5f7;
}

.chapter.light {
  background: var(--bg);
  color: var(--ink);
}

.eyebrow {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.009em;
  color: var(--gray);
  margin-bottom: 6px;
}

.chapter.dark .eyebrow {
  color: #86868b;
}

.chapter h2 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.chapter .sub {
  font-size: 21px;
  max-width: 680px;
  margin: 0 auto 48px;
  color: var(--gray);
  line-height: 1.381;
  letter-spacing: 0.011em;
}

.chapter.dark .sub {
  color: #86868b;
}

.chapter .sub strong {
  font-weight: 600;
  color: var(--ink);
}

.chapter.dark .sub strong {
  color: #f5f5f7;
}

.chapter-media {
  width: min(100%, 1120px);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chapter-media img {
  width: 100%;
  height: min(62vh, 640px);
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease-soft);
}

.chapter-media.in img,
.chapter-media.reveal.in img {
  transform: scale(1);
}

.split-shot {
  position: relative;
}

.split-labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  pointer-events: none;
}

.split-labels span {
  padding: 28px 24px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5f5f7;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
}

.split-labels span:last-child {
  text-align: end;
}

.lockup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: min(100%, 920px);
  margin: 56px auto 0;
}

.lockup b {
  display: block;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.lockup span {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  color: var(--gray);
  letter-spacing: -0.016em;
}

.chapter.dark .lockup span {
  color: #86868b;
}

/* ── Pin story ── */
.pin {
  --p: 0;
  position: relative;
  height: 320vh;
  background: #000;
  color: #f5f5f7;
}

.pin-sticky {
  position: sticky;
  top: calc(var(--nav) + var(--local));
  height: calc(100vh - var(--nav) - var(--local));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pin-frame {
  width: min(100% - 40px, 760px);
  height: 100%;
  margin: 0 auto;
  padding: 28px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
}

.pin-eyebrow {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
  color: #86868b;
  line-height: 1.2;
}

.pin-visual {
  width: min(34vh, 280px);
  flex: 0 0 auto;
}

.pin-mark {
  display: block;
  width: 100%;
  height: auto;
}

.pin-ring-track {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.25;
}

.pin-ring-prog {
  stroke: var(--blue);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p, 0));
  transform-origin: 50% 50%;
  transform-box: fill-box;
  transform: rotate(-90deg);
}

.pin-shield {
  stroke: rgba(245, 245, 247, 0.62);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.pin-shield-hi {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.1;
  stroke-linecap: round;
}

.pin-layer {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.pin-layer-lock .pin-shackle {
  stroke: rgba(245, 245, 247, 0.9);
  stroke-width: 3.2;
  stroke-linecap: round;
  fill: none;
}

.pin-layer-lock .pin-lock-body {
  fill: #1a1a1c;
  stroke: rgba(245, 245, 247, 0.88);
  stroke-width: 1.8;
}

.pin-layer-lock circle,
.pin-layer-lock path:not(.pin-shackle) {
  fill: none;
  stroke: rgba(245, 245, 247, 0.88);
  stroke-width: 1.8;
}

.pin-tunnel-line {
  stroke: rgba(245, 245, 247, 0.28);
  stroke-width: 1.4;
}

.pin-packet {
  stroke: #f5f5f7;
  stroke-width: 1.4;
  stroke-dasharray: 10 54;
  stroke-linecap: round;
}

.pin[data-step="1"] .pin-packet {
  animation: pin-flow 2.6s linear infinite;
}

.pin-ep {
  fill: #f5f5f7;
}

.pin-links {
  stroke: rgba(245, 245, 247, 0.16);
  stroke-width: 1;
}

.pin-layer-nodes circle {
  fill: rgba(245, 245, 247, 0.82);
}

.pin-layer-nodes .pin-hot {
  fill: #2997ff;
}

.pin[data-step="0"] .pin-layer-lock,
.pin[data-step="1"] .pin-layer-tunnel,
.pin[data-step="2"] .pin-layer-nodes {
  opacity: 1;
}

.pin-copy {
  display: grid;
  width: 100%;
  min-height: 9.5rem;
}

.pin-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
  pointer-events: none;
}

.pin-slide h2 {
  font-size: clamp(36px, 5.8vw, 64px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 10px;
  color: #f5f5f7;
}

.pin-slide p {
  font-size: 21px;
  color: #86868b;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.381;
  letter-spacing: 0.011em;
}

.pin-lockup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(100%, 520px);
  margin: 26px auto 0;
}

.pin-lockup b {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #f5f5f7;
}

.pin-lockup span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: #86868b;
  letter-spacing: -0.01em;
}

.pin[data-step="0"] [data-s="0"],
.pin[data-step="1"] [data-s="1"],
.pin[data-step="2"] [data-s="2"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pin-rail {
  position: relative;
  width: min(100%, 420px);
  margin-top: 4px;
  flex: 0 0 auto;
}

.pin-rail-track {
  position: absolute;
  top: 3px;
  inset-inline: 16.6%;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.pin-rail-track i {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: #f5f5f7;
  margin-inline-start: 0;
}

html[dir="rtl"] .pin-rail-track i {
  margin-inline-start: auto;
}

.pin-rail ol {
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.pin-rail li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 33.33%;
}

.pin-rail li span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: #6e6e73;
  line-height: 1;
}

.pin-rail li span::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6e6e73;
  margin: 0 auto 10px;
}

.pin-rail li b {
  font-size: 12px;
  font-weight: 400;
  color: #6e6e73;
  letter-spacing: -0.01em;
}

.pin-rail li.is-past span,
.pin-rail li.is-past b,
.pin-rail li.is-on span,
.pin-rail li.is-on b {
  color: #f5f5f7;
}

.pin-rail li.is-past span::before,
.pin-rail li.is-on span::before {
  background: #f5f5f7;
}

.pin-rail li.is-on span::before {
  box-shadow: 0 0 0 3px #000, 0 0 0 4px #f5f5f7;
}

@keyframes pin-flow {
  to {
    stroke-dashoffset: -64;
  }
}

.pin.is-static {
  height: auto;
}

.pin.is-static .pin-sticky {
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
}

.pin.is-static .pin-frame {
  height: auto;
  padding: 108px 0 120px;
  gap: 36px;
}

.pin.is-static .pin-copy {
  display: flex;
  flex-direction: column;
  gap: 44px;
  min-height: 0;
}

.pin.is-static .pin-slide {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pin.is-static .pin-layer-lock {
  opacity: 1;
}

.pin.is-static .pin-layer-tunnel,
.pin.is-static .pin-layer-nodes {
  opacity: 0;
}

.pin.is-static .pin-ring-prog {
  stroke-dashoffset: 0;
}

.pin.is-static .pin-rail {
  display: none;
}

@media (max-height: 820px) {
  .pin-frame {
    gap: 14px;
    padding: 16px 0 20px;
  }

  .pin-visual {
    width: min(28vh, 220px);
  }

  .pin-eyebrow {
    font-size: 17px;
  }

  .pin-lockup {
    margin-top: 16px;
  }

  .pin-copy {
    min-height: 0;
  }
}

/* ── Split ── */
.pair {
  background: #000;
  padding: 24px 20px 120px;
}

.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: min(100%, var(--wide));
  margin: 0 auto;
}

.pair-card {
  background: #151516;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  color: #f5f5f7;
  text-align: left;
}

.pair-copy {
  padding: 48px 44px 16px;
}

.pair-copy h3 {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.pair-copy p {
  font-size: 19px;
  color: #86868b;
  max-width: 420px;
  letter-spacing: 0.012em;
  line-height: 1.38;
}

.pair-card img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  min-height: 280px;
  transform: scale(1.02);
  transition: transform 2.2s var(--ease-soft);
}

.pair-card.in img {
  transform: scale(1);
}

.ks {
  margin: 12px 28px 36px;
  background: #0b0b0c;
  border-radius: 22px;
  padding: 8px 28px;
}

.ks-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #2a2a2c;
  font-size: 17px;
}

.ks-row:last-child {
  border-bottom: 0;
}

.toggle {
  width: 51px;
  height: 31px;
  background: #39393d;
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.45s var(--ease-soft);
}

.toggle::after {
  content: "";
  width: 27px;
  height: 27px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.45s var(--ease-soft);
}

.pair-card.in .toggle {
  background: #34c759;
}

.pair-card.in .toggle::after {
  transform: translateX(20px);
}

.pair-card.in .ks-row:nth-child(1) .toggle,
.pair-card.in .ks-row:nth-child(1) .toggle::after {
  transition-delay: 0.12s;
}

.pair-card.in .ks-row:nth-child(2) .toggle,
.pair-card.in .ks-row:nth-child(2) .toggle::after {
  transition-delay: 0.22s;
}

.pair-card.in .ks-row:nth-child(3) .toggle,
.pair-card.in .ks-row:nth-child(3) .toggle::after {
  transition-delay: 0.32s;
}

.pair-card.in .ks-row:nth-child(4) .toggle,
.pair-card.in .ks-row:nth-child(4) .toggle::after {
  transition-delay: 0.42s;
}

/* ── Compare / plans ── */
.plans {
  background: var(--bg);
  padding: 110px 20px 40px;
  color: var(--ink);
  scroll-margin-top: calc(var(--nav) + var(--local));
}

.plans-head {
  text-align: center;
  margin-bottom: 56px;
}

.plans-head h2 {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.07;
}

.plans-head p {
  font-size: 21px;
  color: var(--gray);
  margin-top: 10px;
  letter-spacing: 0.011em;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(100%, 1080px);
  margin: 0 auto 80px;
}

.col {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 0 0 transparent;
  transition: box-shadow 0.55s var(--ease-soft);
}

.col-media {
  position: relative;
  width: calc(100% + 48px);
  margin: 0 -24px 8px;
  aspect-ratio: 4 / 3;
  max-height: 248px;
  background: #0b0d10;
  overflow: hidden;
}

.col-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  background: #0b0d10;
  transform: scale(1.06);
  transition: transform 1.8s var(--ease-soft);
}

.col.in .col-media img {
  transform: scale(1);
}

.col-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
  pointer-events: none;
}

.col h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.007em;
}

.col .for {
  font-size: 14px;
  color: var(--gray);
  margin: 4px 0 16px;
}

.col .now {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.col .was {
  display: block;
  margin: 4px 0 6px;
  color: var(--gray);
  text-decoration: line-through;
  font-size: 17px;
}

.col .free-tag {
  font-size: 14px;
  color: #03a10e;
  font-weight: 600;
  margin-bottom: 22px;
}

.col ul {
  list-style: none;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1;
}

.col li {
  font-size: 14px;
  display: flex;
  gap: 8px;
  line-height: 1.35;
  padding-top: 11px;
  border-top: 1px solid #d2d2d7;
}

.col li:first-child {
  border-top: 0;
  padding-top: 0;
}

.col .btn {
  height: 44px;
  font-size: 17px;
  width: 100%;
  max-width: 220px;
  align-self: center;
}

/* ── Steps ── */
.steps {
  background: #000;
  color: #f5f5f7;
  padding: 120px 20px;
}

.steps h2 {
  text-align: center;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 48px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: min(100%, 1080px);
  margin: 0 auto;
}

.step {
  background: #151516;
  border-radius: var(--radius-lg);
  padding: 40px 32px 44px;
  min-height: 280px;
  transition: background 0.5s var(--ease);
}

.step .n {
  font-size: 14px;
  color: #2997ff;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.007em;
  margin-bottom: 10px;
}

.step p {
  color: #86868b;
  font-size: 17px;
  letter-spacing: -0.016em;
}

/* ── Devices ── */
.devices {
  background: #000;
  color: #f5f5f7;
  padding: 120px 20px 80px;
  text-align: center;
}

.devices .eyebrow {
  color: #86868b;
}

.devices h2 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.07;
  margin-bottom: 16px;
}

.devices .sub {
  font-size: 21px;
  max-width: 720px;
  margin: 0 auto 48px;
  color: #86868b;
  line-height: 1.381;
  letter-spacing: 0.011em;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: min(100%, 980px);
  margin: 0 auto 56px;
  text-align: left;
}

.device-card {
  background: #151516;
  border-radius: var(--radius-lg);
  padding: 36px 32px 40px;
  min-height: 240px;
  transition: background 0.5s var(--ease);
}

.device-card .n {
  font-size: 14px;
  color: #2997ff;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.device-card h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.007em;
  margin-bottom: 10px;
}

.device-card p {
  color: #86868b;
  font-size: 17px;
  letter-spacing: -0.016em;
  margin-bottom: 18px;
}

.device-card a {
  color: #2997ff;
  font-size: 17px;
  font-weight: 400;
}

.device-card a:hover {
  text-decoration: underline;
}

.devices-media {
  width: min(100%, 1080px);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.devices-media img {
  width: 100%;
  display: block;
  transform: scale(1.04);
  transition: transform 2.2s var(--ease-soft);
}

.devices-media.in img,
.devices-media.reveal.in img {
  transform: scale(1);
}

/* ── Network ── */
.network {
  background: #000;
  color: #f5f5f7;
  padding: 120px 20px 80px;
  text-align: center;
}

.network .eyebrow {
  color: #86868b;
}

.network h2 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.07;
  margin-bottom: 16px;
}

.network .sub {
  font-size: 21px;
  max-width: 680px;
  margin: 0 auto 40px;
  color: #86868b;
}

.network-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.network-stats b {
  display: block;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.network-stats div {
  min-width: 120px;
  animation: rise 0.8s var(--ease-out) both;
}

.network-stats div:nth-child(2) {
  animation-delay: 0.08s;
}

.network-stats div:nth-child(3) {
  animation-delay: 0.16s;
}

.network-stats span {
  color: #86868b;
  font-size: 14px;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  width: min(100%, 1080px);
  margin: 0 auto;
  text-align: left;
}

.net-card {
  background: #151516;
  border-radius: 18px;
  padding: 20px 18px 22px;
  transition: background 0.45s var(--ease);
}

.net-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.net-card p {
  color: #86868b;
  font-size: 13px;
  margin-bottom: 12px;
}

.country-bar {
  display: block;
  height: 4px;
  background: #2c2c2e;
  border-radius: 99px;
  overflow: hidden;
}

.country-bar i {
  display: block;
  height: 100%;
  background: #ff453a;
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: barIn 1.1s var(--ease-soft) 0.18s both;
}

html[dir="rtl"] .country-bar i {
  transform-origin: 100% 50%;
}

@keyframes barIn {
  to {
    transform: scaleX(1);
  }
}

.demand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}

.demand-strip span {
  background: var(--bg);
  border-radius: 980px;
  padding: 6px 12px;
}

.country-board {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.country-row {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
}

.country-row summary {
  display: grid;
  grid-template-columns: 1fr auto 72px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

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

.country-name {
  font-weight: 600;
  font-size: 16px;
}

.country-meta {
  font-size: 12px;
  color: var(--gray);
  text-align: right;
}

.country-row ul {
  list-style: none;
  margin: 0;
  padding: 0 16px 12px;
}

.country-row li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.country-row li .is-full {
  color: #d70015;
  font-size: 12px;
}

.country-row li .is-free {
  color: #248a3d;
  font-size: 12px;
}

.account .country-bar {
  background: #e8e8ed;
  width: 72px;
}

.account .country-bar i {
  background: #d70015;
}

/* ── FAQ ── */
.faq {
  background: var(--bg);
  padding: 110px 20px;
  color: var(--ink);
}

.faq h2 {
  text-align: center;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}

.faq-list {
  width: min(100%, 680px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 24px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}

.faq-item button span {
  font-size: 28px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.faq-item .a {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 17px;
  color: var(--gray-2);
  line-height: 1.47;
  opacity: 0;
  transition: max-height 0.5s var(--ease-soft), opacity 0.35s var(--ease), padding 0.45s var(--ease-soft);
}

.faq-item.open .a {
  max-height: 320px;
  padding: 0 24px 22px;
  opacity: 1;
}

.faq-item.open button span {
  transform: rotate(45deg);
}

/* ── Close ── */
.close {
  background: #000;
  color: #f5f5f7;
  text-align: center;
  padding: 160px 20px 150px;
}

.close h2 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.close p {
  font-size: 21px;
  color: #86868b;
  margin-bottom: 28px;
}

.close .btn {
  margin-bottom: 8px;
}

/* ── Footer ── */
.foot {
  background: var(--bg);
  color: var(--gray-2);
  font-size: 12px;
  line-height: 1.33337;
  letter-spacing: -0.01em;
  padding: 18px 0 36px;
}

.foot-inner {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.legal {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--gray);
}

.legal ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.foot-links h4 {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.foot-links a {
  display: block;
  color: var(--gray-2);
  padding: 4px 0;
  text-decoration: none;
}

.foot-links a:hover {
  text-decoration: underline;
}

.foot-bottom {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Checkout ── */
.checkout {
  background: var(--bg);
  min-height: 100vh;
  color: var(--ink);
  padding: 48px 20px 80px;
}

.checkout-wrap {
  width: min(100%, 980px);
  margin: 0 auto;
}

.checkout h1 {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 8px 0 10px;
  line-height: 1.07;
}

.checkout .lead {
  font-size: 21px;
  color: var(--gray);
  margin-bottom: 40px;
}

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

.pick-card {
  background: #fff;
  border: 2px solid #d2d2d7;
  border-radius: 18px;
  padding: 22px 20px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.checkout .eyebrow {
  animation: rise 0.9s var(--ease-out) both;
}

.checkout h1 {
  animation: rise 0.95s var(--ease-out) 0.08s both;
}

.checkout .lead {
  animation: rise 0.95s var(--ease-out) 0.16s both;
}

.checkout .pick {
  animation: rise 0.95s var(--ease-out) 0.22s both;
}

.checkout .form {
  animation: rise 1s var(--ease-out) 0.3s both;
}

.pick-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.pick-card h3 {
  font-size: 21px;
  font-weight: 600;
}

.pick-card .now {
  font-size: 28px;
  font-weight: 600;
  margin: 8px 0 4px;
}

.pick-card .was {
  color: var(--gray);
  text-decoration: line-through;
  font-size: 14px;
}

.form {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  max-width: 560px;
}

.form h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 14px 0 6px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  height: 48px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 17px;
  background: #fff;
}

input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.28);
}

.form .btn {
  width: 100%;
  height: 48px;
  font-size: 17px;
  margin-top: 22px;
}

.hint {
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
}

.form-alt {
  margin-top: 18px;
}

.text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-size: 17px;
  letter-spacing: -0.022em;
  cursor: pointer;
}

.text-btn:hover {
  text-decoration: underline;
}

.error {
  color: #d70015;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.error.show {
  display: block;
}

.thanks {
  background: #000;
  color: #f5f5f7;
  min-height: 100vh;
  text-align: center;
  padding: 100px 20px;
}

.thanks h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 12px 0 16px;
}

.thanks p {
  font-size: 21px;
  color: #86868b;
  max-width: 520px;
  margin: 0 auto 28px;
}

.thanks-email,
.thanks [data-email] {
  color: #f5f5f7;
  font-weight: 600;
}

.app-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.store {
  background: #1d1d1f;
  color: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  min-width: 150px;
  text-align: left;
  text-decoration: none;
}

.store:hover {
  text-decoration: none;
  background: #2a2a2c;
}

.store small {
  display: block;
  color: #86868b;
  font-size: 11px;
}

.dash-card {
  width: min(100%, 360px);
  margin: 56px auto 0;
  background: #151516;
  border-radius: 28px;
  padding: 40px 28px;
}

.ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 2px solid #2997ff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 40px rgba(41, 151, 255, 0.22);
  animation: pulse 2.8s var(--ease) infinite;
}

.ring b {
  font-size: 21px;
  font-weight: 600;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 64px rgba(41, 151, 255, 0.4);
  }
}

.dash-card .loc {
  color: #86868b;
  font-size: 14px;
  margin-top: 6px;
}

.node-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}

.node-chips:empty {
  display: none;
}

.node-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 980px;
  font-size: 13px;
  letter-spacing: -0.01em;
  background: #2a2a2c;
  color: #f5f5f7;
}

.node-chip-full {
  background: #3a1d1d;
  color: #ff8a80;
}

.dash-card .node-chips {
  margin-top: 24px;
}

/* ── Account ── */
.account {
  background: var(--bg);
  min-height: 100vh;
  color: var(--ink);
  padding: 48px 20px 80px;
}

.account-wrap {
  width: min(100%, 720px);
  margin: 0 auto;
}

.account-wrap.legal-wide {
  width: min(100%, 980px);
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 0 28px;
  font-size: 14px;
}

.legal-toc a {
  color: var(--blue);
}

.legal-card {
  font-size: 16px;
  line-height: 1.5;
  color: #6e6e73;
}

.legal-card h2 {
  color: var(--ink);
  font-size: 22px;
  margin: 28px 0 12px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 20px 0 24px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.4;
}

.legal-table th,
.legal-table td {
  text-align: start;
  vertical-align: top;
  padding: 12px 10px;
  border-top: 1px solid var(--line);
}

.legal-table th {
  color: var(--ink);
  font-weight: 600;
  border-top: 0;
}

.account h1 {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.07;
  margin: 8px 0 10px;
}

.account .lead {
  font-size: 21px;
  color: var(--gray);
  margin-bottom: 36px;
}

.account .error {
  margin: -20px 0 24px;
  font-size: 15px;
}

.account-card {
  background: #fff;
  border-radius: 28px;
  padding: 36px 32px;
}

.account-card + .account-card {
  margin-top: 16px;
}

.account-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.account-row:last-of-type {
  border-bottom: 0;
}

.account-row dt {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
}

.account-row dd {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-align: right;
}

.account-nodes h2,
.account-connect h2,
.account-card h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
  margin-bottom: 16px;
}

.account-hint {
  font-size: 15px;
  color: var(--gray);
  margin: -4px 0 20px;
  line-height: 1.4;
}

.account-connect select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 17px;
  background: #fff;
  margin-bottom: 16px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 8px;
}

.connect-result {
  margin-top: 24px;
  padding-top: 8px;
}

.wg-conf {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.45;
  background: var(--bg);
  color: var(--ink);
  padding: 16px;
  border-radius: 12px;
  overflow: auto;
  white-space: pre-wrap;
  margin: 0 0 12px;
}

.socks-dl {
  margin-top: 20px;
}

.session-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.session-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.session-list button {
  background: none;
  border: 0;
  color: #d70015;
  cursor: pointer;
  font-size: 14px;
}

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

.admin-wrap {
  width: min(100%, 960px);
}

.admin-login {
  max-width: 420px;
}

.admin-form .admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.admin-form label,
.admin-login label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
}

.admin-form input,
.admin-form select,
.admin-login input {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  font-size: 15px;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th {
  text-align: left;
  color: var(--gray);
  font-weight: 500;
  padding: 8px 8px 12px;
}

.admin-table td {
  padding: 10px 8px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.admin-table td span {
  color: var(--gray);
  font-size: 12px;
}

.admin-table select {
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0 8px;
}

@media (max-width: 734px) {
  .admin-form .admin-grid {
    grid-template-columns: 1fr;
  }
}

.account .node-chips {
  justify-content: flex-start;
  margin-top: 0;
}

.account .node-chip {
  background: var(--bg);
  color: var(--ink);
}

.btn-signout {
  display: inline-flex;
  margin-top: 24px;
  background: none;
  border: 0;
  color: var(--blue);
  font-size: 17px;
  cursor: pointer;
  padding: 0;
  letter-spacing: -0.022em;
}

.btn-signout:hover {
  text-decoration: underline;
}

.account-legal-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.account-legal-actions .btn-signout {
  margin-top: 0;
}

.account-legal-actions .error {
  margin: 0;
}

.btn-danger {
  color: #d70015;
}

.account-delete-confirm {
  color: #d70015;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 8px;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.2s;
}
.d3 {
  transition-delay: 0.3s;
}

/* ── Mobile ── */
@media (max-width: 1068px) {
  .year-rail,
  .stack-2027,
  .ia-grid {
    grid-template-columns: 1fr 1fr;
  }

  .smart-node-card {
    position: static;
    margin-top: 12px;
  }

  .col-media {
    max-height: 280px;
  }

  .compare-grid,
  .pick,
  .step-grid,
  .device-grid,
  .lockup,
  .pair-grid {
    grid-template-columns: 1fr;
  }

  .pair-card {
    min-height: auto;
  }

  .tile {
    flex-basis: min(340px, 78vw);
    height: 520px;
  }

  .foot-links {
    grid-template-columns: 1fr 1fr;
  }

  .pin {
    height: 260vh;
  }

  .pin-frame {
    gap: 16px;
    padding: 20px 0 24px;
  }

  .pin-visual {
    width: min(30vh, 220px);
  }

  .pin-slide h2 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .pin-slide p {
    font-size: 17px;
  }

  .pin-copy {
    min-height: 8rem;
  }

  .pin.is-static .pin-frame {
    padding: 72px 0 88px;
  }
}

@media (max-width: 734px) {
  .year-rail,
  .ia-grid,
  .stack-2027 {
    grid-template-columns: 1fr;
  }

  .gnav nav {
    display: none;
  }

  .gnav nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    padding: 28px 32px;
    gap: 22px;
    align-items: flex-start;
    z-index: 60;
    animation: fade 0.32s var(--ease-out) both;
  }

  .gnav nav.open a {
    font-size: 28px;
    font-weight: 600;
    opacity: 1;
    letter-spacing: 0.007em;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    order: 3;
  }

  .lang-wrap {
    order: 2;
    margin-inline-start: 0;
    margin-inline-end: 2px;
  }
}

html[dir="rtl"] body {
  direction: rtl;
}

html[lang="ar"] body {
  font-family: "Noto Sans Arabic", Inter, sans-serif;
}

html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", Inter, sans-serif;
}

@media (max-width: 734px) {
  .lnav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-media img {
    height: 300px;
    object-position: 50% 55%;
    transform: scale(1.05);
  }

  .hero-cta .lead {
    font-size: 24px;
  }

  .chapter {
    padding: 80px 16px 24px;
  }

  .chapter h2 {
    font-size: 40px;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }

  .form {
    padding: 22px 18px;
  }

  .account-card {
    padding: 24px 18px;
  }

  .pair-copy {
    padding: 32px 24px 8px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .scroll-btns button:hover:not(:disabled) {
    background: #555;
    transform: scale(1.05);
  }

  .tile:hover img {
    transform: scale(1.055);
  }

  .pair-card.in:hover img {
    transform: scale(1.03);
  }

  .col:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
  }

  .col.in:hover .col-media img {
    transform: scale(1.045);
  }

  .step:hover,
  .device-card:hover,
  .net-card:hover {
    background: #1d1d1f;
  }

  .pick-card:hover {
    border-color: #86868b;
  }

  .lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-kicker,
  .hero h1,
  .hero-cta,
  .hero-media,
  .promo,
  .reveal,
  .net-card,
  .checkout .eyebrow,
  .checkout h1,
  .checkout .lead,
  .checkout .pick,
  .checkout .form,
  .network-stats div {
    opacity: 1;
    transform: none;
  }

  .hero-media img,
  .chapter-media img,
  .tile img,
  .pair-card img,
  .col img,
  .col-media img,
  .devices-media img,
  .country-bar i {
    transform: none;
  }

  .pin {
    height: auto;
  }

  .pin-sticky {
    position: relative;
    top: auto;
    height: auto;
  }

  .pin-frame {
    height: auto;
    padding: 108px 0 120px;
    gap: 36px;
  }

  .pin-copy {
    display: flex;
    flex-direction: column;
    gap: 44px;
    min-height: 0;
  }

  .pin .pin-slide {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .pin .pin-layer-lock {
    opacity: 1;
  }

  .pin .pin-layer-tunnel,
  .pin .pin-layer-nodes {
    opacity: 0;
  }

  .pin-ring-prog {
    stroke-dashoffset: 0;
  }

  .pin-rail {
    display: none;
  }
}
