/* ==========================================================================
   HostFinn — the public site, Faza 52 (5 October 2026).

   One hand-written stylesheet for every public page and the auth screens.
   No build step: the redesign is typographic and compositional, and a
   Tailwind config would only have translated these rules into utilities.

   Every class here starts with `hf-`. `tests/test_tailwind_compilat.py`
   treats the `hf-` prefix as ours, so it never looks for these rules in
   `hf-public.css` — and a class that looks like a Tailwind utility but has no
   rule anywhere is still caught there.

   Order: tokens · base · type · buttons · nav · footer · sections ·
   home (hero, story, platform, before/after, chapters, analytics, pricing,
   FAQ, final) · inner pages · forms · prose · journal · auth · motion ·
   responsive.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --hf-paper: #F2F0EA;
  --hf-paper-2: #E7E3DA;
  --hf-white: #FFFFFF;
  --hf-ink: #0F1113;
  --hf-ink-2: #181B1F;
  --hf-ink-3: #22262B;
  --hf-mute: #5C5850;          /* on paper: 6.2:1 */
  --hf-mute-d: #9BA1A7;        /* on ink: 7.4:1 */
  --hf-teal: #1FC7AF;          /* fills, text on ink */
  --hf-teal-ink: #0B6B5F;      /* teal text on paper: 5.9:1 */
  --hf-amber: #E8843A;
  --hf-amber-ink: #9A4A12;
  --hf-danger: #B42318;
  --hf-line: rgba(15, 17, 19, .14);
  --hf-line-d: rgba(255, 255, 255, .11);
  --hf-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hf-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --hf-gutter: 48px;
  --hf-max: 1440px;
  --hf-ease: cubic-bezier(.2, .7, .1, 1);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body.hf-site {
  margin: 0;
  background: var(--hf-paper);
  color: var(--hf-ink);
  font-family: var(--hf-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.hf-site img, .hf-site svg { max-width: 100%; }
.hf-site a { color: var(--hf-teal-ink); }
.hf-site a:hover { color: var(--hf-ink); }
.hf-site :focus-visible { outline: 2px solid var(--hf-teal-ink); outline-offset: 3px; }
.hf-dark :focus-visible { outline-color: var(--hf-teal); }
.hf-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--hf-ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.hf-skip:focus { top: 12px; color: #fff; }
.hf-site [hidden] { display: none !important; }
.hf-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hf-wrap { max-width: var(--hf-max); margin: 0 auto; padding: 0 var(--hf-gutter); }
.hf-narrow { max-width: 880px; }
.hf-dark { background: var(--hf-ink); color: #fff; }
.hf-dark a { color: var(--hf-teal); }
.hf-dark a:hover { color: #fff; }
.hf-paper-2 { background: var(--hf-paper-2); }

/* ── Type ───────────────────────────────────────────────────────────────── */
.hf-mono {
  font-family: var(--hf-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.5;
}
.hf-mute { color: var(--hf-mute); }
.hf-dark .hf-mute, .hf-mute-d { color: var(--hf-mute-d); }
.hf-tealtext { color: var(--hf-teal-ink); }
.hf-dark .hf-tealtext { color: var(--hf-teal); }
.hf-disp {
  font-stretch: 78%;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .88;
  margin: 0;
  overflow-wrap: break-word;
  hyphens: manual;
}
.hf-disp em { font-style: normal; color: var(--hf-teal-ink); }
.hf-dark .hf-disp em { color: var(--hf-teal); }
.hf-xl { font-size: clamp(48px, 9.2vw, 150px); }
.hf-l { font-size: clamp(42px, 7.2vw, 120px); }
.hf-m { font-size: clamp(36px, 5.4vw, 88px); }
.hf-s { font-size: clamp(30px, 3.6vw, 56px); }
.hf-lede { font-size: 19px; line-height: 1.55; max-width: 560px; margin: 0; color: var(--hf-ink-2); }
.hf-dark .hf-lede { color: #D3D7DB; }
.hf-big { font-weight: 720; font-stretch: 82%; letter-spacing: -.035em; line-height: .86; }
.hf-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--hf-teal); margin-right: 8px; vertical-align: 1px; flex: none;
}
.hf-dot--amber { background: var(--hf-amber); }
.hf-blink { animation: hf-blink 2.4s steps(2, end) infinite; }
@keyframes hf-blink { 50% { opacity: .25; } }
.hf-labelrow {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 24px;
  flex-wrap: wrap; color: var(--hf-mute);
}
.hf-dark .hf-labelrow { color: var(--hf-mute-d); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.hf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--hf-ease), background-color .25s, color .25s, border-color .25s;
}
.hf-btn:hover { transform: translateY(-2px); }
.hf-btn:active { transform: none; }
.hf-btn .hf-arr { display: inline-block; transition: transform .25s var(--hf-ease); }
.hf-btn:hover .hf-arr { transform: translateX(4px); }
.hf-site .hf-btn--ink { background: var(--hf-ink); color: var(--hf-paper); }
.hf-site .hf-btn--ink:hover { background: var(--hf-teal-ink); color: #fff; }
.hf-site .hf-btn--teal { background: var(--hf-teal); color: var(--hf-ink); }
.hf-site .hf-btn--teal:hover { background: #fff; color: var(--hf-ink); }
.hf-site .hf-btn--line { border-color: var(--hf-ink); color: var(--hf-ink); background: transparent; }
.hf-site .hf-btn--line:hover { background: var(--hf-ink); color: var(--hf-paper); }
.hf-site .hf-btn--line-d { border-color: rgba(255, 255, 255, .38); color: #fff; background: transparent; }
.hf-site .hf-btn--line-d:hover { background: #fff; color: var(--hf-ink); }
.hf-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.hf-btn--block { width: 100%; }
.hf-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.hf-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(242, 240, 234, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.hf-nav.hf-on { border-color: var(--hf-line); background: rgba(242, 240, 234, .94); }
.hf-nav__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.hf-logo { display: inline-flex; align-items: center; flex: none; }
.hf-logo img { height: 26px; width: auto; display: block; }
.hf-nav__links { display: flex; gap: 26px; flex: 1; min-width: 0; }
.hf-site .hf-nav__links a, .hf-site .hf-nav__signin {
  color: var(--hf-ink); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.hf-site .hf-nav__links a:hover, .hf-site .hf-nav__signin:hover { color: var(--hf-teal-ink); }
.hf-site .hf-nav__links a[aria-current="page"] { color: var(--hf-teal-ink); }
.hf-nav__right { display: flex; align-items: center; gap: 18px; }
.hf-lang { display: flex; gap: 2px; }
.hf-lang button, .hf-lang a {
  background: none; border: 0; min-height: 36px; min-width: 32px; padding: 0 6px;
  color: var(--hf-mute); cursor: pointer; font: inherit; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.hf-lang button:hover { color: var(--hf-ink); }
.hf-lang button[aria-current="true"] { color: var(--hf-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.hf-nav__burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hf-line);
  background: transparent; color: var(--hf-ink); cursor: pointer; align-items: center; justify-content: center;
}
.hf-drawer { display: none; border-top: 1px solid var(--hf-line); background: var(--hf-paper); }
.hf-drawer.hf-open { display: block; }
.hf-drawer__in { padding: 20px 20px 28px; display: grid; gap: 4px; }
.hf-site .hf-drawer a.hf-drawer__link {
  color: var(--hf-ink); text-decoration: none; font-size: 28px; font-weight: 700;
  font-stretch: 80%; text-transform: uppercase; letter-spacing: -.02em; padding: 8px 0;
  border-bottom: 1px solid var(--hf-line);
}
.hf-drawer .hf-lang { margin: 16px 0 8px; }
.hf-drawer .hf-btns { margin-top: 12px; }
.hf-drawer .hf-btn { flex: 1; }

/* ── Flash messages (server-side `flash`) ──────────────────────────────── */
.hf-flashes { display: grid; gap: 8px; margin: 20px 0 0; }
.hf-flash {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--hf-line); font-size: 15px;
}
.hf-flash--success { border-color: rgba(11, 107, 95, .35); }
.hf-flash--success .hf-dot { background: var(--hf-teal-ink); }
.hf-flash--danger, .hf-flash--error { border-color: rgba(180, 35, 24, .35); }
.hf-flash--danger .hf-dot, .hf-flash--error .hf-dot { background: var(--hf-danger); }
.hf-flash--warning .hf-dot { background: var(--hf-amber); }
.hf-flash .hf-dot { margin-top: 7px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.hf-foot { padding: 72px 0 36px; border-top: 1px solid var(--hf-line-d); }
.hf-foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.hf-foot h2 { margin: 0 0 16px; font-weight: 400; color: var(--hf-mute-d); }
.hf-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.hf-site .hf-foot a { color: #fff; text-decoration: none; }
.hf-site .hf-foot a:hover { color: var(--hf-teal); }
.hf-foot__desc { color: var(--hf-mute-d); max-width: 340px; line-height: 1.55; margin: 18px 0 0; }
.hf-foot__bottom {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--hf-line-d); color: var(--hf-mute-d);
}
.hf-foot__bottom a, .hf-site .hf-foot .hf-foot__bottom a { color: var(--hf-mute-d); text-decoration: underline; text-underline-offset: 3px; }
.hf-social { display: flex; gap: 10px; margin-top: 20px; }
.hf-site .hf-social a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hf-line-d);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.hf-site .hf-social a:hover { background: #fff; color: var(--hf-ink); }
.hf-social svg { width: 18px; height: 18px; }
.hf-dbip { font-size: inherit; }

/* Newsletter band */
.hf-news { padding: 72px 0; border-top: 1px solid var(--hf-line-d); }
.hf-news__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hf-news form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.hf-news input[type="email"] {
  flex: 1 1 240px; min-height: 52px; font: inherit; font-size: 17px; color: #fff; background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(255, 255, 255, .4); border-radius: 0; padding: 8px 0;
}
.hf-news input[type="email"]::placeholder { color: var(--hf-mute-d); }
.hf-news input[type="email"]:focus { outline: none; border-color: var(--hf-teal); }
.hf-news__fine { margin: 16px 0 0; color: var(--hf-mute-d); font-size: 13px; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.hf-sec { padding: 128px 0; }
.hf-sec--tight { padding: 88px 0; }
.hf-sec + .hf-sec:not(.hf-dark):not(.hf-paper-2) { border-top: 1px solid var(--hf-line); }
.hf-sechead { display: grid; gap: 28px; margin-bottom: 64px; }

/* ── Home · hero ────────────────────────────────────────────────────────── */
.hf-hero { position: relative; padding-top: 32px; padding-bottom: 40px; }
.hf-hero__top { padding: 14px 0 22px; border-bottom: 1px solid var(--hf-line); }
.hf-hero h1 { margin-top: 36px; }
.hf-hero h1 .hf-ln { display: block; }
.hf-hero h1 .hf-ln--r { text-align: right; }
.hf-hero__row { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 48px; align-items: end; margin-top: 28px; }
.hf-hero__fine { margin-top: 16px; color: var(--hf-mute); }
.hf-site .hf-hero__fine a { color: var(--hf-ink); }
.hf-stage { position: relative; height: 600px; margin-top: 56px; }
.hf-frag {
  position: absolute; background: #fff; border: 1px solid var(--hf-line); border-radius: 14px;
  box-shadow: 0 1px 0 rgba(15, 17, 19, .04), 0 24px 48px -24px rgba(15, 17, 19, .28);
  padding: 16px; will-change: transform; transition: transform .9s var(--hf-ease);
  --hf-px: 0px; --hf-py: 0px; --hf-rot: 0deg;
  transform: translate3d(var(--hf-px), var(--hf-py), 0) rotate(var(--hf-rot));
}
.hf-frag--ink { background: var(--hf-ink); color: #fff; border-color: var(--hf-ink); }
.hf-frag__hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--hf-mute); margin-bottom: 12px; }
.hf-frag--ink .hf-frag__hd, .hf-panel--ink .hf-frag__hd { color: var(--hf-mute-d); }
.hf-frag--cal { left: 0; top: 70px; width: 54%; }
.hf-frag--rev { left: 58%; top: 0; width: 27%; }
.hf-frag--occ { left: 80%; top: 170px; width: 20%; }
.hf-frag--res { left: 45%; top: 262px; width: 30%; }
.hf-frag--msg { left: 4%; top: 400px; width: 30%; }
.hf-frag--mnt { left: 79%; top: 360px; width: 21%; }
.hf-frag--pay { left: 39%; top: 470px; width: 33%; }
.hf-calg { display: grid; grid-template-columns: 84px repeat(14, minmax(0, 1fr)); row-gap: 8px; align-items: center; }
.hf-calg__u { grid-column: 1; font-family: var(--hf-mono); font-size: 10px; color: var(--hf-mute); letter-spacing: .04em; text-transform: uppercase; }
.hf-calg__d { font-family: var(--hf-mono); font-size: 9.5px; color: var(--hf-mute); text-align: center; }
.hf-calg__d--today { color: var(--hf-teal-ink); font-weight: 500; }
.hf-bar {
  height: 22px; border-radius: 5px; font-size: 10.5px; font-weight: 600; display: flex; align-items: center;
  padding: 0 7px; white-space: nowrap; overflow: hidden; min-width: 0;
}
.hf-bar--ab { background: var(--hf-teal); color: var(--hf-ink); }
.hf-bar--bk { background: var(--hf-ink); color: #fff; }
.hf-bar--vr { background: #fff; box-shadow: inset 0 0 0 1.5px var(--hf-ink); color: var(--hf-ink); }
.hf-bar--dr { background: var(--hf-amber); color: var(--hf-ink); }
.hf-bar--ov { outline: 2px solid var(--hf-amber); outline-offset: 2px; }
.hf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--hf-line); font-size: 11px; }
.hf-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--hf-teal-ink); font-weight: 600; }
.hf-ok--warn { color: var(--hf-amber-ink); }
.hf-dark .hf-ok, .hf-frag--ink .hf-ok, .hf-panel--ink .hf-ok { color: var(--hf-teal); }
.hf-dark .hf-ok--warn { color: var(--hf-amber); }
.hf-frag--ink .hf-tealtext, .hf-panel--ink .hf-tealtext { color: var(--hf-teal); }
.hf-ba__after .hf-ok { color: var(--hf-teal-ink); }
.hf-ba__after .hf-ok--warn { color: var(--hf-amber-ink); }
.hf-ba__after .hf-dot { background: var(--hf-teal-ink); }
.hf-occbars { display: flex; gap: 3px; align-items: flex-end; height: 34px; margin-top: 10px; }
.hf-occbars i { flex: 1; border-radius: 2px; background: var(--hf-ink); display: block; }
.hf-occbars i.hf-hot { background: var(--hf-teal); }
.hf-msg { max-width: 80%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.hf-msg--in { background: var(--hf-paper); border-top-left-radius: 4px; }
.hf-msg--out { background: var(--hf-ink); color: #fff; margin-left: auto; border-top-right-radius: 4px; }
.hf-frag .hf-msg { max-width: 100%; }

/* ── Home · scale story ─────────────────────────────────────────────────── */
.hf-story { position: relative; height: 2800px; }
.hf-story__pin { position: sticky; top: 0; height: 100vh; min-height: 640px; max-height: 900px; overflow: hidden; }
.hf-story__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; padding-top: 128px; }
.hf-story__prog { position: absolute; left: var(--hf-gutter); right: var(--hf-gutter); top: 96px; height: 1px; background: var(--hf-line-d); }
.hf-story__prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--hf-teal); }
.hf-sline {
  display: block; font-size: clamp(44px, 7vw, 120px);
  transition: opacity .45s, transform .55s var(--hf-ease);
}
.hf-sline--sys { color: var(--hf-teal); }
.hf-sfeed { border-top: 1px solid var(--hf-line-d); margin-top: 10px; }
.hf-srow {
  display: grid; grid-template-columns: 132px 1fr; align-items: baseline; padding: 16px 0;
  border-bottom: 1px solid var(--hf-line-d); transition: opacity .45s, transform .55s var(--hf-ease);
}
.hf-srow__n { font-size: 40px; font-weight: 700; font-stretch: 85%; letter-spacing: -.02em; }
.hf-story__final {
  position: absolute; left: var(--hf-gutter); right: var(--hf-gutter); bottom: 48px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  transition: opacity .5s, transform .6s var(--hf-ease);
}
.hf-story__mark img { height: clamp(48px, 9vw, 150px); width: auto; display: block; }
.hf-story__claim { text-align: right; font-size: clamp(30px, 3.4vw, 54px); }
/* JS sets these; without JS everything is visible and the section is short. */
.hf-js .hf-story [data-hf-step] { opacity: 0; transform: translateY(40px); }
.hf-js .hf-story .hf-srow[data-hf-step]:not(.hf-now):not(.hf-past) { transform: translateX(28px); }
.hf-js .hf-story .hf-story__final { opacity: 0; transform: translateY(40px); }
.hf-story [data-hf-step].hf-past { opacity: .22; transform: none; }
.hf-story [data-hf-step].hf-now { opacity: 1; transform: none; }
.hf-story.hf-done .hf-sline { opacity: .12; }
.hf-story.hf-done .hf-srow { opacity: .5; }
.hf-story.hf-done .hf-story__final { opacity: 1; transform: none; }
html:not(.hf-js) .hf-story { height: auto; }
html:not(.hf-js) .hf-story__pin { position: relative; height: auto; max-height: none; padding-bottom: 260px; }

/* ── Home · platform (modules around the headline) ──────────────────────── */
.hf-os__canvas { position: relative; height: 900px; margin-top: 24px; }
.hf-os__hl {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60%; text-align: center; font-size: clamp(42px, 6vw, 98px); pointer-events: none;
}
.hf-mod {
  position: absolute; width: 200px; text-align: left; background: var(--hf-paper);
  border: 1px solid var(--hf-line); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--hf-ink);
  cursor: default; transition: background-color .25s, border-color .25s, transform .35s var(--hf-ease), box-shadow .35s;
  z-index: 2;
}
.hf-mod:hover, .hf-mod:focus-visible, .hf-mod:focus-within {
  background: #fff; border-color: var(--hf-ink); transform: translateY(-4px);
  box-shadow: 0 24px 40px -24px rgba(15, 17, 19, .35); z-index: 5;
}
.hf-mod__t { display: flex; justify-content: space-between; color: var(--hf-mute); }
.hf-mod__n { display: block; margin-top: 8px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; line-height: 1.15; }
.hf-mod__v { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; color: var(--hf-mute); }
.hf-mod__v svg { width: 56px; height: 14px; flex: none; }
.hf-mod__d {
  display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 13px; line-height: 1.45; color: var(--hf-ink-2);
  transition: max-height .4s, opacity .3s, margin .3s;
}
.hf-mod:hover .hf-mod__d, .hf-mod:focus-visible .hf-mod__d, .hf-mod:focus-within .hf-mod__d { max-height: 140px; opacity: 1; margin-top: 10px; }
.hf-mod:nth-of-type(1) { left: 3%; top: 4%; }
.hf-mod:nth-of-type(2) { left: 24%; top: 2%; }
.hf-mod:nth-of-type(3) { left: 46%; top: 0; }
.hf-mod:nth-of-type(4) { left: 68%; top: 3%; }
.hf-mod:nth-of-type(5) { left: 84%; top: 17%; }
.hf-mod:nth-of-type(6) { left: 85%; top: 40%; }
.hf-mod:nth-of-type(7) { left: 84%; top: 62%; }
.hf-mod:nth-of-type(8) { left: 67%; top: 79%; }
.hf-mod:nth-of-type(9) { left: 45%; top: 82%; }
.hf-mod:nth-of-type(10) { left: 23%; top: 79%; }
.hf-mod:nth-of-type(11) { left: 2%; top: 69%; }
.hf-mod:nth-of-type(12) { left: 0; top: 46%; }
.hf-mod:nth-of-type(13) { left: 2%; top: 24%; }
.hf-mod:nth-of-type(14) { left: 22%; top: 20%; }

/* ── Home · before / after ──────────────────────────────────────────────── */
.hf-ba { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); margin-top: 72px; }
.hf-ba__side { position: relative; height: 620px; border-radius: 20px; overflow: hidden; }
.hf-ba__before { background: var(--hf-ink-2); border: 1px solid var(--hf-line-d); }
.hf-ba__after { background: var(--hf-paper); color: var(--hf-ink); }
.hf-ba__tag { position: absolute; left: 20px; top: 18px; right: 20px; color: var(--hf-mute-d); }
.hf-cfr {
  position: absolute; background: var(--hf-ink-3); border: 1px solid var(--hf-line-d); border-radius: 10px;
  padding: 12px 14px; font-size: 13.5px; color: #E9ECEF; line-height: 1.45;
  transform: rotate(var(--hf-r, 0deg)); transition: transform .7s var(--hf-ease);
}
.hf-ba__before:hover .hf-cfr { transform: translate(var(--hf-hx, 0), var(--hf-hy, 0)) rotate(var(--hf-hr, 0deg)); }
.hf-cfr--wa { background: #1F2C26; border-color: #2B3E35; }
.hf-cfr--wa .hf-mono { color: #7FB89F; }
.hf-cfr--xl { padding: 0; overflow: hidden; font-family: var(--hf-mono); font-size: 11px; }
.hf-cfr--xl table { border-collapse: collapse; }
.hf-cfr--xl td { border: 1px solid #3A3F45; padding: 5px 8px; color: #CDD2D7; }
.hf-cfr--xl td.hf-err { color: var(--hf-amber); }
.hf-cfr--note { background: #E8D88A; color: #2A2410; border: 0; font-weight: 600; }
.hf-ba__mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--hf-mute-d); }
.hf-ba__mid i { width: 1px; flex: 1; background: var(--hf-line-d); }
.hf-today { position: absolute; inset: 28px; }
.hf-trow { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--hf-line); font-size: 15px; }
.hf-trow:last-child { border-bottom: 0; }
.hf-trow__t { font-family: var(--hf-mono); font-size: 12px; color: var(--hf-mute); }

/* ── Home · feature chapters ────────────────────────────────────────────── */
.hf-chap { padding: 128px 0; border-top: 1px solid var(--hf-line); }
.hf-chap__g { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: 64px; align-items: start; }
.hf-chap__g--rev { grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); }
.hf-chap__g--rev .hf-chap__text { order: 2; }
.hf-chap__text { position: sticky; top: 120px; }
.hf-chap__num { display: flex; gap: 16px; align-items: center; color: var(--hf-mute); }
.hf-chap__num i { flex: 0 0 48px; height: 1px; background: var(--hf-ink); }
.hf-chap__h { font-size: clamp(42px, 5.4vw, 88px); font-stretch: 72%; margin: 18px 0 28px; }
.hf-chap__text p { font-size: 18px; line-height: 1.55; color: var(--hf-ink-2); max-width: 460px; margin: 0 0 28px; }
.hf-specs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hf-line); max-width: 460px; }
.hf-specs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hf-line); font-size: 14px; }
.hf-specs li span:last-child { color: var(--hf-mute); font-family: var(--hf-mono); font-size: 12px; text-align: right; }
.hf-panel { background: #fff; border: 1px solid var(--hf-line); border-radius: 18px; padding: 22px; box-shadow: 0 40px 80px -48px rgba(15, 17, 19, .35); }
.hf-panel--ink { background: var(--hf-ink); color: #fff; border-color: var(--hf-ink); }
.hf-panel--scroll { overflow-x: auto; }
.hf-bkg { display: grid; grid-template-columns: 104px repeat(21, minmax(18px, 1fr)); row-gap: 12px; align-items: center; min-width: 620px; }
.hf-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; color: var(--hf-mute); }
.hf-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hf-legend i { width: 18px; height: 10px; border-radius: 3px; display: inline-block; }
.hf-kv { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hf-line); font-size: 14px; }
.hf-panel--ink .hf-kv { border-color: var(--hf-line-d); }
.hf-kv:last-child { border-bottom: 0; }
.hf-typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--hf-paper); border-radius: 14px; border-top-left-radius: 4px; width: max-content; }
.hf-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--hf-mute); animation: hf-ty 1.2s infinite; }
.hf-typing i:nth-child(2) { animation-delay: .15s; }
.hf-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hf-ty { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.hf-fin { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: end; height: 200px; padding-top: 12px; border-bottom: 1px solid var(--hf-line); }
.hf-fin__col { display: flex; gap: 4px; align-items: flex-end; height: 100%; }
.hf-fin__col i { flex: 1; border-radius: 4px 4px 0 0; display: block; transform-origin: bottom; transition: transform .9s var(--hf-ease); }
.hf-fin__inc { background: var(--hf-teal); }
.hf-fin__exp { box-shadow: inset 0 0 0 1.5px var(--hf-ink); }
.hf-kan { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 12px; position: relative; min-width: 520px; }
.hf-kcol { background: var(--hf-paper); border-radius: 12px; padding: 12px; min-height: 300px; }
.hf-kcol > .hf-mono { color: var(--hf-mute); display: flex; justify-content: space-between; margin-bottom: 12px; }
.hf-tk { background: #fff; border: 1px solid var(--hf-line); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 10px; }
.hf-tk .hf-mono { margin: 0 0 6px; font-size: 10px; color: var(--hf-mute); }
.hf-tk--ghost { visibility: hidden; }
.hf-tk--move {
  position: absolute; top: 44px; left: 12px; width: calc(33.333% - 32px);
  background: var(--hf-ink); color: #fff; border-color: var(--hf-ink);
  box-shadow: 0 18px 30px -18px rgba(15, 17, 19, .6);
  animation: hf-mv 9s cubic-bezier(.6, 0, .2, 1) infinite;
}
.hf-tk--move .hf-mono { color: var(--hf-teal); }
@keyframes hf-mv {
  0%, 22% { transform: translateX(0); }
  33%, 56% { transform: translateX(calc(100% + 36px)); }
  67%, 100% { transform: translateX(calc(200% + 72px)); }
}
.hf-chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; margin-top: 56px; }
.hf-chain::before { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 1px; background: var(--hf-ink); }
.hf-chain__pulse {
  position: absolute; top: 18px; left: 10%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--hf-teal); box-shadow: 0 0 0 6px rgba(31, 199, 175, .2); animation: hf-pl 6s linear infinite;
}
@keyframes hf-pl { from { left: 10%; } to { left: 90%; } }
.hf-node { position: relative; padding-top: 56px; }
.hf-node::before {
  content: ""; position: absolute; top: 16px; left: 50%; width: 13px; height: 13px; margin-left: -7px;
  border-radius: 50%; background: var(--hf-paper); border: 1.5px solid var(--hf-ink);
}
.hf-node .hf-panel { padding: 14px; border-radius: 12px; box-shadow: none; }
.hf-node__k { display: block; color: var(--hf-mute); margin-bottom: 8px; }
.hf-node__v { display: block; font-size: 15px; font-weight: 600; }
.hf-node__s { display: block; font-size: 12.5px; color: var(--hf-mute); margin-top: 4px; }

