@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-regular.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-medium.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-semibold.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-bold.woff2) format('woff2'); }

:root {
  --canvas: #000;
  --card: #212121;
  --raised: #292929;
  --floating: #333;
  --text: #fff;
  --muted: #999;
  --subtle: #737373;
  --line: rgba(229, 231, 235, .12);
  --gradient: linear-gradient(45deg, #f58529, #dd2a7b 40%, #8134af 75%, #515bd4);
  --max: 1280px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: var(--muted);
  font: 400 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.015em;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--text); margin: 0; font-weight: 700; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 7px;
  font: 500 15px/1 Inter, system-ui, sans-serif; letter-spacing: -.01em;
  text-decoration: none; color: var(--text); white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--gradient); }
.btn-primary:hover { opacity: .92; }
.btn-secondary { background: var(--raised); }
.btn-secondary:hover { background: var(--floating); }
.btn-outline { border: 1px solid var(--line); height: 36px; padding: 0 14px; font-size: 14px; }
.btn-outline:hover { border-color: rgba(229, 231, 235, .3); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 32px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.03em;
}
.logo i { width: 28px; height: 28px; border-radius: 8px; background: var(--gradient); position: relative; }
.logo i::after {
  content: ""; position: absolute; inset: 7px; border-radius: 2px;
  background:
    linear-gradient(#fff, #fff) 0 0 / 6px 6px no-repeat,
    linear-gradient(#fff, #fff) 100% 0 / 6px 6px no-repeat,
    linear-gradient(#fff, #fff) 0 100% / 14px 6px no-repeat;
  opacity: .95;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s ease; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav .btn { margin-left: auto; }

/* Footer */
.footer { border-top: 1px solid var(--line); margin-top: 96px; font-size: 13px; }
.footer .wrap { padding-top: 40px; padding-bottom: 48px; display: grid; gap: 24px; grid-template-columns: 1fr auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.footer nav a { text-decoration: none; color: var(--muted); }
.footer nav a:hover { color: var(--text); }
.footer .fine { grid-column: 1 / -1; color: var(--subtle); font-size: 12px; line-height: 1.6; margin: 0; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .footer .wrap { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
}
