/* Folio homepage. Tokens: folio-core/assets/css/tokens.css. System: docs/DESIGN-SYSTEM.md.
   Mobile first. Breakpoints 600 / 834 / 1024 / 1240. Animated properties: transform, opacity, clip-path
   (+ the sanctioned stroke-dashoffset, demo ink colour, one accordion grid row).
   Grounds, top to bottom: white, white, white, band, white, band, dark, white, band, white. */

/* 0. Frame and primitives ------------------------------------------------ */
.h-home { display: block; overflow-x: clip; background: var(--f-bg); color: var(--f-text); font-family: var(--f-font-ui); font-weight: 400; font-size: 16px; line-height: 1.55; }
.h-home *, .h-home *::before, .h-home *::after { box-sizing: border-box; }
.h-home :where(h1, h2, h3, p, ul, ol, dl, dd, dt, figure, fieldset, legend) { margin: 0; padding: 0; }
.h-home :where(ul, ol) { list-style: none; }
.h-home :where(fieldset) { border: 0; min-width: 0; }
.h-home :where(button, input, select) { font: inherit; color: inherit; }
.h-home :where(i) { font-style: normal; }
.h-home :where(svg) { display: block; flex: none; }
.h-home :focus-visible { outline: 2px solid var(--f-accent); outline-offset: 2px; border-radius: var(--f-radius-1); }
.h-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.h-wrap { position: relative; width: 100%; max-width: var(--f-max); margin-inline: auto; padding-inline: var(--f-s-4); }
.h-section { padding-block: var(--f-section-y); }
.h-demo, .h-spec, .h-faq { background: var(--f-band); }

.h-h2 { font-family: var(--f-font-display); font-weight: 700; font-size: clamp(31px, 1.45rem + 2.1vw, 50px); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; color: var(--f-text); }
.h-lead { font-weight: 400; font-size: var(--f-step-1); line-height: 1.5; color: var(--f-text-2); max-width: 52ch; text-wrap: pretty; }
.h-mask { display: block; }
.h-mask > span { display: block; }
.h-mask__line { display: block; overflow: clip; padding-bottom: .14em; margin-bottom: -.14em; }
.h-mask__line > span { display: block; }

.h-arrowlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--f-accent); text-decoration: none; }
.h-arrowlink .h-ico { color: currentColor; transition: transform var(--f-dur-micro) var(--f-ease-out); }
.h-arrowlink > span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--f-dur-ui) var(--f-ease-out); padding-bottom: 2px; }
.h-arrowlink:focus-visible > span { background-size: 100% 1px; }
.h-arrowlink--inverse { color: var(--f-blue-on-ink); }
@media (hover: hover) {
  .h-arrowlink:hover { color: var(--f-accent-ink); text-decoration: none; }
  .h-arrowlink--inverse:hover { color: #fff; }
  .h-arrowlink:hover > span { background-size: 100% 1px; }
  .h-arrowlink:hover .h-ico { transform: translateX(3px); }
}

/* Blueprint field: a defined, lightly tinted panel of graph paper that product visuals sit on. */
.h-field {
  --g: var(--f-grid-size); --gm: var(--f-grid-major-size);
  position: absolute; inset: 0; pointer-events: none;
  background-color: var(--f-field); border-radius: var(--f-radius-3);
  background-image:
    linear-gradient(var(--f-grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--f-grid-major) 1px, transparent 1px),
    linear-gradient(var(--f-grid) 1px, transparent 1px), linear-gradient(90deg, var(--f-grid) 1px, transparent 1px);
  background-size: var(--gm) var(--gm), var(--gm) var(--gm), var(--g) var(--g), var(--g) var(--g);
  background-position: -1px -1px;
}
/* On the dark band the grid is full-bleed, so it dissolves at the top and bottom instead of ending in a panel. */
.h-field--dark { --fade: 96px; background-color: transparent; border-radius: 0; background-image: linear-gradient(rgba(255, 255, 255, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .075) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); }

.h-cross { position: absolute; width: 20px; height: 20px; pointer-events: none; background: linear-gradient(var(--f-cross), var(--f-cross)) center / 1px 100% no-repeat, linear-gradient(var(--f-cross), var(--f-cross)) center / 100% 1px no-repeat; }
.h-cross--tl { top: -18px; left: -18px; } .h-cross--tr { top: -18px; right: -18px; }
.h-cross--br { bottom: -18px; right: -18px; } .h-cross--bl { bottom: -18px; left: -18px; }

/* Drawing stamp: mono because it is a document mark. A short tick leads it in. */
.h-stamp { display: inline-flex; flex-direction: column; position: relative; padding-top: 9px; font: 400 11px/1.5 var(--f-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--f-text-3); white-space: nowrap; }
.h-stamp::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 2px; background: var(--f-accent); transform-origin: left; }
.h-rev { display: inline-block; font-weight: 400; min-width: 1ch; }

.h-chip { display: inline-block; font: 600 11px/1.2 var(--f-font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--f-accent); border: 1px solid var(--f-accent); border-radius: 4px; padding: 3px 7px; white-space: nowrap; }

.h-status { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding-inline: 9px; border-radius: 11px; font: 600 12px/1 var(--f-font-ui); letter-spacing: 0; text-transform: none; white-space: nowrap; color: var(--f-ink-2); background: var(--f-neutral-wash); }
.h-status::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 1px; background: currentColor; }
.h-status i { font: 500 11px/1 var(--f-font-mono); }
.h-status--ok { color: var(--f-ok-ink); background: var(--f-ok-wash); }
.h-status--blue { color: var(--f-blue-ink); background: var(--f-blue-wash); }
.h-status--neutral::before { background: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.h-status--warn { color: var(--f-warn-ink); background: var(--f-warn-wash); }
.h-status--warn::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); box-shadow: inset 0 0 0 1px currentColor; }

/* Perforated paper. The mask clips box-shadow, so shadows live on .h-sheet::before or a .h-shadow sibling. */
.h-paper {
  --r: var(--f-perf-r); --p: var(--f-perf-pitch);
  position: relative; background: var(--f-surface);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 0 / var(--p) 51% round no-repeat, radial-gradient(circle at 50% 100%, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 100% / var(--p) 51% round no-repeat;
  mask: radial-gradient(circle at 50% 0, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 0 / var(--p) 51% round no-repeat, radial-gradient(circle at 50% 100%, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 100% / var(--p) 51% round no-repeat;
}
.h-paper--slip {
  -webkit-mask: radial-gradient(circle at 50% 0, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 0 / var(--p) 100% round no-repeat;
  mask: radial-gradient(circle at 50% 0, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 0 / var(--p) 100% round no-repeat;
}
.h-paper--tail {
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 100% / var(--p) 100% round no-repeat;
  mask: radial-gradient(circle at 50% 100%, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 100% / var(--p) 100% round no-repeat;
}
.h-sheet { position: relative; z-index: 0; }
.h-sheet::before { content: ""; position: absolute; inset: 8px 1px 6px; z-index: -1; box-shadow: var(--f-shadow-paper); }
.h-shadow { position: absolute; inset: 10px 6px 0; background: var(--f-dark); opacity: .16; filter: blur(16px); transform: translate3d(0, 14px, 0); pointer-events: none; }

.h-rule { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--f-line); transform-origin: left; }
.h-ico { overflow: visible; }

/* Split layout: sticky heading / content (automation, FAQ) */
.h-split { display: grid; gap: var(--f-s-7); }
.h-split__head > * + * { margin-top: var(--f-s-5); }

@media (min-width: 600px) {
  .h-wrap { padding-inline: var(--f-s-5); }
}
@media (min-width: 1024px) {
  .h-split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--f-s-5); align-items: start; }
  .h-split__head { grid-column: 1 / span 4; position: sticky; top: 120px; }
  .h-split > :last-child { grid-column: 6 / -1; }
  .h-split__head .h-h2 { font-size: clamp(34px, 3.3vw, 46px); }
}

/* 1. Reveal states (only under html.motion-ok; complete without JS / with reduced motion) -------------- */
html.motion-ok [data-reveal="fade"] { opacity: 0; transition: opacity 300ms linear var(--d, 0ms); }
html.motion-ok [data-reveal="rise"] { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--f-ease-out) var(--d, 0ms), transform 600ms var(--f-ease-out) var(--d, 0ms); }
html.motion-ok [data-reveal="rule"] { transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--f-ease-out) var(--d, 0ms); }
html.motion-ok [data-reveal="drop"] { opacity: 0; transform: translateY(-16px) rotate(-1.5deg); transition: opacity 320ms linear var(--d, 0ms), transform 520ms var(--f-ease-paper) var(--d, 0ms); }
html.motion-ok [data-reveal="feed"] > * { clip-path: inset(0 -40px 100% -40px); transform: translateY(-14px); transition: clip-path 600ms var(--f-ease-out) var(--d, 0ms), transform 600ms var(--f-ease-out) var(--d, 0ms); }
html.motion-ok [data-reveal="feed"].h-sheet::before { opacity: 0; transition: opacity 300ms linear calc(var(--d, 0ms) + 300ms); }
html.motion-ok [data-reveal="feed"].h-sheet.is-revealed::before { opacity: 1; }
html.motion-ok [data-reveal="print"] > * { clip-path: inset(0 100% 0 0); transition: clip-path 240ms var(--f-ease-print) var(--d, 0ms); }
html.motion-ok [data-reveal="stamp"] { opacity: 0; transform: scale(1.14); transition: opacity 180ms linear var(--d, 0ms), transform 180ms var(--f-ease-paper) var(--d, 0ms); }
html.motion-ok [data-reveal="mask"] { opacity: 0; }
html.motion-ok [data-reveal="draw"] path:first-child { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 420ms var(--f-ease-out) var(--d, 0ms); }
html.motion-ok [data-reveal="draw"] .h-arrowhead { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity 120ms linear calc(var(--d, 0ms) + 320ms), transform 120ms var(--f-ease-paper) calc(var(--d, 0ms) + 320ms); }
html.motion-ok [data-reveal="row"] > .h-rule { transform: scaleX(0); transition: transform 500ms var(--f-ease-out) var(--d, 0ms); }
html.motion-ok [data-reveal="row"] > :not(.h-rule) { opacity: 0; transform: translateY(12px); transition: opacity 480ms var(--f-ease-out) calc(var(--d, 0ms) + 80ms), transform 480ms var(--f-ease-out) calc(var(--d, 0ms) + 80ms); }
html.motion-ok [data-reveal="row"] > .h-specimen { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 240ms var(--f-ease-print) calc(var(--d, 0ms) + 220ms), opacity 1ms linear calc(var(--d, 0ms) + 220ms); }
html.motion-ok [data-reveal="frame"] { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--f-ease-out), transform 500ms var(--f-ease-out); }

