:root {
  --bg: #06070c;
  --panel: #0e1018;
  --text: #f1f3fa;
  --muted: #99a2b7;
  --muted-2: #6b7489;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #7c5cff;
  --accent-2: #4cd7ff;
  --radius: 20px;
  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(124, 92, 255, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.8);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 15%, transparent 75%);
  opacity: 0.6;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  will-change: transform;
  animation: drift 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 560px;
  height: 560px;
  left: calc(50% - 520px);
  top: -300px;
  background: #4a2bbd;
  opacity: 0.45;
}

.orb-2 {
  width: 440px;
  height: 440px;
  right: -180px;
  top: 120px;
  background: #0e5d75;
  opacity: 0.35;
  animation-delay: -7s;
}

.orb-3 {
  width: 520px;
  height: 520px;
  left: -220px;
  bottom: -340px;
  background: #2c1d6e;
  opacity: 0.4;
  animation-delay: -13s;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, 30px, 0) scale(1.08);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 7, 12, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 7, 12, 0.85);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #9a7dff, #5b3cff 55%, #3d7bff);
  box-shadow:
    0 8px 24px -10px rgba(124, 92, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.brand-text span {
  color: #9d8bff;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.header-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--text);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  flex-shrink: 0;
}

.language-switch button {
  min-width: 34px;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.language-switch button:hover {
  color: var(--text);
}

.language-switch button.is-active {
  color: #fff;
  background: rgba(124, 92, 255, 0.32);
  box-shadow: inset 0 0 0 1px rgba(157, 139, 255, 0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #7c5cff, #4f8dff);
  box-shadow: 0 14px 30px -16px rgba(124, 92, 255, 0.9);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 96px 0 26px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12.5px;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-badge:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59f0b0;
  box-shadow: 0 0 0 0 rgba(89, 240, 176, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(89, 240, 176, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(89, 240, 176, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(89, 240, 176, 0);
  }
}

.hero-badge-arrow {
  color: var(--muted-2);
  transition: transform 0.25s ease;
}

.hero-badge:hover .hero-badge-arrow {
  transform: translateX(3px);
}

.hero h1 {
  max-width: 1080px;
  margin: 26px auto 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5.3vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.06s both;
}

.gradient {
  background: linear-gradient(96deg, #c3b4ff 0%, #8b6bff 38%, #58b8ff 78%, #67e8d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 590px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both;
}

.search {
  position: relative;
  max-width: 560px;
  margin: 36px auto 0;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s both;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  pointer-events: none;
  transition: color 0.2s ease;
}

.search input {
  width: 100%;
  height: 56px;
  padding: 0 56px 0 50px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.search input::placeholder {
  color: var(--muted-2);
}

.search input:hover {
  border-color: var(--line-strong);
}

.search input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}

.search:focus-within .search-icon {
  color: #a795ff;
}

.search input::-webkit-search-cancel-button {
  filter: invert(1);
  opacity: 0.5;
}

.search kbd {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 12px;
  pointer-events: none;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 44px;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.24s both;
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  padding-top: 72px;
  padding-bottom: 72px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

.stat {
  padding: 0 26px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.catalog {
  padding: 56px 0 96px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.section-head--split {
  align-items: flex-end;
  margin-bottom: 28px;
}

.section-lead {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.result-count {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-2);
  font-size: 12.5px;
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--local) 18%, transparent),
    transparent 65%
  );
  transition: opacity 0.3s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--local) 65%, transparent), transparent);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.16);
  border-color: color-mix(in srgb, var(--local) 30%, rgba(255, 255, 255, 0.1));
  box-shadow:
    0 30px 60px -34px rgba(0, 0, 0, 0.9),
    0 0 0 1px color-mix(in srgb, var(--local) 8%, transparent);
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card[hidden] {
  display: none;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-logo {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: #f2f4fa;
  box-shadow:
    0 14px 32px -16px color-mix(in srgb, var(--local) 70%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-logo.is-wide {
  width: 88px;
  background: #0a1020;
}

.card:hover .card-logo {
  transform: scale(1.04) rotate(-2deg);
}

.card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--local);
  box-shadow: 0 0 8px var(--local);
}

.card-body {
  margin-top: 20px;
}

.card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.card-body p {
  max-width: 36ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 11px;
}

.card-actions {
  margin-top: auto;
  padding-top: 20px;
}

.btn-download {
  width: 100%;
  padding: 12px 16px;
  color: #fff;
  background: linear-gradient(135deg, #7c5cff, #4f8dff);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 12px 28px -14px rgba(124, 92, 255, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-download svg {
  transition: transform 0.25s ease;
}

.btn-download:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px -14px rgba(124, 92, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-download:hover svg {
  transform: translateY(2px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.empty {
  padding: 64px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

.empty[hidden] {
  display: none;
}

.empty-icon {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 30px;
  line-height: 1;
}

.empty p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
}

.empty span:last-child {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 13px;
}

.how {
  padding: 72px 0 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s ease,
    background 0.35s ease;
}

.step::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.step:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-index {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(124, 92, 255, 0.22);
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.1);
  color: #b3a2ff;
}

.step h3 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.cta {
  padding: 60px 0 76px;
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  padding: 40px 44px;
  border: 1px solid rgba(124, 92, 255, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 120% at 85% 10%, rgba(76, 215, 255, 0.09), transparent 55%),
    linear-gradient(115deg, rgba(124, 92, 255, 0.19), rgba(124, 92, 255, 0.04) 55%, rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 80px -50px rgba(124, 92, 255, 0.55);
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: #5b3cff;
  opacity: 0.26;
  filter: blur(100px);
  pointer-events: none;
}

.cta-copy,
.cta-actions {
  position: relative;
  z-index: 1;
}

.cta-copy {
  max-width: 600px;
}

.cta-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.2vw, 33px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-copy p:not(.eyebrow) {
  max-width: 480px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-lg {
  padding: 14px 21px;
  border-radius: 13px;
  font-size: 13.5px;
}

.faq {
  padding: 24px 0 100px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 108px;
}

.faq-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.faq-intro > p:not(.eyebrow) {
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-note {
  display: flex;
  gap: 10px;
  max-width: 330px;
  margin-top: 26px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.note-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: #59f0b0;
  box-shadow: 0 0 10px rgba(89, 240, 176, 0.7);
}

.faq-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.faq-item[open] {
  border-color: rgba(124, 92, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 10px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 10px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-item[open] .faq-icon {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.14);
  color: #c3b4ff;
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 66ch;
  margin: 0;
  padding: 0 20px 19px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(-5px);
  transition:
    opacity 0.28s ease 0.04s,
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) 0.04s;
}

.faq-item[open] .faq-answer p {
  opacity: 1;
  transform: none;
}

.site-footer {
  padding: 52px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 12, 0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.footer-brand .brand-mark svg {
  width: 17px;
  height: 17px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:first-of-type {
  margin-top: 0;
}

.footer-col a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.6;
}

.back-to-top {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 11.5px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.back-to-top:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-panel {
  position: relative;
  width: min(440px, 100%);
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #0e1018;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal.is-open .modal-backdrop,
.modal.is-open .modal-panel {
  opacity: 1;
}

.modal.is-open .modal-panel {
  transform: none;
}

.modal-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 182, 72, 0.25);
  border-radius: 13px;
  background: rgba(255, 182, 72, 0.1);
  color: #ffb648;
}

.modal-icon.is-accent {
  border-color: rgba(124, 92, 255, 0.3);
  background: rgba(124, 92, 255, 0.12);
  color: #a795ff;
}

.modal-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.modal-panel > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.modal-note {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-2) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.modal-password {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(124, 92, 255, 0.24);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.1), rgba(79, 141, 255, 0.06));
}

.modal-password-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.modal-password-label {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-password code {
  color: var(--text);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
  user-select: all;
}

.password-copy {
  flex: none;
  min-width: 96px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.password-copy:hover {
  color: var(--text);
  border-color: rgba(124, 92, 255, 0.5);
  background: rgba(124, 92, 255, 0.12);
}

.password-copy.is-copied {
  color: #35e0a1;
  border-color: rgba(53, 224, 161, 0.35);
  background: rgba(53, 224, 161, 0.1);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.modal-actions .btn {
  padding: 11px 18px;
}

.modal-actions [hidden] {
  display: none;
}

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

  .faq-layout {
    gap: 40px;
  }

  .cta-panel {
    padding: 34px 36px;
  }
}

@media (max-width: 860px) {
  .header-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    padding-top: 72px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro > p:not(.eyebrow) {
    max-width: 560px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    height: 64px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    margin-top: 22px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .search {
    margin-top: 28px;
  }

  .search input {
    height: 52px;
    padding-right: 18px;
  }

  .search kbd {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 18px 0;
    margin-top: 36px;
  }

  .stat {
    padding: 0 18px;
  }

  .stat-divider {
    display: none;
  }

  .catalog {
    padding: 46px 0 64px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-head--split {
    margin-bottom: 24px;
  }

  .section-lead {
    max-width: none;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
  }

  .how {
    padding-top: 56px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 48px 0 64px;
  }

  .cta-panel {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .faq {
    padding-bottom: 76px;
  }

  .faq-intro > p:not(.eyebrow) {
    max-width: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 34px;
  }
}

@media (max-width: 400px) {
  .header-inner {
    gap: 10px;
  }

  .language-switch {
    gap: 1px;
    padding: 3px;
  }

  .language-switch button {
    min-width: 30px;
    padding: 6px 5px;
  }

  .modal-panel {
    padding: 22px;
  }

  .modal-password {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .password-copy {
    width: 100%;
  }

  .brand-text {
    font-size: 13px;
  }

  .header-cta {
    padding: 9px 13px;
    font-size: 13px;
  }

  .header-cta svg {
    display: none;
  }

  .card-top {
    gap: 8px;
  }

  .status {
    font-size: 10.5px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
