/* imba VPN - site styles. Fonts (Unbounded, Manrope, JetBrains Mono) are linked from each page head. */

:root {
  --ink-0: #07090D;
  --ink-1: #0E1218;
  --ink-2: #141A22;
  --ink-3: #1C242F;
  --lime: #C8F542;
  --lime-deep: #A9D61F;
  --on-lime: #0B1002;
  --cyan: #2EE6D6;
  --text: #EEF2F6;
  --muted: #93A0B2;
  --line: rgba(233, 238, 245, .09);
  --line-strong: rgba(233, 238, 245, .18);
  --danger: #FF6B5E;
  --font-display: "Unbounded", "Manrope", sans-serif;
  --font-body: "Manrope", "Unbounded", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 72px;
  --shell: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img, svg, canvas, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
::selection { background: var(--lime); color: var(--on-lime); }

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.01em; }

.shell { width: min(var(--shell), calc(100% - 2.5rem)); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.65; color: var(--muted); max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:active { transform: translateY(1px) scale(.985); }

.btn-lime {
  color: var(--on-lime);
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200, 245, 66, 0);
}
/* sheen sweep */
.btn-lime::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(200, 245, 66, .55); }
.btn-lime:hover::after { transform: translateX(120%); }

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(233, 238, 245, .03);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.btn-sm { min-height: 40px; padding: .5rem 1.05rem; font-size: .76rem; }
.btn-lg { min-height: 60px; padding: 1rem 2rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text);
  background: rgba(233, 238, 245, .03);
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* The blur lives on a pseudo-element so the fixed mobile menu is not trapped inside the header box. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(7, 9, 13, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  opacity: 0;
  transition: opacity .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { opacity: 1; }

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: var(--nav-h);
}
.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.brand img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-word b { font-weight: 900; color: var(--lime); }

.nav-panel { position: relative; z-index: 1; display: flex; align-items: center; flex: 1; gap: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: .2rem; margin-inline: auto; }
.nav-links a {
  position: relative;
  padding: .5rem .85rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: .5rem; }
.nav-tools { position: relative; z-index: 2; display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

.lang-switch { position: relative; display: inline-flex; }
.lang-switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 40px;
  padding: 0 .75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(233, 238, 245, .03);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s;
}
.lang-switch-toggle:hover { border-color: var(--lime); }
.lang-flag { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; display: block; object-fit: cover; }
.lang-switch-caret { width: 10px; height: 10px; opacity: .7; transition: transform .2s; }
.lang-switch.is-open .lang-switch-caret { transform: rotate(180deg); }
.lang-switch-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 100%;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--ink-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.lang-switch.is-open .lang-switch-drop { opacity: 1; visibility: visible; transform: none; }
.lang-switch-opt {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .65rem;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
}
.lang-switch-opt:hover, .lang-switch-opt.is-active { background: rgba(200, 245, 66, .12); color: var(--lime); }

.nav-burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(233, 238, 245, .03);
  cursor: pointer;
}
.nav-burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-burger span:first-child { top: 15px; }
.nav-burger span:last-child { top: 22px; }
.nav-burger.is-open { border-color: var(--lime); }
.nav-burger.is-open span { top: 18px; background: var(--lime); }
.nav-burger.is-open span:first-child { transform: rotate(45deg); }
.nav-burger.is-open span:last-child { transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  --orb-x: 73%;
  --orb-y: 51%;
  --orb-d: min(27vw, 50vh);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 2rem) 0 5.5rem;
  overflow: hidden;
  isolation: isolate;
}
/* blueprint grid that fades away from the orb */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at var(--orb-x) var(--orb-y), #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 75% at var(--orb-x) var(--orb-y), #000 0%, transparent 78%);
  opacity: .7;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 24%;
  background: linear-gradient(transparent, var(--ink-0));
  pointer-events: none;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease;
}
.hero.has-webgl .hero-canvas { opacity: 1; }