/* ── Home · analytics ───────────────────────────────────────────────────── */
.hf-ana__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; margin-top: 80px; }
.hf-acell { border-top: 1px solid var(--hf-line-d); padding-top: 16px; }
.hf-acell > .hf-mono { display: flex; justify-content: space-between; gap: 12px; color: var(--hf-mute-d); }
.hf-acell--a { grid-column: 1 / span 7; }
.hf-acell--b { grid-column: 9 / span 4; }
.hf-acell--c { grid-column: 1 / span 4; margin-top: 56px; }
.hf-acell--d { grid-column: 5 / span 4; margin-top: 56px; }
.hf-acell--e { grid-column: 9 / span 4; margin-top: 56px; }
.hf-anum-xl { font-size: clamp(120px, 20vw, 300px); margin-top: 16px; }
.hf-anum-l { font-size: clamp(56px, 6.6vw, 104px); margin-top: 16px; }
.hf-anum-m { font-size: 72px; margin-top: 12px; }
.hf-anum-s { font-size: 64px; margin-top: 8px; }
.hf-chart { margin-top: 72px; border-top: 1px solid var(--hf-line-d); padding-top: 20px; }
.hf-chart svg { width: 100%; height: 220px; display: block; margin-top: 16px; }
.hf-chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--hf-ease); }
.hf-in .hf-chart__line, html:not(.hf-js) .hf-chart__line { stroke-dashoffset: 0; }
.hf-chart__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 10px; color: var(--hf-mute-d); }

