:root {
  --ink: #17213a;
  --muted: #68758a;
  --navy: #111b3a;
  --blue: #247bfa;
  --cyan: #27bfdc;
  --line: #e7eaf0;
  --mist: #f7f8fc;
  --container: 1120px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 40; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; color: #fff; background: var(--navy); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid rgba(36,123,250,.48); outline-offset: 3px; }

.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(23,33,58,.08); backdrop-filter: blur(14px); }
.header-main { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; min-width: 0; gap: 10px; font-weight: 750; white-space: nowrap; }
.brand-logo { display: block; flex: 0 0 auto; width: 47px; height: 40px; object-fit: contain; }
.brand-mark { display: grid; place-items: center; position: relative; width: 33px; height: 30px; border-radius: 10px 10px 10px 4px; background: linear-gradient(135deg,#2d8aff,#27c4dc); box-shadow: 0 5px 14px rgba(36,123,250,.2); }
.brand-mark span:first-child { width: 15px; height: 12px; border: 2px solid #fff; border-radius: 5px; }
.brand-mark span:first-child:after { position: absolute; top: 7px; left: 16px; width: 2px; height: 3px; background: #fff; content: ""; }
.brand-mark span:last-child { position: absolute; bottom: 7px; left: 14px; width: 5px; height: 2px; border-radius: 2px; background: #fff; }
.brand-name { font-size: 18px; letter-spacing: -.045em; }
.brand-divider { width: 1px; height: 23px; margin: 0 3px; background: #dce1e9; }
.brand-help { color: #5e6879; font-size: 14px; font-weight: 550; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.company-link { display: inline-flex; align-items: center; gap: 7px; color: #4d596d; font-size: 13px; font-weight: 600; }
.company-link:hover { color: var(--blue); }
.home-icon { font-size: 21px; line-height: 1; }
.language-button { display: inline-flex; align-items: center; gap: 12px; min-height: 34px; padding: 0 12px; border: 1px solid #e4e7ec; border-radius: 20px; color: #526077; background: #f8f9fb; font-size: 10px; font-weight: 750; }
.menu-toggle { display: none; width: 39px; height: 39px; padding: 8px; border: 0; border-radius: 9px; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 4px; border-radius: 2px; background: #39445a; }
.primary-nav { display: none; }
.header-search-wrap { position: relative; z-index: 1; border-top: 1px solid #f0f1f4; }
.search-form { position: relative; display: flex; align-items: center; min-height: 57px; }
.search-icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; margin-left: 20px; border: 2px solid #566174; border-radius: 50%; }
.search-icon:after { position: absolute; right: -6px; bottom: -4px; width: 8px; height: 2px; border-radius: 2px; background: #566174; content: ""; transform: rotate(48deg); }
.search-form input { width: 100%; height: 56px; padding: 0 20px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 16px; }
.search-form input::placeholder { color: #858d9a; }
.search-form:focus-within { box-shadow: inset 0 -2px 0 var(--blue); }
.search-submit, .search-clear { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; margin-right: 8px; border: 0; border-radius: 9px; color: #667287; background: transparent; font-size: 18px; }
.search-submit:hover, .search-clear:hover { color: var(--blue); background: #edf4ff; }

.welcome-section { position: relative; overflow: hidden; min-height: 300px; padding: 62px 0 56px; background: linear-gradient(105deg,#fbfbff 8%,#f7f6ff 64%,#efecff 100%); }
.welcome-inner { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: #637087; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #31caa1; box-shadow: 0 0 0 4px rgba(49,202,161,.12); }
.welcome-section h1 { max-width: 700px; margin: 0; color: #17213a; font-size: clamp(34px,5vw,52px); font-weight: 760; line-height: 1.12; letter-spacing: -.06em; }
.welcome-section h1 span { color: #3679e8; }
.welcome-section p { margin: 14px 0 0; color: #69768b; font-size: 15px; }
.welcome-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: #69768b; font-size: 12px; font-weight: 600; }
.note-icon { color: #8965e8; font-size: 17px; }
.welcome-decoration { position: absolute; top: -118px; right: max(calc((100vw - var(--container))/2 - 10px), 12px); width: 405px; height: 405px; opacity: .8; }
.decoration-orbit { position: absolute; top: 50%; left: 50%; width: 300px; height: 190px; border: 1px solid rgba(101,113,235,.15); border-radius: 50%; transform: translate(-50%,-50%) rotate(-27deg); }
.orbit-b { width: 400px; height: 250px; transform: translate(-50%,-50%) rotate(30deg); }
.decoration-spark { position: absolute; top: 142px; right: 69px; color: #8263e6; font-size: 32px; }

.topics-section { padding-top: 54px; padding-bottom: 75px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin: 0; color: #1b2540; font-size: 25px; font-weight: 720; line-height: 1.25; letter-spacing: -.04em; }
.section-heading > p { max-width: 405px; margin: 0; color: #768195; font-size: 12px; line-height: 1.7; }
.topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.topic-card { display: flex; align-items: flex-start; gap: 16px; min-height: 155px; padding: 21px 20px; border: 1px solid #e5e8ee; border-radius: 15px; background: #fff; box-shadow: 0 2px 5px rgba(16,26,54,.025); transition: transform .2s,border-color .2s,box-shadow .2s; }
.topic-card:hover { transform: translateY(-3px); border-color: #cbd9f2; box-shadow: 0 13px 30px rgba(34,56,96,.09); }
.topic-icon { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 12px; font-size: 20px; font-weight: 700; }
.icon-blue { color: #367ce7; background: #edf4ff; }
.icon-violet { color: #8060e8; background: #f1edff; }
.icon-cyan { color: #11aabf; background: #e7f9fb; }
.icon-orange { color: #df8c32; background: #fff4e8; }
.icon-green { color: #1b9c71; background: #e9f8f1; }
.icon-pink { color: #d2569d; background: #fff0f7; }
.icon-yellow { color: #b28215; background: #fff8dd; }
.icon-slate { color: #536580; background: #eef1f6; }
.topic-copy { display: flex; flex-direction: column; min-width: 0; }
.topic-copy strong { margin: 0 0 5px; color: #202a42; font-size: 15px; line-height: 1.35; letter-spacing: -.02em; }
.topic-copy small { min-height: 38px; color: #788397; font-size: 12px; line-height: 1.55; }
.topic-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; color: #8a95a6; font-size: 10px; font-weight: 650; }
.topic-meta span { color: #4781e8; font-size: 15px; }
.no-results { padding: 24px 0; color: #717d91; font-size: 13px; }

.search-results { padding-top: 12px; padding-bottom: 70px; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.article-card { position: relative; display: flex; flex-direction: column; gap: 5px; min-height: 140px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s,box-shadow .2s; }
.article-card:hover,.featured-article:hover { border-color: #cbd9f2; box-shadow: 0 8px 20px rgba(34,56,96,.07); }
.article-type,.featured-article small { color: #7b69c9; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.article-card strong { padding-right: 24px; color: #25304a; font-size: 13px; }
.article-card > span:not(.article-type):not(.article-arrow) { color: #7b879a; font-size: 11px; }
.article-arrow { position: absolute; right: 17px; bottom: 17px; color: #4781e8; font-size: 16px; }

.collections-section { padding: 64px 0 73px; background: #f7f8fc; }
.collections-section .section-heading { margin-bottom: 19px; }
.featured-articles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.featured-article { display: flex; align-items: center; gap: 13px; min-height: 74px; padding: 13px 17px; border: 1px solid #e7eaf0; border-radius: 11px; background: #fff; transition: border-color .2s,box-shadow .2s; }
.featured-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; color: #6484bd; background: #eef3fb; font-size: 10px; font-weight: 800; }
.featured-article > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 1px; }
.featured-article strong { color: #27324a; font-size: 12px; }
.featured-article .article-arrow { position: static; font-size: 14px; }
.all-collections-section { padding-top: 58px; padding-bottom: 72px; }
.collection-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.collection-card { scroll-margin-top: 140px; overflow: hidden; border: 1px solid #e6e9ef; border-radius: 12px; background: #fff; }
.collection-card[open] { border-color: #cbd9f2; box-shadow: 0 9px 22px rgba(34,56,96,.06); }
.collection-card summary { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 13px 16px; list-style: none; cursor: pointer; }
.collection-card summary::-webkit-details-marker { display: none; }
.collection-card summary > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; }
.collection-card summary strong { color: #26314a; font-size: 12px; }
.collection-card summary small { color: #7b8799; font-size: 10px; }
.collection-chevron { color: #78859a; transition: transform .2s; }
.collection-card[open] .collection-chevron { transform: rotate(180deg); }
.collection-content { padding: 0 17px 17px 68px; color: #738095; font-size: 11px; }
.collection-content p { margin: 0 0 8px; }
.collection-content a { display: inline-flex; gap: 8px; color: #3379e7; font-weight: 700; }
.collection-content a span { font-size: 14px; }
.knowledge-article { border-top: 1px solid #edf0f5; }
.knowledge-article > summary { min-height: 0; padding: 13px 4px; color: #34415a; font-size: 11px; font-weight: 700; }
.knowledge-article > summary:after { margin-left: auto; color: #6681ac; content: "+"; font-size: 17px; font-weight: 500; }
.knowledge-article[open] > summary:after { content: "−"; }
.knowledge-article > div { padding: 0 4px 14px; color: #6c788d; font-size: 11px; line-height: 1.75; }
.knowledge-article > div p { margin: 0 0 9px; }
.knowledge-article > div p:last-child { margin-bottom: 0; }
.knowledge-article > div a { display: inline; text-decoration: underline; text-underline-offset: 2px; }

.contact-section { position: relative; overflow: hidden; padding: 52px 0; color: #fff; background: linear-gradient(110deg,#14254a,#1c4c89); }
.contact-section:after { position: absolute; top: -200px; right: 11%; width: 380px; height: 380px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.contact-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.contact-inner .eyebrow { color: #8ce2ec; }
.contact-inner h2 { margin: 0; font-size: clamp(26px,4vw,36px); line-height: 1.16; letter-spacing: -.045em; }
.contact-inner p { max-width: 500px; margin: 10px 0 0; color: rgba(255,255,255,.69); font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; padding: 0 19px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 750; transition: transform .2s,box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(5,14,36,.2); }
.button-primary { color: #fff; background: linear-gradient(110deg,#2785ff,#25bada); box-shadow: 0 8px 20px rgba(13,90,198,.24); }
.button-primary span { font-size: 16px; }

.site-footer { color: rgba(255,255,255,.65); background: #0d1630; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; min-height: 96px; padding-top: 22px; padding-bottom: 22px; }
.footer-brand { color: #fff; }
.footer-brand .brand-name { font-size: 15px; }
.footer-brand .brand-help { font-size: 12px; }
.footer-main > p { margin: 0 auto 0 0; color: rgba(255,255,255,.45); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 10px; }
.footer-links a,.footer-bottom a { color: rgba(255,255,255,.58); }
.footer-links a:hover,.footer-bottom a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; min-height: 45px; padding-top: 11px; padding-bottom: 11px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 10px; }

@media (max-width: 900px) {
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .header-main { min-height: 69px; }
  .welcome-decoration { right: -145px; opacity: .55; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 130px; }
  .container { width: calc(100% - 32px); }
  .header-main { gap: 11px; min-height: 63px; }
  .menu-toggle { display: block; flex: 0 0 34px; width: 34px; height: 36px; padding: 5px 2px; }
  .menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: #374259; }
  .brand { gap: 7px; }
  .brand-logo { width: 38px; height: 33px; }
  .brand-mark { flex: 0 0 30px; width: 30px; height: 28px; }
  .brand-name { font-size: 15px; }
  .brand-divider { height: 18px; margin: 0 1px; }
  .brand-help { font-size: 11px; }
  .header-actions { gap: 9px; }
  .company-link { display: none; }
  .language-button { min-height: 30px; padding-inline: 9px; font-size: 9px; }
  .primary-nav { position: absolute; z-index: 3; top: 57px; right: 10px; left: 10px; display: none; flex-direction: column; padding: 8px; border: 1px solid #e6e9ef; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(18,31,61,.14); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px 12px; border-radius: 8px; color: #45516a; font-size: 12px; font-weight: 650; }
  .primary-nav a:hover { background: #f4f7fc; }
  .search-form { min-height: 52px; }
  .search-icon { margin-left: 10px; transform: scale(.88); }
  .search-form input { height: 51px; padding-inline: 13px; font-size: 14px; }
  .welcome-section { min-height: 272px; padding: 46px 0 41px; }
  .welcome-section h1 { font-size: clamp(32px,9vw,43px); }
  .welcome-section p { max-width: 370px; font-size: 13px; }
  .welcome-decoration { top: -161px; right: -230px; opacity: .38; }
  .topics-section { padding-top: 38px; padding-bottom: 48px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading > p { font-size: 11px; }
  .topic-grid,.article-grid,.featured-articles,.collection-grid { grid-template-columns: 1fr; }
  .topic-grid { gap: 10px; }
  .topic-card { min-height: 124px; padding: 16px; gap: 13px; }
  .topic-copy small { min-height: auto; }
  .topic-meta { margin-top: 7px; }
  .search-results { padding-bottom: 44px; }
  .collections-section { padding: 43px 0 48px; }
  .all-collections-section { padding-top: 43px; padding-bottom: 48px; }
  .featured-articles { gap: 8px; }
  .contact-section { padding: 41px 0; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .contact-inner h2 { font-size: 29px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 13px; padding-top: 25px; padding-bottom: 22px; }
  .footer-main > p { margin: 0; }
  .footer-links { gap: 13px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; min-height: 53px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
