/* ==========================================================================
   PryVPN — Private Internet.
   Design system: obsidian base, aurora accent, glass surfaces.
   Single stylesheet. No frameworks, no build step.
   ========================================================================== */

:root {
  /* Ground */
  --bg: #06070b;
  --bg-2: #0a0c12;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Ink */
  --ink: #f2f4f8;
  --ink-2: #a7aec0;
  --ink-3: #6f778c;

  /* Signal */
  --teal: #3ad4c7;
  --violet: #7b61ff;
  --magenta: #ff4d94;
  --amber: #ffb64d;
  --orange: #ff8a3d;
  --red: #ff6b6b;
  --aurora: linear-gradient(115deg, #3ad4c7 0%, #7b61ff 52%, #ff4d94 100%);
  --aurora-soft: linear-gradient(
    115deg,
    rgba(58, 212, 199, 0.16) 0%,
    rgba(123, 97, 255, 0.16) 52%,
    rgba(255, 77, 148, 0.16) 100%
  );

  /* Metrics */
  --nav-h: 68px;
  --bar-h: 38px;
  --wide: 1200px;
  --narrow: 760px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  /* Sticky nav only: the topbar scrolls away, so counting --bar-h left a
     gap that showed the previous strip when landing on #privacy. */
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

#privacy,
#ai,
#security,
#uses,
#plans {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans", "Noto Sans Devanagari", "Noto Sans Arabic", Helvetica, Arial,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Page-wide ambient light. Fixed so it never scrolls out. */
body::before {
  content: "";
  position: fixed;
  inset: -30vh -20vw auto -20vw;
  height: 90vh;
  background:
    radial-gradient(46% 52% at 22% 18%, rgba(58, 212, 199, 0.13), transparent 70%),
    radial-gradient(44% 50% at 74% 8%, rgba(123, 97, 255, 0.15), transparent 72%),
    radial-gradient(38% 44% at 52% 42%, rgba(255, 77, 148, 0.07), transparent 74%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

/* Author rules such as .field{display:grid} outrank the UA [hidden] rule,
   so panels toggled with el.hidden need this to actually disappear. */
[hidden] {
  display: none !important;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(123, 97, 255, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 14px;
  top: 14px;
  z-index: 200;
  background: var(--ink);
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

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

/* ── Typography ───────────────────────────────────────────────────────── */

h1,
h2,
h3,
h4 {
  letter-spacing: -0.035em;
  line-height: 1.06;
  font-weight: 680;
}

h1 {
  font-size: clamp(40px, 7.2vw, 78px);
}
h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.08;
}
h3 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.grad {
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(16.5px, 1.9vw, 20px);
  color: var(--ink-2);
  line-height: 1.55;
  letter-spacing: -0.014em;
}

.muted {
  color: var(--ink-3);
}

.tiny {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

.mono {
  font-family: var(--mono);
  font-size: 0.92em;
  letter-spacing: 0;
}

/* ── Layout ───────────────────────────────────────────────────────────── */

.wrap {
  width: min(100% - 40px, var(--wide));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.wrap-narrow {
  width: min(100% - 40px, var(--narrow));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  z-index: 1;
}

.band {
  padding: clamp(72px, 10vw, 132px) 0;
}

.band-tight {
  padding: clamp(52px, 7vw, 84px) 0;
}

.head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.head .eyebrow {
  margin-bottom: 16px;
}
.head h2 + .lead {
  margin-top: 18px;
}

.head-center {
  margin-inline: auto;
  text-align: center;
}

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

@media (max-width: 900px) {
  .g-3,
  .g-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .g-2,
  .g-3,
  .g-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

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

.btn {
  --btn-bg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #05060a;
  font-weight: 640;
  font-size: 15.5px;
  letter-spacing: -0.012em;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    filter 0.22s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 32px -12px rgba(255, 255, 255, 0.45);
}
.btn:active {
  transform: translateY(0);
}
.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.btn-grad {
  background: var(--aurora);
  color: #05060a;
  position: relative;
}
.btn-grad:hover {
  box-shadow: 0 14px 40px -14px rgba(123, 97, 255, 0.9);
  filter: saturate(1.15);
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16.5px;
}
.btn-sm {
  padding: 9px 17px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}

.btn-danger {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.35);
  color: #ffb3b3;
}
.btn-danger:hover {
  background: rgba(255, 107, 107, 0.2);
}

.link {
  color: var(--teal);
  font-weight: 560;
  border-bottom: 1px solid rgba(58, 212, 199, 0.3);
  transition: border-color 0.2s;
}
.link:hover {
  border-color: var(--teal);
}

.textbtn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--teal);
  font-size: 14.5px;
  font-weight: 560;
  cursor: pointer;
}
.textbtn:hover {
  text-decoration: underline;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 580;
  color: var(--teal);
  font-size: 15px;
}
.arrow-link::after {
  content: "→";
  transition: transform 0.24s var(--ease);
}
.arrow-link:hover::after {
  transform: translateX(4px);
}

/* ── Pills & chips ────────────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(58, 212, 199, 0.55);
  animation: pulse 2.4s infinite;
  flex: none;
}
.dot-amber {
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 182, 77, 0.5);
}
.dot-dim {
  background: var(--ink-3);
  animation: none;
  box-shadow: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(58, 212, 199, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(58, 212, 199, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(58, 212, 199, 0);
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: -0.01em;
}

/* ── Cards ────────────────────────────────────────────────────────────── */

.card {
  position: relative;
  padding: 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.012)
  );
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease);
}

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

.card h3 {
  margin-bottom: 10px;
}
.card p {
  color: var(--ink-2);
  font-size: 15.2px;
  line-height: 1.58;
}

.card-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--aurora-soft);
  border: 1px solid var(--line);
  color: var(--teal);
}
.card-ico svg {
  width: 20px;
  height: 20px;
}

