/* GoBolt blog. The reading pages: the list, one post, the release notes.
   On top of the kit (assets/kit/) and the site stylesheet. Tokens are the kit's --k-*; type comes from the kit's classes.
   One idea: a quiet date above the title, the words in one readable column of about 90 characters (MKT-032, the
   owner on 2026-10-22: "increase the container size a bit so we can read"), and the pictures allowed to run wider
   than the words, centred. No sidebars. */

:root {
  --u-side: clamp(4rem, 10vw, 9rem);           /* the margin either side of the column, at the least */
  --u-measure: calc(36 * var(--k-body));       /* 36em of body text: lines of reading run about 85 to 95 characters (MKT-032; was 27.5em) */
  --u-wide: 1100px;                            /* a picture may run this wide, centred; the page wrap caps it a little under */
}

.site-header nav a[aria-current] { color: var(--k-ink); }
/* the language selector's slot. The kit fills it; empty, it takes no room and adds no gap */
.site-header .site-lang:empty { display: none; }

/* ── the grid: margin, the column, and room either side for a wide picture ─────────
   Every named line exists at every width, so `main`, `wide` and `full` never create a stray column. */
.u-grid { display: grid; grid-template-columns: [full-start wide-start main-start] minmax(0, 1fr) [main-end wide-end full-end]; }
.u-grid > * { min-width: 0; }
.u-grid > .u-wide { width: 100%; max-width: var(--u-wide); justify-self: center; }
@media (min-width: 900px) {
  /* the column sits in the middle of the page, a margin either side; the date sits above the title (MKT-032) */
  .u-grid {
    grid-template-columns:
      [full-start wide-start] minmax(var(--u-side), 1fr)
      [main-start] minmax(0, var(--u-measure))
      [main-end] minmax(var(--u-side), 1fr)
      [wide-end full-end];
    column-gap: 0;
  }
  .u-grid > .u-main { grid-column: main; }
  /* a page's title may run past the reading column into the right margin, up to the intro cap, so a short
     title sets on one line instead of breaking against the measure */
  .u-intro .u-grid > h1.u-main { grid-column: main-start / full-end; }
  .u-grid > .u-wide { grid-column: wide; }
}

/* ── the top of a page ────────────────────────────────────────────── */
.u-intro { padding-block: clamp(48px, 8vw, 112px) clamp(40px, 5vw, 72px); }
.u-intro h1 { max-width: 44rem; }
.u-intro .two .body { max-width: 30rem; text-wrap: pretty; }

/* a customer story's way back (MKT-036): one quiet link above the date */
.u-back { margin-bottom: var(--k-4); font-size: var(--k-small); line-height: 1.5; }
.u-back a { color: var(--k-ink-2); text-decoration: none; transition: color var(--k-fast) ease; }
.u-back a:hover { color: var(--k-ink); text-decoration: underline; text-underline-offset: 4px; }
/* the date, above the title: one quiet line; a second word (Draft, Plugin 1.4.2) follows it on the same line */
.u-date { display: flex; flex-wrap: wrap; gap: 0 0.9em; font-size: var(--k-small); line-height: 1.5; color: var(--k-ink-3); font-variant-numeric: tabular-nums; }
.u-date > span::before { content: "·"; margin-inline-end: 0.9em; color: var(--k-line); }
.u-intro .u-date { margin-bottom: var(--k-3); }
.u-intro .u-date + h1 { margin-top: 0; }

/* ── stories and updates in one list ──────────────────────────────── */
/* The filter is three anchors. Without JavaScript the address is the filter: each anchor lands on
   an empty span before the list, and :target hides the rows the reader did not ask for. With
   JavaScript, updates.js writes data-filter on the list instead and nothing jumps. The two paths
   never run together: every rule below says which one it belongs to. */