/* ── Home · pricing ─────────────────────────────────────────────────────── */
.hf-price__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hf-toggle { display: inline-flex; border: 1px solid var(--hf-ink); border-radius: 999px; padding: 3px; }
.hf-toggle button {
  border: 0; background: transparent; border-radius: 999px; padding: 0 16px; min-height: 40px;
  font: inherit; font-size: 14px; cursor: pointer; color: var(--hf-ink);
}
.hf-toggle button[aria-pressed="true"] { background: var(--hf-ink); color: var(--hf-paper); }
.hf-prices { margin-top: 56px; border-top: 1px solid var(--hf-ink); }
.hf-prow {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2.6fr) minmax(0, 3.6fr) auto;
  gap: 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--hf-line);
}
.hf-prow__name { font-size: clamp(34px, 3.9vw, 56px); }
.hf-prow__tag {
  display: table; margin-top: 12px; background: var(--hf-teal); color: var(--hf-ink);
  padding: 4px 8px; border-radius: 4px;
}
.hf-prow__price { font-size: clamp(32px, 3.4vw, 50px); font-weight: 700; font-stretch: 85%; letter-spacing: -.03em; line-height: 1; }
.hf-prow ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; line-height: 1.7; color: var(--hf-ink-2); }
.hf-js [data-hf-billing="yearly"] { display: none; }
.hf-yearly [data-hf-billing="yearly"] { display: block; }
.hf-yearly [data-hf-billing="monthly"] { display: none; }
.hf-price__note { margin-top: 24px; color: var(--hf-mute); }

