@media (prefers-reduced-motion: no-preference) {
  .naki-motion:not([hidden]) + .naki-window .naki-track {
    direction: inherit;
    display: flex;
    width: max-content;
    animation: naki-scroll 25s linear infinite;
  }
  .naki-motion:not([hidden]) + .naki-window .naki-track span {
    display: block;
    padding-inline-end: 4rem;
    white-space: pre;
    unicode-bidi: plaintext;
  }
  [dir="rtl"] .naki-motion:not([hidden]) + .naki-window .naki-track { animation-name: naki-scroll-rtl; }
  .naki-banner.is-paused .naki-motion + .naki-window .naki-track {
    direction: inherit;
    display: block;
    width: auto;
    animation: none;
  }
  .naki-banner.is-paused .naki-track span { padding: 0; white-space: normal; }
  .naki-banner.is-paused .naki-track span[aria-hidden] { display: none; }
}

@keyframes naki-scroll { to { transform: translateX(-50%); } }
@keyframes naki-scroll-rtl { to { transform: translateX(50%); } }

:root {
  --ink: #202931;
  --muted: #657079;
  --paper: #ffffff;
  --line: #dde2e5;
  --navy: #243b46;
  --accent: #243b46;
}
html { scroll-padding-top: 100px; }
body { background: #fff; color: var(--ink); }
.wrap { width: min(1160px, calc(100% - 64px)); }
.top { background: #fff; backdrop-filter: none; border-color: var(--line); }
.top-inner { height: 84px; }
.top nav { gap: 25px; color: #39454e; font-size: 14px; }
.language-switch, .contact { border-color: #dde2e5; border-radius: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid #35697b; outline-offset: 4px; }

.naki-banner { background: #f1f4f5; color: #35444e; border-bottom: 1px solid var(--line); }
.naki-inner { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 45px; padding-block: 5px; }
.naki-link { grid-column: 1; font-size: 13px; font-weight: 700; white-space: nowrap; }
.naki-motion { grid-column: 2; width: 32px; height: 32px; padding: 0; border: 1px solid #d4dde1; border-radius: 4px; color: inherit; background: transparent; }
.naki-window { grid-column: 3; overflow: hidden; }
.naki-track { font-size: 13px; font-weight: 400; }
.naki-track span[aria-hidden] { display: none; }
.naki-link:hover, .naki-details:hover { text-decoration: underline; }

.hero { background: #f8f9fa; color: var(--ink); border-bottom: 1px solid var(--line); }
.hero-inner { grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 8vw, 100px); padding-block: 64px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.16; letter-spacing: -.025em; font-weight: 600; margin-bottom: 22px; }
.intro { font-size: 17px; line-height: 1.9; max-width: 470px; color: #596670; margin-bottom: 26px; }
.primary.catalog-launch { background: #243b46; color: #fff; border-radius: 4px; padding: 12px 23px; min-height: 48px; font-weight: 600; }
.primary.catalog-launch:hover { background: #344e5c; }
.hero-actions { display: flex; gap: 20px; margin-top: 20px; }
.hero-actions .jam-launch, .hero-actions .espera-launch {
  flex: none;
  width: auto;
  padding: 0 0 3px;
  min-height: 30px;
  color: #394d59;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #bac7cd;
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
}
.hero-actions .jam-launch:hover, .hero-actions .espera-launch:hover { background: transparent; color: #111; }

.naki-feature { padding: 28px; border: 1px solid #d9e0e3; border-radius: 6px; background: #fff; }
.naki-feature-heading { display: flex; align-items: center; gap: 18px; }
.naki-feature-heading img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; }
.naki-platform { margin: 0; color: #74818a; font-size: 12px; }
.naki-feature h2 { font-size: 28px; line-height: 1.2; font-weight: 600; margin: 3px 0 0; }
.naki-description { font-size: 17px; margin: 24px 0 14px; }
.naki-feature ul { padding-inline-start: 19px; color: #596670; font-size: 14px; line-height: 2.1; margin: 0 0 22px; }
.naki-details { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 15px; font-size: 14px; font-weight: 600; }

.catalog { padding-block: 52px; }
.section-head { margin-bottom: 24px; }
.section-head h2, #app-guides-title { font-size: clamp(24px, 2.5vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.section-head p { margin-top: 10px; }
.catalog-count { color: #74818a; font-size: 12px; }
.filters { gap: 0; border-bottom: 1px solid var(--line); padding-bottom: 0; margin-bottom: 24px; }
.filter { background: transparent; color: #637079; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 18px; margin-bottom: -1px; }
.filter[aria-pressed="true"] { background: transparent; color: #202f39; border-color: #243b46; font-weight: 700; }
.filter:hover { color: #202f39; background: #f8f9fa; }
.app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app-card { border-radius: 5px; border: 1px solid var(--line); background: #fff; box-shadow: none; transition: border-color .15s; }
.app-card:hover { transform: none; box-shadow: none; border-color: #9aaeb8; }
.card-top { min-height: 0; padding: 22px 22px 8px; background: #fff; }
.card-top img { width: 48px; height: 48px; border-radius: 10px; box-shadow: none; object-fit: contain; }
.status { border: 0; padding: 0; font-size: 11px; background: transparent; color: #6b747a; }
.status:before { display: none; }
.card-body { padding: 12px 22px 22px; }
.card-body h3 { font-size: 19px; font-weight: 600; text-align: start; line-height: 1.4; }
.card-body p { font-size: 14px; line-height: 1.8; min-height: 48px; color: #64717a; margin-bottom: 18px; }
.card-actions { flex-wrap: wrap; align-items: center; gap: 10px; }
.guide { border: 0; color: #354d5c; }
.cta { border-radius: 4px; }
.cta-free { background: #e8eef1; color: #243b46; }
.video-button { text-align: start; background: #fafbfb; padding-inline: 22px; color: #60727e; }
.viewer-section { background: #f5f7f8; padding-block: 45px; }
.viewer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.viewer { border-top-color: #b8c6ce; }
.viewer h3 { font-size: 16px; font-weight: 600; }
.viewer p { color: #65737d; }
.viewer a { color: #354d5c; }
#app-guides-title + ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding: 0; list-style: none; }
#app-guides-title + ul a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
#app-guides-title + ul a:hover { color: #34627a; }
.footer { border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .hero-inner { gap: 30px; }
  .app-grid, .viewer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top nav { gap: 14px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .top-inner { height: auto; flex-wrap: wrap; padding-block: 5px 10px; gap: 0; }
  .top nav { width: 100%; gap: 12px; flex-wrap: wrap; }
  .top nav a { font-size: 12px; }
  .naki-inner { gap: 7px; }
  .naki-link, .naki-track { font-size: 12px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 36px; gap: 30px; }
  .hero h1 { font-size: 38px; }
  .intro { font-size: 16px; }
  .hero-actions { gap: 18px; }
  .naki-feature { padding: 22px; }
  .catalog { padding-block: 36px; }
  .card-top { padding: 18px 18px 6px; flex-wrap: nowrap; }
  .card-body { padding: 12px 18px 20px; }
  .app-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-body p { min-height: 0; }
  .card-actions { flex-direction: row; }
  .filter { padding: 9px 12px; font-size: 13px; }
  #app-guides-title + ul { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .viewer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .naki-motion { display: none; }
  .app-card { transition: none; }
}