html.motion-ok [data-reveal].is-revealed { opacity: 1; transform: none; }
html.motion-ok [data-reveal="feed"].is-revealed > *, html.motion-ok [data-reveal="print"].is-revealed > * { clip-path: inset(0 -40px -60px -40px); transform: none; }
html.motion-ok [data-reveal="draw"].is-revealed path:first-child { stroke-dashoffset: 0; }
html.motion-ok [data-reveal="draw"].is-revealed .h-arrowhead { opacity: 1; transform: none; }
html.motion-ok [data-reveal="row"].is-revealed > * { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
html.motion-ok [data-reveal="row"].is-done > *, html.motion-ok [data-reveal="feed"].is-done > *, html.motion-ok [data-reveal="print"].is-done > *, html.motion-ok [data-reveal].is-done { transition: none; clip-path: none; }
html.motion-ok [data-reveal="rise"].is-done, html.motion-ok [data-reveal="frame"].is-done, html.motion-ok [data-reveal="drop"].is-done { transform: none; }

/* 2. Hero ------------------------------------------------------------------ */
.h-hero { padding-block: var(--f-s-6) var(--f-s-7); }
.h-hero__grid { display: grid; gap: var(--f-s-7); }
.h-hero__title { font-family: var(--f-font-display); font-weight: 760; font-size: clamp(46px, 13.4vw, 60px); line-height: .98; letter-spacing: -.04em; color: var(--f-text); }
.h-line { display: block; overflow: visible clip; padding-bottom: .14em; margin-bottom: -.14em; white-space: nowrap; }
.h-line__in { display: block; }
.h-hero__sub { margin-top: var(--f-s-5); font-size: 18px; line-height: 1.5; color: var(--f-text-2); max-width: 30em; text-wrap: pretty; }

/* The primary action: choose a platform, start the trial for it. */
.h-start { margin-top: var(--f-s-6); max-width: 460px; }
.h-start__legend { float: left; width: 100%; margin-bottom: 10px; font: var(--f-label); color: var(--f-text); }
.h-start__opts { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.h-start__opt { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.h-start__opt input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.h-start__face { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 12px; border-radius: var(--f-radius-btn); background: var(--f-surface); box-shadow: inset 0 0 0 1px var(--f-line-strong); color: var(--f-text-3); font-weight: 600; font-size: 15px; line-height: 1; transition: box-shadow var(--f-dur-micro) linear, color var(--f-dur-micro) linear, background-color var(--f-dur-micro) linear, transform var(--f-dur-micro) var(--f-ease-out); }
.h-start__face .h-mark { height: 20px; }
.h-start__face .h-mark--woocommerce { height: 15px; }
.h-start__face .h-mark--wix { height: 16px; }
.h-start__opt input:checked + .h-start__face { box-shadow: inset 0 0 0 2px var(--f-accent); background: var(--f-accent-wash); color: var(--f-text); }
.h-start__opt input:focus-visible + .h-start__face { outline: 2px solid var(--f-accent); outline-offset: 2px; }
.h-start__opt:active .h-start__face { transform: scale(.98); }
@media (hover: hover) { .h-start__opt:hover input:not(:checked) + .h-start__face { box-shadow: inset 0 0 0 1px var(--f-text-3); color: var(--f-text); } }
.h-start__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: var(--f-s-4); }
.h-start__go .btn { flex: 1 1 auto; }
.h-hero__trial { font-size: 14px; line-height: 1.4; color: var(--f-text-3); }

/* The figure is drawn in em: 1em = 1/62 of its width, so one drawing scales from tablet to desktop. */
.h-fig { container-type: inline-size; min-width: 0; }
.h-fig__stage { position: relative; display: flex; flex-direction: column; align-items: flex-start; font-size: min(11.6px, calc(100cqw / 31.6)); padding: 2.4em 0 2em; }
.h-fig__field { position: absolute; inset: 0 -8px; }
.h-fig__field .h-field { --g: 2.4em; --gm: 12em; border-radius: 12px; }
.h-fig__field .h-cross--tr, .h-fig__field .h-cross--bl { display: none; }
.h-fig__field .h-cross--tl { top: -10px; left: 0; } .h-fig__field .h-cross--br { bottom: -10px; right: 0; }
.h-fig__label { position: relative; display: flex; align-items: center; gap: 1em; margin: 0 0 1.6em 1.2em; font: 500 1em/1 var(--f-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--f-text-2); }
.h-fig__label svg { color: var(--f-blue); width: 2.6em; height: 1em; }
.h-fig__order { position: relative; width: 22em; margin-left: 1.2em; }
.h-order { --f-ink-2: #4A5265; }
.h-fig__arrow { stroke: var(--f-blue); stroke-width: 2; stroke-linecap: square; stroke-linejoin: round; overflow: visible; }
.h-fig__arrow--h { display: none; }
.h-fig__arrow--v { position: relative; width: 8em; height: 5.6em; margin: .4em 0 .4em 2.6em; }
.h-fig__invoice { position: relative; margin-left: 1.2em; }
.h-fig__stamp { position: relative; margin: 2.4em 0 0 1.2em; }
.h-fig__hint { display: none; }

/* ORDER card (a button: sends another sample order) */
.h-order { display: block; width: 100%; padding: 1.6em 1.5em 1.5em; border: 0; text-align: left; cursor: pointer; font-size: 1em; color: var(--f-ink); -webkit-tap-highlight-color: transparent; }
.h-order:focus-visible { outline-offset: 4px; }
.h-order__in { display: block; position: relative; }
.h-order__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.1em; border-bottom: 1px solid var(--f-rule); }
.h-order__head b { font: 700 1.25em/1 var(--f-font-ui); letter-spacing: -.01em; }
.h-order .h-chip, .inv .h-chip { font-size: .95em; padding: .25em .6em; }
.h-order__items { display: block; padding-block: 1.2em; border-bottom: 1px solid var(--f-rule); }
.h-order__item { display: grid; grid-template-columns: 6.4em minmax(0, 1fr); gap: 1.1em; align-items: center; }
.h-order__item + .h-order__item { margin-top: .8em; }
.h-order__thumb { display: block; width: 6.4em; height: 6.4em; overflow: hidden; border-radius: .5em; }
.h-order__thumb svg { width: 100%; height: 100%; }
.h-order__desc { display: grid; gap: .35em; }
.h-order__desc b { font: 700 1.2em/1.1 var(--f-font-ui); letter-spacing: -.01em; margin-bottom: .2em; }
.h-order__kv { display: flex; gap: 1em; font: 400 .9em/1.2 var(--f-font-mono); }
.h-order__kv i { color: var(--f-ink-2); min-width: 2.4em; }
.h-order__price { margin-left: auto; font-weight: 500; }
.h-order__items.is-multi .h-order__item { grid-template-columns: 4em minmax(0, 1fr); }
.h-order__items.is-multi .h-order__thumb { width: 4em; height: 4em; }
.h-order__items.is-multi .h-order__kv:first-of-type { display: none; }
.h-order__rows { display: grid; padding-top: .5em; }
.h-order__rows > span { display: grid; grid-template-columns: 7.2em 1fr; padding: .62em 0; font: 400 .9em/1.2 var(--f-font-mono); border-bottom: 1px solid var(--f-rule); }
.h-order__rows i { color: var(--f-ink-2); }
.h-order__rows > span:last-child { border-bottom: 0; padding-bottom: .2em; }
.h-order__flash { position: absolute; left: -.6em; right: -.6em; top: 3.2em; height: 9.2em; background: var(--f-blue-wash); mix-blend-mode: multiply; opacity: 0; pointer-events: none; }

/* 3. The invoice sheet (shared: hero, demo) -------------------------------- */
.inv {
  --inv-primary: var(--f-accent);
  --inv-heading: var(--f-font-doc); --inv-body: var(--f-font-doc);
  /* Documents are printed in neutral ink on white, whatever the site around them does. */
  --f-ink: var(--f-doc-ink); --f-ink-2: #3B3B42; --f-ink-3: #6E6C66; --f-rule: rgba(22, 22, 26, .14); --f-rule-strong: rgba(22, 22, 26, .32);
  display: flex; flex-direction: column; width: 30.4em; min-height: 40em; padding: 2.6em 2.4em 2.2em;
  font-family: var(--inv-body); font-weight: 500; line-height: 1.32; color: var(--f-ink); font-variant-numeric: tabular-nums; text-align: left;
}
.inv b { font-weight: 700; }
.inv__band { display: none; }
.inv__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; }
.inv__logo { display: flex; align-items: baseline; min-height: 1em; font: 800 2.7em/1 var(--inv-heading); letter-spacing: -.04em; max-width: 8em; overflow: hidden; white-space: nowrap; outline: 1px solid transparent; outline-offset: .12em; }
.inv__logo.is-editing { outline-color: var(--f-blue); }
.inv__dot { flex: none; width: .26em; height: .26em; margin-left: .05em; border-radius: 50%; background: var(--inv-primary); }
.inv__title { display: flex; flex-direction: column; align-items: flex-end; gap: .55em; padding-top: .2em; }
.inv__word { font: 600 1em/1 var(--f-font-mono); letter-spacing: .2em; text-transform: uppercase; margin-right: -.2em; }
.inv .h-chip { color: var(--inv-primary); border-color: var(--inv-primary); }
.inv__parties { display: flex; justify-content: space-between; gap: 1em; margin-top: 1.5em; padding-bottom: 1.3em; border-bottom: 1px solid var(--f-rule); }
.inv__from, .inv__addr { display: grid; font: 400 .9em/1.38 var(--f-font-mono); }
.inv__from b, .inv__addr b { font: 700 1.06em/1.38 var(--inv-heading); }
.inv__meta { display: grid; align-content: end; font: 400 .9em/1.38 var(--f-font-mono); }
.inv__meta > span { display: flex; justify-content: space-between; gap: .8em; }
.inv__meta > span > * { white-space: nowrap; }
.inv__meta { flex: none; min-width: 15.5em; }
.inv__from { min-width: 0; }
.inv__meta b { font-weight: 400; text-align: right; }
.inv__to { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; padding-block: 1.2em 1.3em; }
.inv__thead, .inv__row { display: grid; grid-template-columns: minmax(0, 1fr) 3em 5.6em 5.6em; align-items: baseline; }
.inv__thead > :nth-child(n + 2), .inv__row > :nth-child(n + 2) { text-align: right; }
.inv__thead { position: relative; padding: .7em 0 .6em; border-top: 1px solid var(--f-rule); font: 600 .8em/1 var(--f-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.inv__thead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--f-ink); transform-origin: left; }
.inv__row { padding: .75em 0 .6em; border-bottom: 1px solid var(--f-rule); position: relative; }
.inv__item { font-family: var(--inv-heading); font-weight: 700; }
.inv__item small { display: block; margin-top: .15em; font: 400 .82em/1.2 var(--f-font-mono); color: var(--f-ink-2); }
.inv__sums { display: grid; gap: .32em; margin-top: .9em; padding-left: 46%; font-size: .95em; }
.inv__sums > div { display: flex; justify-content: space-between; }
.inv__total { position: relative; display: flex; justify-content: space-between; align-items: baseline; margin-top: .8em; padding: .5em .9em; font: 700 1.3em/1.2 var(--inv-heading); }
.inv__total-bg { position: absolute; inset: 0; background: var(--f-blue-wash); background: color-mix(in srgb, var(--inv-primary) 15%, var(--f-paper)); transform-origin: left; }
.inv__total-label, .inv__total-fig { position: relative; }
.inv__total-fig { min-width: 4.2em; text-align: right; }
.inv__extra { display: grid; margin-top: 1.2em; font: 400 .9em/1.38 var(--f-font-mono); }
.inv__extra > b { font: 700 1.06em/1.38 var(--inv-heading); }
.inv__taxrow { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: .25em 0; border-bottom: 1px solid var(--f-rule); }
.inv__taxrow > :nth-child(n + 2) { text-align: right; }
.inv__taxrow--head { font-size: .88em; letter-spacing: .1em; text-transform: uppercase; color: var(--f-ink-2); }
.inv__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em; margin-top: auto; padding-top: 1.8em; font-size: .9em; }
.inv__barcode { display: block; }
.h-barcode { width: 6.6em; height: 1.7em; }
.inv__ink { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--inv-primary); opacity: 0; pointer-events: none; }
.inv__sheen { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: soft-light; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%, transparent 70%); transform: translateX(calc(var(--nx, 0) * 60%)); transition: opacity var(--f-dur-ui) linear; }
.inv [hidden] { display: none !important; }