/* ── FAQ (home and /faq) ────────────────────────────────────────────────── */
.hf-faq { border-top: 1px solid var(--hf-ink); }
.hf-faq details { border-bottom: 1px solid var(--hf-line); }
.hf-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.01em;
}
.hf-faq summary::-webkit-details-marker { display: none; }
.hf-faq summary h2, .hf-faq summary h3 { margin: 0; font: inherit; }
.hf-faq__plus {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hf-ink);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .3s var(--hf-ease), background-color .25s;
}
.hf-faq details[open] .hf-faq__plus { transform: rotate(45deg); background: var(--hf-ink); color: var(--hf-paper); }
.hf-faq__a { padding: 0 64px 28px 0; font-size: 17px; line-height: 1.6; color: var(--hf-ink-2); max-width: 820px; }
.hf-faq__a p { margin: 0 0 12px; }

/* ── Home · final call ──────────────────────────────────────────────────── */
.hf-final { position: relative; padding: 176px 0 160px; overflow: hidden; }
.hf-final__drift { position: absolute; opacity: .16; pointer-events: none; animation: hf-dr 22s ease-in-out infinite alternate; }
.hf-final__drift .hf-frag { position: relative; border-color: rgba(255, 255, 255, .2); transform: none; }
@keyframes hf-dr { from { transform: translate(0, 0) rotate(var(--hf-r, 0deg)); } to { transform: translate(var(--hf-dx, 40px), var(--hf-dy, -30px)) rotate(var(--hf-r, 0deg)); } }
.hf-final h2 { font-size: clamp(54px, 9.6vw, 168px); position: relative; }
.hf-final h2 b { color: var(--hf-teal); font-weight: inherit; }