/* CSS orb: placeholder while WebGL boots, fallback when it is unavailable, and layout anchor for the canvas scene */
.hero-orb {
  position: absolute;
  left: var(--orb-x);
  top: var(--orb-y);
  z-index: -2;
  width: var(--orb-d);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 34% 28%, rgba(46, 230, 214, .38), transparent 46%),
    radial-gradient(circle at 50% 50%, var(--ink-1) 52%, rgba(200, 245, 66, .6) 100%);
  box-shadow:
    0 0 70px 6px rgba(200, 245, 66, .28),
    0 0 180px 50px rgba(46, 230, 214, .16),
    inset 0 0 50px rgba(200, 245, 66, .3);
  animation: orb-breathe 5s ease-in-out infinite;
  transition: opacity .9s ease;
  pointer-events: none;
}
.hero-orb::before, .hero-orb::after {
  content: "";
  position: absolute;
  inset: -30%;
  border: 1px solid rgba(46, 230, 214, .18);
  border-top: 2px solid var(--cyan);
  border-radius: 50%;
  transform: rotate(-22deg) rotateX(74deg);
  animation: orb-ring-a 9s linear infinite;
}
.hero-orb::after {
  inset: -54%;
  border-color: rgba(200, 245, 66, .16);
  border-top-color: var(--lime);
  transform: rotate(32deg) rotateX(66deg);
  animation: orb-ring-b 15s linear infinite;
}
.hero.has-webgl .hero-orb { opacity: 0; animation: none; }
.hero.has-webgl .hero-orb::before, .hero.has-webgl .hero-orb::after { animation: none; }

@keyframes orb-breathe {
  50% { box-shadow: 0 0 90px 14px rgba(200, 245, 66, .36), 0 0 200px 60px rgba(46, 230, 214, .22), inset 0 0 60px rgba(200, 245, 66, .4); }
}
/* the bright arc travels along each tilted ring */
@keyframes orb-ring-a {
  to { transform: rotate(-22deg) rotateX(74deg) rotateZ(360deg); }
}
@keyframes orb-ring-b {
  to { transform: rotate(32deg) rotateX(66deg) rotateZ(-360deg); }
}

