/* Self-hosted fonts (no third-party requests, GDPR-friendly) */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("assets/fonts/inter-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("assets/fonts/inter-latin-ext-wght.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("assets/fonts/unbounded-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("assets/fonts/unbounded-latin-ext-wght.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ==========================================================================
   Visual Nexora — design tokens
   ========================================================================== */
:root {
  --bg: #050a18;
  --bg-2: #0a1128;
  --ink: #eef2ff;
  --ink-2: #c3cae3;
  --muted: #8590b3;
  --line: rgba(160, 180, 255, 0.12);
  --glass: rgba(14, 22, 52, 0.45);
  --glass-2: rgba(20, 30, 70, 0.55);
  --cyan: #22e1ff;
  --blue: #3a7bff;
  --violet: #8b5cf6;
  --magenta: #e04bff;
  --grad: linear-gradient(100deg, #22e1ff 0%, #3a7bff 35%, #8b5cf6 65%, #e04bff 100%);
  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
::selection { background: var(--violet); color: #fff; }

.grad {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

/* ==========================================================================
   Background layers
   ========================================================================== */
#webgl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.bg-fallback {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(40vw 40vw at 20% 20%, rgba(34, 225, 255, .18), transparent 60%),
    radial-gradient(45vw 45vw at 80% 70%, rgba(224, 75, 255, .16), transparent 60%),
    radial-gradient(50vw 50vw at 50% 50%, rgba(58, 123, 255, .14), transparent 60%),
    var(--bg);
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

main, .footer, .nav { position: relative; z-index: 2; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(60vw 60vw at 50% 50%, #0d1638, var(--bg) 70%);
}
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__mark { width: 120px; filter: drop-shadow(0 0 40px rgba(139, 92, 246, .6)); animation: floaty 2.4s ease-in-out infinite; }
.loader__bar { width: 200px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--grad); }
.loader__count { font-family: var(--font-display); font-size: 13px; letter-spacing: .3em; color: var(--muted); }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* ==========================================================================
   Cursor
   ========================================================================== */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .35);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s;
}
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; background: rgba(139, 92, 246, .14); border-color: rgba(139, 92, 246, .6); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .4s var(--ease), box-shadow .4s, background .3s, border-color .3s;
  will-change: transform; isolation: isolate; white-space: nowrap;
}
.btn--primary { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 10px 40px -10px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 60px -10px rgba(224, 75, 255, .9), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(139, 92, 246, .6); background: rgba(139, 92, 246, .12); }
.btn--xl { padding: 22px 36px; font-size: clamp(15px, 2.2vw, 22px); }
.arrow { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--store { background: #fff; color: #050a18; padding: 10px 20px 10px 16px; border-radius: 14px; gap: 10px; }
.btn--store span:last-child { display: grid; line-height: 1.1; font-size: 17px; }
.btn--store small { font-size: 10px; font-weight: 500; opacity: .7; }
.apple { width: 22px; height: 26px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter);
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(5, 10, 24, .55); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 0 14px rgba(139, 92, 246, .55)); transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand__word { display: grid; line-height: 1; font-family: var(--font-display); }
.brand__word small { font-size: 9px; letter-spacing: .55em; color: var(--ink-2); font-weight: 400; }
.brand__word b { font-size: 18px; letter-spacing: .14em; font-weight: 600; }
.brand__word i { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 17, 40, .4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(139, 92, 246, .22); }
.nav__cta { padding: 11px 20px; font-size: 14px; }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(10,17,40,.5); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 var(--gutter); background: rgba(5, 10, 24, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease), visibility 0s .7s; pointer-events: none; visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(28px, 8vw, 44px); padding: 8px 0; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   Rail
   ========================================================================== */
.rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; gap: 12px; align-items: center; }
.rail__track { width: 1px; height: 180px; background: var(--line); position: relative; overflow: hidden; }
.rail__fill { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.rail__dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-family: var(--font-display); font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.rail__dots li { transition: color .3s, transform .3s; }
.rail__dots li.is-active { color: #fff; transform: translateX(-4px); }

/* ==========================================================================
   Common section bits
   ========================================================================== */
section { position: relative; padding: clamp(90px, 14vh, 160px) var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow .idx { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 225, 255, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(34, 225, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(34,225,255,0); } }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 56ch; }
.lead.center { margin-inline: auto; text-align: center; }
.section-head { text-align: center; max-width: 980px; margin: 0 auto clamp(48px, 8vh, 90px); }
.section-head h2, .pillar h2 { font-size: clamp(32px, 5.2vw, 74px); margin-bottom: 24px; }
.reveal-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.reveal-title .w > span { display: inline-block; will-change: transform; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 120px; }
.hero__mark-wrap { position: relative; width: clamp(96px, 12vw, 150px); margin-bottom: 28px; perspective: 600px; }
.hero__mark { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 20px 40px rgba(58, 123, 255, .45)); transform-style: preserve-3d; will-change: transform; }
.hero__mark-glow { position: absolute; inset: -40%; background: radial-gradient(circle, rgba(139, 92, 246, .55), transparent 60%); filter: blur(30px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.2); opacity: .6; } }
.hero__title { font-size: clamp(40px, 8.4vw, 132px); font-weight: 600; letter-spacing: -0.035em; line-height: .98; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .word { display: inline-block; will-change: transform; }
.hero__lead { margin: 30px auto 0; max-width: 60ch; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--cyan), transparent); animation: scrollLine 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(5, 10, 24, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: rotate(-2deg) scale(1.04); }
.marquee__track { display: flex; gap: 36px; width: max-content; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(22px, 3.4vw, 46px); font-weight: 500; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(200, 210, 255, .55); }
.marquee span:nth-of-type(3n+1) { color: #fff; -webkit-text-stroke: 0; }
.marquee b { color: var(--violet); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Pillar cards
   ========================================================================== */
.pillar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; max-width: 1400px; margin: 0 auto; perspective: 1400px; }
.pcard {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 380px; padding: 26px;
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)), var(--glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s;
}
.pcard::before { content: ""; position: absolute; inset: auto -30% -50% -30%; height: 70%; background: radial-gradient(closest-side, var(--c1), transparent); opacity: .18; transition: opacity .5s, transform .6s var(--ease); }
.pcard:hover { border-color: color-mix(in srgb, var(--c2) 60%, transparent); box-shadow: 0 30px 80px -30px var(--c2); }
.pcard:hover::before { opacity: .45; transform: translateY(-18%); }
.pcard__num { font-family: var(--font-display); font-size: 13px; color: var(--muted); transform: translateZ(30px); }
.pcard__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 18px 0 auto; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 14px 40px -12px var(--c2); transform: translateZ(60px); }
.pcard__icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pcard h3 { font-size: 24px; transform: translateZ(40px); }
.pcard p { color: var(--ink-2); font-size: 15px; transform: translateZ(25px); }
.pcard p b { color: #fff; }
.pcard__go { font-size: 14px; font-weight: 600; color: #fff; opacity: .7; transform: translateZ(30px); transition: opacity .3s; }
.pcard:hover .pcard__go { opacity: 1; }
.pcard__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.14), transparent 40%); opacity: 0; transition: opacity .4s; }
.pcard:hover .pcard__shine { opacity: 1; }

/* ==========================================================================
   Pillar sections
   ========================================================================== */
.pillar { min-height: 100svh; display: flex; align-items: center; }
.pillar__content { width: min(620px, 100%); margin-left: auto; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: linear-gradient(160deg, rgba(10,17,40,.72), rgba(10,17,40,.42)); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pillar--left .pillar__content { margin-left: 0; margin-right: auto; }
.pillar h2 { font-size: clamp(30px, 4.2vw, 58px); }
.feature-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.feature-list li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.feature-list li b { font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.feature-list li span { color: var(--muted); font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { padding: 8px 14px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.stat { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.stat b { display: block; font-family: var(--font-display); font-size: 24px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; margin-top: 6px; }

/* ==========================================================================
   Applied AI
   ========================================================================== */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1240px; margin: 0 auto; perspective: 1200px; }
.vcard { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform-style: preserve-3d; }
.vcard__n { font-family: var(--font-display); font-size: 48px; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 26px; transform: translateZ(40px); }
.vcard h3 { font-size: 20px; margin-bottom: 12px; transform: translateZ(30px); }
.vcard p { color: var(--muted); font-size: 15px; }
.caps { max-width: 1240px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.cap { position: relative; display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 20px; padding: 24px 8px; border-bottom: 1px solid var(--line); overflow: hidden; transition: padding .5s var(--ease); }
.cap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,123,255,.18), rgba(224,75,255,.12)); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.cap:hover { padding-left: 24px; }
.cap:hover::before { transform: scaleY(1); }
.cap__k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cap b { font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 1.8vw, 24px); }
.cap em { font-style: normal; font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }

/* ==========================================================================
   iOS apps + CSS 3D phones
   ========================================================================== */
.pillar--ios { display: block; }
.apps { display: grid; gap: clamp(60px, 10vh, 120px); max-width: 1200px; margin: 0 auto; }
.app { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.app--atlas .phone-stage { order: 2; }
.app__info h3 { font-size: clamp(34px, 4.6vw, 64px); margin: 16px 0 18px; }
.app__info p { color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.app__tag { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--t); border: 1px solid color-mix(in srgb, var(--t) 50%, transparent); background: color-mix(in srgb, var(--t) 10%, transparent); }
.mini-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 10px; }
.mini-list li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.mini-list li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: var(--grad); flex: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

.phone-stage { position: relative; display: grid; place-items: center; perspective: 1600px; padding: 30px 0 60px; }
.phone { width: min(290px, 70vw); aspect-ratio: 9 / 19.2; transform-style: preserve-3d; will-change: transform; }
.phone__frame {
  position: relative; width: 100%; height: 100%; padding: 11px; border-radius: 48px;
  background: linear-gradient(145deg, #3a3f55, #11131d 40%, #2b2f42 70%, #0b0d15);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18), inset 0 0 0 5px #05070d, 0 50px 100px -30px rgba(0,0,0,.9), 0 0 120px -30px var(--phone-glow, rgba(139,92,246,.6));
  transform-style: preserve-3d;
}
.phone__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.06)); transform: translateZ(2px); }
.phone__island { position: absolute; top: 22px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%) translateZ(3px); background: #000; border-radius: 20px; z-index: 3; }
.phone-shadow { position: absolute; bottom: 10px; left: 50%; width: 60%; height: 30px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); filter: blur(10px); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; padding: 50px 18px 18px; display: flex; flex-direction: column; transform: translateZ(1px); }
.screen--beer { background: radial-gradient(120% 70% at 50% 0%, #3a2208, #120a04 70%); --phone-glow: rgba(255, 160, 40, .5); }
.app--beer .phone__frame { --phone-glow: rgba(255, 160, 40, .45); }
.screen--atlas { background: radial-gradient(120% 70% at 50% 0%, #0b2a40, #050c18 70%); }
.app--atlas .phone__frame { --phone-glow: rgba(34, 225, 255, .45); }
.scr-top { position: absolute; top: 18px; left: 28px; right: 24px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: #fff; }
.scr-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.screen--beer .scr-title { color: #ffcc4d; }
.screen--atlas .scr-title { color: #7fe9ff; letter-spacing: .08em; }
.screen--atlas .scr-map .contours { stroke: rgba(34,225,255,.28); }
.screen--atlas .scr-map .route { filter: drop-shadow(0 0 6px rgba(255,140,40,.8)) !important; }
.screen--atlas .scr-chart path { fill: url(#atlasG); }
.screen--beer { background: radial-gradient(120% 70% at 50% 0%, #1f3a2a, #0b1610 70%) !important; }
.app__sub { display: inline-block; font-size: .32em; letter-spacing: .25em; text-transform: uppercase; color: #ffb020; vertical-align: middle; margin-left: 8px; }
.app__nums { display: flex; gap: 26px; margin: 22px 0 4px; }
.app__nums b { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app__nums span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.btn--store.is-soon { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); cursor: default; }
.scr-sub { font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 4px; }
.scr-map { flex: 1; width: 100%; margin: 12px 0; border-radius: 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.scr-map .route { stroke-dasharray: 400; stroke-dashoffset: 400; filter: drop-shadow(0 0 6px rgba(255,180,60,.7)); }
.screen--atlas .scr-map .route { filter: drop-shadow(0 0 6px rgba(34,225,255,.7)); }
.scr-map .pins circle { fill: #ffcc4d; stroke: #1a0f04; stroke-width: 3; }
.scr-map .pos { fill: #fff; stroke: #22e1ff; stroke-width: 4; animation: posPulse 1.8s ease-in-out infinite; transform-origin: 120px 92px; }
@keyframes posPulse { 50% { transform: scale(1.35); } }
.scr-card { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255,200,80,.1); border: 1px solid rgba(255,200,80,.2); }
.scr-card__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #ffcc4d, #ff7a1a); font-size: 18px; }
.scr-card b { display: block; font-size: 13px; }
.scr-card span { font-size: 11px; color: rgba(255,255,255,.6); }
.scr-chart { height: 64px; border-radius: 16px; padding: 10px; background: rgba(34,225,255,.07); border: 1px solid rgba(34,225,255,.18); }
.scr-chart svg { width: 100%; height: 100%; }
.scr-chart path { fill: url(#atlasG); opacity: .7; }

/* ==========================================================================
   Nexora ecosystem
   ========================================================================== */
.eco { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; perspective: 900px; }
.eco__tile { position: relative; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.035); display: grid; gap: 4px; overflow: hidden; transform-style: preserve-3d; }
.eco__tile::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; top: -50px; background: radial-gradient(closest-side, var(--c), transparent); opacity: .35; }
.eco__dot { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 40%, #050a18)); box-shadow: 0 10px 30px -8px var(--c); margin-bottom: 14px; transform: translateZ(30px); }
.eco__tile b { font-family: var(--font-display); font-weight: 500; font-size: 16px; }
.eco__tile small { color: var(--muted); }
.eco__tile--lab { border-style: dashed; }

/* ==========================================================================
   Method (horizontal)
   ========================================================================== */
.method { padding: 0; }
.method__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 50px; padding: 110px 0 60px; overflow: hidden; }
.method__head { padding: 0 var(--gutter); }
.method__head h2 { font-size: clamp(32px, 5vw, 72px); }
.method__track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.mcard {
  position: relative; width: clamp(280px, 34vw, 460px); min-height: 340px; padding: 36px; border-radius: 28px;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(58,123,255,.14), rgba(224,75,255,.06)), var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; overflow: hidden;
}
.mcard__n { position: absolute; top: 10px; right: 24px; font-family: var(--font-display); font-size: 140px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(160, 180, 255, .25); }
.mcard h3 { font-size: 32px; }
.mcard p { color: var(--ink-2); max-width: 32ch; }

/* ==========================================================================
   Quote + Contact
   ========================================================================== */
.quote { min-height: 80svh; display: grid; place-items: center; text-align: center; }
.quote blockquote { margin: 0; max-width: 1100px; }
.quote__text { font-family: var(--font-display); font-size: clamp(26px, 3.8vw, 54px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.quote__text .qw { opacity: .14; transition: opacity .2s; }
.quote cite { display: block; margin-top: 30px; font-style: normal; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 26px; }
.contact .eyebrow { margin-bottom: 0; }
.contact__title { font-size: clamp(46px, 10vw, 160px); letter-spacing: -0.04em; line-height: .95; }
.contact .btn { margin-top: 18px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: 40px var(--gutter) 30px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, transparent, rgba(5,10,24,.9)); overflow: hidden; }
.footer__big { font-family: var(--font-display); font-weight: 700; font-size: 18.5vw; line-height: .8; letter-spacing: -0.04em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(160,180,255,.18); background: var(--grad); -webkit-background-clip: text; background-clip: text; background-size: 0% 100%; background-repeat: no-repeat; user-select: none; margin-bottom: 30px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--ink-2); }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 13px; color: var(--muted); }

/* Footer legal links */
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); }
.footer__legal a:hover, .footer__legal button:hover { color: #fff; }
.footer__legal button { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal button:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 140px var(--gutter) 80px; }
.legal__back { display: inline-flex; gap: 8px; font-size: 14px; color: var(--ink-2); margin-bottom: 30px; }
.legal__back:hover { color: #fff; }
.legal__lang { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); margin-left: 16px; }
.legal__lang button { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.legal__lang button[aria-pressed="true"] { background: rgba(139,92,246,.3); color: #fff; }
.legal h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; letter-spacing: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(139,92,246,.7); }
.legal code { font-size: 14px; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.07); }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal th { color: #fff; font-weight: 600; }
.legal .btn { margin-top: 10px; }
.legal [lang="es"][hidden], .legal [lang="en"][hidden] { display: none; }
.legal .table-wrap { overflow-x: auto; }


/* ==========================================================================
   Quest worlds (home) + EPC Nexora
   ========================================================================== */
.qworlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; perspective: 900px; }
.qworlds a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: transform .4s var(--ease), border-color .3s, background .3s; }
.qworlds a:hover { transform: translateY(-4px) rotateX(8deg); border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); }
.qworlds img { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 10px 24px -10px var(--c); }
.qworlds b { font-family: var(--font-display); font-weight: 500; font-size: 13px; line-height: 1.2; }
.qworlds small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.pillar__cta { margin-top: 26px; }

.epc { min-height: 100svh; }
.epc__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(26px, 4vw, 60px); align-items: center; max-width: 1320px; margin: 0 auto; }
.epc__card { padding: clamp(26px, 3.5vw, 44px); border-radius: 28px; border: 1px solid rgba(106,169,255,.25); background: linear-gradient(160deg, rgba(11,18,32,.85), rgba(11,18,32,.55)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 100px -50px #6aa9ff; }
.epc__head { display: flex; align-items: center; gap: 16px; }
.epc__cube { width: 58px; height: 58px; filter: drop-shadow(0 10px 24px rgba(106,169,255,.5)); flex: none; }
.epc__head h3 { font-size: clamp(28px, 3.4vw, 46px); margin-top: 8px; }
.epc__tag { margin: 18px 0 10px; font-family: var(--font-display); font-size: clamp(16px, 1.5vw, 20px); background: linear-gradient(90deg, #6aa9ff, #f3b860); -webkit-background-clip: text; background-clip: text; color: transparent; }
.epc__card > p { color: var(--ink-2); }
.epc__nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 24px 0; }
.epc__nums div { padding: 14px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.epc__nums b { display: block; font-family: var(--font-display); font-size: clamp(16px, 1.7vw, 22px); color: #f3b860; }
.epc__nums span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.epc__mods { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.epc__mods li { display: grid; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; }
.epc__mods b { font-family: var(--font-display); font-weight: 500; font-size: 13px; color: #8cc2ff; }
.epc__mods span { color: var(--muted); }
.epc__screens { position: relative; height: clamp(380px, 42vw, 560px); perspective: 1600px; transform-style: preserve-3d; }
.epc__shot { position: absolute; width: 78%; border-radius: 14px; overflow: hidden; border: 1px solid rgba(140,194,255,.25); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(106,169,255,.45); transition: transform .8s var(--ease), box-shadow .4s; will-change: transform; }
.epc__shot img { width: 100%; height: auto; display: block; }
.epc__shot--1 { top: 0; left: 0; transform: rotateY(18deg) rotateX(6deg) translateZ(-60px); }
.epc__shot--2 { top: 28%; right: 0; transform: rotateY(-14deg) rotateX(4deg) translateZ(-20px); }
.epc__shot--3 { bottom: 0; left: 8%; transform: rotateY(10deg) rotateX(-4deg) translateZ(40px); }
.epc__shot:hover { transform: rotateY(0) rotateX(0) translateZ(80px) scale(1.03); z-index: 3; box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 80px -10px rgba(243,184,96,.5); }
.epc__more { text-align: center; margin-top: 40px; color: var(--muted); }
.epc__more a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #f3b860; }
a.eco__tile { color: inherit; }
svg.eco__img { width: 44px; height: 44px; }
@media (max-width: 1100px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .epc__grid { grid-template-columns: 1fr; }
  .epc__nums { grid-template-columns: 1fr 1fr; }
  .qworlds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .epc__mods { grid-template-columns: 1fr; } .epc__screens { height: 300px; } .pillar-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .nav > .lang-switch { margin-left: auto; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .rail { display: none; }
}
@media (max-width: 820px) {
  .pillar { align-items: flex-end; }
  .pillar__content { margin: 40vh 0 0 !important; background: rgba(8, 14, 34, .78); }
  .value-grid { grid-template-columns: 1fr; }
  .cap { grid-template-columns: 1fr; gap: 8px; }
  .cap em { justify-self: start; }
  .app { grid-template-columns: 1fr; text-align: left; }
  .app--atlas .phone-stage { order: 0; }
  .feature-list li { grid-template-columns: 1fr; gap: 4px; }
  .stat-row { grid-template-columns: 1fr; }
  .method__track { flex-direction: column; width: auto; }
  .mcard { width: 100%; min-height: 240px; }
  .marquee { transform: none; }
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pcard { min-height: 300px; }
  .eco { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Real app icons */
.app__icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 18px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
img.scr-card__icon { object-fit: cover; }
.screen--beer .scr-card { background: rgba(232,180,80,.1); border-color: rgba(232,180,80,.22); }
.eco__img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: none; }
.legal mark { background: rgba(224, 75, 255, .2); color: #fff; padding: 0 4px; border-radius: 4px; }
.legal .footer, .legal ~ .footer { margin-top: 40px; }
.legal ~ .footer .footer__copy a { text-decoration: underline; }
