/* V2Plus landing — visual language and design system. */

:root {
  --bg-dark: #0b0c14;
  --bg-card: #151621;
  --bg-card-border: #1a1d29;
  --bg-inner: #0b0c14;
  --bg-light: #f3f4f7;
  --text-white: #ffffff;
  --text-soft: #bbc0d5;
  --text-muted: #7e8299;
  --text-dark: #181c32;
  --text-dark-soft: #3f4254;
  --accent: #5c6bc0;
  --accent-2: #3949ab;
  --success: #10b981;
  --gradient: linear-gradient(
    135deg,
    #7a86cc 0%,
    #5c6bc0 35%,
    #3949ab 75%,
    #303f9f 100%
  );
  --gradient-title: linear-gradient(207.74deg, #ffffff 16.66%, #a8b3e8 149.76%);
  --radius-lg: 40px;
  --radius-md: 28px;
  --radius-sm: 20px;
  --container: 1280px;
  --container-wide: 1920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-white);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}

/* The hero and stats use a wider container so they fill large screens; the
   header stays at the comfortable centered width, and content sections below
   keep 1280 too. */
.hero > .container,
.trust > .container {
  max-width: var(--container-wide);
}

/* ────────── Header ────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 20, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text-white);
  text-decoration: none;
}

.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 6px 18px rgba(62, 89, 218, 0.32);
}

.brand__text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.site-footer .brand__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text-white);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
}

/* ────────── Buttons ────────── */

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 24px rgba(0, 0, 0, 0.5);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-white);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  height: 44px;
  border-radius: 11px;
  background: var(--gradient);
  color: #ffffff;
  font-weight: 600;
}

/* Single-layer fallback when no inner span used */
.btn-gradient:not(:has(.btn-gradient__inner)) {
  padding: 0 28px;
  background: var(--gradient);
  border: 0;
  height: 56px;
  box-shadow: 0 12px 28px rgba(57, 73, 171, 0.36);
}

.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 18px 36px rgba(0, 0, 0, 0.6);
}

.btn-gradient svg {
  width: 16px;
  height: 16px;
}

/* Header download button is compact, not the big hero-sized one. */
.site-header__cta.btn-gradient {
  height: 42px;
  min-height: 0;
  padding: 0 20px;
  font-size: 14px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(57, 73, 171, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--text-white);
}

/* ────────── Section primitives ────────── */

.section {
  padding: 120px 0;
}

/* Formerly a light band — now dark, with a faint elevation to keep the
   section visually distinct from the pure-dark sections around it. */
.section--light {
  background-color: #0f1019;
  color: var(--text-white);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.section__title {
  margin: 0 0 24px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.section__lead {
  max-width: 720px;
  margin: 0 0 64px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-soft);
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .section__lead {
    margin-bottom: 48px;
  }
}

/* ────────── Hero ────────── */

.hero {
  position: relative;
  padding: 18px 0 24px;
}

.hero__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  padding: 44px 56px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(ellipse 58% 48% at 50% -8%, rgba(124, 134, 204, 0.34), transparent 62%),
    radial-gradient(ellipse 46% 42% at 86% 112%, rgba(57, 73, 171, 0.26), transparent 60%),
    linear-gradient(180deg, #12142b 0%, #0d0e1c 72%);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 32%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 32%, #000 30%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero__orb--a {
  top: -120px;
  left: 10%;
  width: 380px;
  height: 380px;
  background: rgba(92, 107, 192, 0.38);
}

.hero__orb--b {
  bottom: -160px;
  right: 4%;
  width: 360px;
  height: 360px;
  background: rgba(48, 63, 159, 0.42);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 760px;
}

.hero__logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
  border-radius: 32px;
  display: block;
  filter: drop-shadow(0 22px 48px rgba(122, 17, 251, 0.4))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
  .hero__logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    margin-bottom: 20px;
  }
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 20px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title em {
  font-style: normal;
  /* Brighter, lighter indigo so it stays legible on the dark panel instead of
     blending into it (the brand gradient's dark navy end was muddy here). */
  background: linear-gradient(120deg, #b9c2f4 0%, #8c9bf0 55%, #7b8bea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Rotating last line (typewriter) */
.hero__rotate-wrap {
  display: inline-block;
  white-space: nowrap;
}

.hero__rotate {
  background: linear-gradient(120deg, #b9c2f4 0%, #8c9bf0 55%, #7b8bea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__caret {
  display: inline-block;
  width: 4px;
  height: 0.86em;
  margin-left: 6px;
  vertical-align: -0.06em;
  border-radius: 2px;
  background: var(--accent);
  animation: heroCaret 1s steps(2, jump-none) infinite;
}

@keyframes heroCaret {
  50% {
    opacity: 0;
  }
}

.hero__subtitle {
  max-width: 620px;
  margin: 0 0 30px;
  font-family: "Inter", sans-serif;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--text-soft);
}

.hero__subtitle strong {
  color: var(--text-white);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

.hero__download-icons {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__download-icons svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 28px;
}

/* ── Hero two-column + phone mockup ── */
.hero__cols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 28px;
}

.hero__cols .hero__inner {
  max-width: 820px;
}

.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 18px 18px 0;
  min-height: 500px;
}

.hero-stage {
  position: relative;
  width: 660px;
  max-width: 100%;
}

/* ── Windows client window (behind the phone) ── */
.hero-desk {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #161830 0%, #0e0f1d 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.5);
}

.hero-desk__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-desk__dots {
  display: inline-flex;
  gap: 6px;
}

.hero-desk__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero-desk__dots i:first-child {
  background: #ff5f57;
}
.hero-desk__dots i:nth-child(2) {
  background: #febc2e;
}
.hero-desk__dots i:nth-child(3) {
  background: #28c840;
}

.hero-desk__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.hero-desk__win {
  margin-left: auto;
  display: inline-flex;
  gap: 10px;
  color: var(--text-muted);
}

.hero-desk__win svg {
  width: 14px;
  height: 14px;
  display: block;
}

.hero-desk__body {
  padding: 18px 18px 20px;
}

.hero-desk__statusrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-desk__power {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: radial-gradient(circle at 50% 30%, #4ade80, #10b981 60%, #059669);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45),
    inset 0 1px 4px rgba(255, 255, 255, 0.4);
}

.hero-desk__power svg {
  width: 20px;
  height: 20px;
}

.hero-desk__status-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.hero-desk__status {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.hero-desk__sub {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-desk__speed {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}

.hero-desk__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.hero-desk__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.hero-desk__row--active {
  background: rgba(92, 107, 192, 0.16);
  border-color: rgba(92, 107, 192, 0.5);
}

.hero-desk__flag {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  overflow: hidden;
  flex: none;
}

.hero-desk__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-desk__name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.hero-desk__ping {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-desk__ping--best {
  color: var(--success);
}

/* Phone moves in front, overlapping the window's bottom-right corner. */
.hero-stage .hero-phone {
  position: absolute;
  right: -18px;
  bottom: -34px;
  z-index: 3;
  transform: scale(0.84);
  transform-origin: bottom right;
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: 248px;
  height: 484px;
  border-radius: 44px;
  padding: 7px;
  background: linear-gradient(155deg, #2a2c47 0%, #0a0b14 58%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 44px 90px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.hero-phone__island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 19px;
  background: #05060c;
  border-radius: 999px;
  z-index: 3;
}

.hero-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 13px 16px 16px;
  background:
    radial-gradient(ellipse 95% 36% at 50% 0%, rgba(92, 107, 192, 0.28), transparent 60%),
    linear-gradient(180deg, #15162c 0%, #0a0b15 72%);
}

/* Glassy diagonal sheen across the screen for depth/realism. */
.hero-phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    132deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 26%,
    transparent 44%
  );
  pointer-events: none;
  z-index: 6;
}

.hero-phone__statusbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-phone__time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-phone__sys {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-phone__sys svg {
  height: 12px;
  width: auto;
  display: block;
}

.hero-phone__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.hero-phone__brand {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.hero-phone__badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--success);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 999px;
  padding: 3px 9px;
}

.hero-phone__power {
  position: relative;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 18px;
}

.hero-phone__power::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.hero-phone__pulse {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.45);
  animation: phonePulse 2.8s ease-out infinite;
}

.hero-phone__pulse--2 {
  animation-delay: 1.4s;
}

@keyframes phonePulse {
  0% {
    transform: scale(0.78);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.hero-phone__btn {
  position: relative;
  z-index: 1;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: radial-gradient(circle at 50% 30%, #4ade80, #10b981 56%, #059669);
  box-shadow:
    0 10px 28px rgba(16, 185, 129, 0.5),
    0 0 0 7px rgba(16, 185, 129, 0.1),
    inset 0 2px 8px rgba(255, 255, 255, 0.4),
    inset 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.hero-phone__btn svg {
  width: 34px;
  height: 34px;
}

.hero-phone__status {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
}

.hero-phone__ms {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-phone__speed {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.hero-phone__speed-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.hero-phone__speed-cell svg {
  width: 13px;
  height: 13px;
}

.hero-phone__speed-cell:first-child svg {
  color: var(--accent);
}

.hero-phone__speed-cell:last-child svg {
  color: var(--success);
}

.hero-phone__speed-div {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-phone__server {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-phone__flag {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  flex: none;
}

.hero-phone__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-phone__server-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.hero-phone__server-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.hero-phone__server-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-phone__server-go {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex: none;
}

@media (max-width: 960px) {
  .hero__cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero__cols .hero__inner {
    max-width: 760px;
  }
  .hero__media {
    display: none;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(21, 22, 33, 0.6);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}

.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

/* ── Hero region strip: a "cut-out" capsule seated on the banner's bottom edge.
   Capsule background == page background, so the half over the banner reads as a
   notch carved into it (same trick as antarcticwallet.com). ── */
.hero__regions {
  position: relative;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: -27px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--bg-dark);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.region-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.region-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 134, 204, 0.55);
  background: rgba(124, 134, 204, 0.16);
}

.region-chip__flag {
  display: inline-flex;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.region-chip__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Moldova chip tooltip ── */
.region-chip--md {
  position: relative;
  cursor: help;
}

.region-chip__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  z-index: 10;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(124, 134, 204, 0.35);
  background: linear-gradient(180deg, #1c1e38 0%, #111223 100%);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(0.96);
  transform-origin: bottom center;
  transition:
    opacity 0.2s ease,
    transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s linear 0.2s;
}

.region-chip__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #111223;
  filter: drop-shadow(0 1px 0 rgba(124, 134, 204, 0.35));
}

.region-chip__tip-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
}

.region-chip__tip-text {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-soft);
}

.region-chip--md:hover .region-chip__tip,
.region-chip--md:focus-visible .region-chip__tip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition:
    opacity 0.2s ease,
    transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s;
}

.region-chip--md:focus-visible {
  outline: none;
  border-color: rgba(124, 134, 204, 0.55);
}

@media (max-width: 640px) {
  .region-chip__tip {
    width: 220px;
  }
  .hero__regions {
    max-width: calc(100% - 16px);
    margin-top: -23px;
    gap: 5px;
    padding: 6px 7px;
  }
  .region-chip {
    font-size: 12px;
    padding: 6px 11px 6px 6px;
  }
  .region-chip__flag {
    width: 18px;
    height: 18px;
  }
}

/* ────────── Subscription cards (light section) ────────── */

.subs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.subs-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.subs-card__banner {
  height: 160px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subs-card__banner--violet {
  background: linear-gradient(135deg, #7239ea 0%, #5c6bc0 100%);
}

.subs-card__banner--green {
  background: linear-gradient(135deg, #10b981 0%, #3949ab 100%);
}

/* Soft radial highlights */
.subs-card__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(0, 0, 0, 0.2), transparent 55%);
  pointer-events: none;
}

/* Dot-grid overlay */
.subs-card__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.14) 1px,
    transparent 1.6px
  );
  background-size: 14px 14px;
  background-position: 0 0;
  opacity: 0.7;
  pointer-events: none;
  mask-image: linear-gradient(135deg, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 80%);
}

.subs-card__banner-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.subs-card__banner-glyph {
  position: relative;
  z-index: 1;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(17, 18, 32, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.subs-card__body {
  padding: 24px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.subs-card__title {
  margin: 0 0 10px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-white);
}

.subs-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
}

.subs-card__chip {
  align-self: flex-start;
  margin-top: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(92, 107, 192, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 992px) {
  .subs-grid {
    grid-template-columns: 1fr;
  }
}

/* ────────── Feature cards ────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 28px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  display: flex;
  flex-direction: column;
  min-height: 640px;
}

.feature-card__visual {
  position: relative;
  margin: 22px 22px 0;
  border-radius: 30px;
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 0%,
      rgba(92, 107, 192, 0.16),
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 50% at 100% 100%,
      rgba(122, 17, 251, 0.08),
      transparent 65%
    ),
    var(--bg-inner);
  border: 1px solid rgba(255, 255, 255, 0.04);
  flex: 0 0 400px;
  height: 400px;
  overflow: hidden;
}

.feature-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1.4px
  );
  background-size: 18px 18px;
  background-position: 0 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.feature-card__visual > *:not(.float-tag) {
  position: relative;
  z-index: 1;
}

.feature-card__body {
  padding: 28px 36px 40px;
}

.feature-card__title {
  margin: 0 0 16px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.feature-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .feature-card {
    min-height: 0;
  }
  .feature-card__visual {
    height: auto;
    min-height: 360px;
    flex: 0 0 auto;
  }
}

/* Scroll-driven emphasis (Chrome-style zoom) */
.feature-card {
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.7s ease;
  will-change: transform;
}

.feature-card.in-view-peak {
  transform: scale(1.03);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(92, 107, 192, 0.18);
}

/* Native scroll-driven animation for modern browsers */
@supports (animation-timeline: view()) {
  .feature-card {
    animation: feature-card-zoom linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 60%;
  }
  @keyframes feature-card-zoom {
    0% {
      transform: scale(0.92);
      opacity: 0.55;
    }
    55% {
      transform: scale(1.05);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-card.in-view-peak {
    transform: none;
    opacity: 1;
    animation: none !important;
  }
}

/* ────────── Mockups inside feature cards ────────── */

.feature-card__visual {
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating badges around mockups */
.float-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 22, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  white-space: nowrap;
  z-index: 2;
}

.float-tag--accent {
  background: rgba(92, 107, 192, 0.18);
  border-color: rgba(92, 107, 192, 0.4);
  color: #d6dafd;
}

.float-tag--success {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--success);
}

.float-tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* === Subscription card mockup (Card 1) === */
.mock-sub {
  width: 100%;
  max-width: 340px;
  border-radius: 22px;
  background: #1d1e2c;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.mock-sub__banner {
  position: relative;
  height: 110px;
  background: linear-gradient(135deg, #7a86cc 0%, #3949ab 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-sub__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.22), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(0, 0, 0, 0.28), transparent 55%);
  pointer-events: none;
}

.mock-sub__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.16) 1px,
    transparent 1.6px
  );
  background-size: 12px 12px;
  opacity: 0.6;
  pointer-events: none;
  mask-image: linear-gradient(135deg, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 75%);
}

.mock-sub__banner-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mock-sub__banner-glyph {
  position: relative;
  z-index: 1;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(17, 18, 32, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mock-sub__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 14px;
}

.mock-sub__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.mock-sub__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
}

.mock-sub__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.mock-sub__chip {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: var(--success);
  font-size: 11px;
  font-weight: 600;
}

.mock-sub__fastest {
  margin: 0 14px 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-sub__fastest-bolt {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--success);
}

.mock-sub__fastest-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: 1px;
}

.mock-sub__fastest-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
}

.mock-sub__fastest-ms {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
}

/* === Two-window mockup (Card 2) === */
.mock-twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
}

.mock-win {
  border-radius: 22px;
  background: #1d1e2c;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.mock-win__caption {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-power-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin: 8px auto;
  height: 110px;
}

.mock-power {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2a2c40;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03),
    0 0 0 12px rgba(255, 255, 255, 0.015),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  z-index: 2;
  transition:
    background 0.55s ease,
    box-shadow 0.55s ease,
    color 0.4s ease,
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(1);
}

.mock-power svg {
  width: 32px;
  height: 32px;
  transition: color 0.4s ease;
}

.mock-power-pulse {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid rgba(92, 107, 192, 0.5);
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.7);
    opacity: 0;
  }
}