/* Aurora hairline that lights on hover */
.card-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--aurora);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card-glow:hover::before {
  opacity: 0.55;
}

/* ── Top bar + nav ────────────────────────────────────────────────────── */

.topbar {
  position: relative;
  z-index: 60;
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--ink-2);
  background: linear-gradient(
    90deg,
    rgba(58, 212, 199, 0.11),
    rgba(123, 97, 255, 0.13),
    rgba(255, 77, 148, 0.11)
  );
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.topbar strong {
  color: var(--ink);
  font-weight: 620;
}
.topbar .count {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft),
    backdrop-filter 0.3s;
}
.nav.is-stuck {
  background: rgba(6, 7, 11, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--line);
}

.nav-in {
  width: min(100% - 40px, var(--wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

/* The lockup: mark first and larger than the type, wordmark and tagline
   stacked beside it. The wordmark is one element on purpose — as two flex
   items the row gap fell between them and it read as "Pry VPN". */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  line-height: 1;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}
/* Pry carries the weight; VPN steps back without a space between them. */
.brand-name i {
  font-style: normal;
  font-weight: 430;
  color: var(--ink-2);
}
.brand-tag {
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── Language picker ──────────────────────────────────────────────────── */

/* A <details> element: the menu opens and closes with no JavaScript at all,
   and keyboard users get it for free. */
.lang {
  position: relative;
  flex: none;
}
.lang > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.lang > summary::-webkit-details-marker {
  display: none;
}
.lang > summary:hover,
.lang[open] > summary {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--line-strong);
}
.lang svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lang .lang-caret {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease);
}
.lang[open] .lang-caret {
  transform: rotate(180deg);
}
.lang > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  /* Ten languages in one column would be a 400 px curtain. Two columns keep
     the menu the size of a menu. */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  min-width: 300px;
  list-style: none;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(10, 12, 18, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  z-index: 60;
}
.lang > ul a {
  display: block;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}
.lang > ul a:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.lang > ul a[aria-current] {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  flex: 1;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 520;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.nav-cta .signin {
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 540;
  padding: 8px 6px;
}
.nav-cta .signin:hover {
  color: var(--ink);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  flex: none;
}
.burger i,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.burger::before {
  top: 14px;
}
.burger i {
  top: 19.2px;
}
.burger::after {
  top: 24.4px;
}
.burger[aria-expanded="true"]::before {
  transform: translateY(5.2px) rotate(45deg);
}
.burger[aria-expanded="true"] i {
  opacity: 0;
}
.burger[aria-expanded="true"]::after {
  transform: translateY(-5.2px) rotate(-45deg);
}

@media (max-width: 940px) {
  .burger {
    display: block;
    margin-left: auto;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  /* Both panels drop into normal flow under the bar. The old version
     positioned the second one with a hard-coded offset, which collided with
     the links as soon as the bar or the wording changed height. */
  .nav.is-open {
    height: auto;
    align-items: flex-start;
  }
  .nav.is-open .nav-in {
    flex-wrap: wrap;
    padding-bottom: 14px;
    row-gap: 10px;
  }
  .nav.is-open .brand {
    height: var(--nav-h);
    display: inline-flex;
  }
  .nav.is-open .burger {
    align-self: center;
    margin-top: calc((var(--nav-h) - 40px) / 2);
  }
  .nav.is-open .nav-links,
  .nav.is-open .nav-cta {
    display: flex;
    position: static;
    order: 3;
    /* flex-basis wins over width inside a flex row, and .nav-links carries
       flex:1 from the desktop rules — so claim the whole line explicitly. */
    flex: 0 0 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: var(--r);
    background: rgba(10, 12, 18, 0.96);
    border: 1px solid var(--line);
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  }
  .nav.is-open .nav-cta {
    order: 4;
  }
  .nav.is-open .nav-links a {
    padding: 11px 12px;
    font-size: 16px;
  }
  .nav.is-open .btn {
    width: 100%;
  }
  .nav.is-open .lang,
  .nav.is-open .lang > summary {
    width: 100%;
  }
  .nav.is-open .lang > summary {
    justify-content: flex-start;
  }
  .nav.is-open .lang > ul {
    position: static;
    margin-top: 6px;
    min-width: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 380px) {
  .brand-tag {
    display: none;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
}

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

.hero {
  padding: clamp(46px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }
}

.hero h1 {
  margin: 20px 0 22px;
}
.hero h1 em {
  font-style: normal;
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-facts div {
  min-width: 92px;
}
.hero-facts b {
  display: block;
  font-size: 25px;
  font-weight: 660;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-facts span {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

/* The tunnel scene */
.scene {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.008)
  );
  backdrop-filter: blur(18px);
  padding: 22px;
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}
.scene::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    150deg,
    rgba(58, 212, 199, 0.5),
    transparent 40%,
    transparent 62%,
    rgba(255, 77, 148, 0.35)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.scene-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.scene-top .pill {
  font-size: 12px;
  padding: 5px 12px 5px 9px;
}

.scene-svg {
  width: 100%;
  height: auto;
}

.scene-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.scene-legend div {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.scene-legend p {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.scene-legend b {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.02em;
  word-break: break-word;
}
.scene-legend .redacted {
  color: var(--ink-3);
}

@media (max-width: 480px) {
  .scene-legend {
    grid-template-columns: 1fr;
  }
}

/* Logo strip */
.strip {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip span {
  font-size: 12.5px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 540;
  letter-spacing: 0.02em;
}
.strip svg {
  width: 15px;
  height: 15px;
  color: var(--ink-2);
}

/* ── Split compare (what leaks / what doesn't) ────────────────────────── */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 800px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

.compare .leak {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 107, 107, 0.2);
  background: linear-gradient(
    170deg,
    rgba(255, 107, 107, 0.07),
    rgba(255, 107, 107, 0.015)
  );
}
.seal {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(58, 212, 199, 0.24);
  background: linear-gradient(
    170deg,
    rgba(58, 212, 199, 0.08),
    rgba(123, 97, 255, 0.03)
  );
}

.compare .leak h3,
.seal h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 20px;
}
.compare .leak > p,
.seal > p {
  color: var(--ink-3);
  font-size: 14px;
  margin-bottom: 20px;
}

.log-list {
  list-style: none;
  display: grid;
  gap: 9px;
}
.log-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.6px;
  font-family: var(--mono);
  letter-spacing: -0.02em;
  color: var(--ink-2);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid var(--line);
}
.log-list li b {
  font-weight: 600;
  color: var(--ink);
}
.log-list .mark {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.compare .leak .mark {
  color: var(--red);
}
.seal .mark {
  color: var(--teal);
}
.seal .log-list li {
  color: var(--ink-3);
}

.hush {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ── Feature rows ─────────────────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.split.rev > *:first-child {
  order: 2;
}
@media (max-width: 880px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .split.rev > *:first-child {
    order: 0;
  }
}

.ticks {
  list-style: none;
  display: grid;
  gap: 13px;
  margin-top: 26px;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.4px;
  color: var(--ink-2);
  line-height: 1.5;
}
.ticks li b {
  color: var(--ink);
  font-weight: 600;
}
.ticks svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 4px;
  color: var(--teal);
}

/* Terminal-ish panel */
.term {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(3, 4, 7, 0.75);
  overflow: hidden;
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, 0.9);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.term-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.term-bar i:first-child {
  background: rgba(255, 107, 107, 0.6);
}
.term-bar i:nth-child(2) {
  background: rgba(255, 182, 77, 0.6);
}
.term-bar i:nth-child(3) {
  background: rgba(58, 212, 199, 0.6);
}
.term-bar span {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.term pre {
  padding: 18px 18px 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
  overflow-x: auto;
  white-space: pre;
  letter-spacing: -0.01em;
}
.term .k {
  color: var(--violet);
}
.term .v {
  color: var(--teal);
}
.term .c {
  color: var(--ink-3);
}
.term .w {
  color: var(--magenta);
}

/* ── Use case tabs ────────────────────────────────────────────────────── */

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14.4px;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.24s var(--ease);
}
.tab:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}
.tab[aria-selected="true"] {
  background: var(--ink);
  color: #06070b;
  border-color: transparent;
}

.panel[hidden] {
  display: none;
}
.panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.008)
  );
  animation: fade 0.45s var(--ease);
}
@media (max-width: 860px) {
  .panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.panel h3 {
  font-size: clamp(23px, 2.8vw, 30px);
  margin: 14px 0 14px;
}
.panel p {
  color: var(--ink-2);
  font-size: 15.6px;
}

.panel-art {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  padding: 22px;
  min-height: 210px;
  display: grid;
  place-items: center;
}
.panel-art svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* ── Metrics band ─────────────────────────────────────────────────────── */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(
    120deg,
    rgba(58, 212, 199, 0.07),
    rgba(123, 97, 255, 0.07),
    rgba(255, 77, 148, 0.05)
  );
}
.metrics div {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}
.metrics div:last-child {
  border-right: 0;
}
.metrics b {
  display: block;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 660;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.metrics span {
  display: block;
  margin-top: 8px;
  font-size: 13.4px;
  color: var(--ink-3);
}
@media (max-width: 860px) {
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics div:nth-child(2) {
    border-right: 0;
  }
  .metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ── Country / node board ─────────────────────────────────────────────── */

.board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 12px;
}

.node {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.node:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.node .flag {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: -0.03em;
  background: var(--aurora-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  flex: none;
}
.node .who {
  min-width: 0;
  flex: 1;
}
.node .who b {
  display: block;
  font-size: 14.6px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.node .who span {
  font-size: 12.4px;
  color: var(--ink-3);
}
.node .load {
  width: 46px;
  flex: none;
  text-align: right;
}
.node .load i {
  display: block;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 5px;
}
.node .load i em {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--aurora);
  transition: width 0.7s var(--ease);
}
.node .load span {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--mono);
}
.node.is-full .load i em {
  background: var(--amber);
}

/* ── Plans ────────────────────────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    margin-inline: auto;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.042),
    rgba(255, 255, 255, 0.008)
  );
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.plan.sold-out {
  opacity: 0.72;
}
.plan.sold-out:hover {
  transform: none;
}
.plan.sold-out a.btn,
.plan.sold-out [aria-disabled="true"] {
  pointer-events: none;
  cursor: not-allowed;
}
.plan .badge.stock {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink-2);
}
.plan.featured {
  border-color: transparent;
  background: linear-gradient(
      170deg,
      rgba(123, 97, 255, 0.14),
      rgba(58, 212, 199, 0.05)
    ),
    var(--bg-2);
  box-shadow: 0 40px 90px -50px rgba(123, 97, 255, 0.9);
}
.plan.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--aurora);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.plan .badge {
  position: absolute;
  top: -11px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--aurora);
  color: #06070b;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 20px;
}
.plan .for {
  color: var(--ink-3);
  font-size: 13.6px;
  margin-top: 4px;
}
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 4px;
}
.plan .price b {
  font-size: 42px;
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
}
.plan .price s {
  color: var(--ink-3);
  font-size: 15px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.plan .cycle {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.plan ul {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.6px;
  color: var(--ink-2);
}
.plan li svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--teal);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.faq details[open] {
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 54px 19px 22px;
  font-size: 16.4px;
  font-weight: 580;
  letter-spacing: -0.018em;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.8px solid var(--ink-3);
  border-bottom: 1.8px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.28s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
}
.faq .answer {
  padding: 0 22px 21px;
  color: var(--ink-2);
  font-size: 15.2px;
  line-height: 1.62;
  max-width: 74ch;
}
.faq .answer + .answer {
  padding-top: 10px;
}

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

.cta {
  position: relative;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
  background: radial-gradient(
      80% 130% at 50% 0%,
      rgba(123, 97, 255, 0.22),
      transparent 68%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}
.cta h2 {
  max-width: 16ch;
  margin: 14px auto 18px;
}
.cta .lead {
  max-width: 54ch;
  margin-inline: auto;
}
.cta .hero-actions {
  justify-content: center;
}

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

.foot {
  margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--line);
  padding: clamp(44px, 6vw, 70px) 0 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.014));
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
}
@media (max-width: 800px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
.foot h4 {
  font-size: 12.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  font-weight: 620;
}
.foot ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.foot a {
  color: var(--ink-2);
  font-size: 14.4px;
  transition: color 0.2s;
}
.foot a:hover {
  color: var(--ink);
}
.foot .blurb {
  color: var(--ink-3);
  font-size: 14px;
  max-width: 34ch;
  margin-top: 14px;
}
.foot-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}

/* ── Forms ────────────────────────────────────────────────────────────── */

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}
.field > label {
  font-size: 13px;
  font-weight: 580;
  color: var(--ink-2);
  letter-spacing: 0.005em;
}
.field input,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.32);
  color: var(--ink);
  font-size: 15.4px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option {
  background: #0d0f16;
  color: var(--ink);
}
.field input::placeholder {
  color: var(--ink-3);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(58, 212, 199, 0.6);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(58, 212, 199, 0.1);
}
.field .hint {
  font-size: 12.4px;
  color: var(--ink-3);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.notice {
  display: none;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14.2px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.notice.show {
  display: flex;
}
.notice-bad {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ffbdbd;
}
.notice-good {
  background: rgba(58, 212, 199, 0.09);
  border: 1px solid rgba(58, 212, 199, 0.28);
  color: #a9efe7;
}
.notice svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
}

/* Plan picker (radio cards) */
.pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
@media (max-width: 560px) {
  .pick {
    grid-template-columns: 1fr;
  }
}
.pick-card {
  text-align: left;
  padding: 15px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.24s var(--ease);
  position: relative;
}
.pick-card:hover {
  border-color: var(--line-strong);
}
.pick-card.selected {
  border-color: rgba(58, 212, 199, 0.65);
  background: rgba(58, 212, 199, 0.08);
  box-shadow: 0 0 0 3px rgba(58, 212, 199, 0.09);
}
.pick-card b {
  display: block;
  font-size: 14.6px;
  font-weight: 620;
}
.pick-card span {
  display: block;
  font-size: 12.4px;
  color: var(--ink-3);
  margin-top: 2px;
}
.pick-card .p {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 9px;
  font-size: 18px;
  font-weight: 660;
  letter-spacing: -0.03em;
}
.pick-card .p b {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
}
.pick-card .p s {
  font-size: 12.5px;
  font-weight: 450;
  color: var(--ink-3);
}
.pick-card.sold-out,
.pick-card:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Auth layout */
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(38px, 6vw, 72px) 0 clamp(50px, 7vw, 90px);
}
@media (max-width: 940px) {
  .auth {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-aside {
    order: 2;
  }
}

.auth-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.012)
  );
  backdrop-filter: blur(16px);
  box-shadow: 0 46px 100px -50px rgba(0, 0, 0, 0.95);
}
.auth-card h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 8px;
}
.auth-card > .lead {
  font-size: 15.4px;
  margin-bottom: 26px;
}
.auth-alt {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 14.2px;
  color: var(--ink-3);
}

