/* Vexel home page */
:root {
  --bg: #0f1012; --bg-2: #16171a; --card: #18191d; --text: #f2f2f5; --text-2: rgba(255, 255, 255, .72); --muted: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16); --gold: #f0c04a; --gold-2: #ffd36b; --on-gold: #1a1400;
  --glow: rgba(240, 192, 74, .16); --hatch: rgba(255, 255, 255, .06); --nav-bg: rgba(20, 21, 24, .72);
  --display: "Funnel Display", Poppins, ui-sans-serif, system-ui, sans-serif;
  --body: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f5f2; --bg-2: #efede8; --card: #ffffff; --text: #131316; --text-2: rgba(19, 19, 22, .72); --muted: rgba(19, 19, 22, .52);
  --line: rgba(19, 19, 22, .1); --line-2: rgba(19, 19, 22, .2); --gold: #d9a21c; --gold-2: #c99212; --on-gold: #1a1400;
  --glow: rgba(217, 162, 28, .16); --hatch: rgba(19, 19, 22, .07); --nav-bg: rgba(255, 255, 255, .78);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1112px, calc(100% - 48px)); margin: 0 auto; position: relative; }
.wrap.narrow { width: min(760px, calc(100% - 48px)); }

/* hatched frame at the page edges */
.edge { position: fixed; top: 0; bottom: 0; width: 22px; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 8px); }
.edge-l { left: 0; border-right: 1px solid var(--line); }
.edge-r { right: 0; border-left: 1px solid var(--line); }

