/*
  /home-test page CSS, over the kit's system: the page's rhythm (sections at their content's height,
  his call), his mark and the language switch in the header, the services panel under "Services", the
  hero's frame and live card, the services sheets, the three process windows and their one-time story,
  the phone test, the questions that open in place, the quote form, and the right-to-left fixes for
  /ar. Linked by every page (src/components/site/SiteDocument.tsx).
*/

:root {
  --ht-card: #ffffff;                                                    /* a sheet one clear step off the grey page */
  --ht-hair: color-mix(in oklab, var(--p-ink) 9%, transparent);         /* the one hairline of a sheet */
  --ht-soft: color-mix(in oklab, var(--p-ink) 3.5%, #ffffff);           /* a field, or a row under the pointer, on a sheet */
  --ht-frame: color-mix(in oklab, var(--p-muted) 32%, var(--p-surface)); /* the stage behind a white app window */
  --ht-mark-cursor: color-mix(in oklab, var(--p-accent) 62%, #ffffff);  /* the mark's cursor block, lit on the ink tile */
  --ht-ink-2: color-mix(in oklab, var(--p-ink) 78%, #ffffff);           /* a second line people read (a pitch, a note): 7:1 and more, never the grey */
}

/* ---------------------------------------------------------------- the page's rhythm
   His call (2026-11-27): the kit's screen-tall sections left too much air between them, so after the
   hero every section takes its content's height with one padding above and below (88 at 1440, 64 on a
   phone); the white band (statement and process) and the dark band part them. The hero keeps the
   whole first screen. */
:root { --ht-pad: clamp(64px, 2.29vw + 55px, 96px); }
main > :is(section, .section):not(.hero), footer.closing { height: auto; min-height: 0; padding: var(--ht-pad) 0; }
main > :is(section, .section):not(.hero) > :is(.wrap, .container), footer.closing > .wrap { height: auto; }
.ht-band { background: #ffffff; }
/* the process under the statement, on the same white: half the padding between them */
.ht-band + .ht-band { padding-top: calc(var(--ht-pad) * .5); }
/* the footer: a hairline under the quote form, the phone's action bar padded for at the page's foot only */
footer.closing { padding: 0 0 calc(var(--s-7) + var(--bar)); }
footer.closing > .wrap { grid-template-rows: auto auto; row-gap: var(--s-7); }
footer.closing > .wrap > .footer__legal { margin-top: 0; padding-top: var(--s-5); border-top: 1px solid var(--line); }
footer.closing .closing__links { padding-top: var(--s-8); border-top: 1px solid var(--line); }
@media (max-width: 639px) { footer.closing .closing__links { padding-top: var(--s-7); } }

/* ---------------------------------------------------------------- header: his mark, the words, the languages */
.ht-brand { gap: var(--s-3); font-size: 19px; letter-spacing: -0.015em; }
.nav__logo.ht-brand svg.ht-brand__mark { display: block; width: 32px; height: 32px; flex: none; }
.ht-brand__name { white-space: nowrap; }
@media (max-width: 639px) {
  .nav__logo.ht-brand svg.ht-brand__mark { width: 28px; height: 28px; }
  .ht-brand { gap: 10px; font-size: 18px; }
}
.nav.ht-nav .nav__actions { gap: var(--s-3); }
/* the section on screen: the kit's still 2px bar under its word (NavSpy sets aria-current="location") */
.nav__link[aria-current="location"]::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: -2px; height: 2px; border-radius: 2px; background: currentColor;
}
@media (min-width: 1024px) and (max-width: 1279px) { .nav__link[aria-current="location"]::after { left: var(--s-2); right: var(--s-2); } }
@media (max-width: 1023px) { .nav.is-open .nav__link[aria-current="location"]::after { left: 0; right: auto; width: 24px; bottom: 10px; } }

/* the three languages as one segmented switch, the current one lifted on a white tile */
.ht-langs {
  display: inline-flex; align-items: center; gap: 2px; height: var(--btn-h); padding: 3px;
  border-radius: var(--r-btn); box-shadow: inset 0 0 0 1px var(--line);
}
.ht-lang {
  display: inline-grid; place-items: center; min-width: 40px; height: 100%; padding-inline: var(--s-3);
  border-radius: calc(var(--r-btn) - 2px); font-size: 14px; font-weight: 500; line-height: 1; color: var(--muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ht-lang:hover { color: var(--ink); background: color-mix(in oklab, var(--p-ink) 5%, transparent); }
.ht-lang[aria-current="page"] { color: var(--ink); background: var(--ht-card); box-shadow: 0 0 0 1px var(--line-strong); }
.ht-lang:lang(ar) { font-size: 17px; }
/* the word العربية on /en and /fr: the system's Arabic face (Plex Arabic loads on /ar only), a size up and
   lifted onto the Latin labels' middle */
html:not([lang="ar"]) :is(.ht-lang, .footer__col a):lang(ar) { font-family: system-ui, "Segoe UI", "Geeza Pro", "Noto Sans Arabic", sans-serif; }
html:not([lang="ar"]) .ht-lang:lang(ar) { font-size: 18px; padding-bottom: 6px; }

/* ---------------------------------------------------------------- the services panel under "Services" */
.ht-mega { padding: var(--s-6) 0 var(--s-7); }
.ht-mega__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.ht-mega__col { grid-column: span 4; min-width: 0; }
.ht-mega__label { color: var(--muted); margin: 0 0 var(--s-2); }
.ht-mega__list { list-style: none; margin: 0; padding: 0; display: grid; }
.ht-mega__link {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-3);
  min-height: 56px; padding: var(--s-2) var(--s-3); margin-inline: calc(-1 * var(--s-3)); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none; transition: background-color var(--dur) var(--ease);
}
.ht-mega__icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--ink);
  background: var(--ht-card); box-shadow: inset 0 0 0 1px var(--ht-hair);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ht-mega__text { display: grid; gap: 2px; min-width: 0; }
.ht-mega__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.ht-mega__line { font-size: 14px; line-height: 1.35; color: var(--muted); }
.ht-mega__price { display: inline-flex; align-items: baseline; gap: 4px; font-size: 14px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ht-mega__price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.ht-mega__link:is(:hover, :focus-visible) { background: var(--ht-card); }
.ht-mega__link:is(:hover, :focus-visible) .ht-mega__icon { background: var(--p-accent); color: var(--p-accent-ink); box-shadow: none; }
.ht-mega__card {
  grid-column: span 4; display: grid; justify-items: start; align-content: start; gap: var(--s-3);
  padding: var(--s-6); border-radius: var(--r-lg); background: var(--ht-card); border: 1px solid var(--ht-hair);
}
.ht-mega__card .ic-tile { color: var(--ink); margin-bottom: var(--s-1); }
.ht-mega__card-title { margin: 0; font: var(--display-weight) var(--t-card)/1.3 var(--font-display); letter-spacing: -0.01em; }
.ht-mega__card-text { margin: 0; color: var(--muted); max-width: 36ch; }
.ht-mega__card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-2); }
.ht-mega__card-actions .link { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .ht-mega__link { grid-template-columns: 32px minmax(0, 1fr) auto; column-gap: var(--s-2); }
  .ht-mega__icon { width: 32px; height: 32px; }
  .ht-mega__card { padding: var(--s-5); }
}
/* the phone and tablet sheet: the two lists under "Services", the card left to the page */
@media (max-width: 1023px) {
  .nav.is-open .ht-mega__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-5); }
  .nav.is-open .ht-mega__col { grid-column: 1; }
  .nav.is-open .ht-mega__card { display: none; }
  .nav.is-open .ht-mega__link { margin-inline: 0; padding-inline: 0; min-height: 52px; }
  .nav.is-open .ht-mega__line { display: none; }
  .nav.is-open .ht-langs { display: flex; width: 100%; height: 48px; }
  .nav.is-open .ht-lang { flex: 1 1 0; }
}