.hero-inner { position: relative; }
.hero-copy { max-width: 700px; }
.hero-brand {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 7.6vw, 8rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.hero-brand .hb-a {
  color: var(--lime);
  text-shadow: 0 0 60px rgba(200, 245, 66, .35);
}
.hero-brand .hb-b {
  color: transparent;
  -webkit-text-stroke: 2px var(--text);
}
.hero-title {
  max-width: 21ch;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
}
.hero-lead {
  max-width: 50ch;
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  color: var(--muted);
}
.hero-cta { margin-top: 2.1rem; }

/* load-in sequence */
.hero-brand, .hero-title, .hero-lead, .hero-cta {
  animation: hero-rise .9s var(--ease) both;
}
.hero-title { animation-delay: .12s; }
.hero-lead { animation-delay: .22s; }
.hero-cta { animation-delay: .32s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--lime);
  animation: scroll-hint 1.8s var(--ease) infinite;
}
@keyframes scroll-hint {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--ink-1);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex-shrink: 0; }
.ticker-group span {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.05rem 0 1.05rem 1.6rem;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
}
.ticker-group span::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--lime);
  transform: rotate(45deg);
}
.ticker-group span:nth-child(even)::after { background: var(--cyan); }
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(3.6rem, 8vw, 6.8rem) 0; }
.section-tight { padding: clamp(2.4rem, 5vw, 4rem) 0; }
.section-alt { background: var(--ink-1); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head .lead { margin: 1rem 0 0; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .lead { margin-inline: auto; }

.grid-2, .grid-3 { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards ---------- */

.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  overflow: hidden;
  isolation: isolate;
  transition: border-color .3s, transform .4s var(--ease);
}
/* cursor-follow highlight, positioned by site-config.js */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(200, 245, 66, .11), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover { border-color: rgba(200, 245, 66, .35); }
.card:hover::before { opacity: 1; }
.card h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.card h2 + p, .card h3 + p { margin-top: .7rem; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card a:not(.btn) { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card p + .btn, .card ul + .btn { margin-top: 1.2rem; }
.card-kicker {
  margin: 0 0 .9rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.list { display: grid; gap: .6rem; margin-top: .9rem; }
.list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  line-height: 1.5;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

/* ---------- Bento ---------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.bento > * { grid-column: span 4; min-height: 210px; }
.bento .b-7 { grid-column: span 7; }
.bento .b-5 { grid-column: span 5; }
.bento h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.card-figure {
  margin: auto 0 0;
  padding-top: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
  transition: -webkit-text-stroke-color .4s, color .4s;
}
.card:hover .card-figure { -webkit-text-stroke-color: var(--lime); }

/* rotating highlight cell */
.spot {
  justify-content: flex-end;
  min-height: 300px;
  border-color: rgba(200, 245, 66, .28);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(200, 245, 66, .2), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(46, 230, 214, .14), transparent 60%),
    var(--ink-1);
}
.spot-body { transition: opacity .26s ease, transform .26s var(--ease); }
.spot.is-swapping .spot-body { opacity: 0; transform: translateY(10px); }
.spot h3 { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.12; }
.spot p { max-width: 44ch; margin-top: .8rem; font-size: 1.05rem; }
.spot-dots { display: flex; gap: .4rem; margin-top: 1.4rem; }
.spot-dots i { width: 22px; height: 3px; border-radius: 2px; background: var(--line-strong); transition: background .3s, width .3s var(--ease); }
.spot-dots i.is-on { width: 44px; background: var(--lime); }

/* ---------- Plans ---------- */

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
.plan { padding: 1.5rem; }
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; min-height: 3.2rem; }
.plan-head h3 { font-size: 1.05rem; overflow-wrap: anywhere; }
.plan-tag {
  flex-shrink: 0;
  max-width: 55%;
  padding: .28rem .6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-price {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--text) !important;
}
.plan-per { margin: .35rem 0 0; font-family: var(--font-mono); font-size: .8rem; }
.plan-devices {
  margin: 1.1rem 0 0;
  padding: .7rem .9rem;
  border-radius: var(--radius-sm);
  background: rgba(46, 230, 214, .08);
  font-weight: 700;
  color: var(--cyan) !important;
}
.plan-list { display: grid; gap: .55rem; margin: 1.1rem 0 1.5rem; }
.plan-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--muted);
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}
.plan .btn { align-self: stretch; margin-top: auto; }
.plan.is-featured {
  border-color: var(--lime);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(200, 245, 66, .16), transparent 70%),
    linear-gradient(180deg, var(--ink-2), var(--ink-1));
  box-shadow: 0 24px 70px -30px rgba(200, 245, 66, .5);
}
.plan.is-featured .plan-tag { border-color: var(--lime); background: var(--lime); color: var(--on-lime); }
.plan.is-featured .plan-price { color: var(--lime) !important; }
.plan-note { margin: 1.6rem 0 0; text-align: center; color: var(--muted); }
.plans-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.4rem; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step {
  position: relative;
  padding: 1.8rem 1.8rem 1.8rem 0;
  border-top: 1px solid var(--line-strong);
  counter-increment: step;
}
.step + .step { padding-left: 1.8rem; border-left: 1px solid var(--line); }
.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lime);
}
/* marker travelling along the top rule */
.step::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 56px;
  height: 1px;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}
.step + .step::after { left: 1.8rem; }
.step h3 { font-size: 1.15rem; }
.step p { margin: .7rem 0 0; color: var(--muted); }
.step a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Duo / big numbers ---------- */

.duo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.1rem; }
.duo .card { padding: clamp(1.6rem, 3vw, 2.4rem); }
.big-num {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 9vw, 7rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.05em;
  color: var(--lime) !important;
}
.big-num small {
  display: block;
  margin-top: .7rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-accent {
  border-color: rgba(46, 230, 214, .3);
  background:
    radial-gradient(110% 80% at 100% 100%, rgba(46, 230, 214, .16), transparent 60%),
    var(--ink-1);
}

.partner { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.6rem, 4vw, 3rem); }
.partner .big-num { margin: 0; }
.partner .chip-row { margin: 1.2rem 0 1.6rem; }

/* ---------- FAQ ---------- */