/* Connected state */
.mock-twin.is-connected .mock-power {
  background: var(--gradient);
  box-shadow: 0 0 0 6px rgba(92, 107, 192, 0.14),
    0 0 0 12px rgba(92, 107, 192, 0.07),
    0 12px 32px rgba(57, 73, 171, 0.4);
  color: #fff;
  animation: power-burst 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mock-twin.is-connected .mock-power svg {
  color: #fff;
}

.mock-twin.is-connected .mock-power-pulse {
  opacity: 1;
  animation: pulse-ring 2.4s ease-out infinite;
}

.mock-twin.is-connected .mock-power-pulse--delay {
  animation-delay: 1.2s;
}

@keyframes power-burst {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.32);
  }
  60% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

.mock-power-flash {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(122, 138, 255, 0.7) 0%,
    transparent 65%
  );
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.mock-twin.is-connected .mock-power-flash {
  animation: power-flash 0.85s ease-out;
}

@keyframes power-flash {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  30% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

/* Status pills (Подключено / Отключено) */
.mock-win__status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mock-win__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.mock-win__status--off {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.32);
  color: #f87171;
}

.mock-win__status--on {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: var(--success);
}

.mock-win__status-slot {
  position: relative;
  min-height: 24px;
}

.mock-win__status-slot .mock-win__status {
  position: absolute;
  top: 0;
  left: 0;
}

.mock-win__status--on {
  opacity: 0;
  transform: translateY(4px);
}

.mock-twin.is-connected .mock-win__status--off {
  opacity: 0;
  transform: translateY(-4px);
}

.mock-twin.is-connected .mock-win__status--on {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

/* Server pill fade-in on connect */
.mock-server-pill {
  opacity: 0.45;
  filter: grayscale(0.4);
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.mock-twin.is-connected .mock-server-pill {
  opacity: 1;
  filter: none;
  transition-delay: 0.3s;
}

.mock-server-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-server-pill__flag {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  background: #1d1e2c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mock-server-pill__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mock-server-pill__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-white);
}

.mock-server-pill__sub {
  font-size: 11px;
  color: var(--text-muted);
}

.mock-row-simple {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-row-simple__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-row-simple__value {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-white);
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-family: "Inter", sans-serif;
}

/* === QR mockup (Card 3) === */
.mock-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.mock-qr-frame {
  position: relative;
  padding: 18px;
}

.mock-qr-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(92, 107, 192, 0.55);
}

.mock-qr-corner--tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 6px;
}

.mock-qr-corner--tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 6px;
}

.mock-qr-corner--bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 6px;
}

