*, *::before, *::after {
  box-sizing: border-box;
}
:root {
  --c: clamp(320px, 96dvw, 1600px);/* canvas width */
  --m: calc(50dvw - var(--c)/2); /* canvas margin */
  --w: calc(0.078125dvw - 0.25px); /* standardized root width from 0u (when viewport widht is 320px) to 1u (when viewport width is 1600px) */
  --h: calc(5dvh + 1rem); /* navigation height */
  --n: clamp(1dvh, calc(1dvh + 1.2dvw), 5dvh); /* nav menu items size */
  --p: calc(1dvw + 1dvh); /* padding */
  --b: #292926; /* background color */
  --g: linear-gradient(135deg, rgba(139, 92, 246, 0.102) 0%, rgba(96, 199, 255, 0.1) 100%); /* background color alt */
  --t: #c9f4f4; /* text color */
  --t2: #60C7FF; /* accent color */
  --t3: #8C94FF; /* accent color alt */
}
html {
  margin: 0; padding: 0;
  font-size: calc(16px + 2*var(--w));
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--t);
  letter-spacing: 0.05em;
}
h6 {font-size: 2rem; font-weight: 700; line-height: 3rem; margin-bottom: 1.2rem;}
h5 {font-size: 1.5rem; font-weight: 600; line-height: 2.25rem; margin-bottom: 1rem;}
h4 {font-size: 1.2rem; font-weight: 600; line-height: 2rem; margin-bottom: 0.8rem;}  
h3 {font-size: 1rem; font-weight: 500; line-height: rem; margin-bottom: 0.6rem;}
h2 {font-size: 0.8rem; font-weight: 500; line-height: 1.2rem; margin-bottom: 0.4rem;}
h1 {font-size: 0.6rem; font-weight: 700; line-height: 0.9rem; margin-bottom: 0.25rem;}
p {font-size: 1rem; font-weight: 400; line-height: 1.5rem; margin-bottom: 1rem;}
a {color: var(--t2); text-decoration: none; transition: color 0.3s ease;}
a:hover {color: var(--t3);}
ul, ol {font-size: 0.6rem; font-weight: 600; margin:0; padding: 0; line-height: 1.2rem;}
/* Navigaation*/
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; 
  width: 100%; height: clamp(48px, var(--h), 80px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(to bottom, rgba(255,255,255,6%), rgba(255,255,255,2%));
  backdrop-filter: blur(30px) saturate(100%);
  -webkit-backdrop-filter: blur(30px) saturate(100%);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
nav menu {
  width: var(--c);
  height: 100%;   
  margin: 0 var(--m); padding-inline: 1dvw;
  display: flex;
  flex-direction: row;
  align-items: center;
}
/* Logo */
nav menu > a {
  height: 100%; width: 40%;
  padding-right: 1dvw;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
nav menu svg {
  height: var(--n); width: auto;
}
/* Pages */
nav menu ul {
  height: 100%; width: 60%;
  padding-left: 1dvw;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: var(--n);
  line-height: unset;
  list-style: none;
  gap: 3dvw;
}
nav menu ul li a {
  color: transparent;
  -webkit-text-fill-color: transparent;
  will-change: background-position;
  padding-left: 1dvw;
  background-size: 300% 100% ;
  background-position: 100% 0%;
  background-image: linear-gradient(90deg, rgb(123 167 255) 15%, rgb(123, 238, 138) 35%, rgb(99 196 255) 49%, rgb(175 105 255) 50%, rgb(255 255 255) 51%, rgb(174 107 255) 65%, rgb(123 167 255) 85%);
  background-clip: text;
  -webkit-background-clip: text;
  transition: none;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
nav menu ul li a:hover,
nav menu ul li a:active {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-position: 0% 0%;
  transition: background-position 0.5s linear;
}
/* Skip to main content link for keyboard navigation */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #60C7FF 0%, #8B5CF6 100%);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(96, 199, 255, 0.4);
  transition: top 0.3s ease;
}
.skip-to-main:focus {
  top: 1rem;
}
/* Focus indicators for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--t2);
  outline-offset: 2px;
}
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}