@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

@font-face {
  font-family: Presentation;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-4Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Presentation;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-6SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Presentation;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-7Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #101114;
  --muted: #6b7079;
  --soft: #9a9ea5;
  --line: rgba(16, 17, 20, .14);
  --paper: #f7f7f5;
  --accent: #0dbf91;
  --pad: clamp(22px, 4vw, 64px);
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; width: 0; height: 0; }

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  font-family: Presentation, Arial, sans-serif;
}

html[lang="en"] body { font-family: Roboto, Arial, sans-serif; }
a { color: inherit; }
button, input { font: inherit; }

.nav {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 76px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}

.wordmark {
  display: block;
  width: clamp(78px, 7vw, 92px);
  text-decoration: none;
  pointer-events: auto;
}

.wordmark img { display: block; width: 100%; height: auto; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 13px; text-decoration: none; opacity: .84; pointer-events: auto; }
.nav-link[aria-current="page"] { opacity: 1; }

.language {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 29px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.lang-seg {
  padding: 4px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .35);
  font-family: Roboto, sans-serif;
  font-size: 10.4px;
  line-height: 1;
  font-weight: 400;
  transition: background .25s ease, color .25s ease;
}

.lang-seg.active { background: rgba(255, 255, 255, .13); color: rgba(255, 255, 255, .95); }

.catalog {
  width: min(1280px, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: clamp(150px, 16vw, 220px) 0 100px;
}

.catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(56px, 9vw, 140px);
  align-items: end;
  margin-bottom: clamp(70px, 9vw, 118px);
}

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

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(52px, 8vw, 112px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 700;
}

.catalog-intro {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
  letter-spacing: -.02em;
}