.mock-qr-corner--br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 6px;
}

.mock-qr-scan {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(92, 107, 192, 0.8) 50%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(92, 107, 192, 0.7);
  animation: scan-line 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan-line {
  0%,
  100% {
    top: 24px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  50% {
    top: calc(100% - 24px);
    opacity: 1;
  }
}

.mock-qr {
  width: 200px;
  height: 200px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 1;
}

.mock-qr svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mock-deeplink {
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--text-soft);
  max-width: 280px;
  text-align: center;
}

.mock-deeplink strong {
  color: var(--accent);
  font-weight: 600;
}

.mock-deeplink-hint {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === Ping list mockup (Card 4) === */
.ping-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ping-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  padding: 0 4px;
}

.ping-list__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ping-list__title svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.ping-list__sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(92, 107, 192, 0.14);
  border: 1px solid rgba(92, 107, 192, 0.32);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4cbed;
}

.ping-list__sort svg {
  width: 10px;
  height: 10px;
}

/* Ping list rows (Card 4) */
.ping-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #1d1e2c;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.ping-row--best {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.32);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.04) inset;
}

.ping-flag {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #1d1e2c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
}

.ping-flag svg,
.ping-flag img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ping-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
}

.ping-best-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: 2px;
}

.ping-value {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
}

.ping-row--best .ping-value {
  color: var(--success);
}

.ping-row--best .ping-flag {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32),
    0 0 0 2px rgba(16, 185, 129, 0.18);
}

/* ────────── Security blocks ────────── */

.security-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.security-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
  padding: 56px 64px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: 0 24px 64px rgba(24, 28, 50, 0.06);
  min-height: 520px;
}

.security-card--dark {
  background: var(--bg-card);
  color: var(--text-white);
  border: 1px solid var(--bg-card-border);
  box-shadow: none;
}

.security-card--dark .security-card__title {
  color: var(--text-white);
}

.security-card--dark .security-card__text,
.security-card--dark .security-card__bullets li {
  color: var(--text-soft);
}

.security-card--dark .security-card__bullet {
  background: var(--accent);
}

.security-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.security-card__title {
  margin: 0 0 18px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.security-card__text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dark-soft);
}

.security-card__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.security-card__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark-soft);
}

.security-card__bullet {
  flex-shrink: 0;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.security-card__visual {
  position: relative;
  border-radius: var(--radius-md);
  background:
    radial-gradient(
      ellipse 70% 50% at 20% 0%,
      rgba(92, 107, 192, 0.1),
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 50% at 100% 100%,
      rgba(122, 17, 251, 0.07),
      transparent 65%
    ),
    linear-gradient(160deg, #f9fafb 0%, #eef0f4 100%);
  border: 1px solid rgba(24, 28, 50, 0.06);
  padding: 52px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  min-height: 408px;
}

.security-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(24, 28, 50, 0.06) 1px,
    transparent 1.4px
  );
  background-size: 18px 18px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 80%);
}

.security-card--dark .security-card__visual {
  background:
    radial-gradient(
      ellipse 70% 50% at 20% 0%,
      rgba(92, 107, 192, 0.18),
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 50% at 100% 100%,
      rgba(122, 17, 251, 0.1),
      transparent 65%
    ),
    var(--bg-inner);
  border-color: rgba(255, 255, 255, 0.04);
}

.security-card--dark .security-card__visual::before {
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1.4px
  );
}

.security-card__visual > *:not(.float-tag) {
  position: relative;
  z-index: 1;
}

/* Floating tag variant for light security cards */
.float-tag--light {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(24, 28, 50, 0.08);
  color: var(--text-dark-soft);
  box-shadow: 0 8px 24px rgba(24, 28, 50, 0.06);
}

.float-tag--light-accent {
  background: rgba(92, 107, 192, 0.1);
  border: 1px solid rgba(92, 107, 192, 0.28);
  color: #4a55a8;
}

.float-tag--light-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #047857;
}

@media (max-width: 992px) {
  .security-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 28px;
    min-height: 0;
  }
  .security-card__visual {
    min-height: 0;
    padding: 36px 24px;
  }
}

/* AES vault mockup */
.aes-vault {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 28px;
  border-radius: 24px;
  background: linear-gradient(
    160deg,
    rgba(92, 107, 192, 0.08) 0%,
    rgba(57, 73, 171, 0.02) 100%
  );
  border: 1px solid rgba(92, 107, 192, 0.18);
  margin-bottom: 24px;
}

.security-card--dark .aes-vault {
  background: linear-gradient(
    160deg,
    rgba(92, 107, 192, 0.12) 0%,
    rgba(57, 73, 171, 0.04) 100%
  );
  border-color: rgba(92, 107, 192, 0.25);
}

.aes-vault__icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 16px 36px rgba(57, 73, 171, 0.32);
}

.aes-vault__icon svg {
  position: relative;
  z-index: 1;
}

.aes-vault__halo {
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  border: 1px dashed rgba(92, 107, 192, 0.45);
  animation: vault-spin 18s linear infinite;
}

.aes-vault__halo::before,
.aes-vault__halo::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.aes-vault__halo::before {
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.aes-vault__halo::after {
  bottom: -3px;
  right: 50%;
  transform: translateX(50%);
}

@keyframes vault-spin {
  to {
    transform: rotate(360deg);
  }
}

.aes-vault__hex {
  margin-top: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: "Inter", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(92, 107, 192, 0.55);
}

.security-card--dark .aes-vault__hex {
  color: rgba(168, 179, 232, 0.5);
}

.aes-vault__hex span {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(92, 107, 192, 0.08);
}

.security-card--dark .aes-vault__hex span {
  background: rgba(92, 107, 192, 0.16);
}

/* ────────── Audit panel (Code review card) ────────── */

.audit-panel {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.audit-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.audit-panel__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.audit-panel__title svg {
  color: var(--accent);
}

.audit-panel__score {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: var(--success);
  font-family: "Inter", monospace;
  font-weight: 700;
}

.audit-panel__score-num {
  font-size: 14px;
}

.audit-panel__score-max {
  font-size: 10px;
  opacity: 0.75;
}

.audit-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.audit-check:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.audit-check__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}

.audit-check__icon--ok {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
}

.audit-check__icon--wip {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}

.audit-check__name {
  flex: 1;
  font-weight: 600;
  color: var(--text-white);
}

.audit-check__meta {
  font-family: "Inter", monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.audit-check__meta--wip {
  color: #d97706;
}

/* Terminal mock under audit panel */
.terminal-mock {
  position: relative;
  margin: 14px 0 0;
  padding: 32px 14px 12px;
  background: #0b0c14;
  border-radius: 12px;
  border: 1px solid rgba(24, 28, 50, 0.16);
  font-family: "Inter", "SF Mono", Consolas, monospace;
  font-size: 11px;
  line-height: 1.6;
  color: #cbd5e1;
  white-space: normal;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(11, 12, 20, 0.18);
}

.terminal-mock__dots {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 14px 0 #f59e0b, 28px 0 #10b981;
}

.terminal-mock__caption {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5b657d;
}

.terminal-mock__body {
  display: block;
}

.terminal-mock__line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.terminal-mock__prompt {
  color: #8b95d6;
  margin-right: 6px;
}

.terminal-mock__ok {
  color: #34d399;
  font-weight: 600;
}

.terminal-mock__line--dim {
  color: #6c7693;
}

.aes-vault__label {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-top: 4px;
}

.security-card--dark .aes-vault__label {
  color: var(--text-white);
}

.aes-vault__caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Bars mockup */
.bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bar-row__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-dark-soft);
}

.security-card--dark .bar-row__head {
  color: var(--text-soft);
}

.bar-row__head strong {
  color: var(--text-dark);
  font-weight: 600;
}

.security-card--dark .bar-row__head strong {
  color: var(--text-white);
}

.bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(24, 28, 50, 0.08);
  overflow: hidden;
}

.security-card--dark .bar {
  background: rgba(255, 255, 255, 0.06);
}

.bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--success);
}

.bar--warn > span {
  background: #f59e0b;
}

.bar--danger > span {
  background: #ef4444;
}

/* "lock" rows mockup (deeplink protection) */
.lock-mock {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lock-mock__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(24, 28, 50, 0.06);
}

.security-card--dark .lock-mock__row {
  background: #1d1e2c;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.lock-mock__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(57, 73, 171, 0.24);
}

.lock-mock__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.security-card--dark .lock-mock__title {
  color: var(--text-white);
}

.lock-mock__hint {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ────────── CTA ────────── */

.cta {
  padding: 96px 0;
}

.cta__box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  padding: 88px 56px 80px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 18%, rgba(160, 170, 220, 0.45), transparent 55%),
    radial-gradient(circle at 82% 86%, rgba(26, 35, 126, 0.55), transparent 55%),
    linear-gradient(135deg, #5c6bc0 0%, #3949ab 60%, #283593 100%);
  color: #ffffff;
  box-shadow:
    0 40px 100px rgba(57, 73, 171, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cta__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.cta__orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

.cta__orb--top {
  top: -140px;
  left: -100px;
  background: rgba(255, 255, 255, 0.4);
}

.cta__orb--bottom {
  bottom: -180px;
  right: -120px;
  background: rgba(26, 35, 126, 0.7);
}

.cta__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.cta__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta__chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.5));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.cta__title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.cta__text {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.92;
}

.cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  color: #1a237e;
  text-decoration: none;
  min-width: 280px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.cta-btn__icon--android {
  background: linear-gradient(135deg, #a4c639, #6ab02f);
}

.cta-btn__icon--windows {
  background: linear-gradient(135deg, #2aa1f5, #0078d4);
}

.cta-btn__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.cta-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.1;
}

.cta-btn__hint {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 35, 126, 0.58);
}

.cta-btn__label {
  margin-top: 4px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a237e;
}

.cta-btn__meta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(26, 35, 126, 0.08);
  color: rgba(26, 35, 126, 0.72);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cta-btn__meta svg {
  width: 12px;
  height: 12px;
}

.cta__note {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
}

/* ────────── Footer ────────── */

.site-footer {
  padding: 72px 0 40px;
  background: #07080d;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 44px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.site-footer .brand {
  font-size: 22px;
}

.site-footer__tagline {
  margin: 0;
  max-width: 320px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
}

.footer-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(92, 107, 192, 0.8);
}

.footer-col__title {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a {
  color: var(--text-soft);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-white);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-inline: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer__bottom .brand__text {
  font-weight: 600;
}

.site-footer__legal {
  color: var(--text-muted);
}

/* ────────── Utilities ────────── */

@media (max-width: 768px) {
  .container {
    padding-inline: 20px;
  }
  .cta__box {
    padding: 56px 22px 56px;
  }
  .cta__chip {
    font-size: 11px;
    padding: 5px 12px;
  }
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-btn {
    min-width: 0;
    width: 100%;
  }
  .feature-card__visual {
    padding: 28px 22px;
    margin: 16px 16px 0;
    min-height: 340px;
  }
  .feature-card__body {
    padding: 24px 24px 32px;
  }
  .security-card {
    padding: 32px 28px;
  }
}

@media (max-width: 540px) {
  .mock-twin {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mock-win {
    padding: 16px;
    gap: 12px;
  }
  .mock-power-wrap {
    height: 90px;
  }
  .float-tag {
    display: none;
  }
  .cta-btn__meta {
    display: none;
  }
  .feature-card__visual {
    overflow: visible;
  }
}

@media (max-width: 380px) {
  .ping-list__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ════════════════════════════════════════════════════════════════
   ────────── DEVELOPERS PAGE ──────────
   ════════════════════════════════════════════════════════════════ */

/* ── Back link in header ────────────────────────────────────── */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.back-link:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Dev hero ───────────────────────────────────────────────── */

.dev-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 46px;
  background:
    radial-gradient(ellipse 58% 54% at 12% 0%, rgba(92, 107, 192, 0.22), transparent 68%),
    radial-gradient(ellipse 48% 38% at 92% 82%, rgba(16, 185, 129, 0.1), transparent 64%),
    var(--bg-dark);
}

.dev-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.64fr);
  align-items: center;
  gap: 52px;
}

.dev-hero__copy {
  min-width: 0;
}

.dev-hero__title {
  max-width: 760px;
  margin: 0 0 22px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dev-hero__title em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dev-hero__subtitle {
  max-width: 680px;
  margin: 0 0 28px;
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--text-soft);
}

.dev-hero__subtitle strong {
  color: var(--text-white);
  font-weight: 600;
}

.dev-quickstart {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 95% 64% at 50% 0%, rgba(92, 107, 192, 0.2), transparent 68%),
    linear-gradient(180deg, #171927 0%, #11121d 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.34);
}

.dev-quickstart::after {
  content: "";
  position: absolute;
  right: -78px;
  bottom: -78px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(92, 107, 192, 0.18);
  pointer-events: none;
}

.dev-quickstart__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.dev-quickstart__time {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
}

.dev-quickstart__steps {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: quickstart;
}

.dev-quickstart__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  min-width: 0;
}

.dev-quickstart__steps li::before {
  counter-increment: quickstart;
  content: counter(quickstart);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(92, 107, 192, 0.16);
  border: 1px solid rgba(92, 107, 192, 0.3);
  font-size: 13px;
  font-weight: 800;
  color: #a8b3e8;
}

.dev-quickstart__steps strong {
  grid-column: 2;
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  line-height: 1.3;
  color: #ffffff;
}

.dev-quickstart__steps span {
  grid-column: 2;
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-soft);
}

.dev-quickstart__code {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 24px 0 0;
  padding: 16px;
  border-radius: 16px;
  overflow-x: auto;
  background: #07080d;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-quickstart__code code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: #d6dbf0;
  white-space: nowrap;
}

.dev-quickstart__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dev-quickstart__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.dev-quickstart__actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 179, 232, 0.4);
  background: rgba(92, 107, 192, 0.14);
}

/* ── Developer docs map ─────────────────────────────────────── */

.dev-doc-map {
  padding: 0 0 72px;
  background: var(--bg-dark);
}

.dev-doc-map__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dev-doc-card {
  position: relative;
  min-width: 0;
  padding: 20px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.dev-doc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 179, 232, 0.4);
  background: rgba(255, 255, 255, 0.055);
}

.dev-doc-card__num {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #8c9bf0;
}

.dev-doc-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.2;
  color: #ffffff;
}

.dev-doc-card span:last-child {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-soft);
}

/* ── Developer technical reference ──────────────────────────── */

.dev-reference {
  padding: 0 0 72px;
  background: var(--bg-dark);
}

.dev-reference__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.dev-reference__toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.dev-reference__toc-title {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dev-reference__toc a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dev-reference__toc a:hover {
  color: #ffffff;
  background: rgba(92, 107, 192, 0.12);
}

.dev-reference__main {
  min-width: 0;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 76% 60% at 85% 0%, rgba(92, 107, 192, 0.15), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-reference__head .dev-section__lead {
  margin-bottom: 30px;
}

.dev-ref-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dev-ref-card {
  min-width: 0;
  padding: 20px;
  border-radius: 18px;
  background: rgba(11, 12, 20, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.dev-ref-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c9bf0;
}

.dev-ref-card strong {
  display: block;
  margin-bottom: 14px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.25;
  color: #ffffff;
}

.dev-ref-card code {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  overflow-x: auto;
  background: #07080d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  color: #d6dbf0;
  white-space: nowrap;
}

/* ── Developer scenarios ────────────────────────────────────── */

.dev-scenarios {
  padding-top: 0;
}

.dev-scenarios__head {
  max-width: 780px;
  margin-bottom: 34px;
}

.dev-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dev-scenario-card {
  position: relative;
  min-width: 0;
  padding: 26px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    var(--bg-card);
  border: 1px solid var(--bg-card-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dev-scenario-card--primary {
  border-color: rgba(92, 107, 192, 0.36);
  background:
    radial-gradient(ellipse 95% 70% at 50% 0%, rgba(92, 107, 192, 0.2), transparent 68%),
    var(--bg-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.dev-scenario-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dev-scenario-card__meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.dev-scenario-card h3 {
  margin: 4px 0 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  color: #ffffff;
}

.dev-scenario-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

.dev-scenario-card__code {
  max-width: 100%;
  margin: 6px 0 0;
  padding: 14px;
  border-radius: 14px;
  overflow-x: auto;
  background: #07080d;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.dev-scenario-card__code code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  color: #d6dbf0;
  white-space: nowrap;
}

.dev-scenario-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 40px;
  margin-top: auto;
  padding: 0 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.dev-scenario-card__link:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 179, 232, 0.42);
  background: rgba(92, 107, 192, 0.14);
}

/* ── Developer proof strip ──────────────────────────────────── */

.dev-proof-strip {
  padding: 0 0 40px;
  background: var(--bg-dark);
}

.dev-proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-proof-strip__inner div {
  min-width: 0;
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-proof-strip__inner div:last-child {
  border-right: 0;
}

.dev-proof-strip__inner strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
}

.dev-proof-strip__inner span {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-soft);
}

/* ── Dev section primitives ─────────────────────────────────── */

.section--dev {
  padding: 88px 0;
  background: var(--bg-dark);
}

.section--dev-alt {
  background: #0f1019;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dev-section__title {
  margin: 0 0 18px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-white);
}

.dev-section__lead {
  max-width: 760px;
  margin: 0 0 44px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

.dev-section__lead a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(92, 107, 192, 0.4);
  text-underline-offset: 3px;
}

.dev-section__lead a:hover {
  text-decoration-color: var(--accent);
}

/* ── Inline code ────────────────────────────────────────────── */

.inline-code {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(92, 107, 192, 0.12);
  border: 1px solid rgba(92, 107, 192, 0.18);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  font-weight: 500;
  color: #c5cce8;
  line-height: 1.4;
}

/* ── Dev cards (deeplinks grid) ─────────────────────────────── */

.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dev-card {
  position: relative;
  min-width: 0;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dev-card__tag {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dev-card__tag--accent {
  background: rgba(92, 107, 192, 0.14);
  color: #a8b3e8;
  border: 1px solid rgba(92, 107, 192, 0.24);
}

.dev-card__tag--success {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.dev-card__title {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--text-white);
}

.dev-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ── Developer trust block ─────────────────────────────────── */

.dev-trust {
  overflow: hidden;
  background:
    radial-gradient(ellipse 680px 380px at 84% 4%, rgba(92, 107, 192, 0.22), transparent 70%),
    radial-gradient(ellipse 560px 300px at 12% 100%, rgba(16, 185, 129, 0.09), transparent 72%),
    #0f1019;
  color: var(--text-white);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dev-trust .section__eyebrow {
  color: #8c9bf0;
}

.dev-trust .dev-section__title {
  max-width: 780px;
  color: var(--text-white);
}

.dev-trust .dev-section__lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--text-soft);
}

.dev-trust__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.dev-trust__copy {
  min-width: 0;
}

.dev-trust__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.dev-trust__metric {
  min-width: 0;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.dev-trust__metric strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 30px;
  line-height: 1;
  color: #ffffff;
}

.dev-trust__metric span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-soft);
}

.dev-trust__visual {
  position: relative;
  min-width: 0;
}

.dev-trust__visual::before {
  content: "";
  position: absolute;
  inset: -42px -36px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  filter: blur(38px);
}

.dev-client {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 85% 70% at 50% 0%, rgba(92, 107, 192, 0.2), transparent 66%),
    linear-gradient(180deg, #171927 0%, #11131d 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.38);
}

.dev-client::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(92, 107, 192, 0.18);
}

.dev-client__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.dev-client__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.dev-client__bar span:first-child {
  background: #ff8562;
}

.dev-client__bar span:nth-child(2) {
  background: #f3c74f;
}

.dev-client__bar span:nth-child(3) {
  background: #34d399;
}

.dev-client__body {
  position: relative;
  z-index: 1;
  padding: 34px;
}

.dev-client__shield {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #7a86cc 0%, #3949ab 100%);
  box-shadow: 0 18px 34px rgba(57, 73, 171, 0.28);
}

.dev-client__shield svg {
  width: 34px;
  height: 34px;
}

.dev-client__title {
  margin-bottom: 8px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.12;
  color: #ffffff;
}

.dev-client__text {
  max-width: 300px;
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-soft);
}