.u-kind-at { display: block; height: 0; }
/* without JavaScript */
html:not(.js) #stories:target ~ .u-body .u-list > li:not([data-kind="story"]),
html:not(.js) #changed:target ~ .u-body .u-list > li[data-kind="story"] { display: none; }
html:not(.js) .u-kinds a[href="#all"],
html:not(.js) #stories:target ~ .u-intro .u-kinds a[href="#stories"],
html:not(.js) #changed:target ~ .u-intro .u-kinds a[href="#changed"] { color: var(--k-ink); border-bottom-color: var(--k-ink); }
html:not(.js) :is(#stories, #changed):target ~ .u-intro .u-kinds a[href="#all"] { color: var(--k-ink-3); border-bottom-color: transparent; }
/* with it: updates.js writes the filter on the list and aria-current on the link */
.js .u-list[data-filter="story"] > li:not([data-kind="story"]),
.js .u-list[data-filter="update"] > li[data-kind="story"] { display: none; }

/* ── the list ─────────────────────────────────────────────────────── */
.u-list { border-top: 1px solid var(--k-line); }
.u-list > li { border-bottom: 1px solid var(--k-line); }
.u-item { padding-block: clamp(28px, 3.4vw, 44px); color: inherit; text-decoration: none; row-gap: var(--k-2); }
/* a post's title in the list, and a version's on the release notes: the kit's h2 (the serif in kit v2), a step
   bigger than .title because the serif carries less weight at the same size */
.u-item .title, .u-version .title { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); line-height: 1.15; }
.u-item .title { color: var(--k-ink); max-width: var(--u-measure); transition: color var(--k-fast) ease; }
.u-item .u-summary { max-width: var(--u-measure); color: var(--k-ink-2); text-wrap: pretty; }
.u-item .u-date { order: -1; margin-bottom: var(--k-1); }
/* the tags (MKT-020): one quiet line in the date's type, under the summary and under a post; never a link */
.u-tags { font-size: var(--k-small); line-height: 1.5; color: var(--k-ink-3); }
.u-item .u-tags { margin-top: calc(-1 * var(--k-1)); }
.u-post .u-tags { margin-top: var(--k-4); }
.u-item:hover .title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: var(--k-ink-3); }
@media (min-width: 900px) {
  .u-item { row-gap: var(--k-3); }
}
section.u-body, .u-platforms { padding-bottom: var(--k-section); }
/* the way across to the release notes: one quiet line at the end of the list, in the reading column */
.u-after { padding-top: clamp(28px, 3.4vw, 44px); }
.u-after p { font-size: var(--k-body); line-height: 1.5; color: var(--k-ink-2); text-wrap: pretty; }
.u-after a {
  color: var(--k-ink);
  text-decoration: underline; text-decoration-color: var(--k-ink-3); text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  transition: text-decoration-color var(--k-fast) ease;
}
.u-after a:hover { text-decoration-color: var(--k-ink); }

/* ── one post ─────────────────────────────────────────────────────── */
.u-post .u-body { padding-bottom: clamp(56px, 8vw, 112px); }
.u-prose, .u-notes { max-width: var(--u-measure); }
.u-prose { font-size: var(--k-body); line-height: 1.7; color: var(--k-ink-2); hanging-punctuation: first; }
.u-prose > * + * { margin-top: 1.25em; }
.u-prose p, .u-prose li { text-wrap: pretty; }
.u-prose h2, .u-prose h3 { color: var(--k-ink); font-weight: var(--k-weight); text-wrap: balance; }
/* a heading inside a post takes the kit's display face once the kit defines one (Bricolage Grotesque since MKT-015) */
.u-prose h2 { font-family: var(--k-serif); font-weight: var(--k-weight-display); font-size: var(--k-title); line-height: 1.2; letter-spacing: -0.025em; margin-top: 2.2em; }
.u-prose h3 { font-size: 1.1em; line-height: 1.3; letter-spacing: -0.015em; margin-top: 2em; }
.u-prose h2 + *, .u-prose h3 + * { margin-top: 0.7em; }
.u-prose > :first-child { margin-top: 0; }
.u-prose strong { font-weight: 600; color: var(--k-ink); }
.u-prose ul, .u-prose ol { padding-left: 1.3em; }
.u-prose ul { list-style: disc; }
.u-prose ol { list-style: decimal; font-variant-numeric: tabular-nums; }
.u-prose li::marker { color: var(--k-ink-3); }
.u-prose li + li { margin-top: 0.5em; }
.u-prose blockquote { margin-inline: 0; margin-bottom: 0; padding-left: 1.2em; border-left: 2px solid var(--k-ink); color: var(--k-ink); }
.u-prose blockquote > * + * { margin-top: 0.8em; }
.u-prose code { font: 0.88em/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; padding: 0.18em 0.4em; border-radius: 6px; background: var(--k-sunken); color: var(--k-ink); }
.u-prose hr { border: 0; border-top: 1px solid var(--k-line); margin-block: 2.4em; }
.u-prose figure { margin-block: 2em; }
.u-prose img { height: auto; max-width: 100%; border-radius: var(--k-r-sheet); }
.u-prose figcaption { margin-top: var(--k-3); font-size: var(--k-small); line-height: 1.5; color: var(--k-ink-3); text-align: center; text-wrap: pretty; }

/* A picture inside a post may run wider than the words. The prose becomes a subgrid of the page grid,
   so every paragraph keeps the reading column while a figure takes the wide one, centred. Browsers
   without subgrid keep everything in the column, which is the older layout and still reads well. */