.trust {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.trust li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.trust .ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--aurora-soft);
  border: 1px solid var(--line);
  color: var(--teal);
  flex: none;
}
.trust .ico svg {
  width: 16px;
  height: 16px;
}
.trust b {
  display: block;
  font-size: 14.8px;
  font-weight: 600;
  margin-bottom: 2px;
}
.trust span {
  font-size: 13.8px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ── Console (account) ────────────────────────────────────────────────── */

.console {
  padding: clamp(28px, 4vw, 46px) 0 clamp(50px, 7vw, 80px);
}

.console-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.console-head h1 {
  font-size: clamp(30px, 4.4vw, 44px);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 860px) {
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}
.stat {
  padding: 18px 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
}
.stat span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 7px;
}
.stat b {
  font-size: 20px;
  font-weight: 640;
  letter-spacing: -0.025em;
  word-break: break-word;
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 940px) {
  .console-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.panel-card {
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.008)
  );
}
.panel-card + .panel-card {
  margin-top: 18px;
}
.panel-card h2 {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.panel-card > p.tiny {
  margin-bottom: 20px;
}

.kv {
  display: grid;
  gap: 0;
}
.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.6px;
}
.kv > div:last-child {
  border-bottom: 0;
}
.kv dt {
  color: var(--ink-3);
}
.kv dd {
  font-weight: 560;
  text-align: right;
  word-break: break-all;
}

