/* Proxy storefront. Dark navy glass with gold accents.
   The first block holds the main colours; many tints further down are written out, see tools/retheme.js. */
:root {
  --bg: #070b18;
  --bg-raised: #0e142a;
  --text: #f6f2e8;
  --muted: #adb2c4;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.045);
  --g1: #d6a23a;
  --g2: #f2d68a;
  --rose: #5a4bff;
  --on-grad: #261a03;
  --grad: linear-gradient(135deg, var(--g1), var(--g2));

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
img { display: block; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 50;
  background: var(--text);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus { left: 8px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow { max-width: 820px; }

/* soft coloured light behind everything */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 8% 0%, rgba(78, 122, 255, 0.24), transparent 70%),
    radial-gradient(45% 45% at 100% 18%, rgba(96, 82, 241, 0.2), transparent 70%),
    radial-gradient(60% 45% at 50% 108%, rgba(227, 185, 93, 0.14), transparent 70%),
    var(--bg);
}
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 75%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 75%);
}

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad);
  color: var(--on-grad);
  box-shadow: 0 14px 34px -12px rgba(63, 111, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(63, 111, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.26); }
.btn-small { padding: 11px 18px; font-size: 0.9375rem; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 24, 0.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--grad);
  color: var(--on-grad);
  box-shadow: 0 8px 22px -8px rgba(63, 111, 255, 0.9);
}
.top-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 0.9875rem;
}
.top-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.top-nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); overflow-x: clip; }
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(227, 185, 93, 0.3);
  color: #f6e8c9;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g2);
  box-shadow: 0 0 0 4px rgba(227, 185, 93, 0.18);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero h1 .grad-text { display: block; padding-bottom: 0.08em; }

.lede {
  margin-top: 24px;
  max-width: 33em;
  font-size: 1.1875rem;
  color: var(--muted);
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ticks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.ticks li, .checks li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticks li::before, .checks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.300l2.600 2.600L13 6.500' fill='none' stroke='%23ffb347' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat,
    rgba(227, 185, 93, 0.14);
}

/* hero globe */
.orb {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.orb-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(227, 185, 93, 0.5), rgba(78, 122, 255, 0.34) 45%, rgba(96, 82, 241, 0.18) 70%, transparent 76%);
  filter: blur(36px);
}
#orb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.orbit {
  position: absolute;
  inset: -3%;
  border-radius: 50%;
  border: 1px solid rgba(245, 230, 198, 0.2);
  transform: rotateZ(-20deg) rotateX(72deg);
}
.orbit-b {
  inset: 6%;
  transform: rotateZ(34deg) rotateX(68deg);
  border-color: rgba(164, 156, 255, 0.2);
}
.orbit i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: spin 16s linear infinite;
}
.orbit-b i { animation-duration: 22s; animation-direction: reverse; }
.orbit i::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px 4px rgba(227, 185, 93, 0.9);
}
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(14, 20, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  font-size: 0.9375rem;
  animation: float 7s ease-in-out infinite;
}
.chip-online { top: 6%; left: -2%; }
.chip-topup { right: -2%; bottom: 24%; animation-delay: -3.500s; }
.chip-row { display: flex; align-items: center; gap: 9px; }
.chip-row img { border-radius: 3px; }
.chip code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: #f2deb2;
}
.chip-label { font-size: 0.8125rem; color: var(--muted); }
.chip-topup strong {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.1;
}
.dot-live {
  background: #5df2a6;
  box-shadow: 0 0 0 4px rgba(93, 242, 166, 0.18);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.protocols {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.protocols li {
  padding: 7px 13px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.75rem;
  background: rgba(14, 20, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}
.head h2 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.025em; }
.head p { margin-top: 14px; color: var(--muted); font-size: 1.125rem; }

/* countries */
.marquee {
  display: grid;
  gap: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee-reverse { animation-direction: reverse; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  font-weight: 500;
  white-space: nowrap;
}
.marquee-row img { border-radius: 4px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.cards > * { grid-column: span 2; }
/* five products: centre the last two under the first three */
.cards > .product:nth-child(4) { grid-column: 2 / span 2; }
.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 185, 93, 0.35);
  box-shadow: 0 26px 50px -30px rgba(63, 111, 255, 0.75);
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(78, 122, 255, 0.28), rgba(227, 185, 93, 0.14));
  border: 1px solid rgba(227, 185, 93, 0.3);
  box-shadow: 0 12px 28px -14px rgba(63, 111, 255, 0.9);
}
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #f1dbac;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product { display: flex; flex-direction: column; }
.tag {
  align-self: flex-start;
  margin-top: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: #f3e1b9;
  background: rgba(227, 185, 93, 0.1);
  border: 1px solid rgba(227, 185, 93, 0.22);
}
.product h3 { margin-top: 16px; font-size: 1.5rem; }
.desc { margin-top: 8px; color: var(--muted); min-height: 3.2em; }
.from { margin-top: 22px; font-size: 0.875rem; color: var(--muted); }
.price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.unit { font-size: 0.875rem; color: var(--muted); }
.checks {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 0.9875rem;
}
.product .btn { margin-top: auto; }

.product-pick {
  background:
    linear-gradient(var(--bg-raised), var(--bg-raised)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 60px -34px rgba(63, 111, 255, 0.9);
}
.product-pick:hover { border-color: transparent; }
.flag {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--grad);
  color: var(--on-grad);
}

.feature h3 { margin-top: 20px; font-size: 1.3125rem; }
.feature p { margin-top: 10px; color: var(--muted); }
.feature code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: #f2deb2;
}

/* steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  display: inline-block;
  padding: 4px 11px;
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  background: rgba(227, 185, 93, 0.12);
  border: 1px solid rgba(227, 185, 93, 0.28);
  color: #f1dbac;
}
.steps h3 { margin-top: 16px; font-size: 1.3125rem; }
.steps p { margin-top: 8px; color: var(--muted); }

/* pricing */
.table-card {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.prices {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.prices th, .prices td {
  padding: 18px 18px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.prices tbody tr:last-child th, .prices tbody tr:last-child td { border-bottom: 0; }
.prices thead th { font-weight: 500; font-size: 0.875rem; color: var(--muted); }
.prices th:first-child { text-align: left; padding-left: 26px; }
.prices tbody th { font-family: var(--display); font-weight: 600; font-size: 1.125rem; }
.th-note {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--muted);
}
.row-pick th, .row-pick td { background: rgba(230, 192, 110, 0.1); }
.row-pick th { box-shadow: inset 3px 0 0 var(--g2); }
.row-pick td { color: #f6e8c9; }

.packs {
  margin-top: 20px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
}
.packs-head h3 { font-size: 1.375rem; }
.packs-head p { margin-top: 6px; color: var(--muted); }
.pack-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.pack-list li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.pack-list span { font-size: 0.875rem; color: var(--muted); }
.pack-list strong { font-family: var(--display); font-size: 1.125rem; font-variant-numeric: tabular-nums; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background-color 0.2s;
}
.faq details[open] { border-color: rgba(227, 185, 93, 0.35); background: rgba(255, 255, 255, 0.06); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--g2);
  border-bottom: 2px solid var(--g2);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* closing card */
.section-cta { padding-top: 0; }
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(40px, 7vw, 80px) clamp(22px, 5vw, 60px);
  border-radius: 28px;
  border: 1px solid rgba(227, 185, 93, 0.3);
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(63, 111, 255, 0.34), transparent 70%),
    radial-gradient(40% 70% at 90% 100%, rgba(96, 82, 241, 0.22), transparent 70%),
    var(--bg-raised);
}
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.025em; }
.cta p { margin-top: 14px; color: #e6d8dc; font-size: 1.125rem; }
.cta .hero-cta { justify-content: center; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 0.9375rem; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
}
.foot-note { margin-top: 14px; max-width: 24em; color: var(--muted); }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 4px; }
.foot nav a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.foot nav a:hover { color: var(--text); }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

/* floating support */
.support {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  text-decoration: none;
  color: var(--on-grad);
  background: var(--grad);
  box-shadow: 0 16px 36px -12px rgba(63, 111, 255, 0.9);
  transition: transform 0.2s;
}
.support:hover { transform: translateY(-2px); }

/* gentle entrance, only when scripts run */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.985);
  filter: blur(8px);
  transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.9s ease;
  transition-delay: var(--delay, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }
/* children of a heading block or a list follow one another */
.js .reveal-kids > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--k, 0) * 110ms + 80ms);
}
.js .reveal-kids.in > * { opacity: 1; transform: none; }
/* the first screen arrives in order when the page opens */
.js .hero-copy > * { animation: hero-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--k, 0) * 110ms + 120ms); }
.js .orb { animation: hero-orb 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
@keyframes hero-rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes hero-orb { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.js .card.reveal.in:hover { transform: translateY(-4px); transition-delay: 0ms; transition-duration: 0.25s; }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .orb { width: min(86%, 440px); margin-top: 12px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > *, .cards > .product:nth-child(4) { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .pack-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .top-nav { display: none; }
  .top-in { justify-content: space-between; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .desc { min-height: 0; }
  .pack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orb { width: 100%; }
  .chip { padding: 10px 13px; font-size: 0.875rem; }
  .chip-online { left: 0; }
  .chip-topup { right: 0; }
  .hero-cta .btn { flex: 1 1 auto; }
  .support { right: 14px; bottom: 14px; padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-row { width: auto; flex-wrap: wrap; justify-content: center; }
}

/* ---------- mouse effects (driven by fx.js) ---------- */
/* big soft light that trails the cursor */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(71, 117, 255, 0.13), rgba(96, 82, 241, 0.06) 40%, transparent 70%);
  transform: translate3d(-999px, -999px, 0);
  transition: opacity 0.4s;
}

/* spotlight that follows the cursor inside a card.
   Keep this list in step with the same list in fx.js. */
:where(.card, .box, .cta, .packs, .table-card, .pack-list li, .marquee-row li, .faq details, .type-option span, .legal-nav a) {
  position: relative;
}
:where(.card, .box, .cta, .packs, .pack-list li, .marquee-row li, .faq details, .type-option span, .legal-nav a)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(233, 200, 127, 0.16), transparent 45%);
}
:where(.card, .box, .cta, .packs, .pack-list li, .marquee-row li, .faq details, .type-option span, .legal-nav a):hover::after {
  opacity: 1;
}

/* small things answer the cursor too */
.icon { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.card:hover .icon { transform: translateY(-3px) scale(1.06); }
.marquee-row li, .pack-list li {
  transition: transform 0.25s, border-color 0.25s, background-color 0.25s;
}
.marquee-row li:hover, .pack-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 185, 93, 0.4);
  background: rgba(255, 255, 255, 0.07);
}
.faq details:hover { border-color: rgba(227, 185, 93, 0.3); }
.prices tbody tr { transition: background-color 0.2s; }
.prices tbody tr:hover th, .prices tbody tr:hover td { background: rgba(255, 255, 255, 0.05); }
.prices tbody tr.row-pick:hover th, .prices tbody tr.row-pick:hover td { background: rgba(230, 192, 110, 0.16); }
.top-nav a { position: relative; }
.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.top-nav a:hover::after { transform: scaleX(1); }

/* the globe can be dragged; the rings and chips let the pointer through */
#orb-canvas { cursor: grab; touch-action: pan-y; }
#orb-canvas:active { cursor: grabbing; }
.orbit, .orb-glow, .orb .chip, .orb .protocols { pointer-events: none; }
.chip-row img, .chip code { transition: opacity 0.3s, transform 0.3s; }
.live-swap { opacity: 0; transform: translateY(4px); }

@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* ---------- menu button for small screens ---------- */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-content: center;
  gap: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .menu-toggle { display: grid; }
  .top-in > .btn { margin-left: auto; }
  .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px var(--gutter) 14px;
    background: rgba(7, 11, 24, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .top-nav.open { display: flex; }
  .top-nav a {
    padding: 15px 0;
    font-size: 1.0625rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .top-nav a:last-child { border-bottom: 0; }
  .top-nav a::after { display: none; }
}

/* ---------- page not found ---------- */
.lost {
  min-height: calc(100vh - 69px);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.lost-code {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.lost h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.lost p { color: var(--muted); max-width: 30em; }
.lost .hero-cta { justify-content: center; margin-top: 12px; }
.lost .lost-code { color: transparent; }

/* ---------- things that are not on sale yet ---------- */
.product.soon { opacity: 0.7; }
.product.soon .btn { cursor: default; pointer-events: none; border-style: dashed; }
.soon-note { color: var(--g2); }
.packs .soon-note { display: inline; margin-left: 10px; font-size: 0.875rem; }

/* ---------- slim footer on the inner pages ---------- */
.foot-slim { padding: 22px 0; }
.foot-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--muted); }
.foot-slim nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* keep the header on one line on narrow screens */
.brand, .btn, .balance-pill { white-space: nowrap; }
@media (max-width: 640px) {
  .top-in { gap: 10px; }
  .brand { font-size: 1.125rem; gap: 8px; }
  .top-in .btn-small { padding: 10px 13px; }
  .support { padding: 11px 14px; font-size: 0.9375rem; }
}

/* a short country list is shown still and centred instead of scrolling */
.marquee-static { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gutter); }
.marquee-static .marquee-row { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }

/* Phones: the exported list on the left, one line flying to each device. */
.farm { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); }
.farm h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 14px; }
.farm-copy > p { color: var(--muted); margin: 0; }
.farm .farm-note { font-size: 0.9rem; margin-top: 18px; }
.farm-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.farm-list { border-radius: 14px; border: 1px solid var(--line); background: rgba(5, 8, 18, 0.7); overflow: hidden; }
.farm-list > p { margin: 0; padding: 10px 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.farm-list > p span { color: #f2deb2; }
.farm-window { height: calc(7 * 1.9rem); overflow: hidden; }
.farm-list ol { list-style: none; margin: 0; padding: 0; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.farm-list li { height: 1.9rem; display: flex; align-items: center; padding: 0 14px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); white-space: nowrap; transition: opacity 0.3s ease; }
.farm-list li span { color: var(--text); }
.farm-list li.sent { opacity: 0.32; }
.farm-list li.sent span { text-decoration: line-through; text-decoration-color: rgba(227, 185, 93, 0.6); }
.farm-phones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.farm-phones li {
  position: relative; display: grid; justify-items: center; gap: 3px; padding: 9px 2px 7px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-family: var(--mono); color: var(--muted);
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.farm-phones i { width: 13px; height: 22px; border-radius: 4px; border: 1.5px solid currentColor; opacity: 0.6; }
.farm-phones b { font-size: 0.62rem; font-weight: 500; opacity: 0.7; }
.farm-phones span { font-size: 0.64rem; opacity: 0; transition: opacity 0.3s ease 0.2s; }
.farm-phones li.on { border-color: rgba(227, 185, 93, 0.5); background: rgba(230, 192, 110, 0.08); color: #f2deb2; }
.farm-phones li.on span { opacity: 1; }
.farm-caption { grid-column: 1 / -1; margin: 4px 0 0; font-size: 0.85rem; color: var(--muted); text-align: center; }
.farm-fly {
  position: absolute; z-index: 3; padding: 2px 8px; border-radius: 999px; pointer-events: none;
  font-family: var(--mono); font-size: 0.7rem; color: var(--on-grad); background: var(--grad);
  transition: transform 0.5s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.5s ease 0.1s;
}
@media (max-width: 960px) {
  .farm { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .farm-stage { grid-template-columns: 1fr; }
  .farm-window { height: calc(4 * 1.9rem); }
}

/* ---------- scroll effects (assets/scroll.js) ---------- */
.scrollbar { position: fixed; z-index: 200; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Hero depth: the copy, the globe and its glow travel at different rates. */
.hero { --hp: 0; }
.hero-copy { transform: translate3d(0, calc(var(--hp) * -38px), 0); opacity: calc(1 - var(--hp) * 0.3); }
#orb-canvas { transform: translate3d(0, calc(var(--hp) * 46px), 0) scale(calc(1 + var(--hp) * 0.1)); }
.orb-glow { transform: translate3d(0, calc(var(--hp) * 90px), 0) scale(calc(1 + var(--hp) * 0.35)); opacity: calc(1 - var(--hp) * 0.5); }

/* The route stage: holds still for a little over a screen while proxies come online. */
.route { height: 230vh; margin-top: clamp(28px, 5vw, 56px); }
.route-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.route-top { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: clamp(84px, 13vh, 130px) var(--gutter) 0; text-align: center; }
.route-top h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.02em; }
.route-countries { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cpick {
  font: 500 0.92rem var(--body); color: var(--text); min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(14, 20, 42, 0.78); cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.cpick:hover { border-color: rgba(227, 185, 93, 0.6); }
.cpick[aria-pressed="true"] { background: var(--grad); color: var(--on-grad); border-color: transparent; font-weight: 600; }
.route-readout { margin-top: 18px; font-family: var(--mono); font-size: 0.92rem; color: #f2deb2; min-height: 1.5em; }
.route-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-lines path { fill: none; stroke: url(#route-grad); stroke-width: 1.4; stroke-linecap: round; opacity: 0.16; transition: opacity 0.3s ease; }
.route-lines path.on { opacity: 0.95; }
.route-lines circle.node { fill: #3a2f3c; transition: fill 0.3s ease; }
.route-lines circle.node.on { fill: #e9c87f; }
.route-lines circle.halo { fill: rgba(230, 192, 110, 0.22); opacity: 0; transition: opacity 0.3s ease; }
.route-lines circle.halo.on { opacity: 1; }
.route-lines text { font-family: var(--mono); font-size: 11px; fill: var(--muted); text-anchor: middle; opacity: 0; transition: opacity 0.3s ease; }
.route-lines text.on { opacity: 1; }
.route-lines.flash circle.node.on { animation: route-flash 0.5s ease both; animation-delay: calc(var(--i) * 34ms); }
.route-lines.flash text.on { animation: route-flash-text 0.5s ease both; animation-delay: calc(var(--i) * 34ms); }
@keyframes route-flash { 0% { fill: #fff; r: 7; } 100% { fill: #e9c87f; } }
@keyframes route-flash-text { 0% { fill: #fff; } 100% { fill: var(--muted); } }
.route-source {
  position: absolute; z-index: 2; left: 50%; bottom: 15%; transform: translateX(-50%);
  display: grid; gap: 2px; justify-items: center; padding: 14px 30px; min-width: 250px; border-radius: 16px;
  background: rgba(14, 20, 42, 0.86); border: 1px solid rgba(227, 185, 93, 0.4);
  box-shadow: 0 24px 50px -24px rgba(51, 102, 255, 0.6);
}
.route-source span { font-size: 0.8125rem; color: var(--muted); }
.route-source strong { font-family: var(--display); font-size: 1.15rem; }
.route-note { position: absolute; z-index: 2; left: 0; right: 0; bottom: 4.5%; margin: 0 auto; max-width: 560px; padding: 0 var(--gutter); text-align: center; font-size: 0.85rem; color: var(--muted); }

@media (max-width: 820px) {
  .route { height: 210vh; }
  .route-top { padding-top: 84px; text-align: left; }
  .route-countries { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .route-countries::-webkit-scrollbar { display: none; }
  .cpick { white-space: nowrap; min-height: 44px; }
  .route-source { bottom: 17%; min-width: 210px; }
  .route-note { font-size: 0.8rem; bottom: 3%; text-align: left; padding-right: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy, #orb-canvas, .orb-glow { transform: none; opacity: 1; }
  .route { height: auto; }
  .route-stage { position: relative; height: 620px; }
  .route-lines.flash circle.node.on, .route-lines.flash text.on { animation: none; }
}

/* ---------- centred menu (home page) ---------- */
@media (min-width: 731px) {
  .top-center .top-in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .top-center .top-nav { margin-left: 0; padding: 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); gap: 4px; }
  .top-center .top-nav a { padding: 7px 16px; border-radius: 999px; }
  .top-center .top-nav a:hover { background: rgba(255, 255, 255, 0.07); }
  .top-center .top-nav a::after { display: none; }
  .top-center .btn-small { justify-self: end; }
}

/* ---------- customer feedback ---------- */
.quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote { margin: 0; display: grid; gap: 22px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 3rem; line-height: 0.7; color: var(--g2); margin-bottom: 10px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption strong { display: block; font-family: var(--display); }
.quote figcaption small { color: var(--muted); font-size: 0.875rem; }
.avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  font-family: var(--display); font-weight: 700; color: var(--on-grad); background: var(--grad);
  box-shadow: 0 0 0 2px var(--bg-raised), 0 0 0 3px rgba(227, 185, 93, 0.45);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-2 { background: linear-gradient(135deg, #6052f1, #4e7aff); }
.avatar-3 { background: linear-gradient(135deg, #e3b95d, #f0d9a6); }
@media (max-width: 960px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .orb { animation: none; }
  .js .reveal-kids > * { opacity: 1; transform: none; }
}
.quotes > * { grid-column: auto; }

/* ---------- the thread and the per-section accents (assets/accents.js) ---------- */
.rail { display: none; }
@media (min-width: 1300px) {
  .rail { display: block; position: fixed; z-index: 15; top: 104px; bottom: 44px; width: 2px; left: max(22px, calc((100vw - var(--wrap)) / 2 - 34px)); background: rgba(255, 255, 255, 0.08); border-radius: 2px; pointer-events: none; }
  .rail-fill { position: absolute; inset: 0; background: var(--grad); transform: scaleY(0); transform-origin: 50% 0; border-radius: 2px; }
  .rail-tick { position: absolute; left: -3px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #3a2f3c; border: 1px solid rgba(255, 255, 255, 0.18); transition: background-color 0.3s ease, border-color 0.3s ease; }
  .rail-tick.on { background: #e9c87f; border-color: transparent; }
  .rail-dot { position: absolute; left: -6px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #faf3e4; box-shadow: 0 0 0 4px rgba(230, 192, 110, 0.28), 0 0 22px 6px rgba(229, 189, 101, 0.7); }
  .rail-label { position: absolute; left: 22px; top: -3px; font: 500 0.68rem var(--mono); font-style: normal; color: var(--muted); white-space: nowrap; display: none; }
}
@media (min-width: 1500px) { .rail-label { display: block; } }

/* products: the highlight sweeps along the row */
.js .card.product.reveal.in { transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.9s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.js .card.product.reveal.in.lit { transform: translateY(-8px); border-color: rgba(227, 185, 93, 0.6); box-shadow: 0 34px 64px -34px rgba(63, 111, 255, 0.95); transition-delay: 0ms; }

/* icons draw themselves */
.js .icon svg.draws * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(0.3, 0.7, 0.2, 1) 0.35s; }
.js .card.in .icon svg.draws * { stroke-dashoffset: 0; }

/* steps: a line fills from the first to the last */
.steps { position: relative; --sp: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 2px; border-radius: 2px; }
.steps::before { background: rgba(255, 255, 255, 0.08); }
.steps::after { background: var(--grad); transform: scaleX(var(--sp)); transform-origin: 0 50%; }
.steps li::before { transition: background 0.3s ease, color 0.3s ease; }
.steps li.reached::before { background: var(--grad); color: var(--on-grad); }
@media (max-width: 960px) {
  .steps::before, .steps::after { left: -12px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { transform: scaleY(var(--sp)); transform-origin: 50% 0; }
}

/* feedback: neighbours drift against each other */
.quotes { --dx: 0; }
.quote:nth-child(3n + 1) { translate: calc(var(--dx) * -1px) 0; }
.quote:nth-child(3n) { translate: calc(var(--dx) * 1px) 0; }
@media (max-width: 960px) { .quote:nth-child(n) { translate: none; } }

/* close: one pulse when the thread arrives */
.btn-primary.arrived { animation: cta-pulse 1.3s ease 0.2s 1; }
@keyframes cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 192, 110, 0.75); }
  100% { box-shadow: 0 0 0 26px rgba(230, 192, 110, 0); }
}

/* each stop of the scroll frames one section (desktop, mouse) */
@media (min-width: 900px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; scroll-padding-top: 84px; }
  main > .section { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .js .icon svg.draws * { stroke-dashoffset: 0; transition: none; }
  .quote:nth-child(n) { translate: none; }
  .farm-list ol { transition: none; }
}

/* phones: wider tiles so every address stays on one line */
.farm-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.farm-phones { grid-template-columns: repeat(4, 1fr); }
.farm-phones li { padding: 7px 2px 6px; gap: 2px; }
.farm-phones span { white-space: nowrap; font-size: 0.62rem; }
.farm-window { height: calc(9 * 1.9rem); }
@media (max-width: 560px) {
  .farm-stage { grid-template-columns: 1fr; }
  .farm-window { height: calc(4 * 1.9rem); }
  .farm-phones { grid-template-columns: repeat(5, 1fr); }
  .farm-phones span { font-size: 0.56rem; }
}