.dev-client__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dev-client__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-client__row span,
.dev-client__row strong {
  font-size: 13px;
  line-height: 1.35;
}

.dev-client__row span {
  color: var(--text-muted);
}

.dev-client__row strong {
  text-align: right;
  color: #ffffff;
}

.dev-trust__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-trust__point {
  min-width: 0;
  padding: 30px 30px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-trust__point:first-child {
  padding-left: 0;
}

.dev-trust__point:last-child {
  padding-right: 0;
  border-right: 0;
}

.dev-trust__num {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #8c9bf0;
}

.dev-trust__point h3 {
  margin: 0 0 12px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: #ffffff;
}

.dev-trust__point p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ── Code block (monospaced URL examples) ───────────────────── */

.code-block {
  position: relative;
  margin: 6px 0 0;
  padding: 28px 18px 16px;
  border-radius: 14px;
  background: #07080d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.code-block code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #d6dbf0;
  white-space: nowrap;
}

.code-block__label {
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(168, 179, 232, 0.55);
}

.code-block--lg {
  margin-top: 36px;
  padding: 32px 22px 20px;
}

.code-block--lg code {
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-all;
}

.code-block--stack code {
  white-space: pre;
  word-break: normal;
}

/* Token colors for inline-highlighted URLs */
.t-scheme { color: #f0648a; font-weight: 600; }
.t-host { color: #a8b3e8; font-weight: 600; }
.t-path { color: #d6dbf0; }
.t-hash { color: #f59e0b; font-weight: 700; }
.t-key { color: #34d399; }
.t-val { color: #d6dbf0; }
.t-punct { color: #7e8299; }

/* ════════════════════════════════════════════════════════════════
   ────────── DEVELOPERS DOCS REDESIGN ──────────
   ════════════════════════════════════════════════════════════════ */

.docs-page {
  background:
    radial-gradient(ellipse 720px 420px at 18% 0%, rgba(92, 107, 192, 0.18), transparent 70%),
    radial-gradient(ellipse 620px 360px at 92% 18%, rgba(16, 185, 129, 0.08), transparent 72%),
    var(--bg-dark);
}

.docs-hero {
  padding: 72px 0 34px;
  overflow: hidden;
}

.docs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.docs-hero__copy,
.docs-visual,
.docs-content,
.docs-section,
.docs-method,
.docs-asset,
.docs-overview-card {
  min-width: 0;
}

.docs-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c9bf0;
}

.docs-hero__title {
  max-width: 760px;
  margin: 0 0 22px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.docs-hero__lead {
  max-width: 680px;
  margin: 0 0 28px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--text-soft);
}

.docs-hero__actions,
.docs-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.docs-hero__actions {
  margin-bottom: 24px;
}

.docs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.docs-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 179, 232, 0.42);
  background: rgba(92, 107, 192, 0.14);
}

.docs-btn--primary {
  background: var(--gradient);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(57, 73, 171, 0.34);
}

.docs-pill-row {
  gap: 8px;
}

.docs-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  color: #d6dbf0;
}

.docs-laptop {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(ellipse 90% 70% at 70% 0%, rgba(92, 107, 192, 0.2), transparent 68%),
    linear-gradient(180deg, #191b2d 0%, #10111b 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.42);
}

.docs-laptop__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.docs-laptop__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.docs-laptop__bar span:first-child { background: #ff8562; }
.docs-laptop__bar span:nth-child(2) { background: #f3c74f; }
.docs-laptop__bar span:nth-child(3) { background: #34d399; }

.docs-laptop__bar b {
  margin-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--text-muted);
}

.docs-laptop__screen {
  position: relative;
  min-height: 430px;
  padding: 28px;
}

.docs-panel-card {
  max-width: 390px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-panel-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.docs-panel-card__head span,
.docs-panel-card__head strong,
.docs-phone-card__body strong,
.docs-phone-card__body span {
  display: block;
}

.docs-panel-card__head span {
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.docs-panel-card__head strong {
  color: #ffffff;
  font-size: 18px;
}

.docs-panel-card__head button {
  flex: none;
  height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  border: 0;
  background: var(--gradient);
  color: #ffffff;
  font-weight: 700;
}

.docs-code-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-code-mini span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 9px 10px;
  border-radius: 10px;
  background: #07080d;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  color: #d6dbf0;
}

.docs-phone-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 235px;
  overflow: hidden;
  border-radius: 24px;
  background: #11131d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
}

.docs-phone-card__banner {
  height: 78px;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #5c6bc0 0%, #10b981 130%);
}

.docs-phone-card__body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.docs-phone-card__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.4), transparent 25%),
    var(--gradient);
}

.docs-phone-card__body strong {
  font-size: 13px;
  color: #ffffff;
}

.docs-phone-card__body span {
  font-size: 11px;
  color: var(--text-muted);
}

.docs-phone-card__notice {
  margin: 0 14px 14px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.22);
  font-size: 11px;
  font-weight: 700;
  color: #6ee7b7;
}

.docs-overview {
  padding: 16px 0 56px;
}

.docs-overview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.docs-overview-card {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.docs-overview-card:hover {
  border-color: rgba(168, 179, 232, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.docs-card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: #a8b3e8;
  background: rgba(92, 107, 192, 0.16);
  border: 1px solid rgba(92, 107, 192, 0.28);
}

.docs-card-icon svg {
  width: 21px;
  height: 21px;
}

.docs-card-icon--small {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.docs-card-icon--small svg {
  width: 18px;
  height: 18px;
}

.docs-card-icon--green {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.24);
}

.docs-overview-card__num {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #8c9bf0;
}

.docs-overview-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 18px;
  color: #ffffff;
}

.docs-overview-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-soft);
}

.docs-shell {
  padding: 0 0 88px;
}

.docs-shell__grid {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 188px;
  gap: 32px;
  align-items: start;
}

.docs-main {
  min-width: 0;
}

.docs-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.docs-breadcrumbs a {
  color: var(--text-soft);
  font-weight: 600;
  transition: color 0.2s ease;
}

.docs-breadcrumbs a:hover {
  color: #ffffff;
}

.docs-breadcrumbs span[aria-hidden="true"] {
  opacity: 0.45;
}

.docs-breadcrumbs #docsBreadcrumbCurrent {
  color: #a8b3e8;
  font-weight: 700;
}

.docs-sidebar__search {
  margin-bottom: 14px;
}

.docs-sidebar__search input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px 0 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23888da8' stroke-width='2' stroke-linecap='round' d='M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14z'/%3E%3Cpath stroke='%23888da8' stroke-width='2' stroke-linecap='round' d='M21 21l-4.35-4.35'/%3E%3C/svg%3E")
    12px center / 16px no-repeat,
    rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.docs-sidebar__search input::placeholder {
  color: var(--text-muted);
}

.docs-sidebar__search input:focus {
  border-color: rgba(168, 179, 232, 0.45);
  background-color: rgba(92, 107, 192, 0.08);
}

.docs-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.docs-sidebar a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 2px 0 0 #8c9bf0;
}

.docs-toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 16px 0 16px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-toc__title {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.docs-toc a {
  display: block;
  padding: 6px 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.docs-toc a:hover {
  color: #ffffff;
}

.docs-toc__section {
  margin-top: 10px;
  font-weight: 700;
  color: var(--text-soft);
}

.docs-toc__section:first-child {
  margin-top: 0;
}

.docs-toc__sub {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: 2px;
}

.docs-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.docs-callout__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}

.docs-callout__icon svg {
  width: 18px;
  height: 18px;
}

.docs-callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #ffffff;
}

.docs-callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.docs-callout a {
  color: #a8b3e8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-callout a:hover {
  color: #ffffff;
}

.docs-callout--tip {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.22);
}

.docs-callout--tip .docs-callout__icon {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
}

.docs-callout--info {
  background: rgba(92, 107, 192, 0.1);
  border-color: rgba(92, 107, 192, 0.24);
}

.docs-callout--info .docs-callout__icon {
  color: #a8b3e8;
  background: rgba(92, 107, 192, 0.18);
}

.docs-callout--note {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.1);
}

