:root {
  color-scheme: light;
  --navy-1000: #01050f;
  --navy-950: #020817;
  --navy-900: #071226;
  --navy-850: #0a1830;
  --blue-700: #063fde;
  --blue-600: #0868f7;
  --blue-500: #0a86ff;
  --cyan-400: #16c8ff;
  --orange-500: #ffad2f;
  --orange-400: #ffc45b;
  --ink-950: #071329;
  --ink-800: #162641;
  --ink-600: #53627a;
  --ink-500: #6d7b91;
  --surface: #ffffff;
  --surface-cool: #f4f8fd;
  --surface-blue: #edf5ff;
  --line: #dce6f2;
  --line-strong: #c4d5e9;
  --success: #168a72;
  --planning: #9a6b1e;
  --shadow-soft: 0 24px 70px rgba(27, 69, 122, 0.12);
  --shadow-dark: 0 26px 80px rgba(0, 0, 0, 0.34);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --page-gutter: clamp(20px, 4vw, 64px);
  --font-sans: "Segoe UI Variable", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--navy-950);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink-950);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

::selection {
  background: rgba(10, 134, 255, 0.28);
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange-400);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-950);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 14%, transparent);
  content: "";
}

.status--blue {
  color: var(--cyan-400);
}

.status--implemented {
  color: var(--success);
}

.status--developing {
  color: var(--blue-600);
}

.status--planning {
  color: var(--planning);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.32) 48%, transparent 72%);
  content: "";
  transform: translateX(-130%);
  transition: transform 480ms ease;
}

.button:hover::after {
  transform: translateX(130%);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 14px 34px rgba(8, 104, 247, 0.3);
  color: #fff;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(7, 18, 38, 0.46);
  color: #fff;
}

.button--secondary:hover {
  border-color: rgba(22, 200, 255, 0.66);
  background: rgba(9, 31, 65, 0.78);
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 20px;
  }

  body {
    font-size: 15px;
  }

  .button {
    min-height: 46px;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