/* ── Inner pages ────────────────────────────────────────────────────────── */
.hf-ph { padding: 40px 0 72px; }
.hf-ph__top { padding: 14px 0 22px; border-bottom: 1px solid var(--hf-line); }
.hf-dark .hf-ph__top { border-color: var(--hf-line-d); }
.hf-ph h1 { margin-top: 40px; }
.hf-ph__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hf-ink); }
.hf-dark .hf-ph__row { border-color: rgba(255, 255, 255, .5); }
.hf-ph__intro { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.42; margin: 0; font-weight: 450; }
.hf-rows { border-top: 1px solid var(--hf-line-d); }
.hf-row {
  display: grid; grid-template-columns: 80px minmax(0, 4fr) minmax(0, 6fr); gap: 32px; align-items: baseline;
  padding: 32px 0; border-bottom: 1px solid var(--hf-line-d);
}
.hf-row h3 { font-size: clamp(32px, 3.8vw, 60px); }
.hf-row p { font-size: 18px; line-height: 1.55; color: #C9CDD1; margin: 0; }
.hf-stagger { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 32px; margin-top: 64px; }
.hf-stagger > div:nth-child(1) { grid-column: 1 / span 5; }
.hf-stagger > div:nth-child(2) { grid-column: 8 / span 5; margin-top: 120px; }
.hf-stagger > div:nth-child(3) { grid-column: 2 / span 5; }
.hf-stagger > div:nth-child(4) { grid-column: 8 / span 5; margin-top: 80px; }
.hf-stagger h3 { font-size: clamp(30px, 3.2vw, 50px); margin-bottom: 16px; }
.hf-stagger p { font-size: 17px; line-height: 1.55; color: var(--hf-ink-2); margin: 0; }
.hf-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hf-ink); margin-top: 120px; }
.hf-nums > div { padding: 24px 24px 0 0; }
.hf-nums__n { font-size: clamp(80px, 10vw, 160px); }
.hf-quote { font-size: clamp(36px, 5vw, 80px); font-weight: 600; font-stretch: 85%; letter-spacing: -.03em; line-height: 1.02; max-width: 1200px; margin: 32px 0 0; text-wrap: balance; }
.hf-quote em { font-style: normal; color: var(--hf-teal-ink); }

