:root {
  color-scheme: light;
  --bg: #f6f9ff;
  --panel: rgba(255, 255, 255, 0.82);
  --ink: #0a1945;
  --muted: #657896;
  --blue: #116cff;
  --cyan: #57d4ff;
  --violet: #745cff;
  --orange: #f26716;
  --line: rgba(31, 95, 202, 0.15);
  --shadow: 0 24px 70px rgba(33, 79, 158, 0.14), inset 0 1px 0 #fff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 0%, rgba(87, 212, 255, 0.22), transparent 28%),
    radial-gradient(circle at 96% 3%, rgba(116, 92, 255, 0.14), transparent 29%),
    linear-gradient(145deg, #fff, var(--bg) 52%, #eff6ff);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

.catalog-nav {
  position: sticky;
  z-index: 20;
  top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1480px, calc(100% - 32px));
  min-height: 72px;
  margin: 12px auto 0;
  padding: 10px 12px 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(155%);
}

.catalog-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-brand > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #1683ff, #0757df);
  box-shadow: 0 12px 28px rgba(17, 108, 255, 0.25), 0 0 20px rgba(87, 212, 255, 0.2);
  color: #fff;
  font-weight: 950;
}

.catalog-brand strong,
.catalog-brand small {
  display: block;
}

.catalog-brand strong {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.catalog-brand small {
  margin-top: 2px;
  color: #7486a2;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.catalog-nav > nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.catalog-nav > nav a {
  padding: 10px 12px;
  border-radius: 11px;
  color: #3f567a;
  font-size: 13px;
  font-weight: 760;
}

.catalog-nav > nav a:hover {
  background: #edf4ff;
  color: #075bdc;
}

.catalog-nav__primary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 17px;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff871d, #ed470d);
  box-shadow: 0 13px 28px rgba(237, 71, 13, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.catalog-shell {
  width: min(1420px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 52px;
}

.catalog-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  padding: 0 4px 34px;
}

.catalog-eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.catalog-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(46px, 6vw, 83px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.catalog-hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.catalog-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.catalog-hero__summary {
  min-width: 240px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.catalog-hero__summary strong,
.catalog-hero__summary span {
  display: block;
}

.catalog-hero__summary strong {
  color: var(--blue);
  font-size: 20px;
}

.catalog-hero__summary span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.catalog-controls {
  position: sticky;
  z-index: 10;
  top: 96px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 21px;
  background: rgba(248, 251, 255, 0.9);
  box-shadow: 0 18px 48px rgba(31, 73, 145, 0.12), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(150%);
}

.catalog-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 52px;
  padding: 0 12px 0 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.catalog-search:focus-within {
  border-color: rgba(17, 108, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(17, 108, 255, 0.08);
}

.catalog-search svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  fill: none;
  stroke: #7890b3;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.catalog-search input {
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.catalog-search button {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.catalog-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.catalog-tabs button {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #607494;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-tabs button:hover,
.catalog-tabs button.is-active {
  border-color: rgba(17, 108, 255, 0.15);
  background: #fff;
  color: #075bdc;
  box-shadow: 0 8px 20px rgba(32, 80, 160, 0.08);
}

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

.catalog-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 21px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 23px;
  background:
    radial-gradient(circle at 95% 2%, rgba(87, 212, 255, 0.15), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(239, 247, 255, 0.68));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-card::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), #fff, var(--blue), transparent);
  box-shadow: 0 0 16px rgba(54, 179, 255, 0.65);
  content: "";
}

.catalog-card:hover {
  border-color: rgba(17, 108, 255, 0.24);
  box-shadow: 0 30px 78px rgba(28, 78, 166, 0.19), inset 0 1px 0 #fff;
  transform: translateY(-4px);
}

.catalog-card.is-planned {
  background:
    radial-gradient(circle at 95% 2%, rgba(116, 92, 255, 0.17), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 241, 255, 0.72));
}

.catalog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalog-card__meta em {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #6a7e9e;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.catalog-card > strong {
  margin-top: 25px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.catalog-card > p {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.catalog-card__action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.catalog-card__action b {
  transition: transform 180ms ease;
}

.catalog-card:hover .catalog-card__action b {
  transform: translateX(4px);
}

.catalog-empty {
  min-height: 270px;
  padding: 70px 20px;
  border: 1px dashed rgba(27, 94, 203, 0.22);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
}

.catalog-empty strong {
  color: var(--ink);
  font-size: 20px;
}

.catalog-empty p {
  margin: 7px 0 0;
}

.catalog-footer {
  display: flex;
  justify-content: space-between;
  width: min(1420px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: #7486a2;
  font-size: 12px;
}

.catalog-footer nav {
  display: flex;
  gap: 18px;
}

.catalog-footer a:hover {
  color: var(--blue);
}

@media (max-width: 1050px) {
  .catalog-nav > nav {
    display: none;
  }

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

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .catalog-nav {
    width: calc(100% - 18px);
  }

  .catalog-nav__primary {
    padding-inline: 13px;
  }

  .catalog-shell {
    width: calc(100% - 22px);
    padding-top: 48px;
  }

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

  .catalog-hero h1 {
    font-size: clamp(43px, 14vw, 62px);
  }

  .catalog-hero__summary {
    min-width: 0;
  }

  .catalog-controls {
    top: 94px;
  }

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

  .catalog-card {
    min-height: 200px;
  }

  .catalog-footer {
    width: calc(100% - 22px);
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .catalog-footer nav {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