.docs-callout--note .docs-callout__icon {
  color: #d6dbf0;
  background: rgba(255, 255, 255, 0.06);
}

.docs-code-shell {
  margin-top: 10px;
}

.docs-code-shell:first-child {
  margin-top: 0;
}

.docs-code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px 12px 0 0;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 0;
}

.docs-code__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.docs-code__copy {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.docs-code__copy:hover,
.docs-code__copy:focus-visible {
  color: #ffffff;
  border-color: rgba(168, 179, 232, 0.4);
  background: rgba(92, 107, 192, 0.16);
  outline: none;
}

.docs-code__copy[data-copied="true"] {
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.12);
}

.docs-code-shell .docs-code {
  margin-top: 0;
  border-radius: 0 0 12px 12px;
}

.docs-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-pager__link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 64px;
  padding: 13px 16px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.docs-pager__link:hover {
  border-color: rgba(168, 179, 232, 0.3);
  background: rgba(255, 255, 255, 0.025);
}

.docs-pager__link--next {
  text-align: right;
  align-items: flex-end;
}

.docs-pager__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.docs-pager__title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.docs-mobile-nav {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 19, 29, 0.94);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

.docs-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(4, 5, 10, 0.62);
  backdrop-filter: blur(2px);
}

.docs-section,
.docs-hero,
.docs-overview {
  scroll-margin-top: 92px;
}

.docs-section__head .inline-code,
.docs-callout .inline-code {
  padding: 2px 7px;
  border-radius: 7px;
  background: rgba(92, 107, 192, 0.14);
  border: 1px solid rgba(92, 107, 192, 0.24);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: #c5cce8;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
}

.docs-sidebar__title {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.docs-sidebar a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.docs-sidebar a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.docs-content {
  display: flex;
  flex-direction: column;
}

.docs-section {
  padding: 0 0 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.docs-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.docs-section__head {
  max-width: 720px;
  margin-bottom: 28px;
}

.docs-section__head h2 {
  margin: 0 0 14px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(25px, 2.6vw, 33px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.docs-section__head p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

.docs-section .docs-kicker {
  margin-bottom: 14px;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: none;
}

.docs-two-col,
.docs-asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.docs-safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.docs-method,
.docs-asset,
.docs-safety-grid article {
  min-width: 0;
  padding: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.docs-method__tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(92, 107, 192, 0.16);
  border: 1px solid rgba(92, 107, 192, 0.3);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #a8b3e8;
  text-transform: uppercase;
}

.docs-method__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.docs-method__meta .docs-card-icon {
  flex: none;
  margin-bottom: 0;
}

.docs-method__tag--green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.24);
  color: #6ee7b7;
}

.docs-method h3 {
  margin: 0 0 10px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 21px;
  color: #ffffff;
}

.docs-method p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.docs-code {
  max-width: 100%;
  margin: 10px 0 0;
  padding: 15px;
  border-radius: 12px;
  overflow-x: auto;
  background: #0a0b12;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.docs-code code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #d6dbf0;
  white-space: nowrap;
}

.docs-code--large {
  margin-top: 22px;
}

.docs-code--large code {
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-all;
}

.docs-code--stack code {
  white-space: pre;
  word-break: normal;
}

.docs-table {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
}

.docs-table__row {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-table__row:last-child {
  border-bottom: 0;
}

.docs-table__row--head {
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.docs-table code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: #c5cce8;
}

.docs-table p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.docs-table b {
  color: #ffffff;
  font-weight: 600;
}

.docs-asset__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.docs-asset__top .docs-card-icon {
  flex: none;
  margin-bottom: 0;
}

.docs-asset h3 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 21px;
  color: #ffffff;
}

.docs-asset__preview {
  height: 116px;
  margin-bottom: 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.docs-asset__preview--banner {
  background: linear-gradient(135deg, #5c6bc0 0%, #10b981 130%);
}

.docs-asset__preview--icon {
  width: 116px;
  margin-inline: auto;
  background: var(--gradient);
}

.docs-asset dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 9px 16px;
  margin: 0;
  font-size: 13.5px;
}

.docs-asset dt {
  color: var(--text-muted);
}

.docs-asset dd {
  margin: 0;
  color: var(--text-soft);
}

.docs-safety-grid article strong,
.docs-safety-grid article span {
  display: block;
}

.docs-safety-grid article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0 14px;
  align-items: start;
}

.docs-safety-grid article strong {
  margin-bottom: 8px;
  font-size: 16px;
  color: #ffffff;
  grid-column: 2;
}

.docs-safety-grid article .docs-card-icon {
  display: inline-grid;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

.docs-safety-grid article span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  grid-column: 2;
}

.docs-table__row > code {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 5px 8px;
  margin: -5px -8px;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.docs-table__row > code:hover,
.docs-table__row > code:focus-visible {
  color: #ffffff;
  background: rgba(92, 107, 192, 0.16);
  outline: none;
}

.docs-table__row > code::after {
  content: "copy";
  flex: none;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.docs-table__row > code[data-copied="true"]::after {
  content: "copied";
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.12);
}

.docs-page .cta {
  padding: 12px 0 72px;
  background: var(--bg-dark);
}

.docs-page .cta__box {
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 70% at 80% 0%, rgba(92, 107, 192, 0.18), transparent 70%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.docs-page .cta__title {
  font-size: clamp(30px, 4vw, 46px);
}

.docs-page .cta__text {
  max-width: 620px;
}

.docs-page .cta-btn:not(.cta-btn--ghost) .cta-btn__icon {
  background: rgba(92, 107, 192, 0.14);
  border-color: rgba(92, 107, 192, 0.28);
  color: #5c6bc0;
}

.docs-page .cta-btn:not(.cta-btn--ghost) .cta-btn__icon svg {
  color: currentColor;
}

@media (max-width: 1180px) {
  .docs-shell__grid {
    grid-template-columns: 248px minmax(0, 1fr);
  }
  .docs-toc {
    display: none;
  }
}

@media (max-width: 980px) {
  .docs-hero__grid,
  .docs-shell__grid {
    grid-template-columns: 1fr;
  }
  .docs-overview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .docs-sidebar {
    position: static;
    flex-direction: column;
  }
  .docs-sidebar__title {
    width: auto;
  }
  .docs-safety-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .docs-hero {
    padding: 54px 0 28px;
  }
  .docs-laptop__screen {
    min-height: 390px;
    padding: 20px;
  }
  .docs-phone-card {
    right: 20px;
    bottom: 20px;
  }
  .docs-section {
    padding: 26px 22px;
    border-radius: 24px;
  }
  .docs-two-col,
  .docs-asset-grid {
    grid-template-columns: 1fr;
  }
  .docs-table__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .docs-table__row--head {
    display: none;
  }
  .docs-code--large code {
    word-break: normal;
  }
}

@media (max-width: 540px) {
  .docs-hero__title {
    font-size: clamp(34px, 10vw, 46px);
  }
  .docs-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .docs-btn {
    width: 100%;
  }
  .docs-overview__grid {
    grid-template-columns: 1fr;
  }
  .docs-pager {
    grid-template-columns: 1fr;
  }
  .docs-pager__link--next {
    text-align: left;
    align-items: flex-start;
  }
  .docs-laptop__bar b {
    display: none;
  }
  .docs-laptop__screen {
    min-height: 440px;
  }
  .docs-panel-card {
    max-width: 100%;
  }
  .docs-phone-card {
    left: 20px;
    right: 20px;
    width: auto;
  }
  .docs-mobile-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .docs-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 89;
    width: min(86vw, 320px);
    margin: 0;
    padding: 88px 18px 24px;
    border-radius: 0;
    border-left: 0;
    border-top: 0;
    border-bottom: 0;
    overflow: auto;
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    background: rgba(12, 13, 22, 0.98);
    box-shadow: 18px 0 48px rgba(0, 0, 0, 0.42);
  }
  .docs-sidebar.docs-sidebar--open {
    transform: translateX(0);
  }
  body.body--docs-drawer-open {
    overflow: hidden;
  }
  .docs-method,
  .docs-asset,
  .docs-safety-grid article {
    padding: 20px;
  }
  .docs-asset dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .docs-asset dt {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .docs-asset dt:first-child {
    margin-top: 0;
  }
}

/* ── Dev note (callout) ─────────────────────────────────────── */

.dev-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.dev-note strong {
  color: var(--text-white);
  font-weight: 600;
}

.dev-note em {
  font-style: normal;
  color: #a8b3e8;
  font-weight: 600;
}

.dev-note__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(92, 107, 192, 0.14);
  color: #a8b3e8;
}

.dev-note__icon svg {
  width: 18px;
  height: 18px;
}

.dev-note--accent {
  background: rgba(92, 107, 192, 0.06);
  border-color: rgba(92, 107, 192, 0.16);
}

.dev-note--accent .dev-note__icon {
  background: rgba(92, 107, 192, 0.2);
  color: #c5cce8;
}

/* ── Param table ────────────────────────────────────────────── */

.param-table {
  margin: 0;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
}

.param-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 18px 24px;
  border-top: 1px solid var(--bg-card-border);
  font-size: 14px;
  align-items: start;
}

.param-row:first-child {
  border-top: 0;
}

.param-row--head {
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 14px;
  padding-bottom: 14px;
}

.param-row__name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.param-row__name code {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(92, 107, 192, 0.12);
  border: 1px solid rgba(92, 107, 192, 0.2);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: #c5cce8;
  word-break: break-all;
}

.param-row__aliases {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-muted);
  word-break: break-word;
}

.param-row__desc {
  color: var(--text-soft);
  line-height: 1.6;
}

.param-row__desc code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #c5cce8;
  background: rgba(255, 255, 255, 0.04);
  padding: 1px 6px;
  border-radius: 5px;
}

