:root {
  --bg: #f6f8fc;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: rgba(2, 6, 23, 0.12);
  --text: rgba(2, 6, 23, 0.92);
  --muted: rgba(2, 6, 23, 0.66);
  --muted-2: rgba(2, 6, 23, 0.52);
  --shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
  --shadow-sm: 0 10px 24px rgba(2, 6, 23, 0.1);
  --primary: #1d4ed8;
  --primary-2: #0b5bd3;
  --ok: #16a34a;
  --warn: #b45309;
  --radius: 16px;
  --radius-sm: 12px;
  --ring: 0 0 0 4px rgba(29, 78, 216, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-thin: rgba(255, 255, 255, 0.56);
  --glass-bg-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(2, 6, 23, 0.14);
  --glass-border-thin: rgba(2, 6, 23, 0.1);
  --glass-shadow: 0 18px 55px rgba(2, 6, 23, 0.14);
  --glass-blur: 18px;
  --glass-saturate: 180%;
  --glass-noise-opacity: 0.12;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #070a14;
  --bg-elevated: rgba(9, 12, 25, 0.74);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.56);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 14px 30px rgba(0, 0, 0, 0.35);
  --primary: #60a5fa;
  --primary-2: #93c5fd;
  --ring: 0 0 0 4px rgba(96, 165, 250, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.004);
  --glass-bg-thin: rgba(255, 255, 255, 0.001);
  --glass-bg-strong: rgba(255, 255, 255, 0.006);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-thin: rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 0 0 rgba(0, 0, 0, 0);
  --glass-blur: 12px;
  --glass-saturate: 105%;
  --glass-noise-opacity: 0.03;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1100px 520px at 18% 10%, rgba(29, 78, 216, 0.12), transparent 55%),
    radial-gradient(900px 520px at 88% 20%, rgba(14, 116, 144, 0.1), transparent 55%),
    radial-gradient(900px 520px at 50% 90%, rgba(22, 163, 74, 0.08), transparent 55%), var(--bg);
  overflow-x: hidden;
}

body.is-overlay-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  transform: translateY(-150%);
  transition: transform 180ms ease;
  z-index: 9999;
}

.skip-link:focus {
  outline: none;
  box-shadow: var(--ring);
  transform: translateY(0);
}

.cover {
  position: fixed;
  inset: 0;
  background-color: #050816;
  background-image: url("assets/cover.jpg");
  background-image: image-set(url("assets/cover.webp") type("image/webp"), url("assets/cover.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  pointer-events: none;
}

.cover::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(closest-side at 18% 24%, rgba(255, 255, 255, 0.18), transparent 62%),
    radial-gradient(closest-side at 78% 18%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(closest-side at 64% 72%, rgba(255, 255, 255, 0.1), transparent 65%);
  filter: blur(84px);
  opacity: 0.35;
  transform: translate3d(0, 0, 0) scale(1.06);
  animation: aurora 18s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 700px at 50% 12%, rgba(0, 0, 0, 0.22), transparent 62%),
    radial-gradient(1200px 760px at 50% 92%, rgba(0, 0, 0, 0.32), transparent 66%),
    linear-gradient(180deg, rgba(3, 6, 20, 0.3) 0%, rgba(3, 6, 20, 0.12) 52%, rgba(3, 6, 20, 0.36) 100%),
    url("assets/noise.svg");
  background-size: auto, auto, auto, 220px 220px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  opacity: 0.72;
}

.glass {
  position: relative;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("assets/noise.svg");
  opacity: var(--glass-noise-opacity);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.glass:hover::before {
  opacity: 0;
}

.glass--thin {
  --glass-bg: var(--glass-bg-thin);
  --glass-border: var(--glass-border-thin);
  --glass-shadow: var(--shadow-sm);
}

.glass--strong {
  --glass-bg: var(--glass-bg-strong);
}

@keyframes aurora {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.06) rotate(0deg);
  }
  50% {
    transform: translate3d(2%, 1.5%, 0) scale(1.12) rotate(10deg);
  }
  100% {
    transform: translate3d(-2%, -1%, 0) scale(1.06) rotate(0deg);
  }
}