.conf {
  margin-top: 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.42);
  overflow: hidden;
}
.conf pre {
  padding: 16px;
  font-family: var(--mono);
  font-size: 12.4px;
  line-height: 1.65;
  color: var(--ink-2);
  overflow-x: auto;
  white-space: pre;
  max-height: 300px;
}

.row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.sessions {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.sessions li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
}
.sessions b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-2);
}
.sessions em {
  display: block;
  font-style: normal;
  font-size: 12.2px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* ── Legal pages ──────────────────────────────────────────────────────── */

.doc {
  padding: clamp(38px, 5vw, 64px) 0 clamp(40px, 6vw, 70px);
}
.doc h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 14px;
}
.doc .updated {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 34px;
}
.doc h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 40px 0 12px;
}
.doc h3 {
  font-size: 17px;
  margin: 26px 0 8px;
}
.doc p,
.doc li {
  color: var(--ink-2);
  font-size: 15.6px;
  line-height: 1.68;
}
.doc p + p {
  margin-top: 12px;
}
.doc ul,
.doc ol {
  margin: 12px 0 12px 20px;
  display: grid;
  gap: 8px;
}
.doc strong {
  color: var(--ink);
  font-weight: 600;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14.4px;
}
.doc th,
.doc td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.doc th {
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 620;
}
.doc-wrap {
  overflow-x: auto;
}

