* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
}
a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.35px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--surface-2);
}
.brand-mark span {
  width: 11px;
  height: 11px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}
.site-nav > a {
  transition: color 0.2s ease;
}
.site-nav > a:hover {
  color: var(--ink);
}
.nav-divider {
  display: block;
  width: 1px;
  height: 18px;
  background: var(--line);
}
.language-links {
  display: flex;
  align-items: center;
  gap: 7px;
}
.language-links a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
}
.language-links a:hover,
.language-links a.is-active {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 74px;
  align-items: center;
  padding: 86px 0 90px;
}
.hero-copy {
  max-width: 650px;
}
.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(53, 230, 164, 0.13);
}
h1 {
  max-width: 680px;
  margin: 24px 0 23px;
  font-size: clamp(43px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -3.4px;
  font-weight: 760;
}
.hero-description {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.hero-link span:last-child {
  color: var(--accent-text);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.hero-link:hover span:last-child {
  transform: translateY(3px);
}
.hero-panel {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 31px;
  border-radius: 24px;
  color: var(--ink);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.hero-panel::after {
  position: absolute;
  right: -70px;
  bottom: -105px;
  width: 250px;
  height: 250px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.035),
    0 0 0 56px rgba(255, 255, 255, 0.035);
}
.panel-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  opacity: 0.08;
}
.panel-grid span {
  border-right: 1px solid var(--surface);
  border-bottom: 1px solid var(--surface);
}
.panel-topline,
.panel-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--muted);
}
.panel-spark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(53, 230, 164, 0.13);
}
.panel-number {
  position: relative;
  z-index: 1;
  margin-top: 74px;
  font-size: clamp(70px, 8vw, 105px);
  line-height: 0.9;
  letter-spacing: -6px;
  font-weight: 760;
}
.panel-caption {
  position: relative;
  z-index: 1;
  margin: 14px 0 44px;
  color: var(--ink-soft);
  font-size: 15px;
}
.panel-rule {
  position: relative;
  z-index: 1;
  height: 1px;
  margin-bottom: 15px;
  background: var(--line-strong);
}

.catalog {
  padding: 0 0 115px;
  scroll-margin-top: 28px;
}
.catalog-banner {
  margin: 0 0 22px;
  padding: 26px 26px 20px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 35px rgba(18, 37, 63, 0.045);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(35px, 4vw, 48px);
  letter-spacing: -1.7px;
}
.section-hint {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.8px;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(360px, 100%);
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.catalog-search:focus-within {
  border-color: rgba(53, 230, 164, 0.55);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(53, 230, 164, 0.09);
}
.catalog-search-icon {
  color: var(--accent-text);
  font-size: 21px;
  line-height: 0.7;
  transform: rotate(-20deg);
}
.catalog-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
}
.catalog-search input::placeholder {
  color: var(--muted);
}
.catalog-table {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.product-list-heading {
  display: flex;
  justify-content: space-between;
  padding: 8px 20px 16px;
  color: var(--muted);
  font-size: 12px;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: 12px 20px 12px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--surface);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.product-card[hidden] {
  display: none;
}
.product-card:hover,
.product-card:focus-within {
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.product-card a:focus-visible {
  outline: 3px solid rgba(53, 230, 164, 0.35);
  outline-offset: 4px;
  border-radius: 6px;
}
.product-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}
.product-label {
  min-width: 0;
}
.product-icon {
  display: inline-grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}
.product-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-icon-fallback {
  color: var(--accent-text);
  font-size: 22px;
  font-weight: 750;
}
.product-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.product-type {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.product-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.product-price {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  margin-right: 8px;
}
.product-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 6px;
  color: var(--accent-text);
  background: var(--accent-soft);
  font-size: 13px;
  white-space: nowrap;
}
.product-actions a:hover {
  background: var(--accent-soft);
}
.catalog-empty {
  margin: 0;
  padding: 55px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 29px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer-brand {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.footer-note {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 60px;
  }
  .hero-panel {
    max-width: 560px;
  }
}
@media (max-width: 680px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 36px, 560px);
  }
  .site-header {
    align-items: flex-start;
    gap: 18px;
  }
  .site-nav {
    gap: 13px;
  }
  .nav-divider {
    display: none;
  }
  h1 {
    font-size: clamp(42px, 13vw, 61px);
    letter-spacing: -2.7px;
  }
  .hero {
    padding: 48px 0 76px;
  }
  .hero-panel {
    min-height: 280px;
    padding: 25px;
  }
  .panel-number {
    margin-top: 56px;
  }
  .catalog-banner {
    margin-right: 0;
    margin-left: 0;
    padding: 25px 22px 16px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .section-hint {
    text-align: left;
  }
  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .catalog-search {
    min-width: 0;
  }
  .catalog-meta {
    width: 100%;
  }
  .catalog-table {
    padding: 7px;
  }
  .product-card {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
  }
  .product-identity {
    flex-basis: 100%;
  }
  .product-actions {
    margin-left: 62px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}
@media (max-width: 420px) {
  .site-header {
    flex-direction: column;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.site-nav .nav-signup {
  padding: 9px 15px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
}
@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    gap: 18px;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
}
