/* Hallmark · shape: Long Document · genre: modern-minimal · theme: brand · redesign: full · copy: verbatim
 * paper: oklch(99.2% 0.003 271) · accent: oklch(69.6% 0.204 43.5) · display: Outfit · body: Raleway · hero: Banner · nav: floating pill · footer: mast · signature: the date set as a fact in its own column beside each post, and a sticky list of section links beside the legal prose
 * axes: light/geometric-sans/warm · posture: restrained · job: book a demo · imagery: existing · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E4 S4 R4 V3 · weakest: V, the blog has five posts, two excerpts read as template filler and the stock photographs carried nothing, so the pages are type and rules only; the legal texts keep every word */
/* Hallmark · dropped javascript:void(0), myInput, myModal, popup_nav_Closer, scroll_top, s, input[type=text][name=s], get trackon-acquires-new-domain.html · the old header's search modal, menu toggles and scroll-to-top button; site-header.html carries the menu, and the blog pages keep their own search form */
/* Hallmark · dropped js/jquery.min.js, js/bootstrap.bundle.min.js, js/jquery-ui.min.js, js/owl.carousel.min.js, js/jquery.appear.min.js, js/slick.min.js, js/shuffle.min.js, js/wow.min.js, js/main.js · the old template's libraries; no carousel, reveal or jQuery widget is left for them to run */
/* Hallmark · dropped https://www.google.com/recaptcha/api.js, g-recaptcha-response · the old footer loaded reCAPTCHA for subscribe forms; no page in this group has one, and site-footer.html does not load it */
/* Hallmark · dropped logo.webp, sticky-logo.png, footer-logo.png, quick links, communicate, site information · the old header and footer; site-header.html and site-footer.html carry the logo, the wordmark and the links */
/* Hallmark · dropped commodity trading, informational, design · category labels set as small h4s above the post titles (an eyebrow, 54); each category is a link beside its post's date now */
/* Hallmark · dropped managing exchange rate risk, trackon commodity trading and risk management software · the previous and next titles were h3s in the post's navigation; they are link labels in the post nav, and each post keeps its own heading */
/* Hallmark · dropped post-5.webp, post-5.2.webp, post-1.png, post-2.webp, post-3.webp, post-3.2.webp, post-3.3.webp, post-4.webp, post-4.2.webp, post-4.3.webp, post-4.4.webp, post-4.5.webp, rp-1.png, rp-2.webp, rp-3.webp, rp-4.webp, blog-nav-img-3.jpg · stock photographs in the old list carousels and the sidebar and post-nav thumbnails; they showed nothing the posts say, and the domain post keeps its own picture */
/* Hallmark · dropped Select Category · the dropdown toggle of the old categories widget, run by main.js; the four categories show as a plain list */
/* Hallmark · reworded "CONTINUE READING" to "Continue reading" · 54 and 63, a label in capitals with an arrow icon glued to it */
/* Hallmark · reworded "← Back to Home" to "Back to Home" · 63, an arrow glued to the link label on the two legal pages; the legal text itself is untouched */
/* Hallmark · reworded "trackon.com As part" to "trackon.com. As part" · a missing full stop in the domain post */
/* Hallmark · waive 39b · the 55px control is the consent manager's own Preferences button, drawn by its vendor stylesheet · the cookie banner is third-party chrome these blog and legal pages keep exactly as wired */
/* Hallmark · waive 77 · the thin sections are a month archive with its one or two posts and the page head of a legal text · posts and archives hold what the owner wrote, and nothing is invented to give them mass */
/* Hallmark · waive 78 · the 25px and 31px heads are post titles, the Recent Posts, Archives and Categories groups and numbered clauses of the policy and terms · the one display head on each page is its h1, and legal clauses read better at a calm size */
/* Hallmark · dismissed F1 · the straight quotes are inside the privacy policy and the terms and conditions, and on those two pages only; legal text is not reworded in a redesign */
/* Hallmark · dismissed 19 · "Enterprise-grade" is a word of the terms and conditions and "All rights reserved" is the owner's legal line in the shared footer; legal text is not reworded in a redesign, and the three buzzwords noted in the domain post are the owner's announcement, kept under copy: verbatim */
/* Hallmark · dismissed 42 · the footer is a mast: the handwritten wordmark over the real destinations of a three-product company site */
@import url("./site.css");

/* Lists inside these blocks carry no class of their own: reset them like site.css resets ul[class]. */
.recent ul, .shelf ul, .post-nav ul, .toc ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Page head additions: the byline, the date line, the way back ---------- */
.page-head__meta a, .page-head__back a { color: var(--color-on-ink); }
.page-head__back { margin-top: var(--space-md); }
.page-head .byline { margin-top: var(--space-lg); }
.byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-lg); }
.byline time { color: var(--color-on-ink); font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Posts: a ruled list, the date as the fact on the left ---------- */
.posts > li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.posts > li:first-child { padding-top: 0; border-top: 0; }
.posts h2 { grid-column: 4 / span 7; grid-row: 1; max-width: 32ch; font-size: var(--text-2xl); line-height: 1.15; }
.posts h2 a { text-decoration: none; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.posts h2 a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.posts h2 a:active { color: var(--color-ink-2); }
.post__meta { grid-column: 1 / span 3; grid-row: 1 / span 3; display: grid; gap: var(--space-xs); align-content: start; justify-items: start; }
.post__meta time { font: 600 var(--text-lg)/1.3 var(--font-body); font-variant-numeric: tabular-nums lining-nums; }
.post__meta .link { font-size: var(--text-sm); }
.posts p { grid-column: 4 / span 7; max-width: 65ch; line-height: 1.65; color: var(--color-ink-2); }
.post__links { grid-column: 4 / span 7; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-lg); }
@media (max-width: 60rem) {
  .posts h2, .post__meta, .posts p, .post__links { grid-column: 1 / -1; grid-row: auto; }
  .post__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-lg); }
}