/* ── Reveal on scroll ─────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Hero scene animation ─────────────────────────────────────────────── */

@keyframes pkt-travel {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateX(288px);
    opacity: 0;
  }
}

@keyframes blip {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

.scene-svg .pkt {
  animation: pkt-travel 3.4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.scene-svg .pkt:nth-child(2) {
  animation-delay: 0.85s;
  animation-duration: 3.9s;
}
.scene-svg .pkt:nth-child(3) {
  animation-delay: 1.7s;
  animation-duration: 3.1s;
}
.scene-svg .blip {
  animation: blip 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .scene-svg .pkt,
  .scene-svg .blip {
    animation: none;
    opacity: 1;
  }
}

/* ==========================================================================
   AI Node — the signature section.
   Teal wireframe globe, orange routes converging on the node it picked.
   Everything on screen is drawn from /v1/nodes, live.
   ========================================================================== */

.ai {
  position: relative;
  overflow: hidden;
}
.ai::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 60% at 74% 34%, rgba(255, 138, 61, 0.14), transparent 70%),
    radial-gradient(56% 66% at 26% 62%, rgba(58, 212, 199, 0.13), transparent 72%);
  pointer-events: none;
}
.ai > .wrap {
  position: relative;
  z-index: 1;
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 4.5vw, 66px);
  align-items: center;
}
@media (max-width: 980px) {
  .ai-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

.ai h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal) 0%, var(--orange) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ai .ticks svg {
  color: var(--orange);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 61, 0.32);
  background: rgba(255, 138, 61, 0.08);
  font-size: 12.5px;
  color: #ffcda8;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.ai-badge .dot {
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.6);
  animation: pulse-orange 2.4s infinite;
}
@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 138, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 138, 61, 0);
  }
}

/* ── stage ────────────────────────────────────────────────────────────── */

.ai-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-inline: auto;
  width: 100%;
}
.ai-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 58% 38%,
    rgba(58, 212, 199, 0.2),
    rgba(58, 212, 199, 0.05) 46%,
    transparent 70%
  );
  filter: blur(26px);
  pointer-events: none;
}

