@font-face {
  font-family: "JURA";
  src: url("/assets/fonts/Jura-VariableFont_wght.woff2") format("woff2"),
       url("/assets/fonts/Jura-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-width: 0; min-height: 100%; background: #2f3144; }
body { overflow-x: hidden; font-family: "JURA", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }

.skipLink { position: fixed; top: 8px; left: 8px; z-index: 3000; padding: 10px 14px; border-radius: 8px; background: #fff; color: #121822; transform: translateY(-160%); transition: transform 140ms ease; }
.skipLink:focus { transform: none; }
.siteNav { --docs-muted: #a6b1bf; position: relative; z-index: 100; min-height: 62px; background: #2f3144; color: #fff; }
.siteNavInner { width: min(1220px, calc(100% - 40px)); min-height: 62px; margin: 0 auto; display: flex; align-items: center; gap: 0; }
.siteBrand { flex: 0 0 auto; }
.siteBrand img { display: block; width: 225px; max-width: 100%; height: auto; }
.siteNavMenu { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; margin-inline: 60px 26px; }
.siteNavLink, .siteDropdown summary { color: #b8b9c0; text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: .25px; line-height: 20px; white-space: nowrap; transition: color 120ms ease; }
.siteNavLink:hover, .siteDropdown summary:hover, .siteDropdown[open] summary { color: #5678ff; }
.siteDropdown { position: relative; }
.siteDropdown summary { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; list-style: none; }
.siteDropdown summary::-webkit-details-marker { display: none; }
.siteDropdown summary svg { width: 9px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; transition: transform 150ms ease; }
.siteDropdown[open] summary svg { transform: rotate(180deg); }
.siteDropdownMenu { position: absolute; top: calc(100% + 12px); left: 50%; width: 265px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px; background: #2f3144; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24); transform: translateX(-50%); }
.siteDropdownWide { width: 520px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.siteMenuItem { display: flex; align-items: center; gap: 12px; min-height: 37px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #a6b1bf; text-decoration: none; font-size: 13px; line-height: 1.35; transition: color 120ms ease; }
.siteMenuItem:nth-last-child(-n + 2), .siteDropdownMenu:not(.siteDropdownWide) .siteMenuItem:last-child { border-bottom: 0; }
.siteMenuItem:hover { color: #5678ff; }
.siteMenuItem.active { color: #a6b1bf; }
.siteMenuItem img { width: 20px; height: 20px; flex: 0 0 auto; object-fit: contain; }
.siteDropdownWide .siteMenuItem img { filter: brightness(0) invert(1) opacity(.72); }
.siteDropdownMenu:not(.siteDropdownWide) .siteMenuItem img { width: 27px; height: 27px; }
.siteNavActions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.siteNavToggle { display: none; width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 4px; background: transparent; }
.siteNavToggle span { display: block; width: 100%; height: 1px; margin: 5px 0; background: #fff; transition: transform 150ms ease, opacity 150ms ease; }
.siteNavToggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.siteNavToggle.active span:nth-child(2) { opacity: 0; }
.siteNavToggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.siteNavMenu .mobileLogin { display: none; }

.siteFooter { background: #2f3144; color: #fff; }
.siteFooterInner { width: min(1140px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 12px; }
.footerBrand { display: inline-block; margin-bottom: 40px; }
.footerBrand img { display: block; width: 228px; max-width: 100%; }
.footerGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.footerGrid section h2 { margin: 0 0 16px; color: #fff; font-size: 14px; font-weight: 700; }
.footerGrid .siteMenuItem { width: fit-content; min-height: 28px; padding: 4px 0; border: 0; font-size: 12px; }
.footerGrid .siteMenuItem:hover { color: #5678ff; }
.footerGrid .siteMenuItem img { width: 16px; height: 16px; }
.footerGrid section:nth-child(2) .siteMenuItem img { width: 20px; height: 20px; }
.footerGrid section:first-child .siteMenuItem img,
.footerGrid section:nth-child(3) .siteMenuItem img { filter: brightness(0) invert(1) opacity(.72); }
.footerFollow { margin-top: 24px; }
.footerFollow h2 { margin-bottom: 10px !important; }
.footerRule { height: 1px; margin: 0 0 10px; background: rgba(255, 255, 255, 0.15); }
.footerBottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footerLegal { display: flex; flex-wrap: wrap; gap: 32px; }
.footerLegal a { color: #a6b1bf; text-decoration: none; font-size: 12px; font-weight: 500; }
.footerLegal a:hover { color: #5678ff; text-decoration: underline; }
.footerSocial { display: flex; align-items: center; gap: 7px; color: #a6b1bf; }
.footerSocial a { display: grid; width: 28px; height: 28px; place-items: center; }
.socialIcon { display: block; width: 18px; height: 18px; object-fit: contain; opacity: .68; transition: opacity 120ms ease; }
.footerSocial a:hover .socialIcon { opacity: 1; }
.footerCopyright { margin: 12px 0 0; color: #a6b1bf; font-size: 12px; line-height: 1.6; }
.footerLanguage .lang-btn { width: 32px; min-width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.footerLanguage .lang-btn svg { width: 16px; height: 16px; stroke: #a6b1bf; }
.footerLangDropdown { top: auto; right: 0; bottom: calc(100% + 8px); }

.page {
  --docs-bg: #2f3144;
  --docs-panel: rgb(38, 42, 58);
  --docs-text: #ffffff;
  --docs-muted: #a6b1bf;
  --docs-line: rgba(255, 255, 255, 0.1);
  --docs-accent: hsl(195, 100%, 40%);
  min-height: 100vh;
  background: var(--docs-bg);
  color: var(--docs-text);
  font-family: "JURA", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
.page.homePage { min-height: 0; }

.header {
  position: relative;
  min-height: 338px;
  padding: 66px 20px 60px;
  overflow: hidden;
  background: linear-gradient(to bottom right, #121822, #1E2234);
}
.header::before, .header::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.header::before { top: -210px; right: -130px; width: 520px; height: 520px; border: 1px solid rgba(100, 255, 218, 0.07); box-shadow: 0 0 100px rgba(70, 143, 222, 0.06); }
.header::after { bottom: -190px; right: 22%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(152, 100, 227, 0.08), transparent 68%); }
.compactHeader { min-height: 0; padding-top: 38px; padding-bottom: 38px; }

.headerInner, .content { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.headerBar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; position: relative; z-index: 20; }
.headerActions { display: flex; align-items: center; gap: 20px; position: relative; z-index: 30; }
.brand { display: inline-block; min-width: 0; text-decoration: none; }
.brand img { display: block; width: auto; max-width: min(305px, 100%); height: 58px; object-fit: contain; object-position: left center; }
.title { margin: 0; max-width: 920px; color: #d1d1d1; font-size: clamp(29px, 4vw, 42px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.searchForm { display: flex; gap: 8px; margin-top: 28px; max-width: 650px; }
.searchForm input { min-width: 0; flex: 1; border: 0; border-radius: 30px; background: #fff; color: #1a1a1a; padding: 15px 19px; font: inherit; font-weight: 300; }
.searchForm input::placeholder { color: #737373; }
.searchForm button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 30px; background: var(--docs-accent); color: #fff; cursor: pointer; font: inherit; font-weight: 400; padding: 0 22px; }
.searchForm button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.searchForm button:hover { filter: brightness(1.06); }

.language-toggle { position: relative; flex-shrink: 0; }
.lang-btn {
  background: transparent;
  border: 0;
  border-radius: 4px;
  min-width: 46px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 18px;
  padding: 0 10px;
  cursor: pointer;
}
.lang-btn svg { width: 10px; fill: none; stroke: var(--docs-muted); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.lang-btn:hover { color: #fff; }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  z-index: 1001;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-10px);
  pointer-events: none !important;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  background: #2f3144;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.lang-dropdown.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
  pointer-events: auto !important;
}
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
.lang-option {
  display: block;
  padding: 12px 16px;
  color: #a6b1bf;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.lang-option:last-child { border-bottom: 0; }
.lang-option span { margin-right: 8px; }
.lang-option:hover { color: #5678ffbf; }
.button-primary {
  display: inline-block;
  background: #2877c8;
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
}

:where(a, button, input):focus-visible { outline: 2px solid #64ffda; outline-offset: 3px; }

.content { padding: 56px 0 96px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { display: block; padding: 28px; background: var(--docs-panel); border: 1px solid var(--docs-line); border-radius: 24px; color: inherit; text-decoration: none; transition: border-color 140ms ease, background 140ms ease; }
.card:hover { border-color: color-mix(in srgb, var(--docs-accent) 68%, transparent); background: color-mix(in srgb, var(--docs-panel) 96%, white); }
.card h2 { margin: 0; color: var(--docs-accent); font-size: 18px; font-weight: 400; }
.card p { color: var(--docs-muted); line-height: 1.6; margin: 10px 0 0; }
.homeContent { position: relative; z-index: 2; margin-top: -32px; padding-top: 0; }
.collectionGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.collectionCard { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) 20px; align-items: center; gap: 18px; min-height: 118px; padding: 24px 26px; overflow: hidden; }
.collectionCard::after { content: ""; position: absolute; inset: auto -42px -56px auto; width: 120px; height: 120px; border-radius: 50%; background: color-mix(in srgb, var(--docs-accent) 8%, transparent); pointer-events: none; }
.cardIcon { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid color-mix(in srgb, var(--docs-accent) 28%, transparent); border-radius: 17px; background: color-mix(in srgb, var(--docs-accent) 10%, transparent); color: var(--docs-accent); }
.cardIcon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.cardCopy { min-width: 0; }
.collectionCard h2 { font-size: clamp(17px, 2vw, 20px); line-height: 1.3; }
.cardArrow { width: 20px; height: 20px; fill: none; stroke: var(--docs-muted); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; transition: stroke 160ms ease, transform 160ms ease; }
.collectionCard:hover .cardArrow { stroke: var(--docs-accent); }
[dir="rtl"] .collectionCard:hover .cardArrow { transform: rotate(180deg); }
[dir="rtl"] .cardArrow { transform: rotate(180deg); }
.articleList { display: flex; max-width: 860px; flex-direction: column; border-top: 1px solid var(--docs-line); }
.articleRow { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 24px; min-height: 82px; padding: 19px 4px; border-bottom: 1px solid var(--docs-line); color: inherit; text-decoration: none; }
.articleRowCopy { min-width: 0; }
.articleRow h2 { margin: 0; color: var(--docs-text); font-size: 17px; font-weight: 400; line-height: 1.4; transition: color 120ms ease; }
.articleRow p { display: -webkit-box; margin: 6px 0 0; overflow: hidden; color: var(--docs-muted); font-size: 14px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.articleRowArrow { width: 18px; height: 18px; fill: none; stroke: var(--docs-muted); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; transition: stroke 120ms ease; }
.articleRow:hover h2 { color: var(--docs-accent); }
.articleRow:hover .articleRowArrow { stroke: var(--docs-accent); }
[dir="rtl"] .articleRowArrow { transform: rotate(180deg); }
.breadcrumb { color: var(--docs-muted); font-size: 14px; margin-bottom: 20px; }
.breadcrumb a { color: inherit; }
.article { max-width: 760px; }
.articleHeader { border-bottom: 1px solid var(--docs-line); padding-bottom: 26px; margin-bottom: 32px; }
.sectionTitle { margin: 34px 0 16px; font-size: 21px; font-weight: 400; }
.articleHeader h1 { font-size: clamp(30px, 5vw, 45px); letter-spacing: -0.03em; margin: 0; font-weight: 400; }
.articleHeader p { color: var(--docs-muted); font-size: 18px; line-height: 1.6; }
.articleBody { font-size: 17px; line-height: 1.75; font-weight: 300; overflow-wrap: anywhere; }
.articleBody :where(h1,h2,h3,h4) { line-height: 1.25; margin: 2em 0 .7em; font-weight: 400; }
.articleBody :where(a) { color: var(--docs-accent); }
.articleLinkLabel { color: inherit; }
.articleBody :where(img,video,iframe), .articleMedia img { max-width: 100%; height: auto; border-radius: 8px; }
.articleBody .intercom-container,
.articleBody .intercom-h2b-video,
.articleMedia { margin: 20px 0; }
.articleBody .intercom-container img { display: block; }
.articleBody :where(table) { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.articleBody :where(td,th) { border: 1px solid var(--docs-line); padding: 10px; text-align: left; }
[dir="rtl"] .articleBody :where(td,th) { text-align: right; }
.searchSummary { color: var(--docs-muted); margin: 0 0 20px; }
.searchResults { display: flex; max-width: 860px; flex-direction: column; border-top: 1px solid var(--docs-line); }
.srOnly { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 640px) {
  .header { min-height: 330px; padding-top: 20px; padding-bottom: 34px; }
  .headerInner, .content { width: min(100% - 28px, 1120px); }
  .headerBar { gap: 10px; }
  .headerActions { gap: 8px; }
  .brand { flex: 1 1 auto; overflow: hidden; }
  .brand img { width: min(190px, 100%); height: auto; max-height: 44px; }
  .title { margin-top: 44px; font-size: clamp(27px, 8vw, 34px); }
  .content { padding-top: 36px; }
  .searchForm { margin-top: 22px; }
  .searchForm button { padding: 0 14px; }
  .searchForm button svg { display: none; }
  .button-primary { max-width: 128px; overflow: hidden; padding: 8px 13px; font-size: 12px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .lang-btn { min-width: 42px; height: 34px; padding: 0 8px; }
  .collectionGrid { grid-template-columns: 1fr; gap: 14px; }
  .collectionCard { min-height: 96px; grid-template-columns: 46px minmax(0, 1fr) 18px; gap: 14px; padding: 20px; }
  .cardIcon { width: 46px; height: 46px; border-radius: 14px; }
  .cardIcon svg { width: 23px; height: 23px; }
  .homeContent { padding-top: 36px; }
}

@media (max-width: 1040px) {
  .siteNavInner { min-height: 82px; gap: 12px; }
  .siteBrand { flex: 1 1 auto; min-width: 0; }
  .siteBrand img { width: min(205px, 100%); }
  .siteNavToggle { display: block; order: 3; flex: 0 0 auto; }
  .siteNavActions { order: 2; }
  .siteNavMenu { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100vh - 82px); margin: 0; padding: 18px max(20px, calc((100% - 1120px) / 2)); overflow-y: auto; align-items: stretch; flex-direction: column; gap: 5px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: #2f3144; box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24); }
  .siteNavMenu.active { display: flex; }
  .siteNavLink, .siteDropdown summary { width: 100%; padding: 12px 4px; font-size: 14px; white-space: normal; }
  .siteDropdownMenu, .siteDropdownWide { position: static; width: 100%; margin: 2px 0 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); transform: none; box-shadow: none; }
  .siteDropdown:not([open]) .siteDropdownMenu { display: none; }
  .siteNavMenu .mobileLogin { display: inline-flex; align-self: flex-start; margin-top: 10px; }
}

@media (max-width: 720px) {
  .siteNav { min-height: 76px; }
  .siteNavInner { width: min(100% - 28px, 1180px); min-height: 76px; }
  .siteBrand img { width: min(176px, 100%); }
  .siteNavActions .button-primary { display: none; }
  .siteDropdownMenu, .siteDropdownWide { grid-template-columns: 1fr; }
  .siteFooterInner { width: min(100% - 32px, 1120px); padding-top: 46px; }
  .footerGrid { grid-template-columns: 1fr 1fr; gap: 34px 26px; }
  .footerGrid section:first-child { grid-column: 1 / -1; }
  .footerBottom { align-items: flex-start; flex-direction: column; }
  .footerSocial { flex-wrap: wrap; }
}

@media (max-width: 440px) {
  .siteBrand img { width: min(158px, 100%); }
  .siteNavActions { gap: 7px; }
  .siteNavToggle { width: 38px; height: 38px; }
  .footerGrid { grid-template-columns: 1fr; }
  .footerGrid section:first-child { grid-column: auto; }
  .footerBrand { margin-bottom: 34px; }
}

@media (max-width: 390px) {
  .brand img { width: min(158px, 100%); }
  .button-primary { max-width: 102px; padding-inline: 10px; }
  .searchForm input { padding-inline: 15px; }
}

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