/* Contact */
.hf-contact__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; padding-top: 32px; border-top: 1px solid var(--hf-line-d); }
.hf-info > div { padding: 16px 0; border-bottom: 1px solid var(--hf-line-d); }
.hf-info .hf-mono { display: block; color: var(--hf-mute-d); margin-bottom: 6px; }
.hf-site .hf-info a, .hf-info__v { font-size: 20px; color: #fff; text-decoration: none; }
.hf-site .hf-info a:hover { color: var(--hf-teal); }

/* Numbered list of steps (demo confirmation, auth side notes) */
.hf-olist { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--hf-line); }
.hf-olist li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hf-line); }
.hf-olist b { display: block; font-size: 18px; margin-bottom: 6px; }
.hf-olist p { margin: 0; color: var(--hf-ink-2); line-height: 1.55; }
.hf-dark .hf-olist, .hf-dark .hf-olist li { border-color: var(--hf-line-d); }
.hf-dark .hf-olist p { color: #C9CDD1; }
.hf-side .hf-olist, .hf-side .hf-olist li { border-color: var(--hf-line-d); }
.hf-side .hf-olist p { color: #C9CDD1; }
.hf-side .hf-olist b { color: #fff; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.hf-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.hf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hf-field--full { grid-column: 1 / -1; }
.hf-field > label, .hf-field__label {
  font-family: var(--hf-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-mute);
}
.hf-dark .hf-field > label, .hf-dark .hf-field__label { color: var(--hf-mute-d); }
.hf-field input:not([type="checkbox"]):not([type="radio"]), .hf-field select, .hf-field textarea {
  font: inherit; font-size: 17px; color: var(--hf-ink); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--hf-ink); border-radius: 0; padding: 10px 0; min-height: 50px; width: 100%;
}
.hf-field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.hf-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.hf-field input:focus, .hf-field select:focus, .hf-field textarea:focus { outline: none; border-color: var(--hf-teal-ink); box-shadow: 0 1.5px 0 0 var(--hf-teal-ink); }
.hf-dark .hf-field input:not([type="checkbox"]):not([type="radio"]), .hf-dark .hf-field select, .hf-dark .hf-field textarea { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hf-dark .hf-field select option { color: var(--hf-ink); }
.hf-dark .hf-field input:focus, .hf-dark .hf-field select:focus, .hf-dark .hf-field textarea:focus { border-color: var(--hf-teal); box-shadow: 0 1.5px 0 0 var(--hf-teal); }
.hf-field input::placeholder, .hf-field textarea::placeholder { color: #8C877E; }
.hf-dark .hf-field input::placeholder, .hf-dark .hf-field textarea::placeholder { color: #7D848A; }
.hf-field__err, .hf-field .hf-err { color: var(--hf-danger); font-size: 13.5px; }
.hf-dark .hf-field__err { color: #FF8A80; }
.hf-field__hint { color: var(--hf-mute); font-size: 13.5px; }
.hf-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.hf-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--hf-teal-ink); flex: none; }
.hf-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-seg label { position: relative; }
.hf-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hf-seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--hf-ink); font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s;
}
.hf-seg input:checked + span { background: var(--hf-ink); color: var(--hf-paper); }
.hf-seg input:focus-visible + span { outline: 2px solid var(--hf-teal-ink); outline-offset: 3px; }
.hf-form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }

/* ── Prose (legal pages, blog articles) ─────────────────────────────────── */
.hf-prose { font-size: 18px; line-height: 1.7; color: var(--hf-ink-2); max-width: 760px; }
.hf-prose > *:first-child { margin-top: 0; }
.hf-prose h2 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; font-stretch: 88%; letter-spacing: -.02em; line-height: 1.12; color: var(--hf-ink); margin: 56px 0 16px; }
.hf-prose h3 { font-size: 21px; font-weight: 650; color: var(--hf-ink); margin: 36px 0 10px; line-height: 1.3; }
.hf-prose p, .hf-prose ul, .hf-prose ol { margin: 0 0 20px; }
.hf-prose ul, .hf-prose ol { padding-left: 22px; }
.hf-prose li { margin-bottom: 8px; }
.hf-prose li::marker { color: var(--hf-teal-ink); }
.hf-prose a { color: var(--hf-teal-ink); text-underline-offset: 3px; }
.hf-prose strong { color: var(--hf-ink); }
.hf-prose blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--hf-teal-ink); font-size: 20px; color: var(--hf-ink); }
.hf-prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15.5px; display: block; overflow-x: auto; }
.hf-prose th, .hf-prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--hf-line); vertical-align: top; }
.hf-prose th { font-family: var(--hf-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-mute); font-weight: 400; border-bottom-color: var(--hf-ink); }
.hf-prose code { font-family: var(--hf-mono); font-size: .88em; background: var(--hf-paper-2); padding: 2px 6px; border-radius: 4px; }
.hf-prose hr { border: 0; border-top: 1px solid var(--hf-line); margin: 48px 0; }
.hf-prose img { border-radius: 12px; height: auto; }
.hf-legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.hf-toc { position: sticky; top: 104px; }
.hf-toc ol { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--hf-line); }
.hf-toc li { border-bottom: 1px solid var(--hf-line); }
.hf-site .hf-toc a { display: block; padding: 10px 0; color: var(--hf-ink); text-decoration: none; font-size: 14.5px; }
.hf-site .hf-toc a:hover { color: var(--hf-teal-ink); }

