/* Postbing homepage v6 (Nov 2026). Loaded only by templates/index.html, after marketing.css.
   A ruled 1240px frame: hairline sides and a hairline between sections, light display type
   with blue highlight words, mono eyebrows and labels, card in card visuals, a dark hero and
   developer band. Motion uses one curve, cubic-bezier(0.22, 1, 0.36, 1), and switches off
   for prefers-reduced-motion. Theme tokens come from marketing.css (.is-public, .theme-dark). */

.hx-page {
  --hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hx-em: #0007CD;
  --hx-frame: var(--line);
  --hx-pad: clamp(20px, 4.6vw, 64px);
  --hx-gap-y: clamp(72px, 9vw, 120px);
  --hx-card: var(--surface);
  --hx-well: #F4F4F4;
  --hx-hair: var(--line);
  --hx-dark: #0A0A0A;
  background: var(--ground);
}
html[data-theme="dark"] .hx-page { --hx-em: #6BB0FF; --hx-well: #141414; }
.hx-page .theme-dark { --hx-em: #6BB0FF; --hx-well: #141414; --hx-frame: rgba(255, 255, 255, 0.08); }
.hx-page main { overflow-x: clip; }

/* ---------- Frame ---------- */
.hx-in {
  position: relative; max-width: var(--container-page, 1240px); margin: 0 auto;
  padding: var(--hx-gap-y) var(--hx-pad);
  border-left: 1px solid var(--hx-frame); border-right: 1px solid var(--hx-frame); border-top: 1px solid var(--hx-frame);
}
/* Tiny corner squares where the section rule meets the frame. */
.hx-sec > .hx-in::before, .hx-sec > .hx-in::after {
  content: ""; position: absolute; top: -3px; width: 5px; height: 5px; background: var(--ground); border: 1px solid var(--line-2); z-index: 2;
}
.hx-sec > .hx-in::before { left: -3px; }
.hx-sec > .hx-in::after { right: -3px; }
@media (max-width: 1272px) { .hx-in { border-left-color: transparent; border-right-color: transparent; } .hx-sec > .hx-in::before, .hx-sec > .hx-in::after { display: none; } }

/* ---------- Type ---------- */
.hx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.08em; color: var(--caption);
}
.hx-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--blue, #51A2FF); flex-shrink: 0; }
.hx-eyebrow svg { color: var(--hx-em); margin-right: -2px; }
.hx-eyebrow:has(svg)::before { display: none; }
.hx-h2 {
  margin: 0; font-size: clamp(30px, 3.7vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -0.032em;
  color: var(--ink); text-wrap: balance; max-width: 20ch;
}
.hx-h2 em, .hx-display em { font-style: normal; color: var(--hx-em); }
.hx-h3 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; color: var(--ink); }
.hx-sub { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 58ch; text-wrap: pretty; }
.hx-sub a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.hx-sub a:hover { text-decoration-color: currentColor; }
.hx-fine { margin: 0; font-size: 13px; color: var(--caption); }
.hx-mono-xs { margin: 0; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--caption); }
.hx-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.hx-head .hx-h2 { margin-inline: auto; }
.hx-head .btn { margin-top: 6px; }
.hx-left { text-align: left; margin-inline: 0 !important; }
.hx-center { display: flex; justify-content: center; margin-top: 40px; }
.hx-link {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--ink); text-decoration: none;
}
.hx-link svg { transition: transform 260ms var(--hx-ease); }
.hx-link:hover { color: var(--hx-em); }
.hx-link:hover svg { transform: translateX(3px); }