.faq { max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item:first-child { border-top: 1px solid var(--line-strong); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  padding: 1.35rem 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.faq-q:hover { color: var(--lime); }
.faq-q::after {
  content: "";
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 2px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 2px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s;
}
.faq-item.open .faq-q { color: var(--lime); }
.faq-item.open .faq-q::after {
  transform: rotate(135deg);
  border-color: var(--lime);
  background:
    linear-gradient(var(--on-lime), var(--on-lime)) center / 12px 2px no-repeat,
    linear-gradient(var(--on-lime), var(--on-lime)) center / 2px 12px no-repeat,
    var(--lime);
}
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > p { min-height: 0; margin: 0; overflow: hidden; color: var(--muted); max-width: 70ch; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 1.4rem; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  padding: clamp(2.4rem, 6vw, 4.6rem) clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(200, 245, 66, .3);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(70% 120% at 50% 120%, rgba(200, 245, 66, .22), transparent 60%),
    radial-gradient(50% 80% at 0% 0%, rgba(46, 230, 214, .12), transparent 60%),
    var(--ink-1);
  text-align: center;
  overflow: hidden;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 54ch; margin: 0; color: var(--muted); }
.cta-band .btn-row { justify-content: center; margin-top: .6rem; }

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(2.6rem, 7vw, 5.5rem)) 0 clamp(2.4rem, 6vw, 4.4rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 88% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 100% at 88% 0%, #000, transparent 75%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -55%;
  z-index: -1;
  width: 620px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 245, 66, .2), rgba(46, 230, 214, .08) 45%, transparent 68%);
  animation: glow-drift 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow-drift {
  to { transform: translate(-6%, 8%) scale(1.08); }
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin: 1.3rem 0 0; }
.page-hero .btn-row, .page-hero .chip-row { margin-top: 1.9rem; }

/* ---------- Locations ---------- */

.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.loc {
  flex-direction: row;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
}
.loc h3 { flex: 1; min-width: 0; font-size: .98rem; overflow-wrap: anywhere; }
.loc-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--ink-3);
  font-size: 1.35rem;
  overflow: hidden;
}
.loc-flag img { width: 100%; height: 100%; object-fit: cover; }
.loc-type {
  flex-shrink: 0;
  padding: .26rem .6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Guides / code ---------- */

code {
  padding: .1em .4em;
  border-radius: 6px;
  background: rgba(46, 230, 214, .1);
  font-family: var(--font-mono);
  font-size: .88em;
  color: var(--cyan);
}
.code {
  display: block;
  margin: 1rem 0 0;
  padding: .9rem 1rem;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--lime);
  border-radius: 12px;
  background: var(--ink-0);
  font-size: .84rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre;
  overflow-x: auto;
}
.note { margin: 1.4rem 0 0; color: var(--muted); }
.note a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal ---------- */

.legal { padding: calc(var(--nav-h) + clamp(2rem, 5vw, 3.6rem)) 0 clamp(3rem, 7vw, 5rem); }
.legal .shell { max-width: 880px; }
.legal h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.8rem; }
.legal-body { padding-top: 1.6rem; border-top: 1px solid var(--line-strong); }
.legal-body h2 {
  margin: 2.2rem 0 .8rem;
  font-size: 1.05rem;
  color: var(--lime);
}
.legal-body p, .legal-body li { font-size: .95rem; line-height: 1.7; color: var(--muted); }
.legal-body ul { margin: 0 0 1rem; padding-left: 1.2rem; list-style: disc; }
.legal-body li::marker { color: var(--lime); }
.legal-body b { color: var(--text); }
.legal-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

