/* Numvo — base: tokens, reset, layout, nav, buttons, footer */

:root {
  --bg: #000;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --line: #262626;
  --text: #fff;
  --muted: #8a8a8a;
  --token: #5bb8f0;
  --radius: 20px;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  background: #fff; color: #000; font-weight: 600; font-size: 14px;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn svg { width: 18px; height: 18px; }

/* Sections */
.tag { display: inline-block; font-size: 13px; color: var(--muted); padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 20px; }
section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 560px; margin-bottom: 48px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* Animated logo */
.hello { display: inline-flex; align-items: center; gap: 10px; cursor: default; }
a.hello { cursor: pointer; }
.alogo { width: 30px; height: 30px; flex: none; overflow: visible; }
.alogo .w { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; }
.alogo .tick-a { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: 100% 100%; }
.word { display: inline-flex; }
.word span { display: inline-block; opacity: 0; transform: translateY(45%); }
.hello.play .w1 { animation: wipe .55s .05s cubic-bezier(.65,0,.25,1) forwards; }
.hello.play .tick-a { animation: pop .35s .5s cubic-bezier(.3,1.6,.5,1) forwards; }
.hello.play .w2 { animation: wipe .4s .7s cubic-bezier(.65,0,.25,1) forwards; }
.hello.play .alogo { animation: nod .6s 1.05s ease; }
.hello.play .word span { animation: up .45s cubic-bezier(.2,.9,.3,1.2) forwards; animation-delay: calc(.35s + var(--i) * 60ms); }
@keyframes wipe { to { transform: scaleX(1); } }
@keyframes pop { to { opacity: .4; transform: none; } }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes nod { 30% { transform: translateY(-8%) rotate(-6deg); } 60% { transform: translateY(3%) rotate(3deg); } }

@media (prefers-reduced-motion: reduce) {
  .hello .w, .hello .tick-a, .word span { animation: none !important; transform: none; opacity: 1; }
  .hello .tick-a { opacity: .4; }
}

/* Mobile menu */
.menu-btn { display: none; position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .2s ease; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mmenu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #0c0c0c;
  border-bottom: 1px solid var(--line); border-radius: 0 0 28px 28px;
  clip-path: inset(0 0 100% 0); transition: clip-path .45s cubic-bezier(.22,1,.36,1); pointer-events: none;
}
.mmenu.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mmenu-inner { max-width: var(--max); margin: 0 auto; padding: 4px 24px 24px; }
.mmenu-inner > a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.mmenu-inner > a svg { color: var(--muted); }
.mmenu-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.mmenu-cta .btn { width: 100%; height: 50px; font-size: 15px; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links > .btn { display: none; }
  .mmenu { display: block; }
  .nav-links { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .mmenu, .menu-btn span { transition: none; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding-top: 72px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand { max-width: 360px; }
.foot-brand p { color: var(--muted); font-size: 15px; margin: 16px 0 28px; }
.foot-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store {
  display: flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  transition: background .2s, border-color .2s;
}
.store:hover { background: var(--surface-2); border-color: #333; }
.store svg { width: 22px; height: 22px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; font-weight: 600; }
.store small { font-size: 11px; font-weight: 400; color: var(--muted); }
.foot-cols { display: flex; gap: 72px; }
.foot-cols div { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.foot-cols .foot-label { margin-bottom: 6px; }
.foot-cols a { color: #cfcfcf; transition: color .2s; }
.foot-cols a:hover { color: var(--text); }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.foot-bottom div { display: flex; gap: 20px; }
.foot-bottom a:hover { color: var(--text); }
.wordmark { height: min(19vw, 250px); overflow: hidden; text-align: center; margin-top: 32px; user-select: none; }
.wordmark span {
  display: inline-block; font-size: min(27vw, 360px); font-weight: 700; letter-spacing: -.05em; line-height: .9;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Responsive (shared) */
@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
  .foot-cols { gap: 40px; flex-wrap: wrap; }
  section { padding: 72px 0; }
}

/* Page transitions (cross-document View Transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .25s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