/* Layout: Modern */
.inv[data-layout="modern"] .inv__band { display: block; position: absolute; top: .9em; left: 0; right: 0; height: .4em; background: var(--inv-primary); }
.inv[data-layout="modern"] { padding-top: 3.4em; }
.inv[data-layout="modern"] .inv__head { flex-direction: row-reverse; align-items: flex-end; }
.inv[data-layout="modern"] .inv__title { align-items: flex-start; gap: .7em; padding-top: 0; }
.inv[data-layout="modern"] .inv__word { font: 800 2.8em/.9 var(--inv-heading); letter-spacing: -.035em; text-transform: none; margin: 0; }
.inv[data-layout="modern"] .inv__logo { font-size: 1.7em; }
.inv[data-layout="modern"] .inv__parties { flex-direction: column-reverse; gap: 1.1em; border-bottom: 0; padding-bottom: .4em; }
.inv[data-layout="modern"] .inv__meta { grid-template-columns: repeat(3, 1fr); gap: .8em; padding: .8em 0; border-block: 1px solid var(--f-rule); }
.inv[data-layout="modern"] .inv__meta > span { display: grid; grid-template-columns: 1fr; justify-content: start; gap: 0; }
.inv[data-layout="modern"] .inv__meta i { font-size: .88em; letter-spacing: .08em; text-transform: uppercase; color: var(--f-ink-2); }
.inv[data-layout="modern"] .inv__meta b { text-align: left; font-weight: 600; }
.inv[data-layout="modern"] .inv__thead { border-top: 0; padding: .75em .7em .7em; background: var(--f-ink); color: var(--f-ivory); }
.inv[data-layout="modern"] .inv__thead::after { display: none; }
.inv[data-layout="modern"] .inv__row { padding-inline: .7em; }
.inv[data-layout="modern"] .inv__total { justify-content: flex-end; gap: 1.2em; margin-left: 46%; padding: .55em 0 0; border-top: 2px solid var(--inv-primary); font-size: 1.9em; margin-top: .5em; }
.inv[data-layout="modern"] .inv__total-bg { display: none; }
.inv[data-layout="modern"] .inv__total-label { font-size: .5em; font-weight: 600; margin-right: auto; align-self: center; }

/* Layout: Minimal */
.inv[data-layout="minimal"] .inv__head { flex-direction: column; gap: 1.4em; }
.inv[data-layout="minimal"] .inv__logo { font-size: 1.9em; }
.inv[data-layout="minimal"] .inv__title { flex-direction: row; align-items: center; gap: 1em; padding: 0; }
.inv[data-layout="minimal"] .inv__parties { flex-direction: column; gap: 1em; border-bottom: 0; padding-bottom: 0; margin-top: 1.4em; }
.inv[data-layout="minimal"] .inv__meta { align-content: start; }
.inv[data-layout="minimal"] .inv__meta > span { justify-content: start; }
.inv[data-layout="minimal"] .inv__meta i { min-width: 8em; }
.inv[data-layout="minimal"] .inv__meta b { text-align: left; }
.inv[data-layout="minimal"] .inv__to { padding-block: 1em 1.2em; }
.inv[data-layout="minimal"] .inv__thead { border-top: 0; color: var(--f-ink-2); }
.inv[data-layout="minimal"] .inv__thead::after { height: 1px; background: var(--f-rule); }
.inv[data-layout="minimal"] .inv__row, .inv[data-layout="minimal"] .inv__item { font: 400 .95em/1.32 var(--f-font-mono); }
.inv[data-layout="minimal"] .inv__sums { padding-left: 0; font-family: var(--f-font-mono); font-size: .9em; }
.inv[data-layout="minimal"] .inv__total { padding: .7em 0 0; border-top: 1px solid var(--f-rule-strong); font-size: 1.15em; }
.inv[data-layout="minimal"] .inv__total-bg { display: none; }
.inv[data-layout="minimal"] .h-chip { border-color: transparent; padding-inline: 0; }

@container (min-width: 540px) {
  .h-fig__stage { display: block; height: 46.6em; padding: 0; font-size: calc(100cqw / 62); }
  .h-fig__field { inset: 3.4em 0 .4em 0; }
  .h-fig__field .h-cross { display: block; }
  .h-fig__field .h-cross--tl { top: -18px; left: -18px; } .h-fig__field .h-cross--br { bottom: -18px; right: -18px; }
  .h-fig__label { position: absolute; left: 2.2em; top: 6.4em; margin: 0; }
  .h-fig__order { position: absolute; left: 2.2em; top: 11.6em; width: 20.4em; margin: 0; }
  .h-fig__arrow--v { display: none; }
  .h-fig__arrow--h { display: block; position: absolute; left: 1em; top: 2em; width: 60em; height: 43em; pointer-events: none; }
  .h-fig__invoice { position: absolute; left: 28em; top: 1.2em; margin: 0; }
  .h-fig__stamp { position: absolute; left: 2.2em; bottom: 2.6em; margin: 0; }
  .h-fig__hint { display: block; position: absolute; left: 0; top: calc(100% + 1em); font: 600 1.05em/1 var(--f-font-ui); color: var(--f-accent); opacity: 0; transform: translateY(-4px); transition: opacity var(--f-dur-ui) linear, transform var(--f-dur-ui) var(--f-ease-out); pointer-events: none; white-space: nowrap; }
  .h-order:focus-visible + .h-fig__hint { opacity: 1; transform: none; }
}

