/* MARTENSIA · pages.css
 * The shared pieces of the reorganised site (November 2026): the Products menu in the nav, breadcrumbs, the inner
 * pages' hero, section heads, the products band (Recon, Datum, Seal, shown by their own icons), service grids with
 * line icons, technology chips, steps, questions and the closing call to action. Loaded on every page after site.css;
 * written with identity C's tokens (brand-tokens.css, brand.css), with plain fallbacks. */

/* ── the nav's Products menu: the same disclosure as the old Download menu, opened from the centre ── */
/* Six entries in the bar. Between the phone's menu and 1040 px they no longer fit beside a product's name in Spanish:
   Learn steps aside there (it stays in the footer, the search and the phone's menu) and the rest sit a little closer. */
@media (min-width: 901px) and (max-width: 1040px) { .nav-center li.nav-fold, html[data-brand="next"] nav.site-nav .nav-center > li.nav-fold { display: none; } .nav-center { gap: 14px; padding: 0 12px; } }
.nav-center .nav-menu > summary { cursor: pointer; color: var(--fg2); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; list-style: none; }
.nav-center .nav-menu > summary::-webkit-details-marker { display: none; }
html[data-brand="next"] .nav-center .nav-menu > summary { font: 500 13.5px/1 var(--font); color: var(--fg-1); padding: 8px 0; }
html[data-brand="next"] .nav-center .nav-menu > summary:hover, html[data-brand="next"] .nav-center .nav-menu[open] > summary,
html[data-brand="next"] .nav-center .nav-menu > summary[aria-current="page"] { color: var(--fg-0); }
.nav-center .nav-menu .dl-menu__list { left: -16px; right: auto; min-width: 340px; }
html[data-brand="next"] .nav-center .nav-menu .dl-menu__list { min-width: 340px; }
.dl-menu__item.nav-prod, html[data-brand="next"] .dl-menu__item.nav-prod { grid-template-columns: 36px minmax(0, 1fr); gap: 2px 12px; }
.nav-prod .nav-prod__mark { width: 36px; height: 36px; border-radius: 9px; grid-row: 1 / span 2; display: block; }
html[data-brand="next"] .nav-prod b, html[data-brand="next"] .nav-prod span { grid-column: 2; }

/* ── the product marks: Recon's and Datum's app icons; Seal's mark on the same dark tile ── */
.pmark { width: 56px; height: 56px; border-radius: 13px; flex: none; display: block; }
.pmark--lg { width: 72px; height: 72px; border-radius: 17px; }