.search-wrap { position: relative; padding-bottom: 4px; }
.search-label { display: block; margin-bottom: 12px; color: var(--soft); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.search-icon { position: absolute; left: 0; bottom: 17px; width: 16px; height: 16px; opacity: .58; pointer-events: none; }
.search-icon::before { content: ''; position: absolute; inset: 1px 4px 4px 1px; border: 1.4px solid currentColor; border-radius: 50%; }
.search-icon::after { content: ''; position: absolute; right: 1px; bottom: 1px; width: 6px; height: 1.4px; background: currentColor; transform: rotate(45deg); transform-origin: right center; }
.catalog-search {
  width: 100%;
  height: 48px;
  padding: 0 34px 0 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  transition: border-color .25s ease;
}
.catalog-search:focus { border-color: var(--ink); }
.catalog-search::placeholder { color: #a3a6ab; }
.catalog-search::-webkit-search-cancel-button,
.catalog-search::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}
.catalog-search::-ms-clear,
.catalog-search::-ms-reveal { display: none; width: 0; height: 0; }
.search-clear { position: absolute; right: 0; bottom: 12px; width: 26px; height: 26px; border: 0; color: var(--muted); background: transparent; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.search-wrap.has-value .search-clear { opacity: 1; pointer-events: auto; }
.catalog-list-search { width: 100%; padding-bottom: 0; }
.catalog-list-search .search-label { margin-bottom: 8px; }
.catalog-list-search .search-icon { bottom: 18px; }
.catalog-list-search .search-clear { bottom: 13px; }
.catalog-list-search .catalog-search { height: 54px; border-bottom-color: var(--ink); }

.catalog-count {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  color: var(--soft);
  font-family: Roboto, sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.catalog-list { border-bottom: 1px solid var(--line); }
.catalog-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(210px, 1fr) minmax(300px, 1.2fr) minmax(170px, auto);
  gap: 28px;
  align-items: center;
  min-height: 146px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s ease, opacity .25s ease;
}
.catalog-row:last-child { border-bottom: 0; }
.catalog-row::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, #101114 0%, #15181c 48%, #071c19 100%);
  transform: translateY(102%);
  transition: transform .72s cubic-bezier(.16, 1, .3, 1);
}
.catalog-row:hover { color: #fff; }
.catalog-row:hover::before { transform: translateY(0); }
.catalog-index { color: var(--soft); font-family: Roboto, sans-serif; font-size: 12px; transition: color .45s ease, transform .68s cubic-bezier(.16, 1, .3, 1); }
.catalog-name { margin: 0; font-size: clamp(25px, 2.8vw, 42px); line-height: 1; letter-spacing: -.04em; font-weight: 600; transition: transform .68s cubic-bezier(.16, 1, .3, 1); }
.catalog-name small { display: block; margin-top: 12px; color: var(--soft); font-family: Roboto, sans-serif; font-size: 10px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; transition: color .45s ease; }
.catalog-desc { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; transition: color .45s ease, transform .68s cubic-bezier(.16, 1, .3, 1); }
.catalog-action { justify-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.06); font-family: Roboto, sans-serif; font-size: 12px; line-height: 1; text-decoration: none; white-space: nowrap; transition: color .45s ease, border-color .45s ease, background .45s ease, transform .68s cubic-bezier(.16,1,.3,1); }
.catalog-row:hover .catalog-index { color: rgba(255,255,255,.5); transform: translateX(12px); }
.catalog-row:hover .catalog-name { transform: translateX(24px); }
.catalog-row:hover .catalog-name small { color: rgba(255,255,255,.42); }
.catalog-row:hover .catalog-desc { color: rgba(255,255,255,.68); transform: translateX(-14px); }
.catalog-row:hover .catalog-action { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.08); transform: translateX(-10px); }
.catalog-action:hover { background: #fff !important; color: #101114 !important; }

.platform-actions { justify-self: end; display: flex; flex-direction: column; align-items: stretch; gap: 8px; transition: transform .68s cubic-bezier(.16, 1, .3, 1); }
.platform-button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 184px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; font-family: Roboto, sans-serif; font-size: 12px; line-height: 1; text-align: center; text-decoration: none; white-space: nowrap; transition: color .35s ease, border-color .35s ease, background .35s ease, opacity .35s ease, transform .35s ease; }
.platform-button.is-recommended { border-color: rgba(13,191,145,.7); background: rgba(13,191,145,.09); }
.platform-button.is-unavailable { cursor: default; opacity: .52; }
.catalog-row:hover .platform-button { color: #fff; border-color: rgba(255,255,255,.28); }
.catalog-row:hover .platform-button.is-recommended { border-color: rgba(13,241,164,.72); background: rgba(13,241,164,.1); }
.catalog-row:hover .platform-actions { transform: translateX(-10px); }
.catalog-row:hover .platform-button:not(.is-unavailable):hover { color: #101114; background: #fff; border-color: #fff; transform: translateY(-2px); }

.empty-state { display: none; padding: 72px 0; color: var(--muted); text-align: center; font-size: 15px; }
.empty-state.is-visible { display: block; }
.catalog-row[hidden] { display: none; }
.catalog-footnote { margin: 24px 0 0; color: var(--soft); font-size: 12px; line-height: 1.65; }

.catalog-footer {
  width: min(1280px, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-family: Roboto, sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
}

@media (max-width: 980px) {
  .catalog-head { grid-template-columns: 1fr; gap: 48px; }
  .search-wrap { max-width: 440px; }
  .catalog-row { grid-template-columns: 44px minmax(180px, .8fr) minmax(230px, 1fr); }
  .catalog-action, .platform-actions { grid-column: 2 / 4; justify-self: start; margin: -10px 0 24px; }
  .catalog-row:hover .catalog-action { transform: translateX(24px); }
}

@media (max-width: 720px) {
  .nav { height: 66px; }
  .nav-link { display: none; }
  .catalog { width: min(100% - 44px, 1280px); padding-top: 116px; }
  .catalog-head { margin-bottom: 58px; }
  h1 { font-size: clamp(50px, 17vw, 76px); }
  .catalog-intro { margin-top: 22px; }
  .catalog-row { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .catalog-desc { grid-column: 2; }
  .catalog-action, .platform-actions { grid-column: 2; margin: 6px 0 0; }
  .catalog-row:hover .catalog-name { transform: translateX(10px); }
  .catalog-row:hover .catalog-index { transform: translateX(5px); }
  .catalog-row:hover .catalog-desc { transform: none; }
  .catalog-row:hover .catalog-action { transform: translateX(10px); }
  .platform-actions { justify-content: flex-start; padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-row::before, .catalog-row *, .lang-seg { transition: none !important; }
}


.catalog-product-lockup { display: flex; align-items: center; gap: 14px; }
.catalog-product-lockup img { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 12px; }
.catalog-product-lockup > span { min-width: 0; }