@supports (grid-template-columns: subgrid) {
  @media (min-width: 900px) {
    .u-grid > .u-prose { grid-column: full; max-width: none; display: grid; grid-template-columns: subgrid; }
    .u-prose > * { grid-column: main; max-width: var(--u-measure); }
    .u-prose > figure { grid-column: wide; width: 100%; max-width: var(--u-wide); justify-self: center; margin-block: 2.6em; }
    .u-prose > figure img { display: block; width: auto; max-width: 100%; max-height: min(640px, 72vh); margin-inline: auto; }
  }
}

/* the cover: a photo, a kit picture at rest on a sheet, the plans, or the atmosphere. As wide as the page allows, centred. */
.u-cover-row { padding-bottom: clamp(36px, 5vw, 64px); }
.u-cover { width: 100%; border-radius: var(--k-r-sheet); overflow: hidden; }
.u-cover--photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 42%; }
.u-cover--landscape img { aspect-ratio: auto; }
/* a kit picture stands on the page itself, no card behind it (the founder removed the boxed container from the
   home hero on 2026-09-24, and the covers follow). Room above and below so its own shadow is never clipped. */
.u-cover--mock {
  display: flex; justify-content: center; align-items: center;
  overflow: visible; border-radius: 0; background: none;
  padding: clamp(8px, 2vw, 24px) 0 clamp(16px, 3vw, 40px);
}
/* the voice note plays the real briefing */
.u-cover .k-voice-btn { cursor: pointer; }
.u-cover .k-voice-btn:focus-visible { outline: 2px solid var(--k-ink, #1e1d1a); outline-offset: 2px; }
/* The cover uses the same complete phone as every other page. */
.u-cover--phone { padding-inline: 0; }
.u-cover--mock > [data-ui] { --k-ui-scale: 1; }
.u-cover--chat > [data-ui] { max-width: 384px; }
.u-cover--phone > [data-ui] { width: 100%; max-width: calc(var(--k-phone-w) * 1px); }
/* Reserve the phone's shared ratio and the chat's built height before hydration.
   With JavaScript off nothing is drawn, so nothing is held. */
.js .u-cover--phone > [data-ui]:empty { aspect-ratio: var(--k-phone-w) / var(--k-phone-h); }
.js .u-cover--chat > [data-ui]:empty { min-height: var(--cover-h, 640px); }
.u-cover--product > [data-ui] { max-width: 760px; }
.u-cover--atmo { position: relative; isolation: isolate; aspect-ratio: 16 / 9; background: var(--k-well); }
.u-cover--atmo .atmo { --atmo-blur: clamp(28px, 4vw, 56px); -webkit-mask-image: none; mask-image: none; }
@media (max-width: 599px) { .u-cover--atmo { aspect-ratio: 4 / 3; } }

/* mock:pricing. The five plans on one quiet sheet, from assets/js/config.js at build time. */
.u-plans { width: 100%; max-width: 22rem; padding: var(--k-3) var(--k-5) var(--k-4); border-radius: var(--k-r-sheet); background: var(--k-surface, #fff); box-shadow: var(--k-shadow-quiet); font-size: 1rem; line-height: 1.4; }
.u-plans li { display: flex; justify-content: space-between; gap: var(--k-4); padding-block: 0.8em; color: var(--k-ink); font-variant-numeric: tabular-nums; }
.u-plans li + li { border-top: 1px solid var(--k-line-soft); }
.u-plans li > span + span { color: var(--k-ink-2); text-align: right; }
.u-plans p { padding-top: 0.9em; border-top: 1px solid var(--k-line-soft); font-size: var(--k-small); color: var(--k-ink-3); }

/* ── share (MKT-032): one quiet row under the words. The five services' own share pages, then Copy link ──
   Circles in the footer's manner, 44 px to touch (the circle is 36, the padding reaches the rest). Without
   JavaScript the links still work and Copy link is not shown. */
.u-share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--k-2) var(--k-4); margin-top: clamp(32px, 4vw, 48px); padding-top: var(--k-5); border-top: 1px solid var(--k-line); }
.u-share-label { font-size: var(--k-small); color: var(--k-ink-3); }
.u-share-list { display: flex; flex-wrap: wrap; gap: 4px; }
.u-share-list a, .u-share-list button {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 4px;
  border: 1px solid var(--k-line); border-radius: 50%; color: var(--k-ink-2); text-decoration: none;
  position: relative; transition: color var(--k-fast) ease, border-color var(--k-fast) ease, background var(--k-fast) ease;
}
.u-share-list a::after, .u-share-list button::after { content: ""; position: absolute; inset: -4px; }
.u-share-list a:hover, .u-share-list button:hover { color: var(--k-ink); border-color: var(--k-ink); }
.u-share-list button.is-done { color: var(--k-green); border-color: var(--k-green); background: var(--k-green-tint); }
.u-share-note { font-size: var(--k-small); color: var(--k-green); min-height: 1.5em; }
.u-share-field { width: 100%; max-width: var(--u-measure); padding: 8px 12px; border: 1px solid var(--k-line); border-radius: var(--k-r-control); font: inherit; font-size: var(--k-small); color: var(--k-ink); background: var(--k-surface); }
html:not(.js) .u-share-copy, html:not(.js) .u-share-note { display: none; }

/* earlier and later */
.u-pager { padding-bottom: var(--k-section); }
/* each link is at least 44px tall to touch; the padding comes out of the gaps, so the page looks as it did */
.u-pager-links { display: flex; flex-direction: column; gap: calc(var(--k-5) - 20px); max-width: var(--u-measure); padding-top: calc(var(--k-6) - 10px); border-top: 1px solid var(--k-line); }
.u-pager a { display: flex; gap: 0.6em; padding-block: 10px; min-height: 44px; box-sizing: border-box; color: var(--k-ink-2); text-decoration: none; line-height: 1.4; transition: color var(--k-fast) ease; }
.u-pager a:hover { color: var(--k-ink); }
.u-pager a > span[aria-hidden] { color: var(--k-ink-3); flex: none; }
.u-newer { justify-content: flex-end; text-align: right; margin-left: auto; }
@media (min-width: 640px) {
  .u-pager-links { flex-direction: row; justify-content: space-between; gap: var(--k-7); }
  .u-pager a { align-self: flex-start; }
  .u-pager a { flex: 0 1 auto; }
}

/* ── release notes ────────────────────────────────────────────────── */
/* MKT-019 (founder: "unnecessary line breaks"): the notes are short lines, not prose, so they read in a wider column
   than a post, about 100 characters, and the intro's sentence runs the same width */
.u-intro--notes .u-grid, .u-platforms .u-grid { --u-measure: calc(40 * var(--k-body)); }
.u-intro--notes .two .body, .u-intro--notes h1 { max-width: 44rem; }
.u-switch { display: flex; flex-wrap: wrap; gap: 4px var(--k-6); margin-top: clamp(28px, 3.5vw, 40px) !important; }
.u-switch a { padding: 6px 1px; color: var(--k-ink-3); text-decoration: none; border-bottom: 1.5px solid transparent; transition: color var(--k-fast) ease, border-color var(--k-fast) ease; }
.u-switch a:hover { color: var(--k-ink); }
.u-switch a[aria-current] { color: var(--k-ink); border-bottom-color: var(--k-ink); }

.u-platform { scroll-margin-top: var(--k-5); }
.u-version { padding-block: clamp(28px, 3.4vw, 44px); scroll-margin-top: var(--k-5); row-gap: var(--k-2); }
.u-version + .u-version { border-top: 1px solid var(--k-line); }
.u-platform + .u-platform { margin-top: var(--k-8); }
.u-version .title { color: var(--k-ink); }
.u-version .u-date { order: -1; }
.u-notes { margin-top: var(--k-3); font-size: var(--k-body); line-height: 1.6; }
.u-notes > * + * { margin-top: 1em; }
.u-notes ul { list-style: disc; padding-left: 1.2em; }
.u-notes li { text-wrap: pretty; }
.u-notes li::marker { color: var(--k-ink-3); }
.u-notes li + li { margin-top: 0.55em; }
/* what the platform itself needs. A fact about the platform, so it is said once, above its versions. */
.u-platform-note { padding-bottom: clamp(20px, 2.4vw, 28px); border-bottom: 1px solid var(--k-line); }
.u-requires { font-size: var(--k-small); line-height: 1.5; color: var(--k-ink-3); max-width: var(--u-measure); }
@media (min-width: 900px) {
  .u-version { align-items: first baseline; }
  .u-version .u-date { order: 0; }
}

/* with JavaScript, one platform at a time. Until the script has chosen, the first one shows. */
.js .u-platforms:not([data-ready]) > .u-platform ~ .u-platform,
.js .u-platforms[data-ready] > .u-platform:not(.is-active) { display: none; }
.js .u-platforms[data-ready] > .u-platform + .u-platform { margin-top: 0; }
.js .u-platforms[data-ready] > .u-platform.is-arriving { animation: u-arrive var(--k-move) var(--k-ease) both; }
@keyframes u-arrive { from { opacity: 0; transform: translate3d(0, 10px, 0); } }

@media (prefers-reduced-motion: reduce) {
  .js .u-platforms[data-ready] > .u-platform.is-arriving { animation: none; }
  .u-switch a, .u-pager a, .u-after a, .u-item .title { transition: none; }
}
.still .u-platform.is-arriving { animation: none !important; }