.muted {
  color: var(--muted);
}

.fineprint {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.6;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 40;
  padding: 14px 0;
  transition: box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
  color: rgba(255, 255, 255, 0.92);
}

.site-header[data-elevated="true"] {
  background: rgba(3, 6, 20, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px) saturate(105%);
  -webkit-backdrop-filter: blur(12px) saturate(105%);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.topbar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 999px;
}

.topbar .brand {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 16px;
}

.topbar.glass {
  --glass-bg: var(--glass-bg-thin);
  --glass-border: var(--glass-border-thin);
}

.site-header[data-elevated="true"] .topbar.glass {
  --glass-bg: var(--glass-bg);
  --glass-border: var(--glass-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 8px 10px;
  border-radius: 18px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.logo {
  width: 40px;
  height: 40px;
  display: block;
}

.logo--light {
  display: none;
}

html[data-theme="light"] .logo--light {
  display: block;
}

html[data-theme="light"] .logo--dark {
  display: none;
}

html[data-theme="light"] .site-header[data-elevated="false"] .logo--light {
  display: none;
}

html[data-theme="light"] .site-header[data-elevated="false"] .logo--dark {
  display: block;
}

html[data-theme="dark"] .logo--light {
  display: none;
}

html[data-theme="dark"] .logo--dark {
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand-title {
  font-weight: 760;
  letter-spacing: -0.2px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.site-header[data-elevated="false"] .brand-sub {
  color: rgba(255, 255, 255, 0.74);
}

.brand.glass {
  --glass-bg: var(--glass-bg-thin);
  --glass-border: var(--glass-border-thin);
}

.brand.glass:hover {
  transform: translateY(-1px);
  --glass-bg: var(--glass-bg-thin);
  --glass-border: rgba(255, 255, 255, 0.22);
}

.site-header[data-elevated="true"] .brand.glass {
  --glass-bg: var(--glass-bg-strong);
  --glass-border: var(--glass-border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  cursor: pointer;
  color: inherit;
}

.nav-toggle.glass {
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.nav-toggle:focus {
  outline: none;
  box-shadow: var(--ring);
}

.nav-toggle__icon {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.nav-links {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(360px, calc(100vw - 48px));
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 160ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.site-header[data-elevated="false"] .nav-links {
  background: rgba(3, 6, 20, 0.64);
  border-color: rgba(255, 255, 255, 0.14);
}

.nav-links[data-open="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 180ms ease, transform 220ms ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition: transform 160ms ease, color 160ms ease;
}

.nav-icon {
  width: 16px;
  height: 16px;
  opacity: 0.82;
  flex: 0 0 auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-link.glass {
  --glass-bg: rgba(255, 255, 255, 0.042);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.site-header[data-elevated="false"] .nav-link {
  color: rgba(255, 255, 255, 0.82);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.site-header[data-elevated="false"] .nav-link:hover {
  color: rgba(255, 255, 255, 0.96);
  --glass-bg: rgba(255, 255, 255, 0.065);
  --glass-border: rgba(255, 255, 255, 0.2);
}

  .site-header[data-elevated="false"] .nav-link:hover .nav-icon {
    opacity: 0.92;
  }

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  color: inherit;
}

.theme-toggle.glass {
  --glass-bg: var(--glass-bg-thin);
  --glass-border: var(--glass-border-thin);
}

.site-header[data-elevated="false"] .nav-toggle.glass:hover,
.site-header[data-elevated="false"] .theme-toggle.glass:hover {
  --glass-bg: var(--glass-bg-thin);
  --glass-border: rgba(255, 255, 255, 0.24);
}

.theme-toggle:focus {
  outline: none;
  box-shadow: var(--ring);
}

.theme-toggle__sun,
.theme-toggle__moon {
  width: 18px;
  height: 18px;
  display: block;
  position: absolute;
  transition: transform 220ms ease, opacity 220ms ease;
}

.theme-toggle__sun {
  background: radial-gradient(circle, currentColor 0 55%, transparent 58%),
    conic-gradient(from 0deg, currentColor 0 10%, transparent 10% 20%, currentColor 20% 30%, transparent 30% 40%,
      currentColor 40% 50%, transparent 50% 60%, currentColor 60% 70%, transparent 70% 80%, currentColor 80% 90%,
      transparent 90% 100%);
  mask: radial-gradient(circle, black 0 55%, transparent 57%);
  opacity: 0.9;
}

.theme-toggle__moon {
  border-radius: 999px;
  box-shadow: inset -6px -6px 0 0 currentColor;
  transform: scale(0.6);
  opacity: 0;
}

html[data-theme="dark"] .theme-toggle__sun {
  opacity: 0;
  transform: scale(0.75) rotate(20deg);
}

html[data-theme="dark"] .theme-toggle__moon {
  opacity: 0.9;
  transform: scale(1);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 118px 0 96px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-copy {
  width: min(700px, 100%);
  border-radius: calc(var(--radius) + 6px);
  padding: 16px;
  margin: 0 auto;
  text-align: center;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
  --mx: 50%;
  --my: 40%;
}

.hero-copy.glass {
  --glass-bg: var(--glass-bg-strong);
  --glass-border: var(--glass-border);
  --glass-blur: 14px;
  --glass-saturate: 105%;
  --glass-noise-opacity: 0.03;
}

.hero-copy.glass::before {
  background: none;
  opacity: 0;
}

.hero-copy h1,
.hero-copy p {
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.hero .kicker {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), rgba(22, 163, 74, 0.9));
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.accent {
  background: linear-gradient(90deg, var(--primary), rgba(14, 116, 144, 0.95), rgba(22, 163, 74, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.hero .accent {
  background: linear-gradient(90deg, rgba(147, 197, 253, 0.95), rgba(255, 255, 255, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.launch-grid {
  width: min(600px, 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 420px) {
  .launch-grid {
    grid-template-columns: 1fr;
  }
}

.launch-item {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease;
  --glass-border: rgba(255, 255, 255, 0.22);
}

.launch-item:focus {
  outline: none;
  box-shadow: var(--ring);
}

.launch-item:hover {
  transform: translateY(-1px);
  --glass-border: rgba(255, 255, 255, 0.28);
}

.launch-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
}

.launch-icon svg {
  width: 20px;
  height: 20px;
  opacity: 0.9;
}

.launch-label {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  user-select: none;
}

.btn:focus {
  outline: none;
  box-shadow: var(--ring);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  color: white;
  font-weight: 700;
}

.btn-primary:hover {
  box-shadow: 0 14px 40px rgba(29, 78, 216, 0.18);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-sm {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
  flex: 0 0 auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-points {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.point {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  cursor: default;
}

.point dt {
  font-weight: 720;
  letter-spacing: -0.2px;
  font-size: 13px;
}

.point dd {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  margin: 0;
  width: min(340px, calc(100vw - 48px));
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 6, 20, 0.52);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  z-index: 10;
}

.point dd::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 18px;
  width: 14px;
  height: 14px;
  background: rgba(3, 6, 20, 0.52);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(45deg);
}

.point:hover dd,
.point:focus dd {
  opacity: 1;
  transform: translateY(0);
}

.point:focus {
  outline: none;
  box-shadow: var(--ring);
}

.section {
  padding: 44px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.3px;
}

h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.tool-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

@media (min-width: 760px) {
  .tool-controls {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

.tool-count {
  text-align: center;
}

.tool-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 16px;
}

.tool-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tool-filter:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
}

.tool-filter[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: color-mix(in srgb, var(--primary) 55%, rgba(255, 255, 255, 0.16));
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

.tool-filter__count {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
}

.tool-search input {
  width: min(520px, 100%);
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.002);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px) saturate(105%);
  -webkit-backdrop-filter: blur(12px) saturate(105%);
}

.tool-search input:focus {
  outline: none;
  box-shadow: var(--ring);
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tool-group-title {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

@media (min-width: 760px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tool-card,
.card {
  border-radius: var(--radius);
  padding: 16px;
}

.tool-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  text-align: center;
}

.tool-name {
  font-size: 18px;
  letter-spacing: -0.2px;
}

.tool-desc {
  margin: 10px 0 0;
  line-height: 1.65;
}

.tool-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tag {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.tool-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.status-badge[data-status="online"] {
  color: color-mix(in srgb, var(--ok) 85%, var(--text));
  border-color: color-mix(in srgb, var(--ok) 30%, var(--border));
  background: color-mix(in srgb, var(--ok) 10%, var(--surface));
}

.status-badge[data-status="coming_soon"] {
  color: color-mix(in srgb, var(--warn) 85%, var(--text));
  border-color: color-mix(in srgb, var(--warn) 28%, var(--border));
  background: color-mix(in srgb, var(--warn) 10%, var(--surface));
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 760px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card p {
  margin: 10px 0 0;
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 650;
  color: color-mix(in srgb, var(--primary) 80%, var(--text));
}

.cite-box {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
}

.cite-title {
  font-weight: 760;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

.cite-pre {
  margin: 14px 0 0;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  overflow: auto;
  font-size: 13px;
  line-height: 1.55;
}

.contact-card {
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.contact-head p {
  margin: 10px 0 0;
  line-height: 1.65;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-meta {
  margin-top: 18px;
  justify-items: center;
}

.contact-meta .meta {
  width: min(360px, 100%);
}

.meta {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 12px;
}

.meta-k {
  color: var(--muted-2);
  font-size: 12px;
}

.meta-v {
  margin-top: 6px;
  font-weight: 650;
  font-size: 13px;
}

.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.overlay[hidden] {
  display: none;
}

.overlay[data-state="opening"],
.overlay[data-state="open"],
.overlay[data-state="closing"] {
  visibility: visible;
}

.overlay[data-state="open"] {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 240ms ease;
}

.overlay[data-state="opening"],
.overlay[data-state="closing"] {
  opacity: 0;
  transition: opacity 240ms ease;
}

.overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.44);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.overlay[data-state="open"] .overlay__backdrop {
  opacity: 1;
}

.overlay__dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(14px) scale(0.985);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 220ms ease;
}

.overlay[data-state="open"] .overlay__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.overlay__dialog.glass {
  --glass-bg: var(--glass-bg);
  --glass-border: var(--glass-border);
  --glass-blur: 14px;
  --glass-saturate: 105%;
  --glass-noise-opacity: 0.03;
}

.overlay__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
}

.overlay__bar::before {
  content: "";
  width: 44px;
  height: 44px;
  pointer-events: none;
}

.overlay__bar-left {
  display: grid;
  gap: 2px;
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.overlay__bar .icon-btn {
  grid-column: 3;
  justify-self: end;
}

.overlay__title {
  font-weight: 760;
  letter-spacing: -0.2px;
}

.overlay__meta {
  font-size: 12px;
}

.overlay__content {
  padding: 16px;
  overflow: auto;
  text-align: center;
}

.overlay__content .panel > p {
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

.panel[hidden] {
  display: none;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.002);
  backdrop-filter: blur(12px) saturate(105%);
  -webkit-backdrop-filter: blur(12px) saturate(105%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.004);
  border-color: rgba(255, 255, 255, 0.26);
}

.icon-btn:focus {
  outline: none;
  box-shadow: var(--ring);
}

.overlay-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 14px 0 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(6px);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 13px;
  max-width: min(520px, calc(100% - 32px));
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .cover::before {
    animation: none;
  }

  .glass::before,
  .nav-links,
  .launch-item,
  .overlay,
  .overlay__backdrop,
  .overlay__dialog,
  .btn,
  .toast {
    transition: none !important;
  }
}