.ai-globe {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ai-body {
  fill: rgba(20, 58, 64, 0.5);
}
.ai-limb {
  fill: none;
  stroke: rgba(58, 212, 199, 0.5);
  stroke-width: 1.5;
}
.ai-grat {
  fill: none;
  stroke: rgba(58, 212, 199, 0.24);
  stroke-width: 1;
}
.ai-dots-near,
.ai-dots-far {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
}
.ai-dots-near {
  stroke-width: 2.6;
  opacity: 0.34;
}
.ai-dots-far {
  stroke-width: 1.8;
  opacity: 0.16;
}
.ai-marks {
  fill: none;
  stroke: var(--teal);
  stroke-width: 5.4;
  stroke-linecap: round;
  opacity: 0.7;
}

.ai-arc {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0.82;
  filter: drop-shadow(0 0 6px rgba(255, 138, 61, 0.55));
  stroke-dasharray: 7 320;
  stroke-dashoffset: 0;
  animation: arc-flow 3.2s linear infinite;
}
.ai-arc.trail {
  stroke: rgba(255, 138, 61, 0.28);
  stroke-dasharray: none;
  animation: none;
  filter: none;
  stroke-width: 1.4;
}
@keyframes arc-flow {
  to {
    stroke-dashoffset: -327;
  }
}

.ai-target {
  transition: opacity 0.4s var(--ease);
}
.ai-target .core {
  fill: var(--orange);
  filter: drop-shadow(0 0 14px rgba(255, 138, 61, 0.95));
}
.ai-target .ring {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.6;
  transform-origin: center;
  animation: target-ring 2.8s ease-out infinite;
  opacity: 0;
}
.ai-target .ring:nth-of-type(2) {
  animation-delay: 0.9s;
}
.ai-target .ring:nth-of-type(3) {
  animation-delay: 1.8s;
}
@keyframes target-ring {
  0% {
    r: 9;
    opacity: 0.75;
  }
  100% {
    r: 46;
    opacity: 0;
  }
}

/* radar sweep while it is deciding */
.ai-sweep {
  fill: none;
  stroke: rgba(58, 212, 199, 0.55);
  stroke-width: 1.4;
  opacity: 0;
  transform-origin: 380px 372px;
}
.is-scanning .ai-sweep {
  opacity: 1;
  animation: sweep 1.1s linear infinite;
}
@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}
.is-scanning .ai-arc {
  opacity: 0.2;
}
.is-scanning .ai-target {
  opacity: 0.25;
}

/* ── telemetry card ───────────────────────────────────────────────────── */

