/* ============================================
   UMA — Design System
   ============================================ */
:root {
  --bg: #031124;
  --blue: #081F3F;
  --blue-2: #0d2a52;
  --yellow: #F9FD3C;
  --yellow-dim: #d8db2c;
  --ink: #ffffff;
  --ink-2: #c9d4e6;
  --ink-3: #7d8aa3;
  --ink-4: #3e4d6b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);

  --font-sans: 'Inter', 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: 'Inter', 'Geist', sans-serif;

  --container: 1320px;
  --gutter: 24px;
}

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

/* ============================================
   Custom cursor
   ============================================ */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: none; }
  a, button, [role="button"], .btn, .audience, input, textarea, select, label, .nav-brand, .btn-link {
    cursor: none;
  }
  input, textarea { cursor: none; }
}

.uma-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .25s cubic-bezier(.2,.8,.2,1),
              height .25s cubic-bezier(.2,.8,.2,1),
              background .2s ease,
              border-radius .25s ease,
              opacity .2s ease;
  will-change: transform, width, height;
}
.uma-cursor.hidden { opacity: 0; }

.uma-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(249, 253, 60, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width .3s cubic-bezier(.2,.8,.2,1),
              height .3s cubic-bezier(.2,.8,.2,1),
              border-color .25s ease,
              border-radius .3s ease,
              background .25s ease,
              opacity .25s ease,
              transform .05s linear;
  will-change: transform, width, height;
}
.uma-cursor-ring.hidden { opacity: 0; }

/* Background glow that trails the cursor — subtle UMA blue hue */
.uma-cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(13, 42, 82, 0.55) 0%, rgba(8, 31, 63, 0.28) 35%, transparent 70%);
  mix-blend-mode: screen;
  filter: blur(8px);
  opacity: 0;
  transition: opacity .6s ease;
  will-change: transform;
}
.uma-cursor-glow.visible { opacity: 0.375; }

/* Hovering anchors / generic interactive */
.uma-cursor.is-link {
  width: 0;
  height: 0;
  opacity: 0;
}
.uma-cursor-ring.is-link {
  width: 56px;
  height: 56px;
  border-color: var(--yellow);
  background: rgba(249, 253, 60, 0.10);
  border-width: 1.5px;
}

/* Hovering buttons / strong CTAs */
.uma-cursor.is-button {
  width: 0;
  height: 0;
  opacity: 0;
}
.uma-cursor-ring.is-button {
  width: 88px;
  height: 88px;
  border-color: var(--yellow);
  background: rgba(249, 253, 60, 0.15);
  border-width: 1.5px;
}
.uma-cursor-ring.is-button::before {
  content: "→";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
}

/* Hovering text */
.uma-cursor.is-text {
  width: 2px;
  height: 22px;
  border-radius: 1px;
  background: var(--yellow);
}
.uma-cursor-ring.is-text {
  opacity: 0;
}

/* Mouse-down state */
.uma-cursor.is-down {
  width: 4px;
  height: 4px;
}
.uma-cursor-ring.is-down {
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(249, 253, 60, 0.25);
}

/* Magnetic pull on buttons */
.btn, a.btn, .btn-link {
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}

@media (hover: none), (pointer: coarse) {
  .uma-cursor, .uma-cursor-ring, .uma-cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .uma-cursor, .uma-cursor-ring, .uma-cursor-glow { display: none; }
  html, body, a, button { cursor: auto; }
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "cv11";
  line-height: 1.5;
}

body {
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ============================================
   Type scale
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "[";
  color: var(--yellow);
}
.eyebrow::after {
  content: "]";
  color: var(--yellow);
}

.eyebrow-plain {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.h-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.5vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 60ch;
  font-weight: 400;
}

.body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "ss01";
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.section {
  padding: 120px 0;
  position: relative;
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 880px;
}

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.hairline {
  border-top: 1px solid var(--line);
}

/* Subtle grid background (disabled) */
.bg-grid {
  display: none;
}

.bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--yellow);
  color: #000;
}
.btn-primary:hover { background: #ffff5a; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink-2); background: rgba(255,255,255,0.04); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.btn-link:hover { border-bottom-color: var(--yellow); }

/* ============================================
   Card
   ============================================ */
.card {
  background: var(--blue);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.card-mono-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(3, 17, 36, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-brand img { width: 22px; height: 22px; }
.nav-brand img:first-child {
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.nav-brand:hover img:first-child {
  transform: rotate(90deg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-2); }
.footer ul a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   Big logotype
   ============================================ */
.logotype {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.85;
}