/* Hero: pointer physics (fine pointers only, after the sequence; variables written by tilt.js) */
.h-fig__lift { transition: transform 320ms var(--f-ease-out); }
.h-order { transition: transform 320ms var(--f-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .h-fig__order:hover .h-fig__hint { opacity: 1; transform: none; }
  .h-fig__order:hover .h-order, .h-order:focus-visible { transform: translateY(-3px); transition-duration: var(--f-dur-ui); }
  .h-order:active { transform: translateY(1px) !important; transition-duration: 100ms; }
  .inv__row::before { content: ""; position: absolute; inset: 0 -.6em; background: var(--f-blue-wash); opacity: 0; transition: opacity var(--f-dur-micro) linear; z-index: -1; }
  .h-fig .inv__row:hover::before { opacity: .4; }
}
.h-fig.is-tilting .h-fig__stage { perspective: 1400px; perspective-origin: 50% 40%; }
.h-fig.is-tilting .h-fig__field { transform: translate3d(calc(var(--nx, 0) * -6px), calc(var(--ny, 0) * -4px), 0); }
.h-fig.is-tilting .h-fig__stamp, .h-fig.is-tilting .h-fig__label { transform: translate3d(calc(var(--nx, 0) * 2px), calc(var(--ny, 0) * 2px), 0); }
.h-fig.is-tilting .h-fig__order { transform: translate3d(calc(var(--nx, 0) * 4px), calc(var(--ny, 0) * 3px), 24px) rotateY(calc(var(--nx, 0) * 3deg)) rotateX(calc(var(--ny, 0) * -2deg)); }
.h-fig.is-tilting .h-fig__arrow--h { transform: translate3d(calc(var(--nx, 0) * 5px), calc(var(--ny, 0) * 4px), 0); }
.h-fig.is-tilting .h-fig__invoice { transform: translate3d(calc(var(--nx, 0) * 8px), calc(var(--ny, 0) * 6px), 44px) rotateY(calc(var(--nx, 0) * 6deg)) rotateX(calc(var(--ny, 0) * -4deg)); }
.h-fig.is-tilting .h-fig__invoice > .h-shadow { transform: translate3d(calc(var(--nx, 0) * -10px), calc(14px - var(--ny, 0) * 6px), 0) scale(calc(1 + var(--nm, 0) * .02)); opacity: calc(.16 + var(--nm, 0) * .04); }
.h-fig.is-tilting .h-fig__order > .h-shadow { transform: translate3d(calc(var(--nx, 0) * -5px), calc(14px - var(--ny, 0) * 3px), 0); }
.h-fig.is-tilting .inv .h-chip, .h-fig.is-tilting .inv__total { transform: translate3d(calc(var(--nx, 0) * 1.6px), calc(var(--ny, 0) * 1.2px), 0); }
.h-fig.is-tilting .h-fig__invoice:hover .h-fig__lift { transform: scale(1.012) translateY(-2px); transition-duration: var(--f-dur-ui); }
.h-fig.is-tilting .h-fig__invoice:hover .inv__sheen { opacity: 1; }
.h-fig.is-tilting .h-fig__invoice:hover > .h-shadow { opacity: .2; }

/* Hero: pre-sequence hold. Lifted by hero.js (.is-in), or by the failsafe animation if the module never runs. */
html.motion-ok .h-hero:not(.is-in) .h-fig__stage > *, html.motion-ok .h-hero:not(.is-in) .h-line__in, html.motion-ok .h-hero:not(.is-in) .h-hero__copy > :not(h1) { animation: h-hold 1ms linear 3500ms both; }
@keyframes h-hold { from { visibility: hidden; } to { visibility: visible; } }
html.motion-ok .h-hero:not(.is-in) .h-fig__stage > *, html.motion-ok .h-hero:not(.is-in) .h-line__in, html.motion-ok .h-hero:not(.is-in) .h-hero__copy > :not(h1) { visibility: hidden; }

@media (min-width: 600px) {
  .h-hero__title { font-size: clamp(60px, 9.6vw, 80px); }
  .h-hero__sub { font-size: 20px; }
  .h-start { max-width: 560px; }
  .h-start__opts { grid-template-columns: repeat(4, 1fr); }
  .h-start__go .btn { flex: none; }
  .h-fig { max-width: 680px; margin-inline: auto; width: 100%; }
}
@media (min-width: 1024px) {
  .h-hero { padding-block: var(--f-s-7) var(--f-s-7); }
  .h-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--f-s-5); }
  .h-hero__grid { align-items: center; }
  .h-hero__title { font-size: clamp(54px, 5.7vw, 84px); }
  .h-hero__sub { max-width: 23em; font-size: clamp(18px, 1.45vw, 21px); }
  .h-start { max-width: 440px; }
  .h-start__opts { grid-template-columns: 1fr 1fr; }
  .h-fig { max-width: none; margin-inline: 8px -12px; width: auto; }
}

/* 4. Platform strip ----------------------------------------------------------- */
.h-strip__row { position: relative; }
.h-strip .h-rule--bottom { top: auto; bottom: 0; }
.h-strip__label { padding: 18px 0 14px; font: 600 14px/1.4 var(--f-font-ui); letter-spacing: 0; color: var(--f-text-3); }
.h-strip__list { display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(var(--f-line), var(--f-line)) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--f-line), var(--f-line)) 0 50% / 100% 1px no-repeat; border-top: 1px solid var(--f-line); }
.h-strip__cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 72px; color: var(--f-text); text-decoration: none; overflow: hidden; }
.h-strip__mark { display: flex; align-items: center; gap: 10px; transition: transform var(--f-dur-ui) var(--f-ease-out); }
.h-mark { width: auto; height: 24px; }
.h-mark--woocommerce { height: 18px; }
.h-mark--wix { height: 20px; }
.h-strip__name { font: 700 19px/1 var(--f-font-ui); letter-spacing: -.02em; }
.h-strip__cap { display: none; }
.h-strip__cell::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--f-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--f-dur-ui) var(--f-ease-out); }
.h-strip__cell:focus-visible { outline-offset: -3px; }
.h-strip__note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding-top: 14px; font-size: 14px; color: var(--f-text-2); }
.h-strip__note .h-arrowlink { font-size: 14px; }
@media (min-width: 834px) {
  .h-strip__label { position: static; padding: 14px 0 0; text-align: center; }
  .h-strip__list { grid-template-columns: repeat(4, 1fr); background: none; border-top: 0; }
  .h-strip__list li { position: relative; }
  .h-strip__list li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 32px; margin-top: -16px; background: var(--f-line); }
  .h-strip__cell { height: 84px; }
  .h-mark { height: 26px; }
  .h-mark--woocommerce { height: 21px; }
  .h-mark--wix { height: 22px; }
  .h-strip__name { font-size: 21px; }
  .h-strip__cap { display: block; position: absolute; bottom: 13px; font: 500 12px/1 var(--f-font-ui); color: var(--f-text-3); clip-path: inset(0 100% 0 0); transition: clip-path 180ms var(--f-ease-print); white-space: nowrap; }
  .h-strip__cell:focus-visible .h-strip__mark { transform: translateY(-8px); }
  .h-strip__cell:focus-visible .h-strip__cap { clip-path: inset(0); }
  .h-strip__cell:focus-visible::after { transform: scaleX(1); }
}
@media (min-width: 834px) and (hover: hover) {
  .h-strip__cell:hover .h-strip__mark { transform: translateY(-8px); }
  .h-strip__cell:hover .h-strip__cap { clip-path: inset(0); }
  .h-strip__cell:hover::after { transform: scaleX(1); }
}
@media (min-width: 1024px) {
  .h-strip__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--f-s-5); align-items: center; }
  .h-strip__label { grid-column: span 2; padding: 0; text-align: left; max-width: 9em; }
  .h-strip__list { grid-column: span 10; }
}

/* 5. How it works: three steps, each led by a piece of the product --------------- */
.h-how__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; }
.h-how__steps { display: grid; gap: var(--f-s-8); margin-top: var(--f-s-7); }
.h-step { position: relative; display: grid; gap: var(--f-s-5); align-content: start; }
/* Fragments shrink with their column: nothing in a step may cross into the next one. */
.h-step, .h-step__text { min-width: 0; }
.h-step__fig {
  min-width: 0; overflow: hidden;
  --g: var(--f-grid-size); --gm: var(--f-grid-major-size);
  position: relative; display: grid; place-items: center; min-height: 216px; padding: 28px 20px;
  background-color: var(--f-field); border-radius: var(--f-radius-2);
  background-image:
    linear-gradient(var(--f-grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--f-grid-major) 1px, transparent 1px),
    linear-gradient(var(--f-grid) 1px, transparent 1px), linear-gradient(90deg, var(--f-grid) 1px, transparent 1px);
  background-size: var(--gm) var(--gm), var(--gm) var(--gm), var(--g) var(--g), var(--g) var(--g);
  background-position: -1px -1px;
}
.h-step__label { font: 700 var(--f-step-2) / 1.2 var(--f-font-display); letter-spacing: -.02em; }
.h-step__n { color: var(--f-text-3); font-variant-numeric: tabular-nums; }
.h-step__detail { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--f-text-2); max-width: 44ch; text-wrap: pretty; }
.h-step__arrow { position: absolute; left: 20px; bottom: -39px; width: 38px; height: 14px; stroke: var(--f-accent); stroke-width: 2; stroke-linecap: square; rotate: 90deg; overflow: visible; }
/* Product fragments inside the step figures (sample data, decorative) */
.h-frag { width: 100%; max-width: 288px; min-width: 0; padding: 14px 16px; background: var(--f-surface); border-radius: 10px; box-shadow: var(--f-shadow-card); font-size: 13px; line-height: 1.3; color: var(--f-text); }
.h-frag__row { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--f-line); font-size: 15px; }
.h-frag__row .h-mark { height: 20px; }
.h-frag__row .h-status { margin-left: auto; }
.h-frag__cap { margin-top: 12px; font: var(--f-label); font-size: 12px; color: var(--f-text-3); }
.h-frag__seg { display: flex; margin-top: 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--f-line-strong); overflow: hidden; font-weight: 500; font-size: 12px; white-space: nowrap; }
.h-frag__seg span { flex: 1 1 auto; min-width: 0; padding: 7px 4px; overflow: hidden; text-overflow: clip; text-align: center; color: var(--f-text-2); }
.h-frag__seg span + span { box-shadow: inset 1px 0 0 var(--f-line-strong); }
.h-frag__seg .is-on { background: var(--f-text); color: #fff; }
.h-frag__tpls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.h-frag__tpls li { display: grid; gap: 5px; justify-items: center; font-size: 11px; font-weight: 500; color: var(--f-text-3); }
.h-frag__tpls svg { width: 100%; height: auto; aspect-ratio: 56 / 52; padding: 3px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--f-line-strong); color: var(--f-text-3); }
.h-frag__tpls .is-on { color: var(--f-text); font-weight: 650; }
.h-frag__tpls .is-on svg { box-shadow: inset 0 0 0 2px var(--f-accent); color: var(--f-text); }
.h-frag__swatches { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--f-line); }
.h-frag__swatches i { width: 22px; height: 22px; border-radius: 5px; background: var(--sw); }
.h-frag__swatches .is-on { box-shadow: 0 0 0 2px var(--f-surface), 0 0 0 4px var(--f-text); }
.h-frag__rule { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 8px; padding: 7px 0; }
.h-frag__rule span { font-weight: 600; font-size: 12px; color: var(--f-text-3); }
.h-frag__rule b { font-weight: 600; }
.h-frag__sent { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--f-line); }
.h-frag__id { font: 500 12px/1 var(--f-font-mono); }

