:root {
  --bg: #0A0A0A;
  --bg-2: #121212;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --ember: #D6FF3A;
}
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: #E8E6E1;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-feature-settings: "ss01","cv11";
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: .35;
  z-index: 1;
}

.watermark {
  position: absolute;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: clamp(10rem, 22vw, 22rem);
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.018);
  pointer-events: none;
  user-select: none;
  line-height: 0.8;
  white-space: nowrap;
  z-index: 0;
}

.display {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1),
              transform 1.1s cubic-bezier(.2,.7,.2,1),
              filter 1.1s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity, filter;
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

.reveal-x {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
}
.reveal-x.in { opacity: 1; transform: translateX(0); }

.cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 600; letter-spacing: -0.01em;
  font-size: 15px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .35s ease, color .35s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ember);
  transform: translateY(101%);
  transition: transform .55s cubic-bezier(.7,0,.2,1);
  z-index: 0;
}
.cta > * { position: relative; z-index: 1; }
.cta:hover { color: #0A0A0A; border-color: var(--ember); transform: translateY(-2px); }
.cta:hover::before { transform: translateY(0); }
.cta .arrow {
  width: 22px; height: 10px; position: relative;
  transition: transform .4s ease;
}
.cta:hover .arrow { transform: translateX(4px); }
.cta .arrow::before, .cta .arrow::after {
  content:""; position:absolute; background: currentColor;
}
.cta .arrow::before { top: 50%; left:0; width:100%; height:1.5px; transform: translateY(-50%); }
.cta .arrow::after { top: 50%; right: 0; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }

.cta-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
}

.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .5s ease, transform .6s cubic-bezier(.2,.7,.2,1), background .5s ease;
}
.glass::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(1200px 200px at var(--mx,50%) var(--my,0%), rgba(214,255,58,0.10), transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
}
.glass:hover {
  border-color: rgba(214,255,58,0.45);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(214,255,58,0.04), rgba(255,255,255,0.005));
}
.glass:hover::after { opacity: 1; }
.glass.featured {
  border-color: rgba(214,255,58,0.35);
  background: linear-gradient(180deg, rgba(214,255,58,0.05), rgba(255,255,255,0.005));
}

.hr-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent); }

.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 4rem; padding-right: 4rem; flex-shrink: 0; animation: scroll 38s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }

#globe-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
#globe-wrap canvas { width: 100%; height: 100%; display: block; }

.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(214,255,58,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214,255,58,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(214,255,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,255,58,0); }
}

details.proto {
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: background .4s ease;
}
details.proto[open] { background: linear-gradient(180deg, rgba(214,255,58,0.025), transparent); }
details.proto summary {
  cursor: pointer;
  list-style: none;
  padding: 28px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
details.proto summary::-webkit-details-marker { display: none; }
details.proto .plus {
  width: 28px; height: 28px; position: relative; flex-shrink: 0;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
details.proto[open] .plus { transform: rotate(135deg); }
details.proto .plus::before, details.proto .plus::after {
  content:""; position:absolute; background:#fff;
}
details.proto .plus::before { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
details.proto .plus::after { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
details.proto .answer {
  padding: 0 0 28px 0;
  color: #B8B6B0;
  max-width: 720px;
  line-height: 1.6;
}

.field {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  color: #E8E6E1;
  padding: 18px 0;
  font-size: 16px;
  outline: none;
  transition: border-color .35s ease;
}
.field::placeholder { color: rgba(232,230,225,0.35); }
.field:focus { border-color: var(--ember); }
textarea.field { resize: none; min-height: 130px; }
select.field {
  appearance: none;
  background-color: #121212;
  background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
  background-position: right 0 center, right 8px center;
  background-size: 8px 8px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.nav-blur {
  background: rgba(10,10,10,0.55);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ticker-dot { width:6px; height:6px; border-radius:50%; background:#D6FF3A; display:inline-block; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #B8B6B0;
}

.section-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
}

.ul-link { position: relative; display: inline-block; text-decoration: none; color: inherit; }
.ul-link::after {
  content:""; position:absolute; left:0; bottom:-2px; width:100%; height:1px;
  background: currentColor; transform: scaleX(0); transform-origin: right center;
  transition: transform .5s cubic-bezier(.7,0,.2,1);
}
.ul-link:hover::after { transform: scaleX(1); transform-origin: left center; }
.ul-link.is-active { color: #D6FF3A; }
.ul-link.is-active::after { transform: scaleX(1); transform-origin: left center; }

.service-row {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  transition: padding .4s ease, color .4s ease;
}
.service-row:hover { padding-left: 12px; color: #fff; }
.service-row:hover .service-num { color: var(--ember); }
.service-num { font-family:'JetBrains Mono',monospace; font-size:12px; color:rgba(255,255,255,0.4); padding-top: 6px; transition: color .4s ease; }

.hero-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 600px at 78% 42%, rgba(214,255,58,0.06), transparent 60%),
    radial-gradient(800px 500px at 20% 90%, rgba(80,80,255,0.04), transparent 60%);
  pointer-events: none;
}

.edge-mark {
  position: absolute;
  font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:0.2em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

/* Page banner (replaces giant hero on inner pages) */
.page-banner {
  position: relative;
  padding: 140px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.page-banner .crumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.page-banner .crumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color .3s ease; }
.page-banner .crumb a:hover { color: #D6FF3A; }

/* Mobile menu */
#mobile-menu {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  z-index: 60;
  display: none;
  flex-direction: column;
  padding: 100px 32px 32px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-family: 'Inter Tight', sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #E8E6E1;
  text-decoration: none;
  display: flex; justify-content: space-between; align-items: center;
}
#mobile-menu a.is-active { color: #D6FF3A; }
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 1.5px; background: #E8E6E1; transition: transform .3s ease, opacity .3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row .service-cta { grid-column: 2 / -1; }
}

::selection { background: #D6FF3A; color: #0A0A0A; }
