* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ht-body { margin: 0; background: var(--ht-bg, #fff); color: var(--ht-ink, #17212e); font-family: var(--ht-body-font, system-ui, sans-serif); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.ht-body a { color: inherit; text-decoration: none; }
.ht-body button, .ht-body input { font: inherit; }
.ht-body img { max-width: 100%; height: auto; }
.ht-body :focus-visible { outline: 3px solid var(--ht-accent, #3556bd); outline-offset: 4px; }
.ht-skip, .ht-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ht-skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--ht-accent); color: #fff; }
.ht-shell { width: min(100% - 48px, 1200px); margin-inline: auto; }
.ht-header { position: relative; z-index: 10; border-bottom: 1px solid var(--ht-line, #e3e6eb); background: var(--ht-header-bg, var(--ht-bg)); }
.ht-header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.ht-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-weight: 760; letter-spacing: -.03em; }
.ht-brand-mark { display: grid; place-items: center; width: 39px; height: 39px; flex: none; border-radius: var(--ht-mark-radius, 9px); background: var(--ht-accent, #3556bd); color: var(--ht-mark-color, #fff); font-size: 17px; }
.ht-brand-logo { display: block; width: auto; max-width: min(220px, 38vw); max-height: 46px; object-fit: contain; }
.ht-brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 310px; font-size: 18px; }
.ht-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.4vw, 38px); }
.ht-nav a { color: var(--ht-muted, #667082); font-size: 13px; font-weight: 650; white-space: nowrap; transition: color .18s ease; }
.ht-nav a:hover, .ht-nav a[aria-current="page"] { color: var(--ht-ink); }
.ht-language-switch { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px; border: 1px solid var(--ht-line); border-radius: 99px; color: var(--ht-muted); font-size: 11px; font-weight: 800; line-height: 1; }
.ht-language-switch a { padding: 7px 8px; border-radius: 99px; color: var(--ht-muted); }
.ht-language-switch a:hover, .ht-language-switch a[aria-current="true"] { background: var(--ht-accent); color: var(--ht-mark-color, #fff); }
.ht-mobile-nav { display: none; }
.ht-eyebrow { display: inline-block; color: var(--ht-accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ht-hero h1, .ht-page-head h1, .ht-article-head h1, .ht-about h1 { margin: 0; font-family: var(--ht-display-font, inherit); font-weight: 700; letter-spacing: -.05em; line-height: 1.05; text-wrap: balance; }
.ht-hero p, .ht-page-head p { color: var(--ht-muted); line-height: 1.7; }
.ht-hero-link, .ht-card-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ht-accent); font-size: 13px; font-weight: 800; }
.ht-hero-link:hover, .ht-card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ht-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.ht-section-heading h2 { margin: 7px 0 0; font-family: var(--ht-display-font, inherit); font-size: clamp(24px, 3vw, 38px); letter-spacing: -.04em; }
.ht-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ht-card { min-width: 0; padding: 27px; background: var(--ht-card-bg, #fff); border: 1px solid var(--ht-line); border-radius: var(--ht-card-radius, 15px); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ht-card:hover { transform: translateY(-3px); border-color: var(--ht-accent); box-shadow: 0 16px 34px rgb(0 0 0 / 5%); }
.ht-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ht-muted); font-size: 11px; font-weight: 650; letter-spacing: .03em; }
.ht-card-meta a { color: var(--ht-accent); }
.ht-card h2 { margin: 22px 0 14px; font-family: var(--ht-display-font, inherit); font-size: clamp(20px, 2vw, 25px); letter-spacing: -.035em; line-height: 1.25; text-wrap: balance; }
.ht-card h2 a:hover { color: var(--ht-accent); }
.ht-card p { margin: 0 0 23px; color: var(--ht-muted); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; text-wrap: pretty; }
.ht-card-link { margin-top: auto; }
.ht-empty { grid-column: 1 / -1; padding: 55px 25px; border: 1px dashed var(--ht-line); border-radius: var(--ht-card-radius); color: var(--ht-muted); text-align: center; }
.ht-pagination { margin: 40px 0 0; }
.ht-pagination nav { color: var(--ht-muted); font-size: 13px; }
.ht-pagination nav > div:first-child { display: none; }
.ht-pagination nav > div:nth-child(2) { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ht-pagination nav > div:nth-child(2) > div:first-child p { margin: 0; }
.ht-pagination nav > div:nth-child(2) > div:last-child > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.ht-pagination nav > div:nth-child(2) > div:last-child a,
.ht-pagination nav > div:nth-child(2) > div:last-child [aria-current="page"] > span,
.ht-pagination nav > div:nth-child(2) > div:last-child [aria-disabled="true"] > span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 0 9px; border: 1px solid var(--ht-line); border-radius: 5px; background: var(--ht-card-bg, #fff); color: var(--ht-ink); }
.ht-pagination nav > div:nth-child(2) > div:last-child a:hover { border-color: var(--ht-accent); color: var(--ht-accent); }
.ht-pagination nav > div:nth-child(2) > div:last-child [aria-current="page"] > span { border-color: var(--ht-accent); color: var(--ht-accent); }
.ht-pagination nav > div:nth-child(2) > div:last-child [aria-disabled="true"] > span { opacity: .45; }
.ht-pagination nav svg { display: block; width: 16px; height: 16px; flex: none; }
.ht-page-shell { padding-block: 44px 100px; }
.ht-page-head { max-width: 850px; margin: 32px 0 48px; }
.ht-page-head h1 { margin-top: 14px; font-size: clamp(42px, 6vw, 76px); }
.ht-page-head p { max-width: 700px; font-size: 17px; }
.ht-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ht-muted); font-size: 12px; }
.ht-breadcrumb a:hover { color: var(--ht-accent); }
.ht-article { max-width: 810px; margin: 55px auto 0; }
.ht-article-head { padding-bottom: 36px; border-bottom: 1px solid var(--ht-line); }
.ht-article-head h1 { margin: 16px 0 22px; font-size: clamp(36px, 5.4vw, 68px); }
.ht-article-date { color: var(--ht-muted); font-size: 12px; }
.ht-article-deck { margin: 27px 0 0; color: var(--ht-muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.ht-prose { padding-top: 34px; color: var(--ht-prose-ink, var(--ht-ink)); font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.ht-prose > :first-child { margin-top: 0; }
.ht-prose h1 { font-size: 1.55em; }
.ht-prose h2 { margin: 2em 0 .7em; font-size: 1.5em; }
.ht-prose h3 { margin: 1.7em 0 .6em; font-size: 1.2em; }
.ht-prose p, .ht-prose ul, .ht-prose ol { margin: 1em 0; }
.ht-prose a { color: var(--ht-accent); text-decoration: underline; text-underline-offset: 3px; }
.ht-prose blockquote { margin: 1.5em 0; padding: .3em 1.3em; border-left: 3px solid var(--ht-accent); color: var(--ht-muted); }
.ht-prose img { border-radius: 12px; }
.ht-prose table { display: block; overflow-x: auto; border-collapse: collapse; max-width: 100%; font-size: .85em; }
.ht-prose td, .ht-prose th { padding: 9px 12px; border: 1px solid var(--ht-line); }
.ht-prose pre { overflow-x: auto; padding: 18px; border-radius: 10px; background: var(--ht-code-bg, #edf0f4); font-size: .85em; }
.ht-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 45px; padding-top: 22px; border-top: 1px solid var(--ht-line); }
.ht-tags span { padding: 6px 10px; border: 1px solid var(--ht-line); border-radius: 99px; color: var(--ht-muted); font-size: 11px; }
.ht-related { margin-top: 95px; }
.ht-related > h2 { margin-bottom: 26px; font-family: var(--ht-display-font, inherit); font-size: 31px; }
.ht-body .ht-related .ht-card { min-height: 0; }
.ht-about { max-width: 850px; margin: 75px auto 0; }
.ht-about h1 { margin: 20px 0 30px; font-size: clamp(48px, 7vw, 90px); }
.ht-about-copy { color: var(--ht-muted); white-space: pre-line; font-size: 19px; line-height: 1.8; }
.ht-about-contact { display: inline-block; margin-top: 28px; padding-bottom: 7px; color: var(--ht-accent) !important; border-bottom: 1px solid currentColor; font-weight: 700; }
.ht-footer { margin-top: 90px; padding: 48px 0 36px; border-top: 1px solid var(--ht-line); color: var(--ht-muted); }
.ht-footer-inner { display: flex; justify-content: space-between; gap: 35px; }
.ht-footer-brand { color: var(--ht-ink) !important; font-weight: 750; font-size: 18px; }
.ht-footer p { margin: 9px 0 0; font-size: 12px; }
.ht-footer nav { display: flex; gap: 25px; font-size: 13px; }
.ht-footer nav a:hover { color: var(--ht-accent); }
@media (max-width: 800px) {
    .ht-nav { display: none; }
    .ht-mobile-nav { display: block; position: relative; }
    .ht-mobile-nav summary { display: grid; align-content: center; gap: 5px; width: 42px; height: 42px; cursor: pointer; list-style: none; }
    .ht-mobile-nav summary::-webkit-details-marker { display: none; }
    .ht-mobile-nav summary span { width: 20px; height: 2px; background: var(--ht-ink); }
    .ht-mobile-nav nav { position: absolute; top: 49px; right: 0; z-index: 20; display: grid; min-width: 220px; padding: 9px; background: var(--ht-card-bg); border: 1px solid var(--ht-line); border-radius: 10px; box-shadow: 0 12px 28px rgb(0 0 0 / 12%); }
    .ht-mobile-nav nav a { padding: 10px 12px; font-size: 14px; }
    .ht-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .ht-pagination nav > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .ht-pagination nav > div:first-child > a, .ht-pagination nav > div:first-child > span { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 13px; border: 1px solid var(--ht-line); border-radius: 5px; background: var(--ht-card-bg, #fff); color: var(--ht-ink); }
    .ht-pagination nav > div:first-child > span { opacity: .45; }
    .ht-pagination nav > div:nth-child(2) { display: none; }
    .ht-shell { width: min(100% - 30px, 1200px); }
    .ht-header-inner { min-height: 68px; }
    .ht-brand-name { max-width: 215px; font-size: 15px; }
    .ht-language-switch { margin-left: auto; font-size: 10px; }
    .ht-language-switch a { padding: 6px 5px; }
    .ht-card-grid { grid-template-columns: 1fr; }
    .ht-card { padding: 24px; }
    .ht-page-shell { padding-block: 28px 70px; }
    .ht-article { margin-top: 40px; }
    .ht-footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ht-card, .ht-nav a { transition: none; }
}