/* ----- nav ----- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 0; transition: padding .25s ease; }
body.has-pcbar .nav { top: var(--pcbar-h, 0px); }
.nav-in { width: min(1160px, calc(100% - 48px)); margin: 0 auto; height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 4px; border: 1px solid transparent; border-radius: 16px; transition: background .25s, border-color .25s, padding .25s, box-shadow .25s; }
.nav.scrolled { padding: 10px 0; }
.nav.scrolled .nav-in { background: var(--nav-bg); border-color: var(--line); padding: 0 8px 0 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 18px var(--display); letter-spacing: -.02em; text-decoration: none; color: var(--text); }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 4px 12px var(--glow)); }
.links { display: flex; gap: 6px; }
.links a { padding: 8px 14px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color .15s, background .15s; }
.links a:hover { color: var(--text); background: var(--line); }
.links .menu-only { display: none; }
.nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }
:root[data-theme="dark"] #theme .moon, :root[data-theme="light"] #theme .sun { display: none; }
.menu-btn { display: none; }

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font: 600 14.5px var(--body);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn.lg { padding: 13px 22px; font-size: 15.5px; }
.btn.primary { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 26px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.primary:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn.ghost { color: var(--text); border-color: var(--line-2); background: transparent; }
.btn.ghost:hover { border-color: var(--text-2); background: var(--line); }
.btn svg { width: 17px; height: 17px; transition: transform .15s; }
.btn:hover svg { transform: translateX(2px); }

/* ----- hero ----- */
.hero { position: relative; padding: 168px 0 40px; isolation: isolate; overflow-x: clip; }
.hero::before { content: ''; position: absolute; z-index: -1; top: -240px; right: -160px; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.rings { position: absolute; z-index: -1; top: -150px; right: -150px; width: 620px; height: 620px; pointer-events: none; }
.rings svg { width: 100%; height: 100%; stroke: var(--gold); stroke-width: 1; opacity: .28; }
h1 { margin: 0; font: 700 clamp(40px, 6.4vw, 72px)/1.02 var(--display); letter-spacing: -.035em; }
h1 span { color: var(--gold); }
.lead { margin: 26px 0 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta.center { justify-content: center; }
.status { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; font-size: 13.5px; color: var(--text-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #3ad07a; box-shadow: 0 0 0 0 rgba(58, 208, 122, .5); animation: ping 2s ease-out infinite; }
.status b { color: var(--text); font-weight: 600; }
.status em { font-style: normal; color: var(--muted); margin: 0 4px; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(58, 208, 122, 0); } }

/* screenshots */
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #1e1f22;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 6px var(--line); }
.hero-shot { margin-top: 72px; position: relative; }
.hero-shot::after { content: ''; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

/* ----- feature rows ----- */
.feature { padding: 110px 0; }
.feature .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature.flip .grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .copy { order: 2; }
.eyebrow { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
h2 { margin: 0; font: 700 clamp(30px, 4vw, 46px)/1.08 var(--display); letter-spacing: -.03em; }
.copy p:not(.eyebrow) { margin: 18px 0 0; font-size: 16.5px; color: var(--text-2); max-width: 460px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--gold); font-weight: 600; text-decoration: none; }
.more:hover svg { transform: translateX(3px); }
.more svg { transition: transform .15s; }

/* ----- join card ----- */
.join { padding: 90px 0 110px; }
.card { position: relative; max-width: 760px; margin: 0 auto; padding: 64px 32px 44px; text-align: center; border-radius: 20px; border: 1px solid var(--line-2); background: var(--card); overflow: hidden; isolation: isolate; }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%); }
.card::after { content: ''; position: absolute; z-index: -1; top: -200px; left: 50%; width: 520px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent); }
.corner { position: absolute; width: 16px; height: 16px; border-color: var(--line-2); border-style: solid; border-width: 0; }
.corner.tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.mark { width: 72px; height: 72px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 20px; background: var(--bg-2); border: 1px solid rgba(240, 192, 74, .45); box-shadow: 0 12px 40px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .06); }
.mark img { width: 42px; height: 42px; }
.card h2 { font-size: clamp(34px, 5vw, 52px); }
.card > p { margin: 14px auto 0; max-width: 480px; color: var(--text-2); font-size: 16px; }
.card .small { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ----- faq ----- */
.faq { padding: 40px 0 120px; }
.faq h2 { margin-bottom: 26px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 16.5px; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background .2s, border-color .2s, transform .2s; }
summary i::before { content: ''; position: absolute; left: 50%; top: 45%; width: 7px; height: 7px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: translate(-50%, -50%) rotate(45deg); }
details[open] summary i { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
details[open] summary i::before { border-color: var(--on-gold); }
details p { margin: -4px 0 22px; color: var(--text-2); font-size: 15.5px; max-width: 640px; }
details a { color: var(--gold); }

/* ----- footer ----- */
.foot { position: relative; border-top: 1px solid var(--line); padding: 64px 0 0; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.foot-brand p { margin: 16px 0 0; max-width: 300px; color: var(--text-2); font-size: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h3 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-cols a { display: block; padding: 5px 0; color: var(--text-2); font-size: 14px; text-decoration: none; }
.foot-cols a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.word { margin-top: 8px; text-align: center; font: 800 clamp(44px, 12.5vw, 190px)/.8 var(--display); letter-spacing: -.05em; white-space: nowrap;
  background: linear-gradient(180deg, var(--glow), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; transform: translateY(14%); }
:root[data-theme="dark"] .word { background-image: linear-gradient(180deg, rgba(240, 192, 74, .22), transparent 85%); }

/* ----- reveal on scroll ----- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .status i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ----- tablet ----- */
@media (max-width: 960px) {
  .feature { padding: 70px 0; }
  .feature .grid, .feature.flip .grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature.flip .copy { order: 0; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .edge { display: none; }
}

/* ----- phones ----- */
@media (max-width: 760px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .nav { padding: 10px 0; }
  .nav-in { width: calc(100% - 20px); height: 54px; grid-template-columns: 1fr auto; padding: 0 6px 0 10px; }
  .nav.scrolled .nav-in, .nav.open .nav-in { background: var(--nav-bg); border-color: var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .brand { font-size: 17px; }
  .menu-btn { display: grid; }
  .desk-only { display: none; }
  .links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px;
    border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
  .nav-in { position: relative; }
  .nav.open .links { display: flex; }
  .links a { padding: 13px 14px; font-size: 16px; }
  .links .menu-only { display: flex; margin-top: 8px; color: var(--on-gold); }
  .hero { padding: 120px 0 20px; }
  .rings { width: 420px; height: 420px; top: -120px; right: -190px; }
  .hero::before { width: 520px; height: 520px; right: -220px; top: -160px; }
  h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .lead { font-size: 16px; margin-top: 18px; }
  .cta { flex-direction: column; margin-top: 26px; }
  .cta .btn { width: 100%; white-space: normal; text-align: center; }
  .hero-shot { margin-top: 44px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 0 4px var(--line); }
  .feature { padding: 56px 0; }
  .copy p:not(.eyebrow) { font-size: 15.5px; }
  .join { padding: 50px 0 70px; }
  .card { padding: 48px 18px 30px; border-radius: 16px; }
  .faq { padding: 20px 0 80px; }
  summary { font-size: 15.5px; padding: 18px 0; }
  .foot { padding-top: 48px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