/* ---------- Share: three plain icons, no tiles ---------- */
.share { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.share a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-pill); color: var(--color-ink-2); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.share a:hover { background: var(--color-paper-3); color: var(--color-ink); }
.share a:active { background: var(--color-rule); }
.share svg { flex-shrink: 0; width: 20px; height: 20px; }

/* ---------- The blog index: recent posts beside the search, archives and categories ---------- */
.blog-index { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.blog-index h2 { max-width: none; font-size: var(--text-title); line-height: 1.2; }
.recent { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); }
.recent ul > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--space-lg); row-gap: var(--space-2xs); align-items: baseline; padding-block: var(--space-md); border-top: 1px solid var(--color-rule); }
.recent ul > li:last-child { border-bottom: 1px solid var(--color-rule); }
.recent h3 { grid-column: 2; grid-row: 1; max-width: none; font: 600 var(--text-md)/1.4 var(--font-body); letter-spacing: 0; }
.recent time { grid-column: 1; grid-row: 1; font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums lining-nums; }
.recent a, .shelf a { text-decoration: underline; text-decoration-color: var(--color-rule); text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.recent a:hover, .shelf a:hover { text-decoration-color: var(--color-accent); }
.recent a:active, .shelf a:active { color: var(--color-ink-2); }
.blog-index__side { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }
.shelf { display: grid; gap: var(--space-md); align-content: start; }
.shelf ul { display: grid; gap: var(--space-xs); }
.shelf li { line-height: 1.5; }
.count { color: var(--color-muted); font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 60rem) {
  .recent, .blog-index__side { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .recent ul > li { grid-template-columns: minmax(0, 1fr); }
  .recent h3, .recent time { grid-column: 1; grid-row: auto; }
  .blog-index__side { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Search: one field, its button apart ---------- */
.search { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: var(--space-xs); width: 100%; max-width: 20rem; margin: 0; }
.search .field { flex: 1; min-width: 0; }
.search .field input { font-size: var(--text-md); }
.btn--line { flex-shrink: 0; width: 52px; padding: 0; border-color: var(--color-ink); background: transparent; color: var(--color-ink); }
.btn--line:hover { background: var(--color-paper-3); }
.btn--line svg { flex-shrink: 0; width: 20px; height: 20px; }

/* ---------- A post: the reading column, the share icons in the margin ---------- */
.article__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.article__body { grid-column: 1 / span 8; }
.article__body .frame { margin-bottom: var(--space-lg); }
.article__share { grid-column: 10 / -1; position: sticky; top: calc(var(--nav-top) + var(--nav-h) + var(--space-xl)); }
.post-nav { grid-column: 1 / -1; }
.post-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.post-nav a { display: grid; gap: var(--space-xs); align-content: start; padding-block: var(--space-xl); text-decoration: none; }
.post-nav li:last-child a { justify-items: end; text-align: right; }
.post-nav__dir { font-size: var(--text-sm); color: var(--color-muted); }
.post-nav__title { max-width: 28ch; font: var(--display-weight) var(--text-title)/1.2 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.post-nav a:hover .post-nav__title { text-decoration-color: var(--color-accent); }
.post-nav a:active .post-nav__title { color: var(--color-ink-2); }
@media (max-width: 60rem) {
  .article__body, .article__share { grid-column: 1 / -1; }
  .article__share { position: static; }
}
@media (max-width: 40rem) {
  .post-nav ul { grid-template-columns: minmax(0, 1fr); }
  .post-nav li + li { border-top: 1px solid var(--color-rule); }
  .post-nav li:last-child a { justify-items: start; text-align: left; }
}

/* ---------- Legal: the section links beside the prose ---------- */
.legal__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.toc { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-top) + var(--nav-h) + var(--space-xl)); max-height: calc(100svh - var(--nav-top) - var(--nav-h) - var(--space-3xl)); overflow-y: auto; overscroll-behavior: contain; }
.toc summary { display: none; }
.toc ul { display: grid; border-left: 1px solid var(--color-rule); }
.toc a { display: block; overflow: hidden; padding: var(--space-2xs) 0 var(--space-2xs) var(--space-md); font-size: var(--text-sm); line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; color: var(--color-ink-2); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.toc a:hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.toc a:active { color: var(--color-ink-2); }
.toc a:focus-visible { outline-offset: -2px; }
.legal__text { grid-column: 6 / -1; }
.legal__text h2 { font-size: var(--text-2xl); }
.prose > .legal__close { margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
@media (max-width: 72rem) {
  .toc { grid-column: 1 / -1; position: static; max-height: none; overflow: visible; border-block: 1px solid var(--color-rule); }
  .toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 600; cursor: pointer; list-style: none; }
  .toc summary::-webkit-details-marker { display: none; }
  .toc summary svg { flex-shrink: 0; width: 20px; height: 20px; transition: transform var(--dur-short) var(--ease-in-out); }
  .toc details[open] summary svg { transform: rotate(180deg); }
  .toc ul { padding-bottom: var(--space-md); }
  .toc a { padding-block: var(--space-sm); font-size: var(--text-md); }
  .legal__text { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .toc summary svg { transition: none; }
}