.param-row__desc a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(92, 107, 192, 0.4);
  text-underline-offset: 3px;
}

.param-row__desc strong {
  color: var(--text-white);
  font-weight: 600;
}

/* ── Spec cards (image sizes) ───────────────────────────────── */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.spec-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-card__preview {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.spec-card__preview--banner {
  background:
    radial-gradient(circle at 20% 20%, rgba(168, 179, 232, 0.25), transparent 55%),
    linear-gradient(135deg, #5c6bc0 0%, #3949ab 100%);
}

.spec-card__preview--icon {
  background:
    radial-gradient(circle at 80% 30%, rgba(52, 211, 153, 0.2), transparent 55%),
    linear-gradient(135deg, #1e3a8a 0%, #10b981 130%);
}

.spec-card__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.14) 1px,
    transparent 1.6px
  );
  background-size: 16px 16px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(135deg, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(135deg, #000 10%, transparent 85%);
}

.spec-card__frame {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  background: rgba(11, 12, 20, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
}

.spec-card__frame--banner {
  width: 240px;
  height: 80px;
  border-radius: 8px;
}

.spec-card__frame--icon {
  width: 110px;
  height: 110px;
  border-radius: 22px;
}

.spec-card__ratio {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.spec-card__size {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 12, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.spec-card__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spec-card__title {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--text-white);
}

.spec-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.spec-card__specs {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 20px;
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
}

.spec-card__specs dt {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-card__specs dd {
  margin: 0;
  color: var(--text-white);
}

.spec-card__specs dd strong {
  font-weight: 700;
  color: #ffffff;
}

.spec-card__specs dd code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #c5cce8;
  background: rgba(92, 107, 192, 0.12);
  padding: 1px 6px;
  border-radius: 5px;
  margin-right: 2px;
}

/* ── Back CTA button (ghost variant) ────────────────────────── */

.cta-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: none;
}

.cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.cta-btn--ghost .cta-btn__hint,
.cta-btn--ghost .cta-btn__label {
  color: #ffffff;
}

.cta-btn--ghost .cta-btn__hint {
  color: rgba(255, 255, 255, 0.65);
}

.cta-btn__icon--back {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── Dev page responsive ────────────────────────────────────── */

@media (max-width: 900px) {
  .dev-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .dev-hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .dev-doc-map__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dev-reference__layout {
    grid-template-columns: 1fr;
  }
  .dev-reference__toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dev-reference__toc-title {
    width: 100%;
  }
  .dev-ref-grid {
    grid-template-columns: 1fr;
  }
  .dev-scenario-grid {
    grid-template-columns: 1fr;
  }
  .dev-proof-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dev-proof-strip__inner div:nth-child(2) {
    border-right: 0;
  }
  .dev-proof-strip__inner div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .dev-trust__top,
  .dev-trust__points {
    grid-template-columns: 1fr;
  }
  .dev-trust__top {
    gap: 36px;
  }
  .dev-trust__points {
    border-bottom: 0;
  }
  .dev-trust__point,
  .dev-trust__point:first-child,
  .dev-trust__point:last-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .param-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .param-row--head {
    display: none;
  }
  .spec-card__specs {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .spec-card__specs dt {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .spec-card__specs dt:first-child {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
  }
  .back-link {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
  .dev-hero {
    padding: 56px 0 44px;
  }
  .dev-doc-map {
    padding-bottom: 56px;
  }
  .dev-reference {
    padding-bottom: 56px;
  }
  .section--dev {
    padding: 64px 0;
  }
  .dev-reference__main {
    padding: 26px 22px;
  }
  .dev-quickstart {
    padding: 24px 22px;
  }
  .dev-scenario-card {
    padding: 24px 22px;
  }
  .dev-card {
    padding: 24px 22px;
  }
  .dev-trust__metrics {
    grid-template-columns: 1fr;
  }
  .dev-client__body {
    padding: 28px 24px;
  }
  .dev-client__title {
    font-size: 23px;
  }
  .spec-card__body {
    padding: 24px 22px 26px;
  }
  .code-block {
    padding: 28px 14px 14px;
  }
  .code-block code {
    font-size: 12px;
  }
  .param-row {
    padding: 16px 18px;
  }
}

/* ════════════════════════════════════════════════════════════════
   ────────── CONTACT SECTION (main page) ──────────
   ════════════════════════════════════════════════════════════════ */

.section--contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(92, 107, 192, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(16, 185, 129, 0.08), transparent 60%),
    var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 36px 36px 32px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
}

.contact-card--security:hover {
  border-color: rgba(92, 107, 192, 0.35);
}

.contact-card--general:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.contact-card__halo {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.contact-card--security .contact-card__halo {
  background: rgba(92, 107, 192, 0.45);
}

.contact-card--general .contact-card__halo {
  background: rgba(16, 185, 129, 0.4);
}

.contact-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.contact-card--security .contact-card__icon {
  background: linear-gradient(135deg, #7a86cc, #3949ab);
}

.contact-card--general .contact-card__icon {
  background: linear-gradient(135deg, #34d399, #059669);
}

.contact-card__icon svg {
  width: 26px;
  height: 26px;
}

.contact-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-card__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.contact-card__tag--security {
  background: rgba(92, 107, 192, 0.14);
  color: #a8b3e8;
  border: 1px solid rgba(92, 107, 192, 0.28);
}

.contact-card__tag--security::before {
  background: #a8b3e8;
  box-shadow: 0 0 8px rgba(168, 179, 232, 0.7);
}

.contact-card__tag--general {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.26);
}

.contact-card__tag--general::before {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
}

.contact-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-white);
}

.contact-card__desc {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

.contact-card__bullets {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card__bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
}

.contact-card__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card__bullets li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-left: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(-45deg);
}

.contact-card--security .contact-card__bullets li::after {
  color: #a8b3e8;
}

.contact-card--general .contact-card__bullets li::after {
  color: #34d399;
}

.contact-card__btn {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-card__btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
}

.contact-card__btn--security:hover {
  border-color: rgba(168, 179, 232, 0.5);
}

.contact-card__btn--general:hover {
  border-color: rgba(52, 211, 153, 0.5);
}

.contact-card__btn-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-card__email {
  flex: 1;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  word-break: break-all;
}

.contact-card--security .contact-card__email {
  color: #c5cce8;
}

.contact-card--general .contact-card__email {
  color: #6ee7b7;
}

.contact-card__btn-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-card__btn:hover .contact-card__btn-arrow {
  transform: translateX(3px);
  color: var(--text-white);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .contact-card {
    padding: 28px 24px 26px;
  }
  .contact-card__title {
    font-size: 22px;
  }
  .contact-card__btn-label {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   ────────── MOBILE NAV (burger) ──────────
   ════════════════════════════════════════════════════════════════ */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: #ffffff;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 12, 20, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 12px 0 18px;
  animation: mobile-nav-in 0.22s ease-out;
}

.mobile-nav[data-open="true"] {
  display: flex;
}

@keyframes mobile-nav-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav a {
  display: block;
  padding: 14px 28px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav__cta {
  margin: 14px 24px 4px;
  padding: 14px 20px !important;
  border-radius: 14px;
  background: var(--gradient) !important;
  color: #ffffff !important;
  text-align: center;
  font-weight: 700 !important;
  box-shadow: 0 10px 26px rgba(57, 73, 171, 0.4);
}

.mobile-nav__cta:hover {
  filter: brightness(1.06);
}

.body--menu-open {
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════════
   ────────── MOBILE LAYOUT OVERRIDES ──────────
   ════════════════════════════════════════════════════════════════ */

/* Tablet: 3-col subs-grid → 2-col before collapsing to 1-col */
@media (max-width: 992px) {
  .subs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-header__cta {
    display: none;
  }
  .site-header__inner {
    height: 64px;
    gap: 12px;
  }
  .brand {
    font-size: 20px;
  }
  .subs-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero {
    padding: 12px 0 16px;
  }
  .hero__panel {
    padding: 72px 24px 56px;
    border-radius: var(--radius-md);
  }
  .hero__title {
    font-size: clamp(40px, 11vw, 56px);
    margin-bottom: 24px;
  }
  .hero__subtitle {
    margin-bottom: 32px;
    font-size: 15px;
  }
  .hero__actions {
    justify-content: flex-start;
  }
  .hero__chips {
    margin-top: 32px;
    gap: 8px;
  }
  .hero__chips .chip {
    padding: 6px 12px;
    font-size: 12px;
  }
  .btn-gradient:not(:has(.btn-gradient__inner)) {
    height: 52px;
    padding: 0 22px;
    font-size: 15px;
  }
  .btn-ghost {
    height: 52px;
    padding: 0 22px;
    font-size: 14px;
  }
  .section__title {
    font-size: clamp(28px, 7vw, 44px);
    margin-bottom: 16px;
  }
  .section__lead {
    font-size: 15px;
    line-height: 1.55;
  }
  .section__eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
  }
  .features-grid {
    gap: 20px;
  }
  .site-footer {
    padding: 48px 0 36px;
  }
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 32px 24px;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .container {
    padding-inline: 16px;
  }
  .dev-doc-map__grid {
    grid-template-columns: 1fr;
  }
  .dev-doc-card {
    padding: 18px 16px;
  }
  .dev-proof-strip__inner {
    grid-template-columns: 1fr;
  }
  .dev-proof-strip__inner div,
  .dev-proof-strip__inner div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .dev-proof-strip__inner div:last-child {
    border-bottom: 0;
  }
  .dev-scenario-card__top {
    align-items: flex-start;
    flex-direction: column;
  }
  .dev-scenario-card__link {
    align-self: stretch;
  }
  .dev-quickstart__steps li {
    grid-template-columns: 30px 1fr;
  }
  .dev-quickstart__steps li::before {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding: 8px 0 12px;
  }
  .hero__panel {
    padding: 56px 18px 44px;
    border-radius: 26px;
  }
  .hero__eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
  }
  .hero__title {
    font-size: clamp(32px, 10vw, 42px);
    margin-bottom: 20px;
  }
  .hero__subtitle {
    margin-bottom: 26px;
    font-size: 14.5px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero__chips {
    margin-top: 26px;
  }
  .section {
    padding: 56px 0;
  }
  .section--dev {
    padding: 52px 0;
  }
  .subs-card__banner {
    height: 150px;
  }
  .subs-card__body {
    padding: 20px 22px 26px;
  }
  .subs-card__title {
    font-size: 19px;
  }
  .feature-card__visual {
    flex: 0 0 auto;
    height: auto;
    min-height: 320px;
    margin: 14px 14px 0;
    padding: 22px 18px;
    border-radius: 22px;
  }
  .feature-card__body {
    padding: 22px 22px 28px;
  }
  .feature-card__title {
    font-size: 21px;
  }
  .feature-card__text {
    font-size: 14.5px;
  }
  .security-card {
    padding: 28px 22px;
    gap: 22px;
  }
  .security-card__visual {
    min-height: 0;
    padding: 32px 20px;
  }
  .cta__title {
    font-size: clamp(28px, 7.8vw, 36px);
  }
  .cta__text {
    font-size: 15px;
  }
  .mobile-nav a {
    padding: 12px 22px;
    font-size: 15px;
  }
  .mobile-nav__cta {
    margin: 12px 22px 4px;
  }
}

@media (max-width: 400px) {
  .container {
    padding-inline: 14px;
  }
  .brand__text {
    font-size: 18px;
  }
  .brand__icon {
    width: 32px;
    height: 32px;
  }
  .hero__logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 16px;
  }
  .hero__title {
    font-size: clamp(28px, 9.5vw, 36px);
  }
  .section__title {
    font-size: clamp(24px, 7vw, 32px);
  }
  .nav-toggle {
    width: 40px;
    height: 40px;
  }
  .feature-card__visual {
    flex: 0 0 auto;
    height: auto;
    min-height: 300px;
    padding: 20px 16px;
  }
  .mock-sub,
  .mock-qr-card,
  .ping-list,
  .mock-twin {
    max-width: 100%;
  }
  .mock-qr {
    width: 180px;
    height: 180px;
    padding: 12px;
  }
  .subs-card__banner {
    height: 140px;
  }
}

/* ────────── Trust · stats & partners ────────── */

.trust {
  padding: 8px 0 96px;
}

.trust__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 48px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 150px;
}

.stat__num {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 200px;
  margin-inline: auto;
  line-height: 1.4;
}

.trust__divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
}

.trust__eyebrow {
  margin: 56px 0 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust__logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .trust__logos {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
  }
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 36px 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 107, 192, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.trust-card__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-card__name {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-white);
}

.trust-card__subs {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

.trust-card__handle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

@media (max-width: 768px) {
  .trust {
    padding: 4px 0 72px;
  }
  .trust__divider {
    display: none;
  }
  .trust__stats {
    gap: 28px 36px;
  }
}

@media (max-width: 540px) {
  .trust__logos {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 14px;
  }
  .trust-card {
    padding: 22px 18px 18px;
  }
}

/* ── Legal / Terms document ── */
.legal-hero .dev-hero__inner {
  display: block;
  max-width: 860px;
}

.legal-hero .dev-hero__title {
  max-width: 760px;
}

.legal-hero .hero__chips {
  margin-top: 28px;
}

.legal {
  min-width: 0;
}

.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.legal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

.legal__badge b {
  color: var(--text-white);
  font-weight: 600;
}

.legal__block {
  margin-bottom: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  scroll-margin-top: 96px;
}

.legal__block:first-of-type {
  padding-top: 0;
  border-top: none;
}

.legal__block:last-child {
  margin-bottom: 0;
}

.legal__block h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.legal__block h2 .legal__num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(92, 107, 192, 0.16);
  border: 1px solid rgba(92, 107, 192, 0.4);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.legal__block p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

.legal__block p:last-child {
  margin-bottom: 0;
}

.legal__block ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal__block li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

.legal__block li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.legal__block strong {
  color: var(--text-white);
  font-weight: 600;
}

.legal__block a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(92, 107, 192, 0.45);
}

.legal__block a:hover {
  text-decoration-color: var(--accent);
}

.site-footer__legal a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}
.site-footer__legal a:hover {
  color: var(--text-white);
}

/* ── Legal: two-column layout with sticky TOC ── */
.legal-layout {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1120px;
  margin-inline: auto;
}

.legal-toc {
  position: sticky;
  top: 96px;
}

.legal-toc__title {
  margin: 0 0 14px;
  padding-left: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.03);
}

.legal-toc a.is-active {
  color: var(--accent);
  background: rgba(92, 107, 192, 0.12);
  border-left-color: var(--accent);
}

.legal-callout {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  margin: 8px 0 18px;
  border-radius: 16px;
  background: rgba(92, 107, 192, 0.12);
  border: 1px solid rgba(92, 107, 192, 0.32);
}

.legal-callout--success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.32);
}

.legal-callout__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(92, 107, 192, 0.2);
  color: var(--accent);
}