/* ---------------------------------------------------------------- hero */
@media (min-width: 1024px) {
  .hero--split .hero__text { align-self: stretch; display: flex; flex-direction: column; }
  .hero--split .hero__text > .hero-facts { margin-top: auto; padding-top: var(--s-5); border-top: 1px solid var(--line); }
}
/* the three hero facts need the full desktop column, from 1280 wide, and a screen 760 tall (a laptop
   browser at 1366x657 has no room for them under the buttons) */
@media (max-width: 1279px), (max-height: 759px) { .hero--split .hero__text > .hero-facts { display: none; } }
.ht-hero .hero__kicker { color: var(--ink); font-weight: 500; }
.ht-hero .hero__kicker .dot { box-shadow: 0 0 0 4px color-mix(in oklab, var(--p-accent) 16%, transparent); }
.ht-hero .hero__text h1 { max-width: 12ch; }
html[lang="ar"] .ht-hero .hero__text h1 { line-height: 1.22; max-width: none; }
/* French runs longer ("Sites web et contrôles de sécurité au Maroc"): a step smaller holds it to three lines */
html[lang="fr"] .ht-hero .hero__text h1 { max-width: none; font-size: calc(var(--ly-h1) * 0.86); }
/* the portrait: a hairline inside the frame so its dark edge never bleeds into the page */
.ht-hero .hero__media { background: #2a1717; }
.ht-hero .hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 10%, transparent);
}
.hero .ly-float { background: var(--ht-card); border-color: var(--ht-hair); border-radius: 16px; padding: var(--s-4) 18px; gap: 6px; }
.ht-time { display: inline-block; min-width: 5ch; text-align: end; font-variant-numeric: tabular-nums; color: var(--ink); }
/* a phone: the card shrinks to one line (the reply promise) so the portrait stays clear */
@media (max-width: 639px) {
  .ht-hero .ly-float {
    left: var(--s-3); bottom: var(--s-3); width: auto; max-width: calc(100% - 2 * var(--s-3));
    display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: 999px;
  }
  .ht-hero .ly-float__row { display: none; }
  .ht-hero .ly-float::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
  .ht-hero .ly-float__title { font-size: var(--t-small); }
}

/* ---------------------------------------------------------------- services and prices */
/* the id beats the kit's main > section > .wrap flex column */
main > .section > .wrap.ht-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); align-content: start; }
.ht-services__a { display: contents; }
.ht-services__head { grid-column: 1 / -1; max-width: none; }
.ht-services__head > div > h2 { max-width: 760px; }
.ht-services__head > .link { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.ht-sheet__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.ht-sheet__head .ic-tile { color: var(--ink); }
@media (max-width: 1279px) { .ht-sheet__head .ic-tile { display: none; } }
.ht-services__label { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: 0; margin: 0; }
.ht-rows { list-style: none; margin: 0; padding: 0; }
.ht-rows > li { border-bottom: 1px solid var(--line); }
.ht-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 9.5rem 18px; column-gap: var(--s-5); row-gap: 2px;
  align-items: baseline; min-height: 64px; padding-block: 11px; color: var(--ink); text-decoration: none;
  transition: background-color var(--m-out, 120ms) var(--ease);
}
.ht-row__name {
  font-weight: 500; grid-column: 1; grid-row: 1; justify-self: start;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size var(--m-out, 120ms) var(--ease);
}
.ht-row:is(:hover, :focus-visible) .ht-row__name { background-size: 100% 1px; transition-duration: var(--m-in, 150ms); }
.ht-row__line { grid-column: 1; grid-row: 2; display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-3); color: var(--muted); }
.ht-row__icons { display: inline-flex; align-items: center; gap: var(--s-2); }
.ht-row__icons .ic { display: block; }
.ht-row__price {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; display: inline-flex; align-items: baseline; gap: 6px;
  font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500;
}
.ht-row__price small { font-size: var(--t-small); font-weight: 400; color: var(--muted); }
.ht-row__go { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: grid; color: var(--muted); transition: transform var(--m-out, 120ms) var(--ease), color var(--m-out, 120ms) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .ht-row:hover .ht-row__go { transform: translateX(3px); color: var(--ink); transition-duration: var(--m-in, 150ms); }
}
.ht-row:focus-visible .ht-row__go { color: var(--ink); }
/* the desktop: two white sheets on the grey page, a row tinted under the pointer */
@media (min-width: 1280px) {
  .ht-sheet { background: var(--ht-card); border: 1px solid var(--ht-hair); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6) var(--s-2); }
  .ht-sheet .ht-rows > li:last-child { border-bottom: 0; }
  .ht-sheet .ht-row { margin-inline: calc(-1 * var(--s-3)); padding-inline: var(--s-3); border-radius: 12px; }
  .ht-sheet .ht-row:hover { background: var(--ht-soft); transition-duration: var(--m-in, 150ms); }
}
/* below 1280: the two groups stacked, full width */
@media (max-width: 1279px) {
  main > .section > .wrap.ht-services { grid-template-columns: minmax(0, 1fr); }
  .ht-services__a { display: block; }
  .ht-services__b { margin-top: var(--s-7); }
}
@media (min-width: 640px) and (max-width: 1279px) {
  .ht-row { min-height: 0; padding-block: var(--s-3); }
}
/* the small laptop: one service a line (name, what it is, the price) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .ht-row { grid-template-columns: 15rem minmax(0, 1fr) 9.5rem 18px; align-items: center; min-height: 48px; }
  .ht-row__name, .ht-row__line, .ht-row__price, .ht-row__go { grid-row: 1; }
  .ht-row__line { grid-column: 2; }
  .ht-row__price { grid-column: 3; }
  .ht-row__go { grid-column: 4; }
}
@media (max-width: 639px) {
  .ht-services__b { margin-top: var(--s-6); }
  .ht-row { grid-template-columns: minmax(0, 1fr) 8.5rem; column-gap: var(--s-3); min-height: 0; padding-block: var(--s-3); }
  .ht-row__price { grid-row: 1; align-self: baseline; justify-self: start; flex-wrap: wrap; row-gap: 0; }
  .ht-row__line { grid-column: 1 / -1; }
  .ht-row__icons { order: -1; }
  .ht-row__go { display: none; }
  .ht-services__head > .link { display: none; }
}

/* ---------------------------------------------------------------- the statement */
#approach .mo-wh__text { font-size: clamp(34px, 2.9vw + 22px, 64px); line-height: 1.12; max-width: 1080px; }
#approach .t-label { color: var(--muted); margin-bottom: var(--s-6); }
html[lang="ar"] #approach .mo-wh__text { line-height: 1.4; }
.ht-sign { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); max-width: 1080px; }
.ht-sign svg.ht-sign__mark { display: block; width: 28px; height: 28px; flex: none; }
.ht-sign__name { font-weight: 500; }
.ht-sign__role { color: var(--muted); }