.ai-card {
  position: absolute;
  right: -2%;
  bottom: 2%;
  width: min(340px, 78%);
  padding: 18px 18px 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(
    165deg,
    rgba(18, 22, 28, 0.94),
    rgba(10, 12, 16, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(58, 212, 199, 0.08) inset;
}
@media (max-width: 560px) {
  .ai-card {
    position: static;
    width: 100%;
    margin-top: -12%;
  }
}

.ai-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.ai-card-top b {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 640;
}
.ai-state {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.is-scanning .ai-state {
  color: var(--teal);
  border-color: rgba(58, 212, 199, 0.4);
}
.is-locked .ai-state {
  color: var(--orange);
  border-color: rgba(255, 138, 61, 0.42);
  background: rgba(255, 138, 61, 0.08);
}

.ai-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0 14px;
}
.ai-cc {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 138, 61, 0.12);
  border: 1px solid rgba(255, 138, 61, 0.3);
  flex: none;
}
.ai-pick-who {
  min-width: 0;
  flex: 1;
}
.ai-pick-who b {
  display: block;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.is-scanning .ai-pick-who b {
  color: var(--ink-2);
}
.ai-pick-who span {
  font-size: 12.6px;
  color: var(--ink-3);
}

.ai-bars {
  display: grid;
  gap: 10px;
  padding: 14px 0 12px;
  border-top: 1px solid var(--line);
}
.ai-bar {
  display: grid;
  grid-template-columns: 74px 1fr 46px;
  align-items: center;
  gap: 10px;
}
.ai-bar span {
  font-family: var(--mono);
  font-size: 10.6px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ai-bar i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.ai-bar i em {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transition: width 0.9s var(--ease);
}
.ai-bar b {
  font-family: var(--mono);
  font-size: 12.4px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.ai-why {
  font-size: 12.6px;
  line-height: 1.45;
  color: var(--ink-3);
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

/* ── numbered stack ───────────────────────────────────────────────────── */

.ai-stack {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(38px, 5vw, 62px);
}
@media (max-width: 1000px) {
  .ai-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .ai-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ai-stack li {
  padding: 17px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.ai-stack li:hover {
  border-color: rgba(255, 138, 61, 0.3);
  transform: translateY(-3px);
}
.ai-stack u {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--orange);
  text-decoration: none;
  margin-bottom: 9px;
}
.ai-stack b {
  display: block;
  font-size: 14.6px;
  font-weight: 620;
  letter-spacing: -0.018em;
  margin-bottom: 4px;
}
.ai-stack span {
  font-size: 12.6px;
  color: var(--ink-3);
  line-height: 1.42;
}

@media (prefers-reduced-motion: reduce) {
  .ai-arc,
  .ai-target .ring,
  .ai-sweep {
    animation: none;
  }
  .ai-target .ring {
    opacity: 0.4;
  }
}

/* The "+N more" tile that closes a capped board. */
.node-more {
  border-style: dashed;
  background: transparent;
}
.node-more .flag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
}
.node-more .who b {
  color: var(--teal);
}
.node-more:hover {
  border-style: solid;
  border-color: rgba(58, 212, 199, 0.4);
}

/* ==========================================================================
   The two records — "two versions of the same evening".
   Each panel is a surveillance readout: a console header, a rendered scene,
   and the log written over it — one being captured, one encrypting itself.
   ========================================================================== */

.records {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 880px) {
  .records {
    grid-template-columns: minmax(0, 1fr);
  }
}

.record {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #05060a;
  box-shadow: 0 50px 110px -55px rgba(0, 0, 0, 0.95);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.record:hover {
  transform: translateY(-3px);
}
.record-open:hover {
  border-color: rgba(255, 62, 62, 0.34);
}
.record-sealed:hover {
  border-color: rgba(58, 212, 199, 0.34);
}

.record-scene {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: none;
  border-bottom: 1px solid var(--line);
}

/* console titlebar: both panels share one shape, so they line up */
.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: rgba(5, 6, 10, 0.62);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.2);
}
.record-title {
  font-size: 14.5px;
  font-weight: 640;
  letter-spacing: -0.018em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.record-open .record-title {
  color: #ffb3b1;
}
.record-sealed .record-title {
  color: #a9efe7;
}
.record-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.record-open .record-status {
  color: #ff8c8a;
  border-color: rgba(255, 62, 62, 0.34);
  background: rgba(255, 62, 62, 0.08);
}
.record-sealed .record-status {
  color: #8fe3d9;
  border-color: rgba(58, 212, 199, 0.3);
  background: rgba(58, 212, 199, 0.07);
}
.dot-red {
  background: #ff3e3e;
  box-shadow: 0 0 0 0 rgba(255, 62, 62, 0.6);
  animation: pulse-red 1.7s infinite;
}
@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 62, 62, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 62, 62, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 62, 62, 0);
  }
}

.record-log {
  margin: 14px 14px 12px;
  padding: 14px 15px;
  border-radius: var(--r-sm);
  background: rgba(4, 5, 9, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
  overflow-x: auto;
  scrollbar-width: none;
}
.record-log::-webkit-scrollbar {
  display: none;
}

.rec-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: clamp(10.5px, 1.05vw, 12.4px);
  line-height: 1.95;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.rec-key {
  flex: none;
  min-width: 9.6ch;
  color: var(--ink-3);
}
.rec-body {
  min-height: 1em;
}
.record-open .rec-body {
  color: #dfe6f2;
}
.record-sealed .rec-body {
  color: var(--teal);
  letter-spacing: 0.05em;
}

/* the correlated block: what turns four log lines into a person */
.rec-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 11px 0 7px;
  font-family: var(--mono);
  font-size: 9.8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rec-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.record-open .rec-sep {
  color: #ff8c8a;
}

.rec-row.profile .rec-key {
  color: var(--ink-3);
}
.record-open .rec-row.profile .rec-body {
  color: #ffb3b1;
}
.record-sealed .rec-row.profile .rec-body {
  color: var(--ink-2);
}
.rec-row.profile {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.rec-row.profile.is-in {
  opacity: 1;
  transform: none;
}

.rec-body.is-live::after {
  content: "▌";
  margin-left: 1px;
  opacity: 0.85;
  animation: caret 0.75s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}

.record-note {
  margin: auto 16px 16px;
  font-size: 13.4px;
  line-height: 1.5;
  color: var(--ink-2);
}
.record-note b {
  color: var(--ink);
  font-weight: 620;
}

/* The "+N more" tile that closes a capped board. */
.node-more {
  border-style: dashed;
  background: transparent;
}
.node-more .flag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
}
.node-more .who b {
  color: var(--teal);
}
.node-more:hover {
  border-style: solid;
  border-color: rgba(58, 212, 199, 0.4);
}

/* ── the scenes ───────────────────────────────────────────────────────
   Same drawing twice. The only difference that matters is the dash pattern
   on the five paths leaving the desk: irregular dashes read as structure —
   something with edges, something to parse. Identical dashes read as noise. */

.sc-bg {
  fill: #05060a;
}
.sc-figure {
  fill: #030407;
}
.sc-laptop {
  stroke: rgba(150, 190, 255, 0.34);
  stroke-width: 1.2;
}
.sc-screenglow {
  animation: screen-flicker 6s ease-in-out infinite;
}
@keyframes screen-flicker {
  0%, 100% { opacity: 0.92; }
  45% { opacity: 1; }
  62% { opacity: 0.86; }
}

.sc-frame {
  fill: none;
  stroke: rgba(86, 98, 120, 0.6);
  stroke-width: 2;
}
.sc-mullion {
  stroke: rgba(86, 98, 120, 0.42);
  stroke-width: 2;
}
.sc-slat {
  fill: rgba(86, 98, 120, 0.34);
}
.sc-slat.shut {
  fill: rgba(86, 98, 120, 0.2);
  stroke: #05060a;
  stroke-width: 1.4;
}

/* the watcher */
.sc-eye path {
  fill: none;
  stroke: #ff3e3e;
  stroke-width: 3;
  stroke-linecap: round;
}
.sc-iris {
  fill: none;
  stroke: #ff3e3e;
  stroke-width: 3;
  transform-origin: 500px 118px;
  animation: iris 3.4s ease-in-out infinite;
}
.sc-pupil {
  fill: #ff3e3e;
}
.sc-eye-open {
  transform-origin: 500px 118px;
  animation: blink 5.6s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 62, 62, 0.6));
}
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.08); }
}
@keyframes iris {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}
.sc-eye-shut {
  fill: none;
  stroke: rgba(86, 98, 120, 0.75);
  stroke-width: 3;
  stroke-linecap: round;
}