@media (min-width: 600px) and (max-width: 1023px) {
  .h-step { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--f-s-6); align-items: center; }
  .h-step__arrow { left: 20%; }
}
@media (min-width: 1024px) {
  .h-how__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; }
  .h-step__arrow { left: auto; right: -47px; top: 101px; bottom: auto; rotate: none; }
}

/* 6. Demo ---------------------------------------------------------------------- */
.h-demo__head { display: grid; gap: var(--f-s-5); margin-bottom: var(--f-s-7); }
.h-demo__try { margin-top: var(--f-s-3); font-size: 15px; font-weight: 600; color: var(--f-text); }
.h-demo__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; margin-top: var(--f-s-4); }
.h-demo__note { font-size: 14px; color: var(--f-text-3); }

.h-app { margin-inline: calc(var(--f-s-4) * -1); border-block: 1px solid var(--f-line); background: var(--f-surface); }
.h-app__rail { display: none; }
.h-app__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--f-s-4); padding: 10px var(--f-s-4); border-bottom: 1px solid var(--f-rule); min-height: 56px; }
.h-app__title { font: 650 16px/1.2 var(--f-font-ui); letter-spacing: -.01em; }
.h-app__sub { display: none; font-size: 13px; color: var(--f-ink-2); }
.h-app__actions { display: flex; gap: 10px; }
.h-app__actions .btn { min-height: 36px; }
.h-app__start { display: none; }
.h-app__body { display: flex; flex-direction: column; }
html:not(.js) .h-insp, html:not(.js) .h-app__actions { display: none; }

.h-canvas { position: sticky; top: var(--f-header-h-compact); z-index: 2; display: grid; place-items: center; padding: 22px 0 20px; background-color: var(--f-field); background-image: linear-gradient(var(--f-grid) 1px, transparent 1px), linear-gradient(90deg, var(--f-grid) 1px, transparent 1px); background-size: var(--f-grid-size) var(--f-grid-size); border-bottom: 1px solid var(--f-line); overflow: clip; }
.h-canvas__page { position: relative; font-size: clamp(8.4px, calc((46svh - 42px) / 43), 11px); perspective: 1200px; }
.h-canvas__tilt { position: relative; }
.h-canvas__sheet { position: relative; transform-origin: 50% 0; }
.h-canvas .inv { min-height: 43em; padding-top: 2.4em; }
.h-canvas .inv[data-paper="letter"] { min-height: 39.3em; }
.h-canvas .h-cross { display: none; }
.h-guide { display: none; }
.h-canvas__stamp { display: none; }
.inv [data-t], .inv [data-amt] { display: inline-block; }
.inv__sums [data-t] { display: inline; }

.h-insp { padding: 0 var(--f-s-4) var(--f-s-5); min-width: 0; }
.h-tabs { position: relative; display: flex; gap: var(--f-s-5); border-bottom: 1px solid var(--f-rule); }
.h-tabs [role="tab"] { min-height: 48px; padding: 0 2px; background: none; border: 0; font-weight: 600; font-size: 15px; color: var(--f-ink-3); cursor: pointer; }
.h-tabs [role="tab"][aria-selected="true"] { color: var(--f-ink); }
.h-tabs__ink { position: absolute; left: 0; bottom: -1px; width: 100px; height: 2px; background: var(--f-blue); transform-origin: left; transform: translateX(var(--tab-x, 0px)) scaleX(var(--tab-w, .5)); transition: transform var(--f-dur-ui) var(--f-ease-out); }
.h-group { padding-block: var(--f-s-4); border-bottom: 1px solid var(--f-rule); }
.h-group:last-child { border-bottom: 0; }
.h-group legend { float: left; width: 100%; margin-bottom: 12px; font: var(--f-label); color: var(--f-text-3); }
.h-group legend + * { clear: both; }
.h-label { display: block; margin: 12px 0 6px; font-weight: 600; font-size: 13px; line-height: 1.2; }
.h-group legend + .h-label, .h-pair .h-label { margin-top: 0; }
.h-input { display: block; width: 100%; height: 40px; padding: 0 12px; background: var(--f-paper); border: 1px solid var(--f-rule-strong); border-radius: var(--f-radius-1); font-weight: 500; font-size: 16px; color: var(--f-ink); transition: border-color var(--f-dur-micro) linear; }
.h-input:hover { border-color: var(--f-ink-3); }
.h-input:focus-visible { border-color: var(--f-blue); }
.h-input--mono { font: 500 14px/1 var(--f-font-mono); letter-spacing: .04em; text-transform: uppercase; }
.h-input[aria-invalid="true"] { border-color: var(--f-err); }
.h-input.is-shaking { animation: h-shake 240ms linear; }
@keyframes h-shake { 0%, 100% { transform: none; } 16%, 50%, 83% { transform: translateX(-3px); } 33%, 66% { transform: translateX(3px); } }
.h-select { appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4.500l4 4 4-4' fill='none' stroke='%2316161A' stroke-width='1.500'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; text-overflow: ellipsis; }
.h-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.h-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.h-swatch { position: relative; display: block; cursor: pointer; }
.h-swatch input, .h-layout input, .h-radio input, .h-seg input, .h-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.h-swatch__box { display: block; width: 36px; height: 36px; background: var(--sw); border-radius: var(--f-radius-1); box-shadow: inset 0 0 0 1px rgba(22, 22, 26, .2); transition: transform var(--f-dur-micro) var(--f-ease-out); }
.h-swatch input:checked + .h-swatch__box { box-shadow: inset 0 0 0 2px var(--f-paper), 0 0 0 2px var(--f-ink); }
.h-swatch input:focus-visible + .h-swatch__box, .h-layout input:focus-visible + .h-layout__thumb, .h-radio input:focus-visible + .h-radio__box, .h-seg input:focus-visible + span, .h-switch input:focus-visible + .h-switch__track { outline: 2px solid var(--f-blue); outline-offset: 3px; }
.h-swatch:active .h-swatch__box { transform: scale(.94); }
.h-hex { display: grid; grid-template-columns: auto 40px 1fr; align-items: center; margin-top: 12px; }
.h-hex__label { font: var(--f-label); color: var(--f-ink-3); padding-right: 12px; }
.h-hex__chip { height: 40px; border: 1px solid var(--f-rule-strong); border-right: 0; border-radius: var(--f-radius-1) 0 0 var(--f-radius-1); background: var(--f-paper); display: grid; place-items: center; }
.h-hex__chip::before { content: ""; width: 18px; height: 18px; background: var(--hex, var(--f-blue)); }
.h-hex .h-input { border-radius: 0 var(--f-radius-1) var(--f-radius-1) 0; }
.h-msg { min-height: 18px; margin-top: 6px; font: 500 12px/1.5 var(--f-font-ui); color: var(--f-text-3); }
.h-msg.is-error { color: var(--f-err-ink); }
.h-help { margin-top: 10px; font-size: 13px; color: var(--f-ink-3); }
.h-layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.h-layout { position: relative; display: grid; gap: 6px; justify-items: center; font-size: 13px; cursor: pointer; }
.h-layout__thumb { display: block; width: 100%; aspect-ratio: 72 / 60; background: var(--f-paper); border: 1px solid var(--f-rule-strong); border-radius: var(--f-radius-1); color: var(--f-ink-3); transition: transform var(--f-dur-micro) var(--f-ease-out); }
.h-layout__thumb svg { width: 100%; height: 100%; padding: 4px; }
.h-layout input:checked + .h-layout__thumb { border-color: var(--f-blue); box-shadow: 0 0 0 1px var(--f-blue); color: var(--f-ink); }
.h-layout input:checked ~ .h-layout__name { font-weight: 700; }
.h-layout:active .h-layout__thumb { transform: scale(.96); }
.h-switch { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; clear: both; }
.h-switch__track { position: relative; flex: none; width: 36px; height: 20px; background: var(--f-band); border: 1px solid var(--f-rule-strong); border-radius: 10px; }
.h-switch__track i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--f-paper); box-shadow: 0 0 0 1px var(--f-rule-strong); transition: transform var(--f-dur-micro) var(--f-ease-out); }
.h-switch input:checked + .h-switch__track { background: var(--f-blue); border-color: var(--f-blue); }
.h-switch input:checked + .h-switch__track i { transform: translateX(16px); box-shadow: none; }
.h-switch__text { font-size: 15px; }
.h-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-1); overflow: hidden; }
.h-seg label { position: relative; display: grid; place-items: center; height: 40px; font-weight: 600; font-size: 14px; cursor: pointer; }
.h-seg label + label { border-left: 1px solid var(--f-line-strong); }
.h-seg span { position: relative; z-index: 0; display: grid; place-items: center; width: 100%; height: 100%; }
.h-seg input:checked + span { background: var(--f-ink); color: var(--f-ivory); }
.h-insp::after { content: ""; display: block; }
.h-demo .h-app__body > .h-cta-mobile { display: none; }