/* ---------- Flowing gradient surfaces (flowing-gradient.js adds .is-live) ---------- */
.hx-stage, .hx-tabs-stage, .hx-split-vis {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, #FFFFFF 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 30%, #6BFFFB 0%, transparent 60%),
    radial-gradient(ellipse 80% 80% at 50% 100%, #51A2FF 0%, transparent 70%), #9CC8FF;
}
.hx-stage > canvas, .hx-tabs-stage > canvas, .hx-split-vis > canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; opacity: 0; transition: opacity 700ms ease;
}
.hx-stage.is-live > canvas, .hx-tabs-stage.is-live > canvas, .hx-split-vis.is-live > canvas { opacity: 1; }
html[data-theme="dark"] .hx-tabs-stage, html[data-theme="dark"] .hx-split-vis { border-color: #262626; }

/* ---------- Hero ---------- */
.hx-hero {
  --hx-tail: clamp(140px, 22vw, 330px);
  position: relative; isolation: isolate; color: #F2F2F2; margin-top: -80px; padding-top: 80px;
  background: linear-gradient(var(--hx-dark), var(--hx-dark)) top / 100% calc(100% - var(--hx-tail)) no-repeat, var(--ground);
}
html[data-theme="dark"] .hx-hero { --hx-dark: #070707; }
.hx-hero > .hx-in { border-top: 0; }
.hx-hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding-top: clamp(64px, 9vw, 124px); padding-bottom: clamp(44px, 5vw, 64px); z-index: 1; }
.hx-hero-cells {
  position: absolute; left: 0; right: 0; top: 0; height: calc(100% - var(--hx-tail)); width: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hx-pill {
  display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04); color: #D4D4D4; text-decoration: none;
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em;
  transition: border-color 220ms var(--hx-ease), background-color 220ms var(--hx-ease), color 220ms;
}
.hx-pill svg:first-child { color: #6BFFFB; }
.hx-pill svg:last-child { transition: transform 260ms var(--hx-ease); }
.hx-pill:hover { border-color: rgba(81, 162, 255, 0.6); background: rgba(81, 162, 255, 0.08); color: #FFFFFF; }
.hx-pill:hover svg:last-child { transform: translateX(3px); }
.hx-display {
  margin: 0; font-size: clamp(40px, 6.2vw, 84px); font-weight: 400; line-height: 1.02; letter-spacing: -0.04em; color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; gap: 0.06em;
}
.hx-display-line { display: block; white-space: nowrap; }
.hx-display .hl-box { padding: 0 0.14em 0.05em; }
.hx-swap {
  display: inline-block; position: relative; vertical-align: bottom; height: 1.1em; overflow: hidden; padding: 0 0.04em; margin: -0.05em 0;
  transition: width 520ms var(--hx-ease); text-align: left;
}
.hx-swap-word {
  display: inline-block; white-space: nowrap; line-height: 1.1em;
  background: linear-gradient(92deg, #FFFFFF 0%, #9CD0FF 45%, #6BFFFB 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-swap-word.is-out { position: absolute; left: 0.04em; top: 0; animation: hxWordOut 520ms var(--hx-ease) forwards; }
.hx-swap-word.is-in { animation: hxWordIn 520ms var(--hx-ease) both; }
@keyframes hxWordOut { to { transform: translateY(-70%); opacity: 0; filter: blur(8px); } }
@keyframes hxWordIn { from { transform: translateY(70%); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
.hx-lede { margin: 0; max-width: 60ch; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.55; color: #A8A8A8; text-wrap: pretty; }
.hx-hero-form { width: 100%; max-width: 580px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.hx-hero .url-form { background: #141414; border-color: #333333; }
.hx-hero .url-form input { background: transparent; color: #F2F2F2; }
.hx-hero .url-form .btn-accent { background: #FFFFFF; color: #0F0F0F; border-color: #FFFFFF; }
.hx-hero .url-form .btn-accent:hover { background: var(--blue, #51A2FF); border-color: var(--blue, #51A2FF); color: #0F0F0F; }
.hx-hero-sub {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px;
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: #8F8F8F;
}
.hx-hero-sub span { display: inline-flex; align-items: center; gap: 8px; }
.hx-hero-sub span::before { content: ""; width: 4px; height: 4px; background: #51A2FF; }
.hx-hero-sub a { display: inline-flex; align-items: center; gap: 5px; color: #F2F2F2; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #444; }
.hx-hero-sub a:hover { text-decoration-color: #F2F2F2; }
.hx-hero-stage-in { border: 0 !important; padding-top: 0; padding-bottom: 0; }
.hx-stage { padding: clamp(14px, 4.2vw, 56px) clamp(14px, 4.6vw, 64px) 0; border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 50px 100px -50px rgba(0, 7, 205, 0.55); }
.hx-frame { box-shadow: 0 30px 70px -28px rgba(0, 7, 205, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04); }

/* ---------- Proof: marquee and promises ---------- */
.hx-proof > .hx-in { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 0; border-top: 0; }
.hx-proof > .hx-in::before, .hx-proof > .hx-in::after { display: none; }
.hx-marquee { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding-bottom: clamp(32px, 4vw, 48px); }
.hx-marquee-view { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hx-marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; margin: 0; padding: 0; list-style: none; width: max-content; max-width: 100%; }
.hx-marquee-view.is-run .hx-marquee-track { flex-wrap: nowrap; max-width: none; animation: hxMarquee var(--hx-mq, 48s) linear infinite; }
.hx-marquee-view.is-run:hover .hx-marquee-track, .hx-marquee-view.is-run:focus-within .hx-marquee-track { animation-play-state: paused; }
@keyframes hxMarquee { to { transform: translateX(-50%); } }
.hx-marquee-track li { flex-shrink: 0; }
.hx-marquee-track a {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 450;
  transition: color 200ms;
}
.hx-marquee-track .mk-ix-logo { border-radius: 8px; filter: grayscale(1); opacity: 0.8; transition: filter 260ms var(--hx-ease), opacity 260ms; }
.hx-marquee-track a:hover { color: var(--ink); }
.hx-marquee-track a:hover .mk-ix-logo { filter: none; opacity: 1; }
.hx-marquee-track .mk-ix-logo svg { color: var(--hx-em); }
.hx-promises {
  list-style: none; margin: 0 calc(-1 * var(--hx-pad)); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hx-frame);
}
.hx-promises li { display: flex; align-items: flex-start; gap: 12px; padding: 22px var(--hx-pad); border-left: 1px solid var(--hx-frame); font-size: 13.5px; color: var(--caption); }
.hx-promises li:first-child { border-left: 0; }
.hx-promises li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.hx-promises b { font-weight: 500; color: var(--ink); font-size: 14px; }
.hx-promises .ic { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--hx-em); flex-shrink: 0; background: var(--surface); }

/* ---------- Window chrome (illustrations) ---------- */
.hx-win { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 15, 15, 0.04), 0 24px 48px -28px rgba(15, 15, 15, 0.22); }
html[data-theme="dark"] .hx-win { box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.8); }
.hx-win-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.hx-win-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.hx-win-bar em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--caption); margin-left: 8px; }

/* ---------- Loop: the hub diagram ---------- */
.hx-hub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 300px) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 64px); align-items: center; }
.hx-hub-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); z-index: 0; }
.hx-hub-line i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; background: var(--blue, #51A2FF); box-shadow: 0 0 10px 2px rgba(81, 162, 255, 0.6); opacity: 0; }
.mk-anim .hx-hub.is-in .hx-hub-line i { animation: hxTravel 4.2s linear infinite; }
.mk-anim .hx-hub.is-in .hx-hub-line i + i { animation-delay: 2.1s; }
@keyframes hxTravel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.hx-hub > .hx-win, .hx-hub-core { position: relative; z-index: 1; }
.hx-hub-site-body, .hx-hub-blog-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.hx-kv { margin: 0; display: flex; flex-direction: column; }
.hx-kv div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.hx-kv dt { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--caption); padding-top: 2px; }
.hx-kv dd { margin: 0; color: var(--ink); }
.hx-hub-read { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10.5px; color: var(--caption); text-transform: uppercase; letter-spacing: 0.04em; }
.hx-hub-read i { position: relative; flex: 1; height: 3px; background: var(--line); overflow: hidden; }
.hx-hub-read i::after { content: ""; position: absolute; inset: 0; background: var(--blue, #51A2FF); transform-origin: left; transform: scaleX(1); }
.mk-anim .hx-hub.is-in .hx-hub-read i::after { animation: hxRead 4.2s var(--hx-ease) infinite; }
@keyframes hxRead { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
.hx-hub-core { padding: 6px 0; }
.hx-hub-glow { position: absolute; inset: 14% -18%; background: radial-gradient(closest-side, rgba(81, 162, 255, 0.45), rgba(107, 255, 251, 0.18) 55%, transparent); filter: blur(28px); z-index: -1; }
html[data-theme="dark"] .hx-hub-glow { opacity: 0.55; }
.hx-hub-stack { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hx-hub-stack li {
  display: grid; grid-template-columns: 16px auto 1fr; align-items: center; gap: 10px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--caption);
  transition: border-color 300ms var(--hx-ease), color 300ms, box-shadow 300ms var(--hx-ease), transform 300ms var(--hx-ease);
}
.hx-hub-stack li .k { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.hx-hub-stack li .v { font-size: 12px; text-align: right; color: var(--caption); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-hub-stack li.is-on { border-color: var(--hx-em); color: var(--hx-em); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue, #51A2FF) 18%, transparent); transform: translateX(4px); }
.hx-hub-stack li.is-on .k { color: var(--hx-em); }
.hx-hub-stack li.is-done { color: var(--hx-em); }
.hx-hub-stack li.hx-hub-brand { height: 58px; grid-template-columns: 1fr; justify-items: center; border-radius: 999px; margin: 6px 14px; background: var(--surface); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(0, 7, 205, 0.35); }
.hx-hub-brand .brand-logo, .hx-hub-brand svg { height: 22px; width: auto; }
.hx-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; color: var(--muted); transition: all 400ms var(--hx-ease); }
.hx-hub.is-pub .hx-badge { border-color: color-mix(in srgb, #16A34A 45%, transparent); color: #15803D; background: color-mix(in srgb, #22C55E 10%, transparent); }
html[data-theme="dark"] .hx-hub.is-pub .hx-badge { color: #4ADE80; }
.hx-hub-blog-body b { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.hx-hub-ans { margin: 0; font-size: 13px; line-height: 1.5; }
.hx-hub-ans mark { background: color-mix(in srgb, var(--blue, #51A2FF) 18%, transparent); color: var(--ink); padding: 1px 2px; }
.hx-hub-blog-body > i { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.hx-hub-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hx-hub-meta span { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--caption); border: 1px solid var(--line); padding: 3px 7px; }

/* ---------- How it works: tabs ---------- */
.hx-tabs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hx-tabs-copy header { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.hx-tablist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.hx-tab {
  all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 0; width: 100%; padding: 20px 0 18px; cursor: pointer;
  border-bottom: 1px solid var(--line); position: relative; -webkit-tap-highlight-color: transparent;
}
.hx-tab-top { display: flex; align-items: center; gap: 12px; color: var(--caption); transition: color 240ms; }
.hx-tab-n { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: 0.04em; }
.hx-tab-t { font-size: 17px; letter-spacing: -0.015em; color: var(--caption); transition: color 240ms; }
.hx-tab:hover .hx-tab-t { color: var(--ink); }
.hx-tab-body { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); padding-left: 0; transition: max-height 520ms var(--hx-ease), opacity 360ms var(--hx-ease), margin 520ms var(--hx-ease); }
.hx-tab[aria-selected="true"] .hx-tab-top { color: var(--hx-em); }
.hx-tab[aria-selected="true"] .hx-tab-t { color: var(--ink); }
.hx-tab[aria-selected="true"] .hx-tab-n { color: var(--hx-em); }
.hx-tab[aria-selected="true"] .hx-tab-body { max-height: 160px; opacity: 1; margin-top: 10px; }
.hx-tab:focus-visible { outline: 2px solid var(--blue, #51A2FF); outline-offset: 4px; }
.hx-tab-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.hx-tab-bar i { position: absolute; inset: 0; background: var(--hx-em); transform: scaleX(0); transform-origin: left; }
.hx-tab[aria-selected="true"] .hx-tab-bar i { transform: scaleX(1); }
.hx-tabs.is-auto .hx-tab[aria-selected="true"] .hx-tab-bar i { animation: hxBar var(--hx-dwell, 7s) linear both; }
.hx-tabs.is-paused .hx-tab[aria-selected="true"] .hx-tab-bar i { animation-play-state: paused; }
@keyframes hxBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hx-tabs-stage { position: sticky; top: 104px; aspect-ratio: 7 / 5.6; padding: 0; }
.hx-pane { position: absolute; inset: 0; margin: 0; padding: clamp(18px, 3.4vw, 44px) 0 0 clamp(18px, 3.4vw, 44px); opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.985); transition: opacity 520ms var(--hx-ease), transform 620ms var(--hx-ease), visibility 0s linear 620ms; }
.hx-pane[hidden] { display: block; }
.hx-pane.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 520ms var(--hx-ease), transform 620ms var(--hx-ease), visibility 0s; }
.hx-frame-peek { width: 132%; border-radius: 12px 0 0 0; }
.hx-frame-peek > img, .hx-frame-peek > picture img { border-radius: 6px 0 0 0; }

/* ---------- Bento ---------- */
.hx-bento {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--hx-frame);
  margin: 0 calc(-1 * var(--hx-pad)) calc(-1 * var(--hx-gap-y)); border-top: 1px solid var(--hx-frame);
}
.hx-cell { background: var(--ground); padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 22px; transition: background-color 300ms var(--hx-ease); }
.hx-cell.c-7 { grid-column: span 7; } .hx-cell.c-5 { grid-column: span 5; } .hx-cell.c-4 { grid-column: span 4; }
.hx-cell-vis {
  position: relative; height: 236px; border-radius: 12px; background: var(--hx-well); border: 1px solid var(--line); overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  transition: transform 420ms var(--hx-ease), box-shadow 420ms var(--hx-ease), border-color 300ms;
}
.hx-cell-copy { display: flex; flex-direction: column; gap: 6px; }
.hx-cell-copy p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
@media (hover: hover) {
  .hx-cell:hover { background: color-mix(in srgb, var(--surface) 55%, var(--ground)); }
  .hx-cell:hover .hx-cell-vis { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(0, 7, 205, 0.35); border-color: var(--line-2); }
}
/* Inner illustrations */
.hx-table { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 12.5px; }
.hx-tr { display: grid; grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 1.2fr) 92px; gap: 12px; align-items: center; padding: 0 14px; height: 36px; border-top: 1px solid var(--line); }
.hx-tr.is-head { border-top: 0; height: 30px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--caption); background: var(--hx-well); }
.hx-tr .d { font-family: var(--font-mono); font-size: 11px; color: var(--caption); }
.hx-tr .t { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-tr .k { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-tr .pill { justify-self: start; }
.mk-anim .hx-cell:not(.is-in) .hx-tr:not(.is-head) { opacity: 0; transform: translateX(-8px); }
.hx-cell .hx-tr { transition: opacity 500ms var(--hx-ease), transform 600ms var(--hx-ease); transition-delay: calc(var(--i, 0) * 70ms + 200ms); }
.hx-voice { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 16px; }
.hx-voice-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 12px; }
.hx-voice-row:first-child { border-top: 0; }
.hx-voice-row > span { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--caption); }
.hx-scale { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; color: var(--caption); font-size: 11.5px; }
.hx-scale i { position: relative; height: 3px; background: var(--line); }
.hx-scale b { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--surface); border: 2px solid var(--hx-em); border-radius: 50%; transition: left 900ms var(--hx-ease) 300ms; }
.hx-cell.is-in .hx-scale b, html:not(.mk-anim) .hx-scale b { left: var(--x); }
.hx-avoid { display: flex; flex-wrap: wrap; gap: 5px; }
.hx-avoid s { font-size: 11px; padding: 2px 7px; border: 1px solid color-mix(in srgb, #DC2626 30%, transparent); background: color-mix(in srgb, #DC2626 7%, transparent); color: #B91C1C; text-decoration-color: currentColor; }
html[data-theme="dark"] .hx-avoid s { color: #F87171; }
.hx-links { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.hx-links-head { display: flex; align-items: center; gap: 8px; font-weight: 500; padding: 2px 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 2px; }
.hx-links-head svg { color: var(--caption); }
.hx-links > span { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 6px; background: var(--hx-well); }
.hx-links > span svg { color: var(--hx-em); }
.hx-links em { font-style: normal; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-links small { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; color: var(--caption); }
.hx-links .is-money { background: color-mix(in srgb, var(--blue, #51A2FF) 12%, var(--surface)); }
.hx-code {
  margin: 0; width: 100%; padding: 14px 16px; background: #0B0B0C; color: #D4D4D4; border: 1px solid #222; border-radius: 10px;
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.6; white-space: pre; overflow: hidden;
}
.hx-code .k { color: #7AB8FF; } .hx-code .s { color: #6BFFFB; } .hx-code .a { color: #D4FF4A; } .hx-code .c { color: #6B6B6B; }
.hx-code-sm { font-size: 11px; }
.hx-cell-vis:has(.hx-code), .hx-card-vis:has(.hx-code) { flex-direction: column; align-items: stretch; gap: 10px; }
.hx-meter-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--muted); }
.hx-meter-row b { font-family: var(--font-mono); font-weight: 400; color: var(--ink); }
.hx-meter-row b.ok { color: #15803D; }
html[data-theme="dark"] .hx-meter-row b.ok { color: #4ADE80; }
.hx-slugs { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.hx-slugs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.hx-slugs .mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-slugs .st { display: inline-flex; align-items: center; gap: 6px; color: var(--caption); flex-shrink: 0; font-size: 11.5px; }
.hx-slugs .is-lead { border-color: color-mix(in srgb, var(--blue, #51A2FF) 50%, var(--line)); background: color-mix(in srgb, var(--blue, #51A2FF) 9%, var(--surface)); }
.hx-modes { margin: 0; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.hx-modes > div { padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; }
.hx-modes > div.is-on { border-color: var(--hx-em); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue, #51A2FF) 16%, transparent); }
.hx-modes dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink); }
.hx-modes dd { margin: 0; font-size: 12px; color: var(--caption); }
.hx-ba { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-ba-col { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; gap: 10px; }
.hx-ba-col p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.hx-ba-col.is-before p mark { background: color-mix(in srgb, #DC2626 12%, transparent); color: #B91C1C; text-decoration: line-through; text-decoration-color: color-mix(in srgb, #DC2626 60%, transparent); }
html[data-theme="dark"] .hx-ba-col.is-before p mark { color: #F87171; }
.hx-ba-col.is-after { border-color: color-mix(in srgb, #16A34A 40%, var(--line)); }
.hx-ba-col.is-after b { color: var(--ink); font-weight: 500; }
.hx-ba-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--caption); }

/* ---------- Split (AI answers) ---------- */
.hx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hx-split-copy { display: flex; flex-direction: column; gap: 20px; }
.hx-checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.hx-checks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.hx-checks li svg { color: var(--hx-em); margin-top: 3px; }
.hx-checks b { color: var(--ink); font-weight: 500; }
.hx-split-vis { padding: clamp(18px, 3.6vw, 48px); min-height: 480px; display: flex; align-items: center; }
.hx-aeo { position: relative; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 60px -30px rgba(0, 7, 205, 0.45); }
.hx-aeo-q { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--ink); }
.hx-aeo-q svg { color: var(--caption); flex-shrink: 0; }
.hx-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-type.is-typing::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: hxBlink 1s steps(1) infinite; }
.hx-aeo-a { padding: 14px; border-radius: 10px; background: var(--hx-well); border: 1px solid var(--line); }
.hx-aeo-head { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hx-em); margin-bottom: 8px; }
.hx-aeo-a p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.hx-aeo-a p b { color: var(--ink); font-weight: 500; }
.hx-aeo-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 11.5px; color: var(--caption); }
.hx-aeo-src > span:first-child { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; }
.hx-src { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.hx-src.is-you { border-color: var(--hx-em); color: var(--ink); }
.hx-src .fav { display: inline-flex; }
.hx-aeo-rows { display: flex; flex-direction: column; }
.hx-aeo-row { display: grid; grid-template-columns: 90px 1fr 54px; gap: 12px; align-items: center; padding: 8px 2px; border-top: 1px solid var(--line); font-size: 12.5px; }
.hx-aeo-row.is-head { grid-template-columns: 90px 1fr; border-top: 0; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--caption); }
.hx-aeo-row .n { color: var(--ink); }
.hx-aeo-row .bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.hx-aeo-row .bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--blue, #51A2FF), #0007CD); border-radius: 3px; transform-origin: left; transition: transform 1s var(--hx-ease) 400ms; }
.mk-anim .hx-aeo:not(.is-in) .bar i { transform: scaleX(0); }
.hx-aeo-row .st { font-family: var(--font-mono); font-size: 11px; color: var(--caption); text-align: right; }
.hx-illus { position: absolute; right: 12px; bottom: -26px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(15, 15, 15, 0.55); }

/* ---------- Safe ---------- */
.hx-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hx-card { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 24px; background: var(--hx-card); border: 1px solid var(--line); border-radius: 16px; transition: transform 420ms var(--hx-ease), box-shadow 420ms var(--hx-ease), border-color 300ms; }
.hx-card .hx-h3, .hx-card > p { padding: 0 12px; }
.hx-card > p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.hx-card-vis { height: 196px; margin-bottom: 10px; border-radius: 10px; background: var(--hx-well); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; }
@media (hover: hover) { .hx-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 48px -30px rgba(15, 15, 15, 0.3); } }
.hx-mini { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.hx-mini-head { display: flex; align-items: center; gap: 7px; padding: 4px 6px 8px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--caption); }
.hx-mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 8px; border-radius: 6px; background: var(--hx-well); color: var(--muted); }
.hx-mini-row .mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink); }
.hx-mini-row.is-blocked .mono { text-decoration: line-through; color: var(--caption); }
.hx-tag-x, .hx-tag-ok { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; padding: 2px 7px; border: 1px solid; }
.hx-tag-x { color: #B91C1C; border-color: color-mix(in srgb, #DC2626 35%, transparent); background: color-mix(in srgb, #DC2626 8%, transparent); }
.hx-tag-ok { color: var(--hx-em); border-color: color-mix(in srgb, var(--blue, #51A2FF) 45%, transparent); background: color-mix(in srgb, var(--blue, #51A2FF) 10%, transparent); }
html[data-theme="dark"] .hx-tag-x { color: #F87171; }
.hx-mini-btns { display: flex; gap: 6px; padding-top: 4px; }
.hx-mini-btns .b { flex: 1; text-align: center; padding: 8px 0; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; color: var(--ink); }
.hx-mini-btns .b.is-cancel { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.hx-never { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); background: var(--hx-card); display: grid; grid-template-columns: 1fr; gap: 20px; }
.hx-never-title { margin: 0; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--caption); }
.hx-never ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.hx-never li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.hx-never li b { color: var(--ink); font-weight: 500; }
.hx-never .x { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, #DC2626 9%, transparent); color: #DC2626; }
.hx-never-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- Integrations: app cards ---------- */
.hx-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hx-app a {
  display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 16px; background: var(--hx-well); border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); text-decoration: none; transition: transform 380ms var(--hx-ease), box-shadow 380ms var(--hx-ease), border-color 260ms, background-color 260ms;
}
.hx-app-top { display: flex; align-items: center; gap: 12px; }
.hx-app-top b { font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; }
.hx-app-line { flex: 1; font-size: 13px; line-height: 1.5; color: var(--caption); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-app-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink);
  transition: background-color 220ms var(--hx-ease), color 220ms, border-color 220ms;
}
.hx-app-btn svg { transition: transform 260ms var(--hx-ease); }
.hx-app a:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 18px 36px -24px rgba(15, 15, 15, 0.3); background: var(--surface); }
.hx-app a:hover .hx-app-btn { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.hx-app a:hover .hx-app-btn svg { transform: translateX(3px); }
.hx-apps-more { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hx-apps-more a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 13px; text-decoration: none; transition: border-color 220ms, color 220ms, transform 300ms var(--hx-ease); }
.hx-apps-more .mk-ix-logo { border-radius: 50%; border: 0; background: var(--hx-well); }
.hx-apps-more .mk-ix-logo svg { color: var(--hx-em); }
.hx-apps-more a:hover { border-color: var(--line-2); color: var(--ink); transform: translateY(-2px); }

/* ---------- Developers band ---------- */
.hx-dark { background: var(--hx-dark); color: #F2F2F2; }
html[data-theme="dark"] .hx-dark { --hx-dark: #070707; }
.hx-dark > .hx-in::before, .hx-dark > .hx-in::after { background: var(--hx-dark); border-color: #3A3A3A; }
.hx-dev { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.hx-term { background: #050505; border: 1px solid #262626; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 80px -40px rgba(0, 7, 205, 0.55); }
.hx-term-bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid #1F1F1F; background: #0C0C0C; }
.hx-term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.hx-term-bar span:nth-child(2) { background: #FEBC2E; } .hx-term-bar span:nth-child(3) { background: #28C840; }
.hx-term-bar em { font-style: normal; margin: 0 auto; padding-right: 50px; font-family: var(--font-mono); font-size: 11px; color: #6B6B6B; }
.hx-term-body { flex: 1; padding: 18px 20px; overflow-x: auto; min-height: 300px; }
.hx-term-body pre { margin: 0; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.75; color: #A8A8A8; white-space: pre-wrap; overflow-wrap: anywhere; }
.hx-term .ln { display: inline; }
.hx-term .p { color: #51A2FF; }
.hx-term .cmd { color: #F2F2F2; }
.hx-term .o { color: #8F8F8F; }
.hx-term .ev { color: #6BFFFB; font-weight: 400; }
.hx-term .ok { color: #4ADE80; font-weight: 400; }
.hx-term .caret { display: inline-block; width: 8px; height: 15px; vertical-align: -3px; background: #F2F2F2; animation: hxBlink 1.1s steps(1) infinite; }
@keyframes hxBlink { 50% { opacity: 0; } }
.hx-term.is-typing .ln { visibility: hidden; }
.hx-term.is-typing .ln.is-shown { visibility: visible; }
.hx-code-tabs { display: flex; flex-direction: column; background: #0E0E0E; border: 1px solid #262626; border-radius: 14px; overflow: hidden; }
.hx-code-tablist { display: flex; gap: 0; border-bottom: 1px solid #262626; overflow-x: auto; scrollbar-width: none; }
.hx-code-tablist button {
  all: unset; cursor: pointer; padding: 0 16px; height: 42px; display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.04em; color: #8F8F8F; border-right: 1px solid #1F1F1F; position: relative; transition: color 200ms; flex-shrink: 0;
}
.hx-code-tablist button:hover { color: #F2F2F2; }
.hx-code-tablist button[aria-selected="true"] { color: #FFFFFF; background: #151515; }
.hx-code-tablist button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #51A2FF; }
.hx-code-tablist button:focus-visible { outline: 2px solid #51A2FF; outline-offset: -2px; }
.hx-code-panel { padding: 16px 18px 6px; min-height: 150px; animation: hxFade 420ms var(--hx-ease); }
@keyframes hxFade { from { opacity: 0; transform: translateY(6px); } }
.hx-code-h { margin: 0 0 6px; font-family: var(--font-mono); font-size: 11.5px; color: #6B6B6B; }
.hx-code-panel pre { margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: #E5E5E5; white-space: pre; overflow-x: auto; }
.hx-dev-links { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #262626; }
.hx-dev-links li:nth-child(odd) { border-right: 1px solid #262626; }
.hx-dev-links li:nth-child(n + 3) { border-top: 1px solid #262626; }
.hx-dev-links a { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 16px 18px; color: #A3A3A3; text-decoration: none; font-size: 13px; line-height: 1.45; transition: background-color 220ms; }
.hx-dev-links a > svg { color: #51A2FF; margin-top: 2px; }
.hx-dev-links a b { display: block; color: #F2F2F2; font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.hx-dev-links a:hover { background: #151515; }

/* ---------- Stats ---------- */
.hx-stats-sec > .hx-in { padding-top: 0; padding-bottom: 0; }
.hx-stats { list-style: none; margin: 0 calc(-1 * var(--hx-pad)); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-stats li { display: flex; flex-direction: column; gap: 10px; padding: clamp(28px, 4vw, 48px) var(--hx-pad); border-left: 1px solid var(--hx-frame); }
.hx-stats li:first-child { border-left: 0; }
.hx-stats b { font-size: clamp(44px, 5vw, 72px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hx-stats li > span { font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 26ch; }

/* ---------- Grow panels ---------- */
.hx-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.hx-panel { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--hx-card); border: 1px solid var(--line); border-radius: 16px; transition: transform 420ms var(--hx-ease), box-shadow 420ms var(--hx-ease), border-color 300ms; }
@media (hover: hover) { .hx-panel:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 48px -30px rgba(15, 15, 15, 0.3); } }
.hx-panel-copy { display: flex; flex-direction: column; gap: 8px; }
.hx-panel-copy p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.hx-panel-vis { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px; background: var(--hx-well); border: 1px solid var(--line); border-radius: 12px; }
.hx-panel-foot { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--caption); padding-top: 14px; border-top: 1px solid var(--line); }
.hx-key, .hx-site { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; }
.hx-site { grid-template-columns: 26px 1fr auto; }
.hx-key .lg, .hx-site .fav { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--ink); color: var(--ground); font-size: 12px; font-weight: 600; }
.hx-site .fav-1 { background: #0F0F0F; } .hx-site .fav-2 { background: #0007CD; } .hx-site .fav-3 { background: #0E9F6E; } .hx-site .fav-4 { background: #C2410C; } .hx-site .fav-5 { background: #6D28D9; }
.hx-site .fav { color: #FFFFFF; }
html[data-theme="dark"] .hx-site .fav-1 { background: #3A3A3A; }
.hx-key .n, .hx-site .n { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-key .mono { font-family: var(--font-mono); font-size: 11px; color: var(--caption); }
.hx-key .st, .hx-site .st { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--caption); white-space: nowrap; }
.hx-key.is-off { grid-template-columns: 26px 1fr auto; }
.hx-key.is-off .lg { background: var(--hx-well); color: var(--caption); border: 1px solid var(--line); }
.hx-key.is-off .st { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; color: var(--hx-em); }
.hx-key-meter { margin-top: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--muted); }
.hx-key-meter > div { display: flex; justify-content: space-between; }
.hx-key-meter b { font-family: var(--font-mono); font-weight: 400; color: var(--ink); }
.hx-key-meter i { height: 4px; background: var(--line); display: block; }
.hx-key-meter i b { display: block; height: 100%; width: 100%; background: var(--hx-em); }
.hx-key-meter small { font-family: var(--font-mono); font-size: 10.5px; color: var(--hx-em); text-transform: uppercase; letter-spacing: 0.02em; }
.hx-time { list-style: none; margin: 0; padding: 0 0 0 4px; flex: 1; display: flex; flex-direction: column; position: relative; }
.hx-time::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--blue, #51A2FF), var(--line)); }
.hx-time li { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 6px 0 16px 28px; font-size: 13px; color: var(--muted); }
.hx-time li::before { content: ""; position: absolute; left: 1px; top: 9px; width: 9px; height: 9px; background: var(--ground); border: 2px solid var(--hx-em); }
.hx-time .when { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hx-em); }
.hx-time b { color: var(--ink); font-weight: 500; font-size: 14.5px; }

/* ---------- Compare, pricing, FAQ and CTA inside the frame ---------- */
.hx-narrow-in > :not(.hx-head) { max-width: 920px; margin-inline: auto; }
.hx-plans .mk-plans { gap: 12px; }
.hx-plans .mk-plan { border-radius: 14px; transition: transform 380ms var(--hx-ease), box-shadow 380ms var(--hx-ease), border-color 260ms; }
.hx-plans .mk-plan:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(0, 7, 205, 0.35); }
.hx-plans .mk-plan-price strong { font-weight: 400; letter-spacing: -0.04em; }
.hx-faq-wrap > .mk-section, .hx-cta-wrap > .mk-cta { padding: 0; background: transparent; }
.hx-faq-wrap .mk-wrap, .hx-cta-wrap .mk-wrap {
  max-width: var(--container-page, 1240px); margin: 0 auto; padding: var(--hx-gap-y) var(--hx-pad);
  border-left: 1px solid var(--hx-frame); border-right: 1px solid var(--hx-frame); border-top: 1px solid var(--hx-frame);
}
.hx-faq-wrap .mk-h2 { font-size: clamp(30px, 3.7vw, 48px); font-weight: 400; letter-spacing: -0.032em; }
.hx-faq-wrap .faq summary { font-size: 16px; }
.hx-cta-wrap .mk-wrap { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.hx-cta-wrap .mk-cta-panel.fg { border-radius: 20px; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.hx-cta-wrap .mk-cta-panel .mk-h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 400; letter-spacing: -0.04em; max-width: 18ch; margin-inline: auto; }
@media (max-width: 1272px) { .hx-faq-wrap .mk-wrap, .hx-cta-wrap .mk-wrap { border-left-color: transparent; border-right-color: transparent; } }

/* ---------- Reveals ---------- */
.mk-anim [data-hx-reveal], .mk-anim [data-hx-rise] { opacity: 0; transform: translateY(18px); }
.mk-anim [data-hx-reveal].is-in, .mk-anim [data-hx-rise].is-in {
  opacity: 1; transform: none; transition: opacity 700ms var(--hx-ease), transform 900ms var(--hx-ease); transition-delay: var(--d, 0ms);
}
.mk-anim .hx-card.is-in, .mk-anim .hx-panel.is-in, .mk-anim .hx-app.is-in {
  transition: opacity 700ms var(--hx-ease) var(--d, 0ms), transform 900ms var(--hx-ease) var(--d, 0ms), background-color 300ms, box-shadow 420ms var(--hx-ease), border-color 300ms;
}
@media (hover: hover) { .mk-anim .hx-card.is-in:hover, .mk-anim .hx-panel.is-in:hover { transform: translateY(-4px); transition-delay: 0ms; } }

.mk-anim .hx-cell > * { opacity: 0; transform: translateY(14px); }
.mk-anim .hx-cell.is-in > * { opacity: 1; transform: none; transition: opacity 700ms var(--hx-ease) var(--d, 0ms), transform 900ms var(--hx-ease) var(--d, 0ms), box-shadow 420ms var(--hx-ease), border-color 300ms; }
.mk-anim .hx-cell.is-in > .hx-cell-copy { transition-delay: calc(var(--d, 0ms) + 90ms); }
@media (hover: hover) { .mk-anim .hx-cell.is-in:hover .hx-cell-vis { transform: translateY(-4px); transition-delay: 0ms; } }

/* ---------- Dark theme: brand logos keep a light tile so dark marks stay visible ---------- */
html[data-theme="dark"] .hx-page .mk-ix-logo { background: #F2F2F2; border-color: transparent; }
html[data-theme="dark"] .hx-page .mk-ix-logo svg { color: #0007CD; }
html[data-theme="dark"] .hx-marquee-track .mk-ix-logo { opacity: 0.7; }

/* ---------- Footer: a halftone wordmark under the links (homepage only) ---------- */
.hx-page .site-footer { overflow: hidden; }
.hx-page .site-footer::after {
  content: "postbing"; display: block; max-width: var(--container-page, 1240px); margin: clamp(24px, 4vw, 48px) auto 0; padding: 0 16px;
  font-family: var(--font-sans); font-size: min(24vw, 320px); font-weight: 600; letter-spacing: -0.065em; line-height: 0.78; text-align: center;
  padding-bottom: 0.1em; color: transparent; user-select: none; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42) 1.5px, transparent 2px) 0 0 / 6px 6px;
  -webkit-background-clip: text; background-clip: text;
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, rgba(0, 0, 0, 0.15)); mask-image: linear-gradient(to bottom, #000 25%, rgba(0, 0, 0, 0.15));
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .hx-hub { grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr); gap: 24px; }
  .hx-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-dev { grid-template-columns: 1fr; }
  .hx-cell.c-7, .hx-cell.c-5 { grid-column: span 6; }
  .hx-cell.c-4 { grid-column: span 6; }
  .hx-cell.c-4:last-of-type { grid-column: span 12; }
}
@media (max-width: 900px) {
  .hx-hero { margin-top: -72px; padding-top: 72px; }
  .hx-marquee { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .hx-promises { grid-template-columns: 1fr 1fr; }
  .hx-promises li:nth-child(3) { border-left: 0; }
  .hx-promises li:nth-child(n + 3) { border-top: 1px solid var(--hx-frame); }
  .hx-hub { grid-template-columns: 1fr; gap: 28px; max-width: 460px; margin-inline: auto; }
  .hx-hub-line { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .hx-hub-line i { display: none; }
  .hx-tabs { grid-template-columns: 1fr; }
  .hx-tabs-stage { position: relative; top: 0; order: 2; }
  .hx-split { grid-template-columns: 1fr; }
  .hx-trio { grid-template-columns: 1fr; }
  .hx-never ul { grid-template-columns: 1fr; }
  .hx-stats { grid-template-columns: 1fr 1fr; }
  .hx-stats li:nth-child(3) { border-left: 0; }
  .hx-stats li:nth-child(n + 3) { border-top: 1px solid var(--hx-frame); }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .hx-page { --hx-pad: 20px; --hx-gap-y: 72px; }
  .hx-hero { --hx-tail: 96px; }
  .hx-hero-in { gap: 20px; padding-top: 52px; padding-bottom: 36px; }
  .hx-display { font-size: clamp(34px, 10.4vw, 44px); letter-spacing: -0.035em; }
  .hx-display-line { white-space: normal; }
  .hx-display-line:first-child { white-space: nowrap; }
  .hx-pill { height: auto; min-height: 30px; padding: 6px 10px; font-size: 10px; letter-spacing: 0.02em; max-width: 100%; }
  .hx-pill span { white-space: normal; }
  .hx-pill svg:last-child { display: none; }
  .hx-swap { display: block; margin: 0 auto; text-align: center; }
  .hx-swap-word.is-out { left: 0; right: 0; }

  .hx-lede { font-size: 15.5px; }
  .hx-stage { padding: 14px 12px 0; border-radius: 14px; }
  .hx-h2 { font-size: clamp(28px, 8vw, 34px); }
  .hx-sub { font-size: 15.5px; }
  .hx-head { align-items: flex-start; text-align: left; gap: 14px; }
  .hx-head .hx-h2 { margin-inline: 0; }
  .hx-promises li { padding: 16px var(--hx-pad); font-size: 12.5px; }
  .hx-promises .ic { display: none; }
  .hx-tab-t { font-size: 16px; }
  .hx-tabs-stage { aspect-ratio: 4 / 3.3; border-radius: 14px; }
  .hx-frame-peek { width: 170%; }
  .hx-bento { grid-template-columns: 1fr; }
  .hx-cell.c-7, .hx-cell.c-5, .hx-cell.c-4, .hx-cell.c-4:last-of-type { grid-column: auto; }
  .hx-cell-vis { height: auto; min-height: 200px; }
  .hx-tr { grid-template-columns: 44px minmax(0, 1fr) 86px; }
  .hx-tr .k { display: none; }
  .hx-modes > div { grid-template-columns: 1fr; gap: 2px; }
  .hx-ba { grid-template-columns: 1fr; }
  .hx-split-vis { min-height: 0; border-radius: 14px; padding: 14px 14px 40px; }
  .hx-aeo-row { grid-template-columns: 78px 1fr 44px; }
  .hx-apps { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hx-app a { padding: 12px; gap: 10px; }
  .hx-app-line { display: none; }
  .hx-app-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hx-term-body { min-height: 0; padding: 14px; }
  .hx-term-body pre { font-size: 11px; }
  .hx-dev-links { grid-template-columns: 1fr; }
  .hx-dev-links li:nth-child(odd) { border-right: 0; }
  .hx-dev-links li:nth-child(n + 2) { border-top: 1px solid #262626; }
  .hx-stats b { font-size: 44px; }
  .hx-panels { grid-template-columns: 1fr; }
  .hx-panel { padding: 18px; }
  .hx-cta-wrap .mk-wrap { padding-left: 12px; padding-right: 12px; }
}

/* ---------- Reduced motion: everything visible and still ---------- */
@media (prefers-reduced-motion: reduce) {
  .hx-page *, .hx-page *::before, .hx-page *::after { animation: none !important; transition: none !important; }
  .hx-marquee-view.is-run .hx-marquee-track { animation: none !important; }
  .hx-term.is-typing .ln { visibility: visible; }
}