/* what leaves the desk */
.sc-leak {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.scene-open .sc-leak {
  stroke: #ff3e3e;
  opacity: 0.62;
  /* an irregular pattern: fields of different lengths, i.e. readable */
  stroke-dasharray: 16 6 3 9 20 7;
  animation: leak-run 2.6s linear infinite;
  filter: drop-shadow(0 0 5px rgba(255, 62, 62, 0.5));
}
.scene-open .sc-leak:nth-child(2) { animation-duration: 3.2s; }
.scene-open .sc-leak:nth-child(3) { animation-duration: 2.2s; }
.scene-open .sc-leak:nth-child(4) { animation-duration: 3.6s; }
.scene-open .sc-leak:nth-child(5) { animation-duration: 2.9s; }
@keyframes leak-run {
  to { stroke-dashoffset: -61; }
}

.scene-sealed .sc-leak {
  stroke: #3ad4c7;
  opacity: 0.42;
  /* one block, one gap, forever: nothing to tell the rows apart */
  stroke-dasharray: 9 21;
  animation: leak-drift 4.4s linear infinite;
}
.scene-sealed .sc-leak:nth-child(even) { animation-duration: 5.2s; }
@keyframes leak-drift {
  to { stroke-dashoffset: -30; }
}

/* the shield */
.sc-dome {
  fill: none;
  stroke: #3ad4c7;
  stroke-width: 2;
  opacity: 0.8;
  transform-origin: 250px 312px;
  animation: dome-breathe 5.8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(58, 212, 199, 0.45));
}
.sc-dome-2 {
  stroke-width: 1;
  opacity: 0.22;
  animation-delay: 0.5s;
  filter: none;
}
@keyframes dome-breathe {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.025); opacity: 1; }
}

/* the lock-on, and the sweep looking for the next one */
.sc-reticle path {
  fill: none;
  stroke: #ff3e3e;
  stroke-width: 2;
  animation: jitter 3.2s steps(1) infinite;
}
@keyframes jitter {
  0% { transform: translate(0, 0); opacity: 0.95; }
  25% { transform: translate(0.9px, -0.7px); opacity: 0.75; }
  50% { transform: translate(-0.7px, 0.6px); opacity: 1; }
  75% { transform: translate(0.5px, 0.8px); opacity: 0.85; }
}
.sc-sweep {
  fill: url(#sweep-open);
  animation: sweep-down 7s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes sweep-down {
  0% { transform: translateY(0); }
  55%, 100% { transform: translateY(400px); }
}

@media (prefers-reduced-motion: reduce) {
  .sc-screenglow,
  .sc-eye-open,
  .sc-iris,
  .sc-leak,
  .sc-dome,
  .sc-reticle path,
  .sc-sweep {
    animation: none;
  }
  .sc-sweep {
    opacity: 0;
  }
}

/* ── console sections ─────────────────────────────────────────────────── */

.console-tabs {
  margin-bottom: 22px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-head h2 {
  margin-bottom: 4px;
}

/* what deleting actually means under this account's jurisdiction */
.retention-note {
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 107, 107, 0.22);
  background: rgba(255, 107, 107, 0.06);
}
.retention-note b {
  color: #ffbdbd;
}

/* ── Right to left ────────────────────────────────────────────────────── */

/* The layout is flex and grid throughout, so `dir="rtl"` on <html> flips
   almost all of it on its own. What follows is the short list of rules that
   pin to a physical side and therefore have to be mirrored by hand.
   Diagrams keep their own direction: an SVG is a coordinate system, not a
   sentence, and bidi still orders Arabic runs correctly inside it. */

[dir="rtl"] .skip:focus {
  left: auto;
  right: 14px;
}
[dir="rtl"] .lang > ul {
  right: auto;
  left: 0;
}
[dir="rtl"] .nav-links {
  margin-left: 0;
  margin-right: 12px;
}
[dir="rtl"] .term-bar span {
  margin-left: 0;
  margin-right: 6px;
}
[dir="rtl"] .node .load,
[dir="rtl"] .kv dd,
[dir="rtl"] .ai-bar b {
  text-align: left;
}
[dir="rtl"] .pick-card,
[dir="rtl"] .doc td {
  text-align: right;
}
[dir="rtl"] .plan .badge {
  left: auto;
  right: 28px;
}
[dir="rtl"] .faq summary::after {
  right: auto;
  left: 24px;
}
[dir="rtl"] .field select {
  padding-right: 13px;
  padding-left: 40px;
  background-position: 20px 21px, 14px 21px;
  background-image: linear-gradient(135deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(45deg, var(--ink-3) 50%, transparent 50%);
}
[dir="rtl"] .ai-card {
  right: auto;
  left: -2%;
}
[dir="rtl"] .rec-body.is-live::after {
  margin-left: 0;
  margin-right: 1px;
}
[dir="rtl"] .scene-svg,
[dir="rtl"] .globe,
[dir="rtl"] .record-scene,
[dir="rtl"] .mono,
[dir="rtl"] code,
[dir="rtl"] pre {
  direction: ltr;
}
[dir="rtl"] code,
[dir="rtl"] pre {
  text-align: left;
}

@media (max-width: 940px) {
  [dir="rtl"] .burger {
    margin-left: 0;
    margin-right: auto;
  }
}