.prose { max-width: 820px; }
.prose h2 { margin: 2.4rem 0 1rem; font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.prose p { color: var(--muted); font-size: 1.04rem; }

/* ---------- 404 ---------- */

.nf {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  text-align: center;
}
.nf-code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(7rem, 26vw, 17rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--lime);
  text-shadow: 0 0 80px rgba(200, 245, 66, .25);
  animation: nf-flicker 4s steps(1) infinite;
}
@keyframes nf-flicker {
  0%, 100% { opacity: 1; }
  47% { opacity: 1; }
  48% { opacity: .35; }
  50% { opacity: 1; }
  52% { opacity: .6; }
  53% { opacity: 1; }
}
.nf .eyebrow { margin-top: 1.2rem; }
.nf .lead { margin: 1rem auto 0; }
.nf .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: clamp(3rem, 6vw, 4.6rem) 0 1.6rem;
  border-top: 1px solid var(--line);
  background: var(--ink-1);
  overflow: hidden;
}
.foot-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.foot-brand p { max-width: 30ch; margin: 1rem 0 0; color: var(--muted); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.foot-col h4 {
  margin-bottom: .4rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-col a { font-weight: 600; transition: color .2s, transform .25s var(--ease); }
.foot-col a:hover { color: var(--lime); transform: translateX(4px); }
.foot-word {
  margin: clamp(2rem, 5vw, 3.4rem) 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 15.4vw, 13.4rem);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  user-select: none;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
}
.foot-bottom p { margin: 0; }
.foot-bottom a { font-weight: 700; color: var(--lime); }

/* ---------- Floating controls ---------- */

.fab-bot {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  display: none;
  align-items: center;
  gap: .5rem;
  height: 48px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 500;
  box-shadow: 0 12px 32px -6px rgba(200, 245, 66, .55), 0 6px 18px rgba(0, 0, 0, .4);
}
.fab-bot svg { width: 18px; height: 18px; }
body.is-menu-open .fab-bot { display: none !important; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(14, 18, 24, .9);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s var(--ease), border-color .2s, color .2s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { border-color: var(--lime); color: var(--lime); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s;
  transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Admin ---------- */

.admin-page { padding: 2.4rem 0 4rem; }
.admin-page label { display: block; margin: .9rem 0 .4rem; font-size: .9rem; font-weight: 700; }
.admin-page input, .admin-page textarea, .admin-page select {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--ink-0);
  transition: border-color .2s, box-shadow .2s;
}
.admin-page input:focus, .admin-page textarea:focus, .admin-page select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(200, 245, 66, .18);
}
.admin-page input[type="checkbox"] { width: auto; margin-right: .5rem; accent-color: var(--lime); }
.admin-page .card { overflow: visible; }
.admin-page .card h2 { margin-bottom: .6rem; }
.admin-page .card h4 { margin-bottom: .4rem; font-size: 1rem; }
.admin-page .btn { margin-top: 0; }

/* ---------- Responsive ---------- */

@media (min-width: 1081px) {
  .to-top { display: inline-flex; }
}

@media (max-width: 1080px) {
  :root { --nav-h: 64px; }
  .nav-burger { display: block; }
  .nav-panel {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    padding: calc(var(--nav-h) + 1.6rem) 1.25rem 2rem;
    background: rgba(7, 9, 13, .97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s, transform .35s var(--ease), visibility .3s;
  }
  .nav-panel.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
  }
  .nav-links a::after { display: none; }
  .nav-links a.is-active { color: var(--lime); }
  .nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
  .nav-cta .btn { min-height: 52px; font-size: .86rem; }
  .nav-tools { margin-left: auto; }
  .fab-bot { display: inline-flex; }
  .site-footer { padding-bottom: 5.2rem; }

  .plans { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .b-7, .bento .b-5 { grid-column: span 6; }
  .bento .spot { grid-column: span 12; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero {
    --orb-x: 50%;
    --orb-y: 29%;
    --orb-d: min(54vw, 30vh);
    align-items: flex-end;
    padding-bottom: 4.6rem;
  }
  .hero::after {
    height: 68%;
    background: linear-gradient(transparent, rgba(7, 9, 13, .84) 46%, var(--ink-0));
  }
  .hero-brand { font-size: clamp(3rem, 14.2vw, 5.6rem); margin-bottom: 1rem; }
  .hero-brand .hb-b { -webkit-text-stroke-width: 1.5px; }
  .hero-scroll { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .duo, .partner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 1.6rem 0; border-left: 0; }
  .step + .step::after { left: 0; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .grid-2, .grid-3, .plans, .loc-grid { grid-template-columns: 1fr; }
  .bento > *, .bento .b-7, .bento .b-5 { grid-column: span 12; min-height: 0; }
  .spot { min-height: 260px; }
  .card { padding: 1.35rem; }
  .hero-cta .btn, .cta-band .btn, .page-hero .btn-row .btn, .nf .btn { flex: 1 1 100%; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .brand-word { font-size: .98rem; }
  .brand img { width: 36px; height: 36px; }
  .loc { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
