@font-face {
  font-family: 'Noto Sans SC';
  src: url('./assets/noto-sans-sc.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Cairo;
  src: url('./assets/cairo.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Sora;
  src: url('./assets/sora.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --gutter: clamp(24px, 5.556vw, 80px);
  background: #03060c;
  color: #f5f8ff;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  scroll-behavior: smooth;
}

:root[lang='ar'] {
  font-family: Cairo, 'Noto Sans SC', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #9cc9ff; outline-offset: 3px; }

.shell {
  inline-size: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: .6rem 1rem;
  transform: translateY(-180%);
  clip-path: inset(50%);
  border-radius: 8px;
  background: #b4d8ff;
  color: #03060c;
}
.skip-link:focus {
  transform: none;
  clip-path: none;
}

@media (max-width: 700px) { :root { --gutter: 16px; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
