/* Hyke Studio — The long-page layout every Markdown content page is drawn in: the /learn/ pages and the
 * legal pages (site-content-docs/terms__b, the layout the owner kept on 2026-09-22); the comparison page
 * has its own compare.css. Built from the approved design's own styles: the brand tokens live in tokens.css
 * alone, and the design canvas's review aid and theme hooks are left out — Light is the default, and dark applies only under the visitor's own choice (Decisions 278, 387).
 * Owning section(s): §35, §39 */

/* Variables the approved pages declare beyond the brand package's tokens.css. */
:root {
  --hs-card-border: rgba(26,25,23,0.12);
  --hs-hairline: rgba(26,25,23,0.10);
}
html[data-theme="dark"] {
  --hs-amber-ink: #E09A12;
  --hs-card-border: rgba(251,248,239,0.14);
  --hs-hairline: rgba(251,248,239,0.10);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--hs-font-sans);
  color: var(--hs-ink-body);
}
a { color: var(--hs-amber-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1328px; margin: 0 auto; padding: 0 56px 40px; }
@media (max-width: 720px) {
.container { padding: 0 20px 32px; }
}
/* nav (shared frame) — one 76 px bar on every page with a 1 px --hs-line foot; below 640 px one 56 px row
   whose six links sit in a "Menu" disclosure (a <details>, open in the markup so wide windows show the row) */
.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--hs-line); background: var(--hs-ground); }
.nav .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding-top: 16px; padding-bottom: 15px; flex-wrap: wrap; }
.nav-lockup { display: flex; align-items: center; gap: 13px; }
/* the lock-up is the link home (Decision 279): no underline on hover */
.nav-lockup, .nav-lockup:hover { text-decoration: none; }
.nav-wordmark { font-size: 20px; font-weight: 700; letter-spacing: -0.035em; color: var(--hs-ink); }
.nav-divider { width: 1px; height: 17px; background: rgba(128,120,100,0.30); display: block; }
.nav-by { font-family: var(--hs-font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--hs-ink-muted); }
.nav-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav-menu { display: flex; align-items: center; }
.nav-menu-summary { list-style: none; max-height: 0; max-width: 0; overflow: hidden; visibility: hidden; padding: 0; margin: 0; }
.nav-menu-summary::-webkit-details-marker { display: none; }
.nav-menu-list { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--hs-ink-body); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav-link--current, .nav-current { font-size: 14px; font-weight: 600; color: var(--hs-ink); padding-bottom: 3px; border-bottom: 2px solid var(--hs-amber); }
.nav-divider-2 { width: 1px; height: 18px; background: rgba(128,120,100,0.26); display: block; }
@media (max-width: 639.98px) {
.nav .nav-inner { min-height: 56px; padding-top: 8px; padding-bottom: 7px; gap: 10px; flex-wrap: nowrap; }
.nav-divider, .nav-by { max-width: 0; overflow: hidden; white-space: nowrap; margin-left: -13px; }
.nav-links { gap: 12px; flex-wrap: nowrap; }
.nav-menu-summary { max-height: none; max-width: none; overflow: visible; visibility: visible; display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 6px; font-size: 14px; font-weight: 500; color: var(--hs-ink-body); cursor: pointer; }
.nav-menu-summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-menu[open] .nav-menu-summary { color: var(--hs-ink); }
.nav-menu[open] .nav-menu-summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu-list { position: absolute; left: 0; right: 0; top: calc(100% + 1px); flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 20px 12px; background: var(--hs-ground); border-bottom: 1px solid var(--hs-line); }
.nav-menu-list .nav-link, .nav-menu-list .nav-link--current, .nav-menu-list .nav-current { line-height: 24px; padding: 10px 0 3px; }
.nav-menu-list .nav-divider-2 { width: 100%; height: 1px; margin: 4px 0; }
.nav .btn-primary { height: 40px; padding: 0 14px; }
}
.btn-primary {
  font-size: 14px; font-weight: 600; color: var(--hs-on-action); background: var(--hs-action);
  border: none; border-radius: var(--hs-r-button); height: 44px; padding: 0 18px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
/* footer (frame — matches site-core/home__a.html exactly) */
.site-footer { border-top: 1px solid var(--hs-hairline); margin-top: 34px; padding: 22px 0 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-lockup { display: flex; align-items: center; gap: 10px; }
.footer-copyright { font-size: 13px; color: var(--hs-ink-body); }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-link { font-size: 13px; font-weight: 500; color: var(--hs-ink-body); }
/* T-SB-40 (Section 35: only the twelve search pages marked ready for the first release are linked from the site's
   navigation, the sitemap and the home page): the base template's footer carries them as a second row of footer links,
   the same link style as the row above, under a hairline — on every public and documentation page, the home page included */
.footer-learn { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 14px; border-top: 1px solid var(--hs-hairline); }
/* review aid — NOT part of the design; never built. Neutral tokens only. */
/* content page b — two-column with sticky sidebar (the long-page template, site-content-docs/content-page__b.html) */
.doc-header { padding: 30px 0 0; max-width: 900px; }
.doc-kicker { font-family: var(--hs-font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; color: var(--hs-amber-ink); }
html[data-theme="dark"] .doc-kicker { color: var(--hs-amber); }
.doc-title { margin: 8px 0 6px; font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; color: var(--hs-ink); }
.doc-meta { font-family: var(--hs-font-mono); font-size: 11.5px; color: var(--hs-ink-muted); margin: 0 0 28px; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 700px); gap: 44px; align-items: start; }
@media (max-width: 900px) {
.doc-layout { grid-template-columns: 1fr; }
}
/* Pinned, and headings reached by a link land, 7px under the site's bar at its measured height (--site-bar-height,
   js/nav-menu.js), which wraps onto a second row between 640px and about 1,010px; without the script, its one-row 77px. */
.doc-sidebar { position: sticky; top: calc(var(--site-bar-height, 77px) + 7px); }
@media (max-width: 900px) {
.doc-sidebar { position: static; margin-bottom: 24px; }
}
.doc-sidebar-heading { margin: 0 0 10px; font-family: var(--hs-font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: var(--hs-ink-muted); text-transform: uppercase; }
.doc-sidebar-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--hs-hairline); }
.doc-sidebar-item { margin: 0; }
.doc-sidebar-item a { display: block; padding: 6px 0 6px 14px; font-size: 13.5px; color: var(--hs-ink-body); border-left: 2px solid transparent; margin-left: -2px; }
.doc-sidebar-item a:hover { color: var(--hs-amber-ink); text-decoration: none; }
.doc-sidebar-item--active a { color: var(--hs-ink); font-weight: 600; border-left-color: var(--hs-amber); }
.doc-toc-summary { font-family: var(--hs-font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--hs-ink-muted); text-transform: uppercase; }
@media (min-width: 901px) {
.doc-toc-summary { list-style: none; pointer-events: none; margin: 0 0 10px; }
.doc-toc-summary::-webkit-details-marker { display: none; }
}
@media (max-width: 900px) {
/* closed on arrival on a phone (Decision 120), open and static on a desktop, and no script: the <details> holds only its
     summary, and the list is its next sibling, shown or collapsed by the open state through the sibling selector — a
     closed <details> hides only its own children (polish re-check, polish-07) */
.doc-sidebar { background: var(--hs-surface); border: 1px solid var(--hs-card-border); border-radius: var(--hs-r-card); }
.doc-toc-summary { padding: 14px 18px; cursor: pointer; }
.doc-sidebar-list { margin: 0 18px; padding: 0 0 14px; }
.doc-toc-details:not([open]) + .doc-sidebar-list { max-height: 0; overflow: hidden; visibility: hidden; padding-bottom: 0; }
.doc-toc-details[open] + .doc-sidebar-list { max-height: none; visibility: visible; }
}
.doc-body h2 { margin: 40px 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.025em; color: var(--hs-ink); scroll-margin-top: calc(var(--site-bar-height, 77px) + 7px); }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { margin: 26px 0 10px; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; color: var(--hs-ink); scroll-margin-top: calc(var(--site-bar-height, 77px) + 7px); }
.doc-body p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.7; color: var(--hs-ink-body); }
.doc-body ul, .doc-body ol { margin: 0 0 16px; padding-left: 22px; }
.doc-body li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.6; color: var(--hs-ink-body); }
.doc-body a { color: var(--hs-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc-body a:hover { text-decoration-color: var(--hs-amber); }
/* the callouts are hairline cards like every other card in the brand — a 1px border all round on the rounded tint, with the
   amber only on the lead word — instead of a thick rule on one side of a soft-cornered box (polish re-check, aesthetic-10) */
.doc-note { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--hs-card-border); background: var(--hs-surface-sunk); border-radius: var(--hs-r-field); font-size: 14.5px; line-height: 1.6; color: var(--hs-ink-body); }
.doc-note strong { color: var(--hs-amber-ink); }
.doc-disclosure { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--hs-card-border); background: var(--hs-surface); border-radius: var(--hs-r-field); font-size: 15.5px; line-height: 1.6; font-weight: 500; color: var(--hs-ink); }
.doc-table, .doc-body table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; }
.doc-table th, .doc-table td, .doc-body table th, .doc-body table td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--hs-hairline); font-size: 14px; vertical-align: top; }
.doc-table th, .doc-body table th { font-family: var(--hs-font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--hs-ink-muted); text-transform: uppercase; font-weight: 600; }
.doc-table td:first-child, .doc-body table td:first-child { font-weight: 600; color: var(--hs-ink); white-space: nowrap; padding-right: 20px; }
/* the legal designs let the first column wrap on a phone (privacy__b and its siblings) */
@media (max-width: 560px) {
.doc-table td:first-child, .doc-body table td:first-child { white-space: normal; padding-right: 12px; }
}
.doc-body code { font-family: var(--hs-font-mono); font-size: 13px; color: var(--hs-ink); }
/* the cookie notice's four-column table scrolls sideways inside its own wrapper at phone width (cookie-notice__b) */
.doc-table-wrap { overflow-x: auto; margin: 6px 0 18px; }
.doc-table-wrap .doc-table { margin: 0; min-width: 620px; }
.doc-table-wrap .doc-table td, .doc-table-wrap .doc-table th { padding: 9px 14px 9px 0; line-height: 1.5; vertical-align: top; }
/* where the column is narrower than the table a line under it says so; where the table fits the line is collapsed, never display: none */
.doc-body { container-type: inline-size; }
.doc-body .doc-table-hint { margin: 0; max-height: 0; overflow: hidden; visibility: hidden; font-family: var(--hs-font-mono); font-size: 10.5px; line-height: 1.6; color: var(--hs-ink-muted); }
@container (max-width: 619.98px) { .doc-body .doc-table-hint { max-height: none; visibility: visible; margin: -10px 0 18px; } }
.doc-code-block { margin: 4px 0 18px; padding: 14px 16px; background: var(--hs-surface-sunk); border: 1px solid var(--hs-hairline); border-radius: var(--hs-r-field); font-family: var(--hs-font-mono); font-size: 12.5px; line-height: 1.6; color: var(--hs-ink-body); overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
/* Markdown's fenced code arrives as a bare <pre><code> with no class, so it takes the drawn code block's look (guide__c's
   .doc-code-block above): long addresses wrap inside the box instead of widening the page past the window */
.doc-body pre { margin: 4px 0 18px; padding: 14px 16px; background: var(--hs-surface-sunk); border: 1px solid var(--hs-hairline); border-radius: var(--hs-r-field); font-family: var(--hs-font-mono); font-size: 12.5px; line-height: 1.6; color: var(--hs-ink-body); overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.doc-body pre code { font-size: inherit; color: inherit; }
/* on a phone a table wider than the column scrolls sideways inside its own box, never the whole page (the cookie notice's
   wrapper does the same for its four columns) */
@media (max-width: 639.98px) {
.doc-body > table { display: block; max-width: 100%; overflow-x: auto; }
.doc-body > table td:first-child { white-space: normal; }
}
.doc-main-pad { padding-bottom: 20px; }
/* Scrollbars in the product's own colours (Decision 185) */
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--hs-ink-muted) 45%, transparent) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track, *::-webkit-scrollbar-corner { background: transparent; }
*::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--hs-ink-muted) 45%, transparent); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background-color: var(--hs-ink-muted); }
[data-element-id="site.nav.navBar"] {position:sticky;top:0;z-index:5;}
[data-element-id="site.terms.body.everyPicture.codeBlock"] {overflow-x:auto;}
[data-element-id="site.footer.footerBar"] {overflow:hidden;}