@media (max-width: 833px) {
  .h-demo__foot { flex-direction: column; align-items: stretch; }
  .h-demo .h-app__start { display: inline-flex; position: static; }
  .h-app__bar { flex-wrap: wrap; }
  .h-app__actions { margin-left: auto; }
  .h-app__actions .btn-secondary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .h-app__actions .btn-secondary { padding-inline: 12px; min-width: 44px; min-height: 44px; }
  .h-app__actions .btn-primary { min-height: 44px; }
}
@media (max-width: 479px) {
  .h-app__titles { flex-basis: 100%; }
  .h-app__actions { margin-left: 0; width: 100%; }
  .h-app__actions .btn-primary { flex: 1; }
}
@media (min-width: 600px) {
  .h-app { margin-inline: 0; border: 0; border-radius: var(--f-radius-3); overflow: clip; box-shadow: var(--f-shadow-card), 0 40px 80px -48px rgba(13, 21, 38, .35); }
  .h-app__bar { padding-inline: var(--f-s-5); }
  .h-insp { padding-inline: var(--f-s-5); }
}
@media (min-width: 834px) {
  .h-demo__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--f-s-5); align-items: end; }
  .h-demo__head > :first-child { grid-column: span 6; }
  .h-demo__intro { grid-column: 8 / -1; padding-bottom: 4px; }
  .h-app__sub { display: block; }
  .h-app__start { display: inline-flex; }
  .h-app__bar { height: 64px; padding-block: 0; }
  .h-app__body { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: 668px; }
  .h-insp { grid-column: 1; grid-row: 1; border-right: 1px solid var(--f-rule); overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--f-s-5) var(--f-s-5); }
  .h-canvas { grid-column: 2; grid-row: 1; position: relative; top: auto; border-bottom: 0; padding: 48px 0 0; align-items: start; }
  .h-canvas__page { font-size: 12.4px; }
  .h-canvas .h-cross { display: block; }
  .h-guide { display: block; position: absolute; top: -34px; bottom: -34px; width: 0; border-left: 1px dashed var(--f-rule-strong); }
  .h-guide--l { left: -8px; } .h-guide--r { right: -8px; }
  .h-swatch__box { width: 30px; height: 30px; }
  .h-switch { min-height: 40px; }
}
@media (min-width: 1100px) {
  .h-canvas__stamp { display: block; position: absolute; right: 28px; top: 44px; }
}
@media (min-width: 1240px) {
  .h-app { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
  .h-app__rail { display: block; padding: 18px 12px; border-right: 1px solid var(--f-rule); cursor: default; user-select: none; }
  .h-app__logo { display: flex; align-items: baseline; padding: 2px 10px 22px; font: 800 24px/1 var(--f-font-display); letter-spacing: -.045em; }
  .h-app__logo i { width: 6px; height: 6px; margin-left: 2px; border-radius: 50%; background: var(--f-blue); }
  .h-app__rail li { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; font-size: 13.5px; white-space: nowrap; color: var(--f-ink-2); border-radius: var(--f-radius-2); }
  .h-app__rail li.is-active { background: var(--f-blue-wash); color: var(--f-ink); font-weight: 650; }
  .h-app__rail li.is-active .h-ico { color: var(--f-blue); }
  .h-app__body { grid-template-columns: 288px minmax(0, 1fr); }
}

/* Demo: pointer tilt (max 3deg) and the ink-pass colour hand-off */
.h-canvas.is-tilting .h-canvas__tilt { transform: rotateY(calc(var(--nx, 0) * 3deg)) rotateX(calc(var(--ny, 0) * -2deg)); }
.h-canvas.is-tilting .h-canvas__tilt > .h-shadow { transform: translate3d(calc(var(--nx, 0) * -6px), calc(14px - var(--ny, 0) * 4px), 0); }
.h-canvas .inv__dot, .h-canvas .inv__band, .h-canvas .inv__total-bg { transition: background-color 80ms linear; }
.h-canvas .inv .h-chip, .h-canvas .inv__total { transition: color 80ms linear, border-color 80ms linear; }

/* 7. Automation ---------------------------------------------------------------- */
.h-auto__vocab { display: grid; gap: 14px; }
.h-auto__vocab dt { font: var(--f-label); color: var(--f-text); }
.h-auto__vocab dd { font-size: 15px; line-height: 1.45; color: var(--f-ink-2); max-width: 44ch; }
.h-auto__default { font-size: 15px; line-height: 1.5; color: var(--f-ink-2); max-width: 44ch; padding-top: var(--f-s-4); border-top: 1px solid var(--f-rule); }
.h-auto__fig { position: relative; padding: 36px 0 28px; min-width: 0; }
.h-auto__fig > .h-field { inset: 0 -8px; }
.h-auto__fig > .h-cross { display: none; }
.h-circuit { position: relative; display: grid; gap: 0; }
.h-slip { position: relative; z-index: 0; padding: 26px 16px 16px; }
.h-slip::before { content: ""; position: absolute; inset: 8px 1px 2px; z-index: -2; box-shadow: var(--f-shadow-paper); }
.h-slip::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f-paper); --r: var(--f-perf-r); --p: var(--f-perf-pitch);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 0 / var(--p) 100% round no-repeat;
  mask: radial-gradient(circle at 50% 0, transparent var(--r), #000 calc(var(--r) + .5px)) 50% 0 / var(--p) 100% round no-repeat; }
.h-slip__tab { position: absolute; top: -9px; left: 12px; padding: 4px 8px; border-radius: 4px; background: var(--f-text); color: #fff; font: 600 12px/1 var(--f-font-ui); }
.h-slip__all { margin-bottom: 4px; font: var(--f-label); font-size: 12px; color: var(--f-text-3); }
.h-radio { position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; cursor: pointer; }
.h-radio__box { flex: none; width: 18px; height: 18px; border: 1px solid var(--f-rule-strong); border-radius: 50%; background: var(--f-paper); display: grid; place-items: center; }
.h-radio__box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--f-accent); transform: scale(0); transition: transform var(--f-dur-micro) var(--f-ease-paper); }
.h-radio input:checked + .h-radio__box { border-color: var(--f-blue); }
.h-radio input:checked + .h-radio__box::after { transform: none; }
.h-radio input:checked ~ span:last-child { font-weight: 650; }
.h-conds li { position: relative; padding: 9px 0 9px 16px; font: 500 14px/1.4 var(--f-font-ui); border-bottom: 1px solid var(--f-rule); }
.h-conds li:last-child { border-bottom: 0; }
.h-conds li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 1px; background: var(--f-text-3); }
.h-actions { display: grid; gap: 8px; perspective: 600px; }
.h-actions li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: baseline; padding: 10px; background: var(--f-band); border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.3; transform-origin: 50% 0; }
.h-actions__n { font: 600 12px/1 var(--f-font-ui); color: var(--f-accent); font-variant-numeric: tabular-nums; }
.h-slip__flash { position: absolute; inset: 0; background: var(--f-blue-wash); mix-blend-mode: multiply; opacity: 0; pointer-events: none; }
.h-circuit__link { position: relative; display: grid; place-items: center; height: 44px; }
.h-circuit__link svg { stroke: var(--f-blue); stroke-width: 2; stroke-linecap: square; rotate: 90deg; overflow: visible; }
.h-node { display: none; }
.h-log { margin-top: 28px; }
.h-log__paper { padding: 18px 14px 8px; }
.h-log.h-sheet::before { inset: 8px 1px 0; }
.h-log__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding-bottom: 4px; border-bottom: 1px solid var(--f-line-strong); }
.h-log__title { font: var(--f-label); color: var(--f-text); }
.h-log__title span { color: var(--f-ink-3); }
.h-log__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; background: none; border: 0; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--f-rule-strong); text-underline-offset: 5px; }
.h-log__btn[hidden], .h-log__btn [hidden] { display: none; }
.h-log__rows { position: relative; height: 232px; overflow: hidden; }
.h-log__row { display: grid; grid-template-columns: auto auto 1fr; gap: 2px 12px; align-items: center; height: 58px; padding: 8px 0; border-bottom: 1px solid var(--f-rule); font: 400 13px/1.3 var(--f-font-mono); white-space: nowrap; }
.h-log__time, .h-log__topic { color: var(--f-ink-2); }
.h-log__id { justify-self: end; font-weight: 500; }
.h-log__result { grid-column: 2 / -1; overflow: hidden; text-overflow: ellipsis; }
.h-log__row .h-status { grid-row: 2; }
.h-log__end { text-align: center; color: var(--f-ink-3); display: block; grid-template-columns: 1fr; line-height: 42px; }
.h-auto__stamp { margin-top: 24px; }
@media (hover: hover) { .h-log__btn:hover { color: var(--f-blue); text-decoration-color: var(--f-blue); } }
@media (min-width: 834px) {
  .h-auto__fig { padding: 56px 28px 36px; }
  .h-auto__fig > .h-field { inset: 0; }
  .h-auto__fig > .h-cross { display: block; top: -10px; left: -10px; }
  .h-auto__fig > .h-cross--tr { left: auto; right: -10px; } .h-auto__fig > .h-cross--br { top: auto; left: auto; bottom: -10px; right: -10px; } .h-auto__fig > .h-cross--bl { top: auto; bottom: -10px; }
  .h-circuit { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1.15fr); align-items: start; }
  .h-circuit__link { height: auto; margin-top: 76px; }
  .h-circuit__link svg { rotate: none; }
  .h-node { display: block; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--f-blue); opacity: 0; }
  .h-radio { min-height: 34px; font-size: 14px; }
  .h-log__paper { padding: 20px 20px 8px; }
  .h-log__rows { height: 200px; }
  .h-log__row { grid-template-columns: 76px 104px 68px 92px minmax(0, 1fr); gap: 0 8px; height: 40px; padding: 0; font-size: 12px; }
  .h-log__id { justify-self: start; }
  .h-log__result, .h-log__row .h-status { grid-column: auto; grid-row: auto; }
  .h-log__row .h-status { justify-self: start; }
  .h-auto__stamp { position: absolute; right: 28px; bottom: 20px; margin: 0; }
  .h-auto__fig { padding-bottom: 104px; }
}