/* ---------------------------------------------------------------- how a project goes: three steps, each with its window */
.ht-process__head > .link { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
/* the three windows share one row and the three captions the next (subgrid), whatever each window's height */
.ht-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 0; }
.ht-step { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: var(--s-5); min-width: 0; }
.ht-step__stage {
  order: -1; margin: 0; display: grid; place-items: center; padding: var(--s-6) var(--s-5);
  border-radius: var(--r-lg); background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--ht-hair);
}
.ht-step__n { margin: 0 0 var(--s-2); font-size: var(--t-small); font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.ht-step__text h3 { margin: 0 0 var(--s-2); font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.ht-step__text p:last-child { margin: 0; max-width: 40ch; }
.ht-win {
  width: min(100%, 380px); padding: var(--s-5); display: grid; gap: var(--s-3);
  font-size: 13px; line-height: 20px; color: var(--u-ink, var(--ink));
}
.ht-win__head { display: flex; align-items: center; gap: var(--s-2); min-height: 28px; padding-bottom: var(--s-3); border-bottom: 1px solid var(--u-line, var(--line)); }
.ht-win__glyph {
  display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px;
  background: color-mix(in oklab, var(--u-ink, var(--ink)) 6%, transparent); color: var(--u-ink, var(--ink));
}
.ht-win__label { margin: var(--s-1) 0 0; }
.ht-win__note { color: var(--u-muted, var(--muted)); font-size: 13px; line-height: 18px; margin: 0; }
.ht-win__foot { display: flex; align-items: center; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--u-line, var(--line)); }
.ht-book__days, .ht-book__slots { display: grid; gap: 6px; }
.ht-book__days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ht-book__slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ht-book__days > span, .ht-book__slots > span {
  display: grid; place-items: center; height: 34px; border-radius: 9px; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px var(--u-line-2, var(--line-strong));
  transition: background-color 260ms var(--ease), color 260ms var(--ease), box-shadow 260ms var(--ease), transform 360ms cubic-bezier(.22, 1, .36, 1);
}
.ht-book__days > .is-on { background: var(--u-ink, var(--ink)); color: var(--u-bg, #fff); box-shadow: none; }
.ht-book__slots > .is-on { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.ht-quote__rows { display: grid; }
.ht-quote__row {
  display: flex; justify-content: space-between; gap: var(--s-4); padding-block: 8px; border-bottom: 1px solid var(--u-line, var(--line));
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.ht-quote__row > span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ht-quote__total { font-weight: 500; border-bottom: 0; font-size: 14px; }
.ht-quote__accept { display: flex; gap: var(--s-2); align-items: center; }
.ht-quote__field {
  flex: 1 1 auto; min-width: 0; height: 34px; display: flex; align-items: center; padding-inline: 10px; border-radius: 9px;
  color: var(--u-muted, var(--muted)); box-shadow: inset 0 0 0 1px var(--u-line-2, var(--line-strong));
}
.ht-quote__accept .ui-btn { flex: none; height: 34px; }
.ht-checks { width: 100%; padding-bottom: 0; }
.ht-checks .ui-checks__head { padding: 0; height: 32px; }
.ht-checks .ui-checks__bar { margin-inline: 0; }
.ht-checks .ui-checks__bar i { transition-duration: 900ms; }
.ht-checks .ui-check { padding: 0; height: 34px; }
.ht-checks .ui-checks__list { list-style: none; margin: 0; padding: 0; }
.ht-checks .ui-check.is-done .ui-check__label::after { transform: scaleX(0); }   /* a paid deposit is done, not crossed out */
/* the laptop: the windows a little smaller in their three columns */
@media (min-width: 1024px) and (max-width: 1279px) {
  .ht-step__stage { padding: var(--s-5) var(--s-4); }
  .ht-win { padding: var(--s-4); }
  .ht-quote__accept { flex-wrap: wrap; }
}
/* the tablet: one step a row, the words beside the window */
@media (min-width: 640px) and (max-width: 1023px) {
  .ht-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .ht-step { grid-row: auto; grid-template-rows: none; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: center; }
  .ht-step__stage { order: 0; min-height: 0; padding: var(--s-6); }
}
/* the phone: the words, then the window */
@media (max-width: 639px) {
  .ht-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .ht-step { grid-row: auto; grid-template-rows: none; gap: var(--s-4); }
  .ht-step__stage { order: 0; min-height: 0; padding: var(--s-4); }
  .ht-win { padding: var(--s-4); gap: var(--s-2); }
  .ht-win__head { padding-bottom: var(--s-2); }
  .ht-win__foot { padding-top: var(--s-2); }
  .ht-checks .ui-check { height: 30px; }
  .ht-process__head > .link { display: none; }
}
@media (max-width: 400px) {
  .ht-win__head { flex-wrap: wrap; row-gap: var(--s-1); }
  .ht-quote__accept { flex-wrap: wrap; }
  .ht-quote__field { flex: 1 1 100%; }
  .ht-quote__accept .ui-btn { flex: 1 1 auto; }
}

/* plays once (Play.tsx sets html.ht-play, then .is-in on each step the first time a third of it is on
   screen): the booking window picks Tuesday, then 16:30; the quote's lines come in and its button
   lights once; the client page's bar fills and its two done steps tick. Without script or under
   reduced motion the finished windows show from the start. */
html.ht-play .ht-step:not(.is-in) .ht-book__days > .is-on,
html.ht-play .ht-step:not(.is-in) .ht-book__slots > .is-on {
  background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--u-line-2, var(--line-strong));
}
.ht-step.is-in .ht-book__days > .is-on { transition-delay: 350ms; }
.ht-step.is-in .ht-book__slots > .is-on { transition-delay: 900ms; animation: ht-pop 420ms cubic-bezier(.22, 1, .36, 1) 900ms both; }
@keyframes ht-pop { 0% { transform: scale(1); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }
html.ht-play .ht-step:not(.is-in) .ht-quote__row { opacity: 0; transform: translateY(6px); }
.ht-step.is-in .ht-quote__row:nth-child(2) { transition-delay: 90ms; }
.ht-step.is-in .ht-quote__row:nth-child(3) { transition-delay: 180ms; }
.ht-step.is-in .ht-quote__row:nth-child(4) { transition-delay: 300ms; }
.ht-step.is-in .ht-quote__accept .ui-btn { animation: ht-ring 1100ms var(--ease) 900ms 1 both; }
@keyframes ht-ring {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 45%, transparent); }
  100% { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); }
}
html.ht-play .ht-step:not(.is-in) .ht-checks .ui-checks__bar i { transform: scaleX(0); }
html.ht-play .ht-step:not(.is-in) .ht-checks .ui-check.is-done .ui-check__box { background: transparent; box-shadow: inset 0 0 0 1.5px var(--u-line-2); }
html.ht-play .ht-step:not(.is-in) .ht-checks .ui-check.is-done .ui-check__box path { stroke-dashoffset: 12; }
html.ht-play .ht-step:not(.is-in) .ht-checks .ui-check.is-done .ui-check__label { color: inherit; }
.ht-step.is-in .ht-checks .ui-checks__bar i { transition-delay: 250ms; }
.ht-step.is-in .ht-checks .ui-check.is-done:nth-child(1) :is(.ui-check__box, .ui-check__box path, .ui-check__label) { transition-delay: 450ms; }
.ht-step.is-in .ht-checks .ui-check.is-done:nth-child(2) :is(.ui-check__box, .ui-check__box path, .ui-check__label) { transition-delay: 850ms; }
@media (prefers-reduced-motion: reduce) {
  .ht-step * { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------- the free phone test (the page's one dark band) */
.ht-test { margin-top: 0; }
.ht-test__result { display: grid; gap: var(--s-3); align-content: start; }
.ht-test__label { color: var(--muted); }
.ht-test__level { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); margin: 0; }
.ht-test__zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-1); margin: var(--s-1) 0 var(--s-2); max-width: 420px; }
.ht-test__zones > span { display: grid; gap: var(--s-2); font-size: var(--t-label); color: var(--muted); }
.ht-test__zones i { display: block; height: 6px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 16%, transparent); transition: background-color 300ms var(--ease); }
.ht-test__zones .is-on { color: var(--ink); }
.ht-test__zones .is-on i { background: var(--ink); }
.ht-test__text, .ht-test__price { margin: 0; max-width: 46ch; }
.ht-test__progress, .ht-test__note { color: var(--muted); margin: 0; }
.ht-test__note { max-width: 46ch; }
.ht-test__price { color: var(--ink); }
.ht-test__devices { display: flex; align-items: center; gap: var(--s-3); margin: 0; color: var(--ink); }
.ht-test__marks { display: inline-flex; align-items: center; gap: var(--s-2); }
.ht-test__marks .ic { display: block; }
.ht-test__result .link { display: inline-flex; align-items: center; min-height: 44px; }
.ht-test__reset {
  justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
/* the questions on a lit card, each answered with one segmented control */
.ht-test__card {
  background: var(--p-inv-surface); border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  border-radius: var(--r-lg); padding: var(--s-1) var(--s-5);
}
.ht-test__list { list-style: none; margin: 0; padding: 0; }
.ht-test__q {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; gap: var(--s-3); align-items: center;
  min-height: 56px; padding-block: 6px; border-bottom: 1px solid var(--line);
}
.ht-test__q:last-child { border-bottom: 0; }
.ht-test__n { color: var(--muted); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.ht-test__choices {
  display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 6%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 10%, transparent);
}
.ht-choice { position: relative; display: inline-grid; }
.ht-choice > input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ht-choice > span {
  display: grid; place-items: center; min-width: 60px; height: 44px; padding-inline: var(--s-4); border-radius: 999px;
  font-weight: 500; color: var(--muted); transition: background-color var(--m-in, 150ms) var(--ease), color var(--m-in, 150ms) var(--ease);
}
.ht-choice:hover > span { color: var(--ink); }
.ht-choice > input:checked + span { background: var(--ink); color: var(--bg); }
.ht-choice > input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .ht-test > .ht-test__result { grid-column: 1 / span 4; }
  .ht-test > .ht-test__card { grid-column: 5 / -1; }
  .ht-test__q { min-height: 52px; padding-block: var(--s-1); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .ht-test > .ht-test__result { grid-column: 1 / span 5; }
  .ht-test > .ht-test__card { grid-column: 6 / -1; padding-inline: var(--s-4); }
  .ht-test__q { grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: var(--s-2); }
  .ht-choice > span { min-width: 52px; padding-inline: var(--s-3); }
}
@media (max-width: 639px) {
  .ht-test > [class*="span-"] { grid-column: 1 / -1; }
  .ht-test__result { order: 2; margin-top: var(--s-4); gap: var(--s-2); }
  .ht-test__card { padding: 0 var(--s-4); }
  .ht-test__q { grid-template-columns: 1.75rem minmax(0, 1fr); gap: var(--s-1) var(--s-2); padding-block: var(--s-1); min-height: 0; }
  .ht-test__choices { grid-column: 1 / -1; display: flex; }
  .ht-choice { flex: 1 1 0; }
  .ht-choice > span { width: 100%; }
  .ht-test__zones > span { font-size: 0; gap: 0; }
  .ht-test__progress { display: none; }
}

/* ---------------------------------------------------------------- questions: one white sheet, each answer opening in place */
.ht-faq__head > .link { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s-2); }
.ht-faq__list { background: var(--ht-card); border: 1px solid var(--ht-hair); border-radius: var(--r-lg); padding: var(--s-2) var(--s-6); }
.ht-qa { border-bottom: 1px solid var(--line); }
.ht-qa:last-child { border-bottom: 0; }
.ht-qa__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding-block: var(--s-4);
  list-style: none; cursor: pointer; border-radius: var(--r-sm);
}
.ht-qa__q::-webkit-details-marker { display: none; }
.ht-qa__q h3 { margin: 0; font: 500 var(--t-card)/1.35 var(--font-text); letter-spacing: -0.005em; transition: color var(--dur) var(--ease); }
.ht-qa__q:hover h3 { color: var(--action); }
.ht-qa__q:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
/* a plus that turns into a minus as the answer opens */
.ht-qa__icon {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ht-qa__icon::before, .ht-qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; border-radius: 1px;
  background: currentColor; transition: transform 260ms var(--ease);
}
.ht-qa__icon::after { transform: rotate(90deg); }
.ht-qa[open] .ht-qa__icon::after { transform: rotate(0deg); }
.ht-qa[open] .ht-qa__icon { background: var(--ink); color: var(--bg); box-shadow: none; }
.ht-qa__a p { margin: 0; padding-block: 0 var(--s-5); padding-inline: 0 var(--s-8); max-width: 62ch; color: var(--ink); }
/* the answer slides open where the browser can size to auto; elsewhere it simply shows */
@supports (interpolate-size: allow-keywords) {
  .ht-faq__list { interpolate-size: allow-keywords; }
  .ht-qa::details-content { block-size: 0; overflow: clip; transition: block-size 320ms var(--ease), content-visibility 320ms allow-discrete; }
  .ht-qa[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) { .ht-qa::details-content { transition: none; } }
@media (max-width: 1023px) {
  .ht-faq > [class*="span-"] { grid-column: 1 / -1; }
  .ht-faq__list { margin-top: var(--s-6); }
}
@media (max-width: 639px) {
  .ht-faq__list { padding: var(--s-1) var(--s-4); }
  .ht-qa__q { min-height: 56px; padding-block: var(--s-3); }
  .ht-qa__a p { padding-inline-end: 0; padding-bottom: var(--s-4); }
}

/* ---------------------------------------------------------------- request a quote: two other ways, then the form on a white card */
.ht-ways { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; gap: var(--s-3); max-width: 460px; }
.ht-way {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 18px; align-items: center; gap: var(--s-4);
  padding: var(--s-4); border-radius: var(--r-md); background: var(--ht-card); border: 1px solid var(--ht-hair); color: var(--ink);
  text-decoration: none; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ht-way .ic-tile { color: var(--ink); }
.ht-way__text { display: grid; gap: 2px; min-width: 0; }
.ht-way__title { font-weight: 500; }
.ht-way__line { color: var(--muted); font-size: var(--t-small); overflow-wrap: anywhere; }
.ht-way__go { display: grid; color: var(--muted); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .ht-way:hover { border-color: var(--line-strong); transform: translateY(-2px); }
  .ht-way:hover .ht-way__go { transform: translateX(3px); color: var(--ink); }
}
.ht-way:focus-visible .ht-way__go { color: var(--ink); }

.ht-form-panel { background: var(--ht-card); border: 1px solid var(--ht-hair); border-radius: var(--r-lg); padding: var(--s-7); }
.ht-form { display: grid; gap: var(--s-6); --error: color-mix(in oklab, #d92d20 72%, var(--ink)); }
.ht-form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
/* fields: white with one hairline, the accent ring on focus */
.ht-form .field { gap: var(--s-2); align-content: start; }
.ht-form .field > label, .ht-needs__legend { font-size: var(--t-small); font-weight: 500; color: var(--ink); }
.ht-form .field :is(input, textarea) {
  height: 48px; padding-inline: 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ht-form .field textarea { height: auto; min-height: 128px; padding-block: 12px; line-height: 1.55; }
.ht-form .field :is(input, textarea)::placeholder { color: color-mix(in oklab, var(--muted) 80%, transparent); }
.ht-form .field :is(input, textarea):hover { border-color: color-mix(in oklab, var(--p-ink) 32%, transparent); }
.ht-form .field :is(input, textarea):focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 4px color-mix(in oklab, var(--action) 16%, transparent); }
.ht-form .field :is(input, textarea)[aria-invalid="true"] { border: 1px solid var(--error); box-shadow: 0 0 0 4px color-mix(in oklab, var(--error) 12%, transparent); }

/* what you need: eight tiles, one tap */
.ht-needs { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--s-3); }
.ht-needs__legend { padding: 0; margin-bottom: var(--s-3); }
.ht-needs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.ht-need {
  position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: var(--s-3);
  min-height: 56px; padding: var(--s-2) var(--s-3); border-radius: var(--r-md); border: 1px solid var(--line-strong); background: #fff;
  font-size: 15px; font-weight: 500; line-height: 1.3; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ht-need > input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ht-need__icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--ink);
  background: color-mix(in oklab, var(--p-ink) 5%, transparent);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 300ms cubic-bezier(.22, 1, .36, 1);
}
.ht-need:hover { border-color: color-mix(in oklab, var(--p-ink) 32%, transparent); }
.ht-need:has(input:checked) {
  border-color: var(--action); background: color-mix(in oklab, var(--action) 5%, #fff);
  box-shadow: inset 0 0 0 1px var(--action);
}
.ht-need:has(input:checked) .ht-need__icon { background: var(--action); color: var(--action-ink); transform: scale(1.06); }
.ht-need:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.ht-needs[data-invalid] .ht-need { border-color: color-mix(in oklab, var(--error) 55%, transparent); }

/* the foot: one wide button, the status line, the reply time */
.ht-form__foot { display: grid; gap: var(--s-3); }
.ht-form__submit { width: 100%; }
.ht-form__submit[aria-disabled="true"] { opacity: .72; cursor: progress; }
.ht-form .form__status { margin: 0; }
.ht-form .form__status:empty { display: none; }
.ht-form__note { margin: 0; font-size: var(--t-small); color: color-mix(in oklab, var(--ink) 80%, #ffffff); }

/* sent: one calm panel in place of the fields */
.ht-sent { display: grid; justify-items: start; align-content: center; gap: var(--s-4); padding-block: var(--s-6); animation: ht-sent-in 420ms var(--ease) both; }
.ht-sent__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--action); color: var(--action-ink); }
.ht-sent__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ht-sent__icon path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: ht-tick 420ms var(--ease) 180ms forwards; }
.ht-sent__title { margin: 0; font: var(--display-weight) var(--t-h3)/1.25 var(--font-display); letter-spacing: var(--display-tracking); max-width: 22ch; }
@keyframes ht-sent-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ht-tick { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ht-sent, .ht-sent__icon path { animation: none; stroke-dashoffset: 0; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .ht-quote > [class*="span-"] { grid-column: 1 / -1; }
  .ht-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .ht-quote .ht-form-panel { margin-top: var(--s-7); padding: var(--s-6); }
}
@media (max-width: 639px) {
  .ht-quote > [class*="span-"] { grid-column: 1 / -1; }
  .ht-ways { margin-top: var(--s-6); }
  .ht-quote .ht-form-panel { margin-top: var(--s-6); padding: var(--s-5) var(--s-4); }
  .ht-form { gap: var(--s-5); }
  .ht-form__pair { grid-template-columns: minmax(0, 1fr); }
  .ht-need { grid-template-columns: 28px minmax(0, 1fr); gap: var(--s-2); min-height: 60px; padding: var(--s-2); font-size: 14px; }
  .ht-need__icon { width: 28px; height: 28px; }
}

/* ---------------------------------------------------------------- footer */
.ht-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); }
.ht-legal__links { display: inline-flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
@media (max-width: 639px) { .ht-legal { display: grid; justify-items: start; } }

/* ---------------------------------------------------------------- right to left (/home-test/ar) */
[dir="rtl"] .ht-row__name { background-position: 100% 100%; }
[dir="rtl"] .ht-row__go svg { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .ht-row:hover .ht-row__go { transform: translateX(-3px); } }
[dir="rtl"] .ht-test__reset { justify-self: end; }
[dir="rtl"] .ht-way__go svg { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .ht-way:hover .ht-way__go { transform: translateX(-3px); } }
[dir="rtl"] .ht-checks .ui-checks__bar i { transform-origin: right; }
html[dir="rtl"] :is(.btn, .link):hover .m-arrow,
html[dir="rtl"] :is(.btn, .link):focus-visible .m-arrow { transform: translateX(-3px); }

/* ---------------------------------------------------------------- the hero card's live dot: three soft pulses on load, then still */
.ht-hero .ly-live::before { animation: ly-pulse 2.4s ease-out 1.2s 3; }
@media (prefers-reduced-motion: reduce) { .ht-hero .ly-live::before { animation: none; } }

/* ---------------------------------------------------------------- the small laptop's header (1024-1279)
   the centred words would run into the language switch: they follow the name instead, the switch tighter */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav--centre.ht-nav .nav__bar { display: flex; gap: var(--s-6); }
  .nav--centre.ht-nav .nav__links { flex: 1 1 auto; justify-content: flex-start; }
  .ht-lang { min-width: 34px; padding-inline: var(--s-2); }
}

/* ================================================================ the inner pages (2026-11-27: the whole site in this system) */

/* ---------------------------------------------------------------- an inner page's hero: trail, label, h1, lead, buttons
   the kit's .hero box is the full first screen; an inner page's hero takes its content's height under the header */
main > .hero.ht-page-hero { height: auto; min-height: 0; padding: calc(var(--nav) + var(--s-7)) 0 var(--ht-pad); }
main > .hero.ht-page-hero > .wrap { height: auto; display: block; row-gap: 0; }
@media (max-width: 639px) {
  main > .hero.ht-page-hero { min-height: 0; padding-top: calc(var(--nav) + var(--s-5)); }
}
.ht-crumbs { margin-bottom: var(--s-6); }
.ht-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); font-size: var(--t-small); color: var(--muted); }
.ht-crumbs li { display: inline-flex; align-items: center; gap: var(--s-2); }
.ht-crumbs li + li::before { content: "/"; color: color-mix(in oklab, var(--muted) 60%, transparent); }
.ht-crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); text-decoration: none; }
.ht-crumbs a:hover { color: var(--ink); }
.ht-crumbs [aria-current="page"] { color: var(--ink); }
.ht-page-hero__text { max-width: 820px; }
.ht-page-hero__text > * + * { margin-top: var(--s-5); }
.ht-page-hero__text > .btn-row { margin-top: var(--s-6); }
.ht-page-hero h1 { font-size: calc(var(--ly-h1) * .9); max-width: 18ch; }
html[lang="ar"] .ht-page-hero h1 { line-height: 1.25; max-width: 22ch; }
.ht-page-hero .hero__lead { max-width: 56ch; }
.ht-page-hero .hero__kicker { margin: 0; color: var(--ink); font-weight: 500; }
.ht-page-hero .hero__kicker .dot { box-shadow: 0 0 0 4px color-mix(in oklab, var(--p-accent) 16%, transparent); }
/* with his portrait beside the words (the about page) */
@media (min-width: 1024px) {
  .ht-page-hero--aside .ht-page-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .ht-page-hero--aside .ht-page-hero__text { grid-column: 1 / span 5; }
  .ht-page-hero--aside .ht-portrait { grid-column: 7 / -1; }
}
.ht-portrait { position: relative; overflow: hidden; aspect-ratio: 7 / 8; border-radius: var(--r-lg); background: #2a1717; }
.ht-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ht-portrait::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 10%, transparent); pointer-events: none; }
@media (max-width: 1023px) {
  .ht-portrait { margin-top: var(--s-7); aspect-ratio: 4 / 3; }
  .ht-portrait > img { object-position: 50% 22% !important; }
}
/* a service's price and delivery under its lead */
.ht-hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-5); }
.ht-hero-price__amount { display: inline-flex; align-items: baseline; gap: 6px; font: 500 28px/1.1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ht-hero-price__amount small { font: 400 var(--t-body)/1 var(--font-text); letter-spacing: 0; color: var(--muted); }
.ht-hero-price__delivery { font-size: var(--t-small); color: var(--muted); }

/* ---------------------------------------------------------------- a section's label (above its h2) */
.ht-label { margin: 0; color: var(--accent); font-weight: 500; }

/* ---------------------------------------------------------------- cards: items in rows of three */
.ht-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.ht-cards[data-count="2"], .ht-cards[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-card { display: grid; align-content: start; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--ht-card); border: 1px solid var(--ht-hair); }
.ht-band .ht-card { background: var(--p-bg); border-color: transparent; }
.ht-card__n { font-size: var(--t-small); font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.ht-card h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.005em; }
.ht-card p { margin: 0; color: var(--ink); }
@media (max-width: 1023px) { .ht-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .ht-cards, .ht-cards[data-count="2"], .ht-cards[data-count="4"] { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .ht-card { padding: var(--s-5); }
}

/* ---------------------------------------------------------------- steps: what happens, in order */
.ht-steplist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.ht-steplist[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ht-steplist[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-steplist > li { display: grid; align-content: start; gap: var(--s-2); padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.ht-steplist__n { font-size: var(--t-small); font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.ht-steplist h3 { margin: var(--s-1) 0 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.ht-steplist p { margin: 0; }
.ht-steplist .ht-steplist__meta { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 1023px) { .ht-steplist, .ht-steplist[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-7); } }
@media (max-width: 639px) { .ht-steplist, .ht-steplist[data-count="3"], .ht-steplist[data-count="2"] { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-6); } }

/* ---------------------------------------------------------------- the services list with one group (the security page) */
main > .section > .wrap.ht-services--one { grid-template-columns: minmax(0, 1fr); }
.ht-services--one .ht-services__a { display: block; }
.ht-services--one .ht-sheet { max-width: none; }

/* ---------------------------------------------------------------- "What I can build": two lists on white sheets */
.ht-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.ht-columns__col { padding: var(--s-5) var(--s-6) var(--s-2); border-radius: var(--r-lg); background: var(--ht-card); border: 1px solid var(--ht-hair); }
.ht-band .ht-columns__col { background: var(--p-bg); border-color: transparent; }
.ht-columns__title { margin: 0 0 var(--s-2); font: 500 var(--t-card)/1.3 var(--font-text); }
.ht-columns__list { list-style: none; margin: 0; padding: 0; }
.ht-columns__list > li { display: grid; gap: 2px; padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.ht-columns__list > li:last-child { border-bottom: 0; }
.ht-columns__main { font-weight: 500; }
.ht-columns__detail { color: var(--ht-ink-2); }
@media (max-width: 1023px) { .ht-columns { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .ht-columns__col { padding: var(--s-4) var(--s-4) var(--s-1); } }

/* ---------------------------------------------------------------- the about page: story, facts, toolbox */
.ht-story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-5); align-items: start; }
.ht-story__lead { grid-column: 1 / span 6; margin: 0; font: var(--display-weight) clamp(22px, 1vw + 16px, 30px)/1.35 var(--font-display); letter-spacing: -0.01em; }
.ht-story__rest { grid-column: 8 / -1; display: grid; gap: var(--s-4); }
.ht-story__rest p { margin: 0; }
.ht-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin: var(--s-8) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.ht-facts > div { display: grid; gap: var(--s-1); }
.ht-facts dt { font-size: var(--t-small); color: var(--muted); }
.ht-facts dd { margin: 0; font-weight: 500; }
@media (max-width: 1023px) {
  .ht-story__lead, .ht-story__rest { grid-column: 1 / -1; }
  .ht-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-5); }
}
/* ---------------------------------------------------------------- the stack board (About)
   Six layers on one grey sheet (number, name, one plain line, the tools as logo chips) and security as
   the dark column beside all of them: what he does, the tools, what this website itself passes (a
   small report window) and the way to the security services. Shown at rest: nothing fades in. */
.ht-stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); gap: var(--gutter); align-items: stretch; }
.ht-stack__layers { list-style: none; margin: 0; padding: 0; border-radius: var(--r-lg); background: var(--p-bg); }
.ht-stack__layer { display: grid; grid-template-columns: minmax(170px, 210px) minmax(0, 1fr); gap: var(--s-3) var(--s-6); padding: var(--s-5) var(--s-6); }
.ht-stack__layer + .ht-stack__layer { border-top: 1px solid var(--ht-hair); }
.ht-stack__head { display: grid; align-content: start; gap: 6px; }
.ht-stack__num { font-size: 12px; line-height: 1; font-weight: 500; letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums; }
.ht-stack__head h3 { margin: 0; font: 500 var(--t-card)/1.25 var(--font-text); }
.ht-stack__head p { margin: 0; font-size: var(--t-small); line-height: 1.45; color: var(--ht-ink-2); }
.ht-stack__tools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-content: start; gap: 8px; }
.ht-stack .ic-chip { padding-block: 0; padding-inline: 8px 12px; background: var(--ht-card); box-shadow: inset 0 0 0 1px var(--ht-hair); }
.ht-stack .ht-chip--text { padding-inline: 12px; }
.ht-stack .ht-chip--mark { padding-inline: 12px; }
.ht-stack .ht-chip--mark > .ic-wide { width: 44px; max-height: 18px; }
/* security: the dark column (.ground-inverse turns the tokens light-on-ink) */
.ht-stack__guard { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--s-5); padding: var(--s-6); border-radius: var(--r-lg); }
.ht-stack__guard .ht-stack__head p { color: color-mix(in oklab, var(--ink) 80%, var(--bg)); }
.ht-stack__shield { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s-2); border-radius: 12px; background: var(--p-accent); color: #ffffff; }
.ht-stack__practices { list-style: none; margin: 0; padding: var(--s-5) 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.ht-stack__practices li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--t-small); line-height: 1.45; }
.ht-stack__practices .ht-check { margin-top: 1px; stroke: var(--ink); }
.ht-stack__guard .ic-chip { background: color-mix(in oklab, var(--ink) 7%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
/* what this website passes: a report window, one step lighter than the column */
.ht-audit { --fx-bg: var(--surface); width: 100%; padding: var(--s-4); }
.ht-audit .ui-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ht-audit__rows { margin: 0; display: grid; gap: 8px; }
.ht-audit__rows > div { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.ht-audit__rows dt { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ht-audit__rows dd { margin: 0; color: var(--u-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ht-audit .ht-check { width: 16px; height: 16px; margin: 0; flex: none; stroke: var(--u-ink); }
.ht-stack__more { justify-self: start; align-self: end; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; }
@media (max-width: 1179px) {
  .ht-stack { grid-template-columns: minmax(0, 1fr); }
  .ht-stack__guard { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); }
  .ht-stack__guard > .ht-stack__head { grid-column: 1 / -1; }
  .ht-stack__practices { padding-top: 0; border-top: 0; }
  .ht-audit { align-self: start; }
}
@media (max-width: 767px) {
  .ht-stack__layer { grid-template-columns: minmax(0, 1fr); padding: var(--s-5); }
  .ht-stack__guard { grid-template-columns: minmax(0, 1fr); padding: var(--s-5); }
  .ht-stack__practices { padding-top: var(--s-5); border-top: 1px solid var(--line); }
  .ht-stack__tools { gap: 6px; }
  .ht-stack .ic-chip { height: 30px; }
}

/* ---------------------------------------------------------------- honest limits, under the promises */
.ht-limits { margin-top: var(--s-7); padding: var(--s-6); border-radius: var(--r-lg); background: var(--ht-card); border: 1px solid var(--ht-hair); }
.ht-limits__title { margin: 0 0 var(--s-4); font: 500 var(--t-card)/1.3 var(--font-text); }
.ht-limits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--gutter); }
.ht-limits li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.ht-limits strong { font-weight: 500; }
.ht-limits__x { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in oklab, var(--p-ink) 7%, transparent); }
.ht-limits__x svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 1023px) { .ht-limits ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .ht-limits { padding: var(--s-5) var(--s-4); } }

/* ---------------------------------------------------------------- related services: linked cards */
.ht-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.ht-related__card {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s-2); height: 100%; padding: var(--s-5) var(--s-6);
  border-radius: var(--r-lg); background: var(--p-bg); color: var(--ink); text-decoration: none;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.ht-related__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s-2); border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--ht-hair); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.ht-related__name { font: 500 var(--t-card)/1.3 var(--font-text); }