/* ── Journal (blog) ─────────────────────────────────────────────────────── */
.hf-mast { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--hf-ink); }
.hf-mast h1 { font-size: clamp(90px, 16vw, 250px); }
.hf-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.hf-site .hf-filters a, .hf-filters button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--hf-ink); background: transparent; color: var(--hf-ink); font: inherit; font-size: 14px;
  text-decoration: none; cursor: pointer;
}
.hf-site .hf-filters a[aria-current="true"], .hf-filters button[aria-pressed="true"] { background: var(--hf-ink); color: var(--hf-paper); }
.hf-feat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding: 48px 0 72px; border-bottom: 1px solid var(--hf-line); text-decoration: none; color: inherit; }
.hf-site a.hf-feat { color: var(--hf-ink); }
.hf-feat img, .hf-card img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; background: var(--hf-paper-2); }
.hf-feat__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.hf-feat h2 { font-size: clamp(44px, 5.2vw, 86px); margin: 20px 0 24px; }
.hf-site a.hf-feat:hover h2 { color: var(--hf-teal-ink); }
.hf-feat p { font-size: 19px; line-height: 1.55; color: var(--hf-ink-2); margin: 0 0 28px; }
.hf-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--hf-mute); border-top: 1px solid var(--hf-ink); padding-top: 10px; }
.hf-journal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px 32px; padding: 64px 0 120px; }
.hf-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.hf-site a.hf-card { color: var(--hf-ink); }
.hf-card__img { overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 2; }
.hf-card__img img { transition: transform .8s var(--hf-ease); }
.hf-card:hover .hf-card__img img { transform: scale(1.03); }
.hf-card h3 { font-size: clamp(26px, 2.4vw, 38px); font-stretch: 82%; font-weight: 720; letter-spacing: -.02em; line-height: .98; margin: 0; }
.hf-site a.hf-card:hover h3 { color: var(--hf-teal-ink); }
.hf-card p { margin: 0; color: var(--hf-ink-2); line-height: 1.5; font-size: 16px; }
.hf-journal > :nth-child(9n+1) { grid-column: 1 / span 5; }
.hf-journal > :nth-child(9n+2) { grid-column: 7 / span 6; margin-top: 96px; }
.hf-journal > :nth-child(9n+3) { grid-column: 1 / span 4; }
.hf-journal > :nth-child(9n+4) { grid-column: 5 / span 4; margin-top: 64px; }
.hf-journal > :nth-child(9n+5) { grid-column: 9 / span 4; }
.hf-journal > :nth-child(9n+6) { grid-column: 2 / span 6; }
.hf-journal > :nth-child(9n+7) { grid-column: 9 / span 4; margin-top: 48px; }
.hf-journal > :nth-child(9n+8) { grid-column: 1 / span 4; }
.hf-journal > :nth-child(9n+9) { grid-column: 6 / span 7; margin-top: 32px; }
.hf-journal__empty { grid-column: 1 / -1; color: var(--hf-mute); }

/* Article */
.hf-art__head { padding: 40px 0 48px; }
.hf-art__head h1 { font-size: clamp(44px, 6.6vw, 108px); margin: 28px 0 32px; max-width: 1240px; }
.hf-art__lede { font-size: 22px; line-height: 1.5; max-width: 760px; margin: 0; color: var(--hf-ink-2); }
.hf-art__hero { margin: 0 0 72px; }
.hf-art__hero img { width: 100%; height: auto; max-height: 720px; object-fit: cover; display: block; border-radius: 4px; }
.hf-art__hero figcaption { margin-top: 10px; color: var(--hf-mute); }
.hf-art__body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 64px; padding-bottom: 96px; }
.hf-art__aside { position: sticky; top: 104px; align-self: start; display: grid; gap: 18px; }
.hf-art__cta { border-top: 1px solid var(--hf-ink); padding-top: 16px; }
.hf-art__cta p { margin: 8px 0 16px; font-size: 15px; color: var(--hf-ink-2); }
.hf-art__faq { margin-top: 64px; }