/* 8. Capabilities: one ruled specification sheet --------------------------------- */
.h-spec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: var(--f-s-6); }
.h-spec__note { display: none; padding-bottom: 10px; font: var(--f-label); color: var(--f-text-3); }
.h-spec__caption { list-style: none; padding: var(--f-s-3) 0 var(--f-s-5); font: var(--f-label); color: var(--f-text-3); }
.h-spec__list { border-top: 1px solid var(--f-line-strong); }
.h-spec__row { position: relative; }
.h-spec__row:not(.h-spec__row--label) { display: grid; gap: 6px; padding-block: var(--f-s-5); }
.h-spec__row:first-child > .h-rule { display: none; }
.h-spec__row--label { display: grid; }
.h-spec__name { font: 700 var(--f-step-2) / 1.2 var(--f-font-display); letter-spacing: -.02em; text-wrap: balance; }
.h-spec__name a { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; color: inherit; text-decoration: none; }
.h-spec__name a::after { content: ""; position: absolute; inset: 0; }
.h-spec__name a:focus-visible { outline: 0; }
.h-spec__row:has(a:focus-visible) { outline: 2px solid var(--f-accent); outline-offset: 2px; border-radius: var(--f-radius-1); }
.h-spec__go { color: var(--f-accent); opacity: 0; transform: translateX(-6px); transition: opacity var(--f-dur-micro) linear, transform var(--f-dur-micro) var(--f-ease-out); }
.h-spec__line { font-size: 15px; line-height: 1.55; color: var(--f-text-2); max-width: 46ch; text-wrap: pretty; }
/* The sample is an inline data cell, not a card. */
.h-specimen { display: grid; align-content: start; gap: 1px; margin-top: 6px; font: 400 12.5px/1.6 var(--f-font-mono); color: var(--f-doc-ink); white-space: pre; overflow-x: auto; }
@media (hover: hover) {
  .h-spec__row:hover .h-spec__go { opacity: 1; transform: none; }
  .h-spec__row:not(.h-spec__row--label):hover .h-spec__name { color: var(--f-accent-ink); }
}
.h-spec__row:has(a:focus-visible) .h-spec__go { opacity: 1; transform: none; }
@media (min-width: 834px) {
  .h-spec__note, .h-spec__row:not(.h-spec__row--label) { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); column-gap: var(--f-s-6); align-items: start; }
  .h-spec__note > span { grid-column: 3; }
  .h-spec__caption { display: none; }
  .h-spec__row:not(.h-spec__row--label) { padding-block: 22px; }
  .h-specimen { margin-top: 3px; }
  .h-spec__line { padding-top: 3px; }
}

/* 9. Reliability: the one dark band ---------------------------------------------- */
.h-rel { position: relative; padding-block: var(--f-section-y); background: var(--f-dark); color: #fff; }
.h-rel .h-h2 { color: #fff; }
.h-rel > .h-field { -webkit-mask-image: linear-gradient(transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); -webkit-mask-composite: source-over; mask-composite: add; }
.h-rel :focus-visible { outline-color: var(--f-blue-on-ink); }
.h-rel .h-lead { margin-top: var(--f-s-5); color: var(--f-ink-inverse-2); max-width: 52ch; }
.h-rel__top { display: grid; gap: var(--f-s-7); }
.h-rel__paper { color: var(--f-text); max-width: 440px; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .2)) drop-shadow(0 16px 20px rgba(0, 0, 0, .35)); }
.h-rel__sheet { padding: 24px 18px 22px; }
.h-rel__sheet-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; font: 650 14px/1 var(--f-font-ui); border-bottom: 1px solid var(--f-rule-strong); }
.h-runs__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px; align-items: center; height: 38px; font: 400 12px/1 var(--f-font-mono); border-bottom: 1px solid var(--f-rule); }
.h-runs__row > :nth-child(3), .h-runs__row > :nth-child(4) { display: none; }
.h-runs__row:last-child { border-bottom: 0; }
.h-runs__row--head { height: 30px; font-size: 10px; color: var(--f-ink-3); }
.h-runs__row > :last-child { justify-self: end; }
.h-ruler { margin-top: var(--f-s-8); }
.h-ruler__cap { max-width: 62ch; font-size: 17px; line-height: 1.55; color: var(--f-ink-inverse-2); }
.h-ruler__cap b { font-weight: 650; color: #fff; }
.h-ruler__scale { position: relative; margin-top: var(--f-s-6); padding-left: 44px; }
.h-ruler__line { position: absolute; left: 12px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .7); }
.h-ruler__ticks { display: none; }
.h-ruler__stops li { position: relative; display: flex; align-items: center; height: 44px; font: 500 13px/1.3 var(--f-font-ui); font-variant-numeric: tabular-nums; color: var(--f-ink-inverse-2); transition: color var(--f-dur-ui) linear; }
.h-ruler__stops li i { position: absolute; left: -37px; top: 50%; width: 11px; height: 1px; background: var(--f-ivory); transition: background-color var(--f-dur-ui) linear; }
.h-ruler__stops li.is-passed { color: var(--f-ivory); }
.h-ruler__stops li.is-passed i { background: var(--f-blue-on-ink); height: 2px; }
.h-ruler__marker { --stop: 4; position: absolute; left: 0; top: 0; width: 100%; height: 44px; display: flex; align-items: center; pointer-events: none; transform: translateY(calc(var(--stop) * 100%)); }
html.motion-ok .h-ruler__marker { transition: transform 220ms var(--f-ease-paper); }
.h-ruler__marker > i { position: absolute; left: 8px; top: 50%; width: 9px; height: 9px; margin-top: -4px; background: var(--f-blue-on-ink); transition: background-color var(--f-dur-ui) linear; }
.h-ruler__marker.is-synced > i { background: var(--f-ivory); }
.h-ruler__marker .h-status { position: absolute; right: 0; }
.h-status--warn-dark { color: #F3D9A4; background: rgba(243, 228, 200, .14); }
.h-status--warn-dark::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); box-shadow: inset 0 0 0 1px currentColor; }
.h-ruler__marker.is-synced .h-status { color: #C9D6FF; background: rgba(124, 155, 255, .2); }
.h-ruler__marker.is-synced .h-status::before { background: currentColor; box-shadow: none; }
.h-ruler__sample { margin-top: 10px; font: var(--f-label); color: var(--f-ink-inverse-2); }
.h-facts { display: grid; margin-top: var(--f-s-7); }
.h-facts li { padding-block: var(--f-s-5); border-top: 1px solid var(--f-rule-inverse); }
.h-facts__title { font: 650 var(--f-step-2) / 1.15 var(--f-font-display); letter-spacing: -.02em; color: #fff; }
.h-facts__body { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--f-ink-inverse-2); max-width: 36ch; }
.h-rel__more { margin-top: var(--f-s-5); }
@media (min-width: 600px) {
  .h-runs__row { grid-template-columns: 52px minmax(0, 1fr) 48px 52px 108px; }
  .h-runs__row > :nth-child(3), .h-runs__row > :nth-child(4) { display: block; text-align: right; }
}
@media (min-width: 834px) {
  .h-ruler__scale { padding: 56px 0 0; }
  .h-ruler__line { left: 0; right: 0; top: 56px; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .h-ruler__ticks { display: block; position: absolute; left: 0; right: 0; top: 50px; height: 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 1px, transparent 1px calc(100% / 70)); }
  .h-ruler__stops { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .h-ruler__stops li { display: block; height: auto; padding: 18px 12px 0 0; line-height: 1.4; }
  .h-ruler__stops li i { left: 0; top: -12px; width: 1px; height: 24px; }
  .h-ruler__stops li.is-passed i { width: 2px; height: 24px; }
  .h-ruler__marker { top: 16px; width: calc(100% / 7); height: 40px; display: block; transform: translateX(calc(var(--stop) * 100%)); }
  .h-ruler__marker > i { left: -4px; top: 36px; margin: 0; }
  .h-ruler__marker .h-status { left: -4px; right: auto; top: 0; }
  .h-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--f-s-8); border-top: 1px solid var(--f-rule-inverse); }
  .h-facts li { border-top: 0; padding: var(--f-s-6) var(--f-s-5) var(--f-s-2); }
  .h-facts li:first-child { padding-left: 0; }
  .h-facts li + li { border-left: 1px solid var(--f-rule-inverse); }
}
@media (min-width: 1024px) {
  .h-rel__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--f-s-5); }
  .h-rel__head { grid-column: span 6; }
  .h-rel__paper { grid-column: 9 / -1; margin-top: calc((var(--f-section-y) + 56px) * -1); max-width: none; }
}