.ht-related__line { color: var(--ht-ink-2); }
.ht-related__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.ht-related__price { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ht-related__price small { font-size: var(--t-small); font-weight: 400; color: var(--muted); }
.ht-related__go { display: grid; color: var(--muted); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .ht-related__card:hover { transform: translateY(-2px); }
  .ht-related__card:hover .ht-related__icon { background: var(--p-accent); color: var(--p-accent-ink); box-shadow: none; }
  .ht-related__card:hover .ht-related__go { transform: translateX(3px); color: var(--ink); }
}
@media (max-width: 1023px) { .ht-related { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- prices: tabs, package cards, à la carte, terms */
.ht-tabs__list { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: var(--p-bg); }
.ht-tabs__tab {
  min-height: 44px; padding: 0 var(--s-5); border: 0; border-radius: 999px; background: none; color: var(--muted);
  font: 500 var(--t-body)/1 var(--font-text); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ht-tabs__tab:hover { color: var(--ink); }
.ht-tabs__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.ht-tabs__tab:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.ht-tabs__panel { margin-top: var(--s-7); }
.ht-tabs__panel:focus-visible { outline: 2px solid var(--action); outline-offset: 6px; border-radius: var(--r-md); }
@media (max-width: 639px) {
  .ht-tabs__list { display: flex; width: 100%; border-radius: var(--r-md); }
  .ht-tabs__tab { flex: 1 1 0; padding-inline: var(--s-2); border-radius: calc(var(--r-md) - 4px); font-size: var(--t-small); }
}
.ht-packages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.ht-packages[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ht-packages[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-packages[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.ht-package { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--p-bg); border: 1px solid transparent; }
.ht-package[data-recommended] { background: #fff; border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.ht-package__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); }
.ht-package__name { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.ht-package__badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 var(--s-3); border-radius: 999px; background: var(--action); color: var(--action-ink); font-size: var(--t-label); font-weight: 500; }
.ht-package__pitch { margin: 0; color: var(--ht-ink-2); }
.ht-package__price { margin: var(--s-2) 0 0; }
.ht-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font: 500 34px/1.1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ht-price small { font: 400 var(--t-small)/1 var(--font-text); letter-spacing: 0; color: var(--muted); }
.ht-package__delivery { margin: 0; font-size: var(--t-small); color: var(--muted); }
.ht-package__delivery span { color: var(--ink); font-weight: 500; }
.ht-package__features { list-style: none; margin: var(--s-2) 0 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s-2); }
.ht-package__features li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--s-2); align-items: start; }
.ht-package__cta { margin-top: auto; width: 100%; }
.ht-package__features, .ht-package__delivery:last-of-type { margin-bottom: var(--s-3); }
.ht-check { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1279px) { .ht-packages[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .ht-packages, .ht-packages[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .ht-packages, .ht-packages[data-count="4"], .ht-packages[data-count="2"] { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .ht-package { padding: var(--s-5); }
  /* a figure never outgrows the phone's h2 (30px) */
  .ht-price, .ht-spec__price .ht-hero-price__amount { font-size: 28px; }
}
.ht-pricing__note { margin: var(--s-5) 0 0; color: var(--ht-ink-2); max-width: 70ch; }
.ht-extras { margin-top: var(--s-7); }
.ht-extras__title { margin: 0 0 var(--s-3); font: 500 var(--t-card)/1.3 var(--font-text); }
.ht-extras__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
.ht-extras__list > li { border-bottom: 1px solid var(--line); }
.ht-extra {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding-block: var(--s-3);
  color: var(--ink); text-decoration: none;
}
.ht-extra__name { transition: color var(--dur) var(--ease); }
.ht-extra:is(:hover, :focus-visible) .ht-extra__name { color: var(--action); }
.ht-extra__text { display: grid; gap: 2px; min-width: 0; }
.ht-extra__name { font-weight: 500; }
.ht-extra__pitch { color: var(--ht-ink-2); font-size: var(--t-small); }
.ht-extra__price { display: inline-flex; align-items: baseline; gap: 6px; flex: none; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ht-extra__price small { font-size: var(--t-small); font-weight: 400; color: var(--muted); }
@media (max-width: 1023px) { .ht-extras__list { grid-template-columns: minmax(0, 1fr); } }
.ht-terms { list-style: none; margin: var(--s-8) 0 0; padding: var(--s-6) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--gutter); }
.ht-terms li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--s-2); align-items: start; }
.ht-pricing__foot { margin: var(--s-5) 0 0; color: var(--ht-ink-2); max-width: 70ch; }
@media (max-width: 639px) { .ht-terms { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- the chosen package, above the form's details */
.ht-offer { display: flex; align-items: center; gap: var(--s-3); margin: 0; padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4); border-radius: var(--r-md); background: color-mix(in oklab, var(--action) 6%, #fff); border: 1px solid color-mix(in oklab, var(--action) 30%, transparent); }
.ht-offer__label { font-size: var(--t-small); color: var(--muted); flex: none; }
.ht-offer__name { flex: 1 1 auto; min-width: 0; font-weight: 500; }
.ht-offer__remove { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink); cursor: pointer; }
.ht-offer__remove:hover { background: color-mix(in oklab, var(--action) 10%, transparent); }
.ht-offer__remove svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
[dir="rtl"] .ht-offer { padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2); }

/* ---------------------------------------------------------------- booking (/book, /book/manage): the card, how the call works beside it */
.ht-booking { padding-top: var(--s-8); }
main > .section > .wrap.ht-booking__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.ht-booking__grid > :first-child { grid-column: 1 / span 7; justify-items: stretch; }
.ht-booking__info { grid-column: 9 / -1; }
.ht-booking__info h2 { margin: var(--s-2) 0 var(--s-5); font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
.ht-booking__list { list-style: none; margin: 0; padding: 0; display: grid; }
.ht-booking__list > li { display: grid; gap: var(--s-1); padding-block: var(--s-4); border-top: 1px solid var(--line); }
.ht-booking__list > li:last-child { border-bottom: 1px solid var(--line); }
.ht-booking__list h3 { margin: 0; font: 500 var(--t-body)/1.4 var(--font-text); }
.ht-booking__list p { margin: 0; color: var(--ht-ink-2); }
@media (max-width: 1023px) {
  .ht-booking__grid > :first-child, .ht-booking__info { grid-column: 1 / -1; }
  .ht-booking__info { margin-top: var(--s-8); }
}

/* ---------------------------------------------------------------- a service's facts, beside its title */
.ht-spec { display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ht-hair); }
.ht-spec__head { display: flex; align-items: center; gap: var(--s-3); }
.ht-spec__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--p-accent); color: var(--p-accent-ink); flex: none; }
.ht-spec__name { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.ht-spec__price { display: grid; gap: var(--s-1); padding-block: var(--s-4); border-block: 1px solid var(--line); }
.ht-spec__price .ht-hero-price__amount { font-size: 34px; }
.ht-spec__delivery { font-size: var(--t-small); color: var(--muted); }
.ht-spec__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.ht-spec__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--s-2); align-items: start; }
.ht-spec__tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.ht-spec__tools .ic { display: block; }
@media (min-width: 1024px) {
  .ht-page-hero--aside .ht-spec { grid-column: 7 / -1; }
}
@media (max-width: 1023px) { .ht-spec { margin-top: var(--s-7); } }
@media (max-width: 639px) {
  .ht-spec { padding: var(--s-5); }
  .ht-spec__price .ht-hero-price__amount { font-size: 28px; }
}

/* ---------------------------------------------------------------- the legal pages: sections beside their list */
main > .section > .wrap.ht-legal-doc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.ht-toc { grid-column: 1 / span 3; padding: var(--s-5); border-radius: var(--r-lg); background: var(--p-bg); }
.ht-toc__title { margin: 0 0 var(--s-3); color: var(--muted); }
.ht-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ht-toc a { display: grid; grid-template-columns: 2.25em minmax(0, 1fr); align-items: baseline; min-height: 36px; padding-block: var(--s-1); color: var(--ink); text-decoration: none; font-size: var(--t-small); }
.ht-toc a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.ht-toc a:hover { color: var(--action); }
.ht-legal-doc__body { grid-column: 5 / -1; max-width: 72ch; }
.ht-legal-doc__updated { margin: 0 0 var(--s-6); font-size: var(--t-small); color: var(--muted); }
.ht-legal-doc__block { padding-block: var(--s-6); border-top: 1px solid var(--line); }
.ht-legal-doc__block:first-of-type { border-top: 0; padding-top: 0; }
.ht-legal-doc__block h2 { display: flex; gap: var(--s-3); margin: 0 0 var(--s-4); font: 500 clamp(22px, .6vw + 18px, 28px)/1.3 var(--font-display); letter-spacing: -0.01em; }
.ht-legal-doc__num { color: var(--muted); font-variant-numeric: tabular-nums; }
.ht-legal-doc__block p { margin: 0 0 var(--s-4); line-height: 1.7; }
.ht-legal-doc__block p:last-child { margin-bottom: 0; }
.ht-dl { display: grid; margin: 0; border-top: 1px solid var(--line); }
.ht-dl > div { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: var(--s-3); padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.ht-dl dt { color: var(--muted); }
.ht-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 1023px) {
  .ht-toc, .ht-legal-doc__body { grid-column: 1 / -1; }
  .ht-toc { margin-bottom: var(--s-7); }
}
@media (max-width: 639px) { .ht-dl > div { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); } }

/* ---------------------------------------------------------------- 404 */
.ht-404 { display: grid; align-content: center; min-height: 100svh; padding-block: var(--s-8); }
.ht-404 .ht-brand { margin-bottom: var(--s-8); }
.ht-404__code { margin: 0; font: var(--display-weight) clamp(96px, 12vw, 180px)/0.9 var(--font-display); letter-spacing: -0.04em; color: color-mix(in oklab, var(--p-ink) 18%, transparent); }
.ht-404 h1 { margin: var(--s-5) 0 0; font: var(--display-weight) clamp(36px, 2.4vw + 26px, 60px)/1.05 var(--font-display); letter-spacing: var(--display-tracking); }
.ht-404__translations { margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--t-lead); }
.ht-404 .btn-row { margin-top: var(--s-7); }