/* ── Auth & small standalone screens ────────────────────────────────────── */
.hf-auth { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; padding: 48px 0 112px; align-items: start; }
.hf-auth h1 { font-size: clamp(48px, 6.4vw, 104px); margin: 28px 0 20px; }
.hf-auth__lede { font-size: 18px; line-height: 1.55; color: var(--hf-ink-2); max-width: 520px; margin: 0 0 36px; }
.hf-auth__alt { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--hf-line); font-size: 15px; display: grid; gap: 8px; }
.hf-side {
  position: sticky; top: 104px; background: var(--hf-ink); color: #fff; border-radius: 22px;
  padding: 28px; overflow: hidden; min-height: 560px;
}
.hf-side .hf-mono { color: var(--hf-mute-d); }
.hf-steps { margin-top: 24px; border-top: 1px solid var(--hf-line-d); }
.hf-step {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 15px 0;
  border-bottom: 1px solid var(--hf-line-d); font-size: 15px; animation: hf-step 8s infinite both;
}
.hf-step i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--hf-mute-d); position: relative; display: inline-block; }
.hf-step i::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--hf-teal);
  transform: scale(0); animation: hf-ck 8s infinite both; animation-delay: inherit;
}
.hf-step:nth-child(2), .hf-step:nth-child(2) i::after { animation-delay: 1s; }
.hf-step:nth-child(3), .hf-step:nth-child(3) i::after { animation-delay: 2s; }
.hf-step:nth-child(4), .hf-step:nth-child(4) i::after { animation-delay: 3s; }
.hf-step:nth-child(5), .hf-step:nth-child(5) i::after { animation-delay: 4s; }
@keyframes hf-step { 0% { opacity: .35; } 8%, 92% { opacity: 1; } 100% { opacity: .35; } }
@keyframes hf-ck { 0%, 6% { transform: scale(0); } 10%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
.hf-minical { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 28px; }
.hf-minical span { height: 28px; border-radius: 5px; background: rgba(255, 255, 255, .06); }
.hf-minical .hf-b { background: var(--hf-teal); }
.hf-minical .hf-k { background: #fff; }
.hf-minical .hf-o { background: var(--hf-amber); }
.hf-plancards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hf-plancard { position: relative; }
.hf-plancard input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hf-plancard span { display: block; border: 1px solid var(--hf-ink); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: background-color .2s, color .2s; }
.hf-plancard b { display: block; font-size: 17px; }
.hf-plancard small { display: block; margin-top: 4px; font-size: 13px; opacity: .8; }
.hf-plancard input:checked + span { background: var(--hf-ink); color: var(--hf-paper); }
.hf-plancard input:focus-visible + span { outline: 2px solid var(--hf-teal-ink); outline-offset: 3px; }
.hf-done { border-top: 1px solid var(--hf-ink); padding-top: 24px; }
.hf-center { min-height: calc(100vh - 72px - 260px); display: flex; align-items: center; padding: 72px 0 96px; }
.hf-center__box { max-width: 760px; }
.hf-center__box h1 { font-size: clamp(56px, 9vw, 140px); margin: 28px 0 24px; }
.hf-center__box p { font-size: 19px; line-height: 1.55; color: var(--hf-ink-2); margin: 0 0 32px; }

/* ── Motion: reveal on scroll ───────────────────────────────────────────── */
.hf-js .hf-rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--hf-ease), transform 1s var(--hf-ease); }
.hf-js .hf-rv.hf-in { opacity: 1; transform: none; }
.hf-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hf-mask > span { display: inline-block; }
.hf-js .hf-mask > span { transform: translateY(105%); transition: transform 1.1s var(--hf-ease); }
.hf-js .hf-mask.hf-in > span, .hf-js .hf-in .hf-mask > span { transform: none; }
.hf-up > .hf-ln, .hf-up > .hf-mask { display: block; overflow: hidden; padding-bottom: .05em; }
.hf-up .hf-ln > span { display: inline-block; animation: hf-up 1.1s var(--hf-ease) both; }
.hf-up .hf-ln:nth-child(2) > span { animation-delay: .08s; }
.hf-up .hf-ln:nth-child(3) > span { animation-delay: .16s; }
@keyframes hf-up { from { transform: translateY(105%); } to { transform: none; } }
.hf-grow { transform-origin: left center; }
.hf-js .hf-grow { transform: scaleX(0); transition: transform 1s var(--hf-ease); }
.hf-js .hf-in .hf-grow { transform: none; }
.hf-js .hf-growy { transform: scaleY(0); }
.hf-js .hf-in .hf-growy { transform: none; }
.hf-tilt { transition: transform 1.2s var(--hf-ease); }
.hf-js .hf-tilt { transform: perspective(1400px) rotateX(9deg) translateY(36px); }
.hf-js .hf-tilt.hf-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hf-js .hf-rv, .hf-js .hf-mask > span, .hf-js .hf-grow, .hf-js .hf-growy, .hf-js .hf-tilt { opacity: 1; transform: none; }
  .hf-js .hf-story [data-hf-step], .hf-js .hf-story .hf-story__final { opacity: 1; transform: none; }
  .hf-js .hf-story { height: auto; }
  .hf-js .hf-story__pin { position: relative; height: auto; max-height: none; padding-bottom: 260px; }
  .hf-tk--move { transform: translateX(calc(200% + 72px)); }
  .hf-chart__line { stroke-dashoffset: 0; }
  .hf-frag { transform: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
.hf-chap__g--faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

@media (max-width: 1180px) {
  .hf-nav__links { gap: 18px; }
  .hf-mod { width: 172px; }
  .hf-frag--occ, .hf-frag--mnt { width: 24%; left: 76%; }
}
@media (max-width: 1024px) {
  :root { --hf-gutter: 32px; }
  .hf-nav__links, .hf-nav__right .hf-lang, .hf-nav__signin { display: none; }
  .hf-nav__burger { display: inline-flex; }
  .hf-nav__in { justify-content: space-between; }
  .hf-os__canvas { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hf-os__hl { position: relative; left: auto; top: auto; transform: none; width: auto; grid-column: 1 / -1; text-align: left; margin-bottom: 32px; }
  .hf-mod { position: relative; left: auto !important; top: auto !important; width: auto; }
  .hf-mod__d { max-height: none; opacity: 1; margin-top: 8px; }
  .hf-ana__grid > div { grid-column: 1 / -1; margin-top: 0; margin-bottom: 32px; }
  .hf-prow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 32px; }
  .hf-legal, .hf-art__body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hf-toc, .hf-art__aside { position: relative; top: auto; }
}
@media (max-width: 860px) {
  :root { --hf-gutter: 20px; }
  .hf-sec, .hf-chap { padding: 88px 0; }
  .hf-hero__row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hf-hero h1 .hf-ln--r { text-align: left; }
  .hf-stage {
    height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 8px var(--hf-gutter) 28px; margin: 40px calc(-1 * var(--hf-gutter)) 0;
  }
  .hf-frag { position: relative; left: auto !important; top: auto !important; width: 280px !important; flex: 0 0 280px; transform: none !important; scroll-snap-align: start; }
  .hf-frag--cal { flex-basis: 540px; width: 540px !important; }
  .hf-story, .hf-js .hf-story { height: auto; }
  .hf-story__pin, .hf-js .hf-story__pin { position: relative; height: auto; max-height: none; min-height: 0; padding-bottom: 300px; }
  .hf-story__grid { grid-template-columns: minmax(0, 1fr); padding-top: 96px; gap: 32px; }
  .hf-js .hf-story [data-hf-step], .hf-js .hf-story .hf-story__final { opacity: 1; transform: none; }
  .hf-story__final { flex-direction: column; align-items: flex-start; bottom: 40px; }
  .hf-story__claim { text-align: left; }
  .hf-story__prog { display: none; }
  .hf-os__canvas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-ba { grid-template-columns: minmax(0, 1fr); }
  .hf-ba__mid { flex-direction: row; padding: 20px 0; }
  .hf-ba__mid i { height: 1px; width: auto; }
  .hf-ba__side { height: 560px; }
  .hf-chap__g, .hf-chap__g--rev { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hf-chap__g--rev .hf-chap__text { order: 0; }
  .hf-chap__text { position: relative; top: auto; }
  .hf-split2 { grid-template-columns: minmax(0, 1fr) !important; }
  .hf-chain { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hf-chain::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .hf-chain__pulse { display: none; }
  .hf-node { padding: 0 0 14px 32px; }
  .hf-node::before { top: 16px; left: 0; margin-left: 0; }
  .hf-prow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hf-faq__a { padding-right: 0; }
  .hf-ph__row, .hf-contact__grid, .hf-auth, .hf-feat, .hf-news__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hf-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hf-stagger, .hf-journal, .hf-ana__grid { grid-template-columns: minmax(0, 1fr); }
  .hf-ana__grid > .hf-acell { grid-column: 1 / -1 !important; }
  .hf-stagger > div { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .hf-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-journal > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .hf-form { grid-template-columns: minmax(0, 1fr); }
  .hf-side { position: relative; top: auto; min-height: 0; }
  .hf-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-foot__grid > div:first-child { grid-column: 1 / -1; }
  .hf-final { padding: 120px 0; }
}
@media (max-width: 520px) {
  /* The bar keeps logo + menu; "Book a demo" and "Sign in" are in the drawer. */
  .hf-nav__right > .hf-btn { display: none; }
  .hf-nav__in { gap: 12px; }
  /* Long words ("ANFITRIONES,", "PROPRIETĂȚILOR") must fit a 320px screen. */
  .hf-xl { font-size: clamp(36px, 12.5vw, 150px); }
  .hf-l { font-size: clamp(32px, 11vw, 120px); }
  .hf-faq summary > :first-child { min-width: 0; overflow-wrap: break-word; }
  .hf-btn { white-space: normal; text-align: center; max-width: 100%; padding-top: 10px; padding-bottom: 10px; }
  .hf-os__canvas { grid-template-columns: minmax(0, 1fr); }
  .hf-plancards { grid-template-columns: minmax(0, 1fr); }
  .hf-btns .hf-btn { flex: 1 1 auto; }
  .hf-hero__top .hf-labelrow > :last-child { display: none; }
}

/* Print: legal pages and articles get printed. */
@media print {
  .hf-nav, .hf-foot, .hf-news, .hf-art__aside, .hf-toc { display: none !important; }
  body.hf-site { background: #fff; }
  .hf-js .hf-rv, .hf-js .hf-mask > span { opacity: 1; transform: none; }
}