/* 10. Pricing teaser: the rate card ---------------------------------------------- */
.h-price__grid { display: grid; gap: var(--f-s-7); }
.h-price .h-lead { margin-top: var(--f-s-5); }
.h-price__actions { display: grid; gap: var(--f-s-2); margin-top: var(--f-s-6); }
.h-price__actions .btn-ghost { justify-self: start; min-height: 44px; }
.h-price__note { margin-top: var(--f-s-4); font-size: 14px; line-height: 1.5; color: var(--f-text-3); }
.h-rate { position: relative; z-index: 0; max-width: 640px; width: 100%; filter: drop-shadow(0 0 1px rgba(13, 21, 38, .28)) var(--f-drop-paper); }
.h-rate__paper { padding: 30px 18px 26px; }
.h-rate__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--f-rule-strong); font: 650 14px/1 var(--f-font-ui); }
.h-rate__row { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 18px 12px; margin-inline: -12px; color: var(--f-ink); text-decoration: none; border-bottom: 1px solid var(--f-rule); }
.h-rate__row.is-highlighted { background: var(--f-blue-wash); border-bottom-color: transparent; }
.h-rate__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f-band); transform: scaleX(0); transform-origin: left; transition: transform var(--f-dur-ui) var(--f-ease-out); }
.h-rate__row.is-highlighted::before { display: none; }
.h-rate__name { font: 700 var(--f-step-2) / 1.1 var(--f-font-display); letter-spacing: -.02em; }
.h-rate__limits { grid-column: 1; font: 500 13px/1.4 var(--f-font-ui); font-variant-numeric: tabular-nums; color: var(--f-text-2); }
.h-rate__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: flex; align-items: baseline; gap: 4px; transition: transform var(--f-dur-micro) var(--f-ease-out); }
.h-rate__price b { font: 700 var(--f-step-3) / 1 var(--f-font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.h-rate__price i { font: 500 13px/1 var(--f-font-ui); color: var(--f-text-3); }
.h-rate__row:focus-visible::before { transform: scaleX(1); }
.h-rate__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 22px; font: 500 13px/1.4 var(--f-font-ui); color: var(--f-text-3); }
.h-rate__foot .h-barcode { width: 76px; height: 20px; color: var(--f-ink); }
@media (hover: hover) {
  .h-rate__row:hover { color: var(--f-ink); text-decoration: none; }
  .h-rate__row:hover::before { transform: scaleX(1); }
  .h-rate__row:hover .h-rate__price { transform: translateX(-4px); }
}
@media (min-width: 600px) {
  .h-price__actions { display: flex; align-items: center; gap: var(--f-s-5); }
  .h-rate__paper { padding: 36px 32px 30px; }
  .h-rate__row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; padding: 22px 16px; margin-inline: -16px; }
  .h-rate__limits { grid-column: auto; }
  .h-rate__price { grid-column: auto; grid-row: auto; min-width: 104px; justify-content: flex-end; }
}
@media (min-width: 1024px) {
  .h-price__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--f-s-5); align-items: center; }
  .h-price__copy { grid-column: span 5; }
  .h-rate { grid-column: 7 / -1; max-width: none; }
  .h-price .h-h2 { font-size: clamp(34px, 3.3vw, 46px); }
}

/* 11. FAQ --------------------------------------------------------------------------- */
.h-faq__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.h-faq__list { border-top: 1px solid var(--f-line-strong); }
.h-faq__item { position: relative; }
.h-faq__item:first-child > .h-rule { display: none; }
.h-faq__q button { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 4px 12px; align-items: center; width: 100%; min-height: 64px; padding: 14px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--f-ink); }
.h-faq__text { font: 600 var(--f-step-1) / 1.3 var(--f-font-ui); letter-spacing: -.01em; transition: transform var(--f-dur-micro) var(--f-ease-out); text-wrap: balance; }
.h-faq__toggle { justify-self: end; width: 44px; height: 44px; background: linear-gradient(currentColor, currentColor) center / 1.5px 16px no-repeat, linear-gradient(currentColor, currentColor) center / 16px 1.5px no-repeat; transition: transform var(--f-dur-ui) var(--f-ease-out), color var(--f-dur-ui) linear; }
.h-faq__q button[aria-expanded="true"] .h-faq__toggle { transform: rotate(45deg); color: var(--f-blue); }
.h-faq__panel { display: grid; grid-template-rows: 1fr; }
.h-faq__clip { overflow: hidden; min-height: 0; }
.h-faq__a { padding: 0 44px var(--f-s-5) 0; font-size: 16px; line-height: 1.6; color: var(--f-text-2); max-width: 62ch; }
.h-faq__list.is-ready .h-faq__panel { transition: grid-template-rows var(--f-dur-ui) var(--f-ease-out); }
.h-faq__list.is-ready .h-faq__item:has(button[aria-expanded="false"]) .h-faq__panel { grid-template-rows: 0fr; }
.h-faq__list.is-ready .h-faq__item:has(button[aria-expanded="false"]) .h-faq__clip { visibility: hidden; transition: visibility 0s linear var(--f-dur-ui); }
.h-faq__list.is-ready .h-faq__a { transition: opacity 160ms linear 60ms; }
.h-faq__list.is-ready .h-faq__item:has(button[aria-expanded="false"]) .h-faq__a { opacity: 0; transition-delay: 0ms; }
.h-faq__list:not(.is-ready) .h-faq__toggle { display: none; }
@media (hover: hover) {
  .h-faq__q button:hover .h-faq__text { transform: translateX(4px); }
}
@media (min-width: 834px) {
  .h-faq__a { font-size: 17px; }
}

/* 12. Closing CTA ---------------------------------------------------------------------- */
.h-cta { position: relative; padding-block: var(--f-section-y); }
.h-cta > .h-field { inset: var(--f-section-y) max(var(--f-s-4), calc((100% - var(--f-max)) / 2 + var(--f-s-5))); }
.h-cta__in { padding-block: var(--f-s-7) var(--f-s-7); padding-inline: calc(var(--f-s-4) + var(--f-s-5)); }
.h-cta__in > .h-cross { display: none; }
.h-cta__copy { position: relative; }
.h-cta__title { font-family: var(--f-font-display); font-weight: 720; font-size: clamp(32px, 1.3rem + 3.3vw, 60px); line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; color: var(--f-text); }
.h-cta__actions { display: grid; gap: var(--f-s-2); margin-top: var(--f-s-6); }
.h-cta__actions .btn-ghost { justify-self: start; min-height: 44px; }
.h-cta__trial { margin-top: var(--f-s-4); font-size: 14px; color: var(--f-text-3); }
.h-cta__sheet { display: none; }
.h-cta__stamp { margin-top: var(--f-s-7); }
@media (min-width: 600px) {
  .h-cta__actions { display: flex; align-items: center; gap: var(--f-s-5); }
}
@media (min-width: 834px) {
  .h-cta__in { min-height: 420px; padding-block: var(--f-s-8) var(--f-s-8); padding-inline: calc(var(--f-s-5) + var(--f-s-7)); display: flex; flex-direction: column; justify-content: center; }
  .h-cta__in > .h-cross { display: block; top: -10px; left: 14px; }
  .h-cta__in > .h-cross--tr { left: auto; right: 14px; } .h-cta__in > .h-cross--br { top: auto; left: auto; bottom: -10px; right: 14px; } .h-cta__in > .h-cross--bl { top: auto; bottom: -10px; }
  .h-cta__copy { max-width: 62%; }
  .h-cta__sheet { display: block; position: absolute; top: 44px; right: 72px; width: 250px; z-index: 0; filter: var(--f-drop-paper); }
  .h-cta__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(22, 22, 26, .14); }
  .h-cta__logo { display: flex; align-items: baseline; font: 800 22px/1 var(--f-font-doc); letter-spacing: -.04em; }
  .h-cta__logo i { width: 6px; height: 6px; margin-left: 2px; border-radius: 50%; background: var(--f-accent); }
  .h-cta__paper { padding: 26px 22px 30px; font-family: var(--f-font-doc); font-weight: 500; color: var(--f-doc-ink); font-variant-numeric: tabular-nums; }
  .h-cta__sums { display: grid; gap: 4px; padding-left: 40%; font-size: 12px; }
  .h-cta__sums > div { display: flex; justify-content: space-between; }
  .h-cta__total { display: flex; justify-content: space-between; margin-top: 12px; padding: 8px 12px; background: var(--f-blue-wash); font: 700 16px/1.2 var(--f-font-doc); }
  .h-cta__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 26px; font-size: 11px; }
  .h-cta__foot .h-barcode { width: 72px; height: 20px; }
  .h-cta__stamp { position: absolute; left: calc(var(--f-s-5) + var(--f-s-7)); bottom: 32px; margin: 0; }
  .h-cta__in { padding-bottom: 112px; }
}
@media (min-width: 1240px) {
  .h-cta__in { min-height: 480px; }
  .h-cta__sheet { width: 320px; right: 96px; }
  .h-cta__paper { padding: 34px 28px 36px; }
  .h-cta__sums { font-size: 14px; }
  .h-cta__total { font-size: 19px; padding: 10px 14px; }
  .h-cta__foot { font-size: 13px; margin-top: 34px; }
}

/* 13. Reduced motion: final states, 150ms fades at most ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .h-home *, .h-home *::before, .h-home *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .h-log__btn { display: none !important; }
  .inv__sheen { display: none; }
}