.legal-callout--success .legal-callout__icon {
  background: rgba(16, 185, 129, 0.18);
  color: var(--success);
}

.legal-callout__icon svg {
  width: 22px;
  height: 22px;
}

.legal-callout p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

.legal-callout strong {
  color: var(--text-white);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .legal-toc {
    display: none;
  }
}

/* ── Developer portal ── */
.portal-page {
  background:
    radial-gradient(ellipse 720px 420px at 15% 0%, rgba(92, 107, 192, 0.18), transparent 70%),
    radial-gradient(ellipse 620px 360px at 90% 12%, rgba(16, 185, 129, 0.08), transparent 72%),
    var(--bg-dark);
}

.portal-main {
  min-height: calc(100vh - 68px);
  padding: 72px 0 96px;
}

.portal-auth {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 480px);
  gap: 48px;
  align-items: center;
}

.portal-auth__copy h1,
.portal-dashboard__head h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  color: #ffffff;
}

.portal-auth__copy p,
.portal-dashboard__head p,
.portal-card p,
.portal-muted {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.portal-card {
  min-width: 0;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 70% at 80% 0%, rgba(92, 107, 192, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.portal-card__header,
.portal-dashboard__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.portal-dashboard__head {
  margin-bottom: 28px;
}

.portal-card__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c9bf0;
}

.portal-card h2 {
  margin: 0 0 10px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  color: #ffffff;
}

.portal-form,
.portal-inline-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.portal-form--code,
.portal-form--compact {
  margin-top: 18px;
}

.portal-form label,
.portal-inline-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.portal-form input,
.portal-form textarea,
.portal-form select,
.portal-inline-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #090a11;
  color: #ffffff;
  font: inherit;
  outline: none;
}

.portal-form textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.portal-form input:focus,
.portal-form textarea:focus,
.portal-form select:focus,
.portal-inline-form input:focus {
  border-color: rgba(168, 179, 232, 0.62);
  box-shadow: 0 0 0 4px rgba(92, 107, 192, 0.16);
}

.portal-submit {
  width: 100%;
}

.portal-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 10px 0 0;
  color: #6ee7b7;
  font-weight: 700;
}

.portal-message[data-bad="true"] {
  color: #fca5a5;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
}

.portal-id,
.portal-code {
  overflow-x: auto;
  white-space: nowrap;
  border-radius: 14px;
  background: #07080d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  color: #d6dbf0;
}

.portal-id {
  margin: 18px 0 14px;
  padding: 16px;
  font-size: 13px;
}

.portal-code {
  margin-top: 10px;
  padding: 12px 14px;
  font-size: 12px;
}

.portal-inline-form {
  margin-top: 22px;
}

.portal-icon-btn {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(92, 107, 192, 0.28);
  background: rgba(92, 107, 192, 0.16);
  color: #a8b3e8;
  cursor: pointer;
}

.portal-icon-btn svg {
  width: 21px;
  height: 21px;
}

.portal-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-feed {
  margin-top: 20px;
}

.portal-notices {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.portal-notice {
  padding: 20px;
  border-radius: 18px;
  background: rgba(7, 8, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-notice--resolved {
  border-color: rgba(16, 185, 129, 0.3);
}

.portal-notice--investigating {
  border-color: rgba(245, 158, 11, 0.32);
}

.portal-notice h3 {
  margin: 6px 0 10px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 20px;
  color: #ffffff;
}

.portal-notice p {
  margin: 0 0 10px;
  color: var(--text-soft);
  line-height: 1.65;
}

.portal-notice b {
  color: #ffffff;
}

.portal-notice__date,
.portal-notice span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .portal-auth,
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .portal-dashboard__head,
  .portal-card__header {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .portal-main {
    padding: 44px 0 72px;
  }
  .portal-card {
    padding: 22px;
    border-radius: 20px;
  }
  .portal-two {
    grid-template-columns: 1fr;
  }
}