/* ── breadcrumbs (inner pages), under the fixed nav ── */
.crumbs { max-width: 1280px; margin: 0 auto; padding: 104px 44px 0; font: 400 12px/1.4 var(--mono, ui-monospace, monospace); color: var(--c-fg3, #8d9097); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { color: inherit; text-decoration: none; } .crumbs a:hover { color: var(--c-fg, inherit); }

/* ── an inner page's hero ── */
.p-hero { max-width: 1280px; margin: 0 auto; padding: 28px 44px 64px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.p-hero--solo { grid-template-columns: minmax(0, 1fr); }
.p-over { font: 500 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-fg3, #8d9097); display: flex; align-items: center; gap: 10px; }
.p-hero h1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; margin: 16px 0 0; max-width: 17ch; text-wrap: balance; }
.p-hero--solo h1 { max-width: 22ch; }
.p-hero .lede { margin: 18px 0 0; max-width: 60ch; font-size: 18px; line-height: 1.55; color: var(--c-fg2, #50545b); }
.p-actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.p-hero__art { min-width: 0; }
.p-hero__art img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.1)), var(--shadow, 0 20px 40px -20px rgb(0 0 0 / 0.3)); }
.p-hero__art figcaption { margin-top: 12px; font: 400 12px/1.5 var(--mono, ui-monospace, monospace); color: var(--c-fg3, #8d9097); }
.p-status { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-fg2, #50545b); }
.p-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-cut, #0a66ec); }

/* ── the home page: the actions under the measured headline ── */
.home-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* ── a section: the over-line, the heading, the words beside it ── */
.blk { max-width: 1280px; margin: 0 auto; padding: 96px 44px; }
.blk--tight { padding-top: 40px; }
.blk__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.blk__head h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; margin: 12px 0 0; text-wrap: balance; }
.blk__head p { font-size: 16px; line-height: 1.6; color: var(--c-fg2, #50545b); max-width: 56ch; margin: 0; }
.blk__more { margin-top: 24px; font-size: 14px; }
.blk__more a { font-weight: 500; }

/* ── the products band: Recon, Datum and Seal, each by its mark and the icons its tools are drawn with ── */
.prod-band { background: var(--c-stage, #f2f2f0); border-block: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
.prod-band .blk { padding-block: 96px; }
.prod-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.prod { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 24px 24px 22px; border-radius: 18px; background: var(--bg-1, #fff);
  box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.08)), 0 24px 48px -32px rgb(0 0 0 / 0.35); color: inherit; text-decoration: none;
  transition: transform var(--dur-2, 0.2s) var(--ease, ease), box-shadow var(--dur-2, 0.2s) var(--ease, ease); }
.prod:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.1)), 0 32px 60px -30px rgb(0 0 0 / 0.45); }
.prod:focus-visible { outline: 2px solid var(--c-cut, #0a66ec); outline-offset: 3px; }
.prod__head { display: flex; align-items: center; gap: 14px; }
.prod__name { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.prod__cat { margin-top: 7px; font: 500 10.5px/1.2 var(--mono, ui-monospace, monospace); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-fg3, #8d9097); }
.prod__line { font-size: 15px; line-height: 1.55; color: var(--c-fg2, #50545b); margin: 0; }
.prod__icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--c-line, rgb(0 0 0 / 0.08)); border-radius: 13px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.08)); }
.prod__icons > span { background: var(--bg-0, #fafaf9); display: grid; justify-items: center; align-content: center; gap: 8px; padding: 16px 6px 12px; min-width: 0; }
.prod__icons img, .prod__icons svg { width: 40px; height: 40px; display: block; }
.prod__icons small { font: 400 10.5px/1.2 var(--mono, ui-monospace, monospace); color: var(--c-fg3, #8d9097); text-align: center; overflow-wrap: anywhere; }
.prod__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.prod__more { font-size: 14px; font-weight: 500; }
.prod__more .arrow { display: inline-block; transition: transform 0.15s; }
.prod:hover .prod__more .arrow { transform: translateX(3px); }

/* ── service cards: a line icon, a name, a few lines, the words they are found by ── */
.svc-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--c-line, rgb(0 0 0 / 0.08));
  border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.08)); }
.svc { background: var(--bg-1, #fff); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
a.svc:hover { background: var(--bg-0, #fafaf9); }
.svc__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--c-cut, #0a66ec);
  background: color-mix(in srgb, var(--c-cut, #0a66ec) 9%, transparent); margin-bottom: 4px; }
.svc__icon svg { width: 22px; height: 22px; }
.svc h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.svc p { font-size: 14.5px; line-height: 1.55; color: var(--c-fg2, #50545b); margin: 0; }
.svc__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 8px 0 0; }
.svc__tags li { font: 400 11px/1 var(--mono, ui-monospace, monospace); padding: 6px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.1)); color: var(--c-fg2, #50545b); }

/* ── technology chips ── */
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips-row span { font: 400 12px/1 var(--mono, ui-monospace, monospace); padding: 10px 12px; border-radius: 8px; background: var(--bg-1, #fff); box-shadow: inset 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.1)); }

/* ── steps ── */
.steps4 { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--c-line, rgb(0 0 0 / 0.1)); padding-top: 26px; }
.steps4 b { display: block; font: 500 11px/1 var(--mono, ui-monospace, monospace); color: var(--c-fg3, #8d9097); letter-spacing: 0.06em; text-transform: uppercase; }
.steps4 h3 { font-size: 16px; font-weight: 600; margin: 12px 0 8px; letter-spacing: -0.015em; }
.steps4 p { font-size: 14px; color: var(--c-fg2, #50545b); line-height: 1.55; margin: 0; }

/* ── figures: real screens of MARTENSIA's own work ── */
.figs { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.figs figure { margin: 0; min-width: 0; }
.figs img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.1)); }
.figs figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--c-fg2, #50545b); }
.figs figcaption b { color: var(--c-fg, inherit); font-weight: 600; }

/* ── questions ── */
.faq2 { margin-top: 32px; border-bottom: 1px solid var(--c-line, rgb(0 0 0 / 0.1)); }
.faq2 details { border-top: 1px solid var(--c-line, rgb(0 0 0 / 0.1)); padding: 18px 0; }
.faq2 summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: "+"; font-weight: 400; color: var(--c-fg3, #8d9097); }
.faq2 details[open] summary::after { content: "–"; }
.faq2 p { margin: 10px 0 0; color: var(--c-fg2, #50545b); line-height: 1.6; font-size: 15px; max-width: 72ch; }

/* ── the closing call to action ── */
.cta2 { text-align: center; padding: 104px 16px; border-top: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
.cta2 h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.06; margin: 0 auto; max-width: 22ch; text-wrap: balance; }
.cta2 p { margin: 16px auto 0; max-width: 56ch; color: var(--c-fg2, #50545b); font-size: 16px; line-height: 1.6; }
.cta2 .p-actions { justify-content: center; }

/* ── variants: two-column service grids, three steps, app-drawn icons, a hero's art of tiles ── */
.svc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps4--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* the header's Tools tab: a small crimson "Free" at the word's top right, like a badge (the page's underline stays
   under the word). Pointing at the tab, or reaching it with the keyboard, lifts it a little and passes one soft glint
   across it; nothing jumps, nothing repeats by itself; with reduced motion it simply sits there. */
.nav-tools { position: relative; }       /* the badge sits on the word's top right corner, sticking out only a little, so the */
                                          /* space between tabs holds at any width, in both languages */
.nav-t { position: relative; }
.nav-free { position: absolute; right: -9px; top: -5px; padding: 2.5px 4px 2px; border-radius: 2.5px;
  font: 700 7.5px/1 var(--mono, ui-monospace, monospace); letter-spacing: 0.09em; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, #d4183f, #a80f33); box-shadow: 0 1px 2px rgb(150 12 45 / 0.28), inset 0 0.5px 0 rgb(255 255 255 / 0.22);
  pointer-events: none; white-space: nowrap; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease; }
[data-theme="dark"] .nav-free { background: linear-gradient(180deg, #e3284f, #bd1440); box-shadow: 0 1px 4px rgb(227 40 79 / 0.3); }
.nav-free::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.32) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 160% 0; }
.nav-free i { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .nav-tools:hover .nav-free, .nav-tools:focus-visible .nav-free { transform: translateY(-1px) scale(1.06); box-shadow: 0 2px 5px rgb(150 12 45 / 0.3); }
  .nav-tools:hover .nav-free::after, .nav-tools:focus-visible .nav-free::after { animation: nf-glint 0.9s 0.05s ease-in-out both; }
}
@keyframes nf-glint { from { background-position: 160% 0; } to { background-position: -60% 0; } }
@media (max-width: 1060px) { .nav-free { right: -3px; } }     /* narrower desktops: the tabs sit closer */
.kmn-drawer .nav-free { position: static; display: inline-block; margin-left: 8px; vertical-align: 2px; font-size: 8.5px; padding: 3px 5px 2.5px; border-radius: 3px; }
/* steps that open with an animation (anims.js): the picture is a wide, low drawing in a square frame, so the frame's
   clear margins are pulled in round it and the drawing sits on the text's left edge */
.steps4__anim { display: block; width: 120px; height: 120px; margin: -26px 0 -14px -3px; }
[data-theme="dark"] .steps4__anim { background: radial-gradient(closest-side, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 100%); }
.svc__icon--app { background: transparent; width: 44px; height: 44px; color: var(--fg-0, #0b0c0e); }
.svc__icon--app svg, .svc__icon--app img { width: 44px; height: 44px; }
.p-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.p-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--c-line, rgb(0 0 0 / 0.08)); border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.08)), 0 30px 60px -36px rgb(0 0 0 / 0.4); }
.p-tiles > span { background: var(--bg-1, #fff); display: grid; justify-items: center; align-content: center; gap: 12px; padding: 30px 10px 22px; min-width: 0; color: var(--c-cut, #0a66ec); }
.p-tiles svg { width: 34px; height: 34px; }
.p-tiles small { font: 400 11px/1.25 var(--mono, ui-monospace, monospace); color: var(--c-fg2, #50545b); text-align: center; }
/* the tools page's first picture: a bracket's faults closing and fading as Kerf's fixes are marked (site_build fix_art) */
.p-over__mark { width: 24px; height: 24px; flex: none; margin-right: -2px; }
.svc__icon--pic { background: transparent; width: 80px; height: 80px; margin: -8px 0 0 -8px; }
.svc__icon--pic img { width: 80px; height: 80px; display: block; }
.p-fix { position: relative; display: block; border-radius: 18px; background: var(--bg-1, #fff); color: var(--fg-0, #0b0c0e); text-decoration: none;
  box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.08)), 0 30px 60px -36px rgb(0 0 0 / 0.4); padding: 18px 18px 58px; }
.p-fix svg { display: block; width: 100%; height: auto; overflow: visible; }
.p-fix__part path, .p-fix__part circle, .p-fix__part rect { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.p-fix__part > path:first-child { fill: color-mix(in oklab, currentColor 5%, transparent); }
.p-fix__close { stroke-dasharray: 24; stroke-dashoffset: 0; }
.p-fix__twice { fill: none; stroke: var(--bad, #c62828); stroke-width: 3.4; stroke-linecap: round; }
.p-fix__twice2 { fill: none; stroke: currentColor; stroke-opacity: 0.55; stroke-width: 1.6; stroke-linecap: round; }
.p-fix__end { fill: var(--bg-1, #fff); stroke: var(--warn, #b26a00); stroke-width: 2; }
.p-fix__bad text { font: 500 11px var(--mono, ui-monospace, monospace); fill: var(--fg-1, #40444b); letter-spacing: 0.02em; }
.p-fix__ok rect { fill: var(--ok-soft, rgb(30 130 70 / 0.12)); stroke: var(--ok, #1e7a46); stroke-width: 2; }
.p-fix__chip { position: absolute; left: 18px; bottom: 16px; display: grid; }
.p-fix__chip b { grid-area: 1 / 1; justify-self: start; padding: 5px 11px; border: 1px solid var(--line, rgb(0 0 0 / 0.1)); border-radius: 999px; background: var(--bg-1, #fff);
  font: 600 12.5px/1.3 var(--sans, inherit); white-space: nowrap; }
.p-fix__say-bad { color: var(--bad, #c62828); }
.p-fix__say-ok { color: var(--ok, #1e7a46); }
/* fixed is the state at rest (and the only one with reduced motion); the loop shows the file as sent first */
.p-fix__bad, .p-fix__say-bad { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .p-fix__bad, .p-fix__say-bad { animation: p-fix-bad 8s ease-in-out infinite; }
  .p-fix__ok, .p-fix__say-ok { animation: p-fix-ok 8s ease-in-out infinite; }
  .p-fix__close { animation: p-fix-close 8s ease-in-out infinite; }
}
@keyframes p-fix-bad { 0%, 40% { opacity: 1; } 50%, 93% { opacity: 0; } 100% { opacity: 1; } }
@keyframes p-fix-ok { 0%, 44% { opacity: 0; } 54%, 91% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes p-fix-close { 0%, 42% { stroke-dashoffset: 24; } 50%, 93% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 24; } }
.p-fix:hover { box-shadow: 0 0 0 1px var(--fg-2, rgb(0 0 0 / 0.3)), 0 30px 60px -36px rgb(0 0 0 / 0.45); }
.p-fix:focus-visible { outline: 2px solid var(--c-cut, #0a66ec); outline-offset: 3px; }
.icon-strip { margin-top: 36px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--c-line, rgb(0 0 0 / 0.08)); border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.08)); }
.icon-strip > span { background: var(--bg-1, #fff); display: grid; place-items: center; padding: 14px 4px; }
.icon-strip img { width: 40px; height: 40px; display: block; }
.prod-band .svc { background: var(--bg-1, #fff); }

/* ── narrow screens ── */
@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: 1fr; max-width: 560px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-hero { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .blk { padding: 64px 16px; }
  .prod-band .blk { padding-block: 64px; }
  .blk__head { grid-template-columns: 1fr; }
  .crumbs { padding: 88px 16px 0; }
  .p-hero { padding: 20px 16px 48px; gap: 32px; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .figs { grid-template-columns: 1fr; }
  .nav-center .nav-menu .dl-menu__list { min-width: 0; }
  .svc-grid--2, .steps4--3 { grid-template-columns: 1fr; }
  .icon-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr; }
}

/* ── the Products menu inside the nav's centre: the nav's own link rules (grey, padded, underlined when current)
      must not reach its rows; brand.css loads after this file, so these name more ── */
html[data-brand="next"] .nav-center .nav-menu a.dl-menu__item.nav-prod { padding: 10px 12px; color: var(--fg-0); font: 400 14px/1.35 var(--font); display: grid; }
html[data-brand="next"] .nav-center .nav-menu a.dl-menu__item.nav-prod::after { content: none; }
html[data-brand="next"] .nav-center .dl-menu__item.nav-prod > .nav-prod__mark { grid-column: 1; grid-row: 1 / span 2; }
html[data-brand="next"] .nav-center .dl-menu__item.nav-prod > b { grid-column: 2; color: var(--fg-0); font-weight: 600; }
html[data-brand="next"] .nav-center .dl-menu__item.nav-prod > span:not(.nav-prod__mark) { grid-column: 2; color: var(--fg-1); font-size: 13px; }
html[data-brand="next"] .nav-center .dl-menu__item.nav-prod > .nav-prod__mark--seal { display: grid; place-items: center; color: #f2f2f0; font-size: 0; }
/* the Recon page's hero picture: a real result screen */
.hero-video > img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 0 0 1px var(--c-line, rgb(0 0 0 / 0.1)), var(--shadow, 0 20px 40px -20px rgb(0 0 0 / 0.3)); }

/* ── the proof strip under the home page's first screen: measured numbers, each tied to its method and its limits ── */
.proof { max-width: 1440px; margin: 0 auto; padding: 40px 48px 8px; }
.proof__over { margin: 0; font: 500 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-fg3, #8d9097); }
.proof__items { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); border-bottom: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
.proof__items li { display: grid; gap: 10px; align-content: start; padding: 22px 24px 22px 0; min-width: 0; }
.proof__items li + li { padding-left: 24px; border-left: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
.proof__items b { font: 400 clamp(28px, 2.6vw, 36px)/1 var(--mono, ui-monospace, monospace); letter-spacing: -0.03em; color: var(--fg-0, #0b0c0e); white-space: nowrap; }
.proof__items span { font-size: 13.5px; line-height: 1.5; color: var(--c-fg2, #50545b); max-width: 34ch; }
.proof__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 0; }

/* ── the twelve services as two short lists of names (the detail is on their pages) ── */
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 64px; }
.svc-col h3 { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--fg-0, #0b0c0e); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; }
.svc-col h3 a { color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px; }
.svc-col h3 .arrow { font: 400 15px/1 var(--mono, ui-monospace, monospace); color: var(--c-fg3, #8d9097); transition: transform var(--dur-2, 200ms) var(--m-out, ease), color var(--dur-1, 120ms); }
.svc-col h3 a:hover .arrow { transform: translateX(3px); color: var(--fg-0, #0b0c0e); }
.svc-col ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.svc-col li { padding: 12px 0; border-bottom: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); font-size: 15px; color: var(--fg-1, #40444b); }

/* ── what happens when you write, and who answers: beside every closing call to action ── */
.nx { max-width: 760px; margin: 44px auto 0; text-align: left; }
.nx .nx__title { max-width: none; margin: 0 0 14px; text-align: center; font: 500 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-fg3, #8d9097); }
.nx__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
.nx__steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 16px 18px 0 0; font-size: 14px; line-height: 1.5; color: var(--c-fg2, #50545b); }
.nx__steps li + li { padding-left: 18px; border-left: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
.nx__steps i { font: 500 12px/1.6 var(--mono, ui-monospace, monospace); font-style: normal; color: var(--accent, #1769e0); }

@media (max-width: 900px) {
  .proof { padding: 28px 16px 0; }
  .proof__items { grid-template-columns: minmax(0, 1fr); }
  .proof__items li, .proof__items li + li { padding: 16px 0; border-left: 0; }
  .proof__items li + li { border-top: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
  .proof__items li { grid-template-columns: 122px minmax(0, 1fr); align-items: baseline; gap: 14px; }   /* wide enough for 180/180 */
  .proof__items b { font-size: 26px; }
  .svc-cols { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .nx__steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .nx__steps li, .nx__steps li + li { padding: 12px 0; border-left: 0; border-top: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
}
@media (max-width: 520px) {
  .svc-col ul { grid-template-columns: minmax(0, 1fr); }
}

/* ── one left edge: every block on the page starts where the inner pages' blocks do (a 1280 px column, 44 px
   gutters, so x = 124 on a 1440 screen). The home hero, its proof strip and "what we do" used 1440, 1440 and
   1100, and the footer 1100, so their first words sat at 48, 48, 214 and 170. ── */
@media (min-width: 901px) {
  .hh2, .proof { max-width: 1280px; padding-left: 44px; padding-right: 44px; }
  .section#work { max-width: 1280px; }
}
.footer-inner, .footer-bottom { max-width: 1192px; }
@media (max-width: 860px) {
  .section#work { padding-left: 16px; padding-right: 16px; }
  footer.site-footer { padding-left: 16px; padding-right: 16px; }
}
/* a phone: each product card shows the first row of its tools; all nine are on the product's own page */
@media (max-width: 600px) {
  .prod__icons > span:nth-child(n+4) { display: none; }
}
@media (max-width: 520px) {
  .cta2 .p-actions > .btn-hero { flex: 1 1 100%; justify-content: center; }   /* a phone: the two actions share the width */
}

/* the contact page: the steps, at the top of the left column beside the form */
.nx.nx--rail { max-width: none; margin: 0 0 44px; }
.nx.nx--rail .nx__title { text-align: left; }
.nx.nx--rail .nx__steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
.nx.nx--rail .nx__steps li, .nx.nx--rail .nx__steps li + li { padding: 12px 0; border-left: 0; border-top: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }

/* ── a product page: the spec strip under the hero (the datasheet line engineers look for first) ── */
.pspec { max-width: 1280px; margin: 0 auto; padding: 0 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pspec > div { padding: 18px 20px 18px 0; border-top: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); border-bottom: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); min-width: 0; }
.pspec > div + div { padding-left: 20px; border-left: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
.pspec dt { font: 500 10.5px/1 var(--mono, ui-monospace, monospace); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-fg3, #8d9097); }
.pspec dd { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--fg-0, #0b0c0e); }

/* ── a product page: the bar of its sections, held under the nav while the page scrolls ── */
.pnav { position: sticky; top: 64px; z-index: 40; margin-top: 28px; background: color-mix(in oklch, var(--bg, #fcfcfb) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
.pnav__in { max-width: 1280px; margin: 0 auto; padding: 0 44px; display: flex; align-items: center; gap: 24px; min-height: 48px; }
.pnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.pnav ul::-webkit-scrollbar { display: none; }
.pnav ul a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 48px; white-space: nowrap; text-decoration: none; font: 500 12.5px/1 var(--font, inherit); color: var(--c-fg3, #8d9097); transition: color var(--dur-1, 120ms); }
.pnav ul a:hover, .pnav ul a[aria-current="true"] { color: var(--c-fg, #0b0c0e); }
.pnav ul a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent, #1769e0); }
.pnav__cta { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--r-2, 6px); background: var(--ink, #0b0c0e); color: var(--ink-fg, #fff);
  font: 500 12.5px/1 var(--font, inherit); text-decoration: none; transition: background var(--dur-1, 120ms), scale var(--dur-2, 200ms); }
.pnav__cta:hover { background: var(--ink-hover, #26282c); }
.pnav__cta:active { scale: 0.98; }
.pnav__cta .arrow { font: 400 12px/1 var(--mono, ui-monospace, monospace); }
html:has(.pnav) { scroll-padding-top: 128px; }
@media (max-width: 900px) {
  .pspec { padding: 0 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pspec > div, .pspec > div + div { padding: 14px 12px 14px 0; border-left: 0; border-bottom: 0; }
  .pspec > div:nth-child(2n) { padding-left: 12px; border-left: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
  .pspec > div:last-child { border-bottom: 1px solid var(--c-line, rgb(0 0 0 / 0.08)); }
  .pnav__in { padding: 0 0 0 16px; }
  .pnav__cta { display: none; }
  /* the words run to the screen's edge and fade there, so a cut word reads as "more this way"; the end of the
     list scrolls clear of the fade */
  .pnav ul { padding-right: 40px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
}
/* a product hero's eyebrow on a phone: "Recon · Versión 0.1 · piloto abierto", the maker left to the page */
@media (max-width: 600px) { .hero-eyebrow .eb-by { display: none; } }

/* ── one left edge on Recon's and Datum's pages too (recon.css): their sections sat at 170, 214, 124 and 354 px
   (1100 px columns, some centred inside 1280, a centred 820 px FAQ); now every block starts at the site's edge,
   x = 124 on a 1440 screen, and reading text keeps its measure. ── */
@media (min-width: 901px) {
  html[data-brand="next"] :is(.tools, .files, .who, .pricing, .access-inner, .numbers, .numbers-note, .pains:not(.pains--inline)) { max-width: 1280px; }
  html[data-brand="next"] .checks-inner :is(.checks-head, .steps, .verdicts, .samples-row, .samples-note, .hero-video) { max-width: none; }
  html[data-brand="next"] .r-faq { max-width: 1280px; }
  html[data-brand="next"] .r-faq > * { max-width: 820px; }
}
@media (min-width: 901px) {
  html[data-brand="next"] :is(.usp, .datum-ops, .section.say) { max-width: 1280px; }   /* Datum's own sections */
}

/* a single tool on its own row (the free tools page): as wide as one card of three, not the whole row */
.svc-grid.svc-grid--one { grid-template-columns: 1fr; }
@media (min-width: 900px) { .svc-grid.svc-grid--one { max-width: 420px; } }
