/* Postbing homepage hero (templates/_home_hero.html). Loaded only by templates/index.html, after home.css,
   home-demo.css and home-proof.css.
   .hc-*      the dark field: flowing gradient, veil, display type, web address form, bottom rule
   .hc1a-*    the split: copy on the left, the app demo on the right with its sidebar folded to an icon rail
   .hc1x-*    the left column's rhythm and the demo's browser bar
   .hc1a2-*   the window, the tab behind its top edge and the notice hung off its lower left corner
   The demo inside the window is templates/_home_demo.html (static/css/home-demo.css); only its frame is
   restyled here. Motion lives in static/js/home-hero.js and home-demo.js. The finished state of every piece
   is the CSS default, so no JavaScript and prefers-reduced-motion both show a composed, static hero. */

.hc-hero {
  --hc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hc-bg: #03040B;
  --hc-rule: rgba(255, 255, 255, 0.12);
  --hc-pad: var(--hx-pad, clamp(20px, 4.6vw, 64px));
  /* The band above the nav plus the nav itself (marketing.css: the nav rests 24px from the top on wide
     screens, 14px on narrow ones, and is 56px tall with an 8px gap under it). The hero reaches up underneath
     both, so the shader starts at the very top of the page. */
  --hc-lift: 78px;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  margin-top: calc(-1 * var(--hc-lift)); padding-top: var(--hc-lift); color: #F2F2F2;
}
.is-public.hx-page section.hc-hero.theme-dark, html[data-theme="dark"] .is-public.hx-page section.hc-hero.theme-dark { background-color: var(--hc-bg); --ground: var(--hc-bg); }
@media (min-width: 1273px) { .hc-hero { --hc-lift: 88px; } }
/* On the hero page the band above the nav is see-through, so the field shows behind it. */
body:has(.hc-hero) .pb-announce { background: transparent; z-index: auto; }
@media (min-width: 861px) and (min-height: 620px) { .hc-hero { min-height: min(100svh, 1180px); } }

.hc-field {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 22% 88%, rgba(0, 7, 205, 0.85) 0%, transparent 62%),
    radial-gradient(ellipse 60% 50% at 82% 78%, rgba(81, 162, 255, 0.55) 0%, transparent 62%),
    var(--hc-bg);
}
.hc-field > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1200ms ease; }
.hc-field.is-live > canvas { opacity: 1; }
/* Keeps the nav and the headline on near black and lets the colour pool behind the cards. */
.hc-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 64% 44% at 50% 36%, rgba(3, 4, 11, 0.82) 0%, rgba(3, 4, 11, 0.5) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(3, 4, 11, 0.94) 0%, rgba(3, 4, 11, 0.62) 26%, rgba(3, 4, 11, 0.12) 62%, rgba(3, 4, 11, 0.3) 86%, rgba(3, 4, 11, 0.86) 100%);
}

/* ---------- Display ---------- */
.hc-display {
  margin: 0; display: flex; flex-direction: column; align-items: center; width: 100%;
  font-family: var(--font-sans); font-weight: 400; color: #FFFFFF;
  font-size: clamp(34px, min(6.7vw, 11vh), 116px); line-height: 1; letter-spacing: -0.048em;
}
.is-public .hc-display { color: #FFFFFF; }
.hc-line { display: block; }
.hc-lede { margin: 0; max-width: 62ch; font-size: clamp(15.5px, 1.3vw, 18.5px); line-height: 1.55; color: #B4B8C4; text-wrap: balance; }

/* ---------- CTA ---------- */
.hc-cta { width: 100%; max-width: 600px; display: flex; flex-direction: column; gap: 14px; }
.is-public .hc-cta .url-form { width: 100%; max-width: none; margin: 0; padding: 5px; background: rgba(3, 4, 11, 0.72); border: 1px solid rgba(255, 255, 255, 0.24); }
.is-public .hc-cta .url-form:focus-within { border-color: #51A2FF; box-shadow: 0 0 0 3px rgba(81, 162, 255, 0.28); }
.is-public .hc-cta .url-form .input { height: 46px; color: #FFFFFF; padding: 0 14px; font-size: 14.5px; }
.is-public .hc-cta .url-form .input::placeholder { color: #8F93A0; opacity: 1; }
.is-public .hc-cta .url-form .btn { height: 46px; padding: 0 20px; background: #FFFFFF; border-color: #FFFFFF; color: #05060C; }
.is-public .hc-cta .url-form .btn:hover { background: #6BFFFB; border-color: #6BFFFB; color: #05060C; }
.hc-cta { position: relative; }
.hc-cta .mk-form-err { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; color: #FFB4A8; font-size: 13px; line-height: 1.25; text-align: center; }
.hc-cta:has(.url-form.is-invalid) .hc-trust { visibility: hidden; }
.hc-trust {
  margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #9A9EAB;
}
.hc-trust li { display: flex; align-items: center; gap: 8px; }
.hc-trust li::before { content: ""; width: 5px; height: 5px; background: #51A2FF; }

/* ---------- Bottom rule: where it publishes, and the promise ---------- */
.hc-base { margin-top: clamp(14px, 2.4vh, 28px); border-top: 1px solid var(--hc-rule); background: rgba(3, 4, 11, 0.5); }
.hc-base-in {
  display: flex; align-items: center; gap: 18px; min-height: 56px; max-width: var(--container-page, 1240px); margin: 0 auto; padding: 0 var(--hc-pad);
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #9A9EAB;
}
.hc-base p { margin: 0; white-space: nowrap; }
.hc-base-r { display: flex; gap: 20px; }
.hc-base-r span { display: flex; align-items: center; gap: 8px; }
.hc-base-r span::before { content: ""; width: 5px; height: 5px; background: #6BFFFB; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1020px) {
  .hc-base-r span:first-child { display: none; }
}
@media (max-width: 860px) {
  .hc-display { font-size: clamp(33px, 9.4vw, 64px); letter-spacing: -0.042em; line-height: 1.03; }
  .hc-base-in { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 8px 14px; }
  .hc-base-r { margin-left: auto; }
}
@media (max-width: 640px) {
  .is-public .hc-cta .url-form { flex-wrap: wrap; gap: 5px; }
  .is-public .hc-cta .url-form .input { flex: 1 1 100%; }
  .is-public .hc-cta .url-form .btn { width: 100%; justify-content: center; }
  .hc-trust { gap: 6px 14px; }
}

/* ---------- The chip above the headline, the gradient line ---------- */
.hc-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 5px; max-width: 100%;
  border: 1px solid var(--hc-rule); background: rgba(3, 4, 11, 0.55); color: #C9CCD6; text-decoration: none;
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
  transition: border-color 220ms var(--hc-ease), background-color 220ms var(--hc-ease), color 220ms;
}
.hc-chip-tag { height: 20px; padding: 0 7px; display: inline-flex; align-items: center; background: #6BFFFB; color: #03040B; font-size: 10.5px; }
.hc-chip > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.hc-chip svg { flex-shrink: 0; transition: transform 260ms var(--hc-ease); }
.is-public a.hc-chip:hover { border-color: rgba(107, 255, 251, 0.6); background: rgba(81, 162, 255, 0.12); color: #FFFFFF; }
.hc-chip:hover svg { transform: translateX(3px); }
.hc-chip:focus-visible { outline: 2px solid #51A2FF; outline-offset: 2px; }
.hc-grad {
  padding: 0 0.06em 0.12em; margin-bottom: -0.12em;
  background: linear-gradient(94deg, #FFFFFF 0%, #A9D3FF 42%, #6BFFFB 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hc-display .hc-line { white-space: nowrap; }
.hc1-note {
  margin: 0; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #9A9EAB;
}
.hc1-note span { display: inline-flex; align-items: center; gap: 8px; margin-right: 10px; color: #F2F2F2; }
.hc1-note span::before { content: ""; width: 6px; height: 6px; background: #4ADE80; }

.hc1-glow {
  position: absolute; left: 6%; right: 6%; top: -6%; height: 62%; z-index: -1; pointer-events: none; opacity: 0.75;
  background: radial-gradient(ellipse 50% 60% at 30% 40%, rgba(107, 255, 251, 0.5), transparent 70%), radial-gradient(ellipse 55% 65% at 72% 45%, rgba(81, 162, 255, 0.75), transparent 70%);
  filter: blur(56px);
}

/* The bottom rule of the C1 heroes: what the window is, then the promise. No logos here: "Publishes to"
   lives once, in the first section under the hero. A lit seam closes the dark field on purpose. */
.hc1-base { position: relative; z-index: 3; background: rgba(3, 4, 11, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hc1-base::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, #0007CD 18%, #51A2FF 50%, #6BFFFB 68%, transparent 100%); }
.hc1-base .hc1-note { flex: 1 1 auto; min-width: 0; margin: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; color: #9A9EAB; }
@media (max-width: 860px) {
  .hc1-base .hc-base-in { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 16px; }
  .hc1-base .hc1-note { white-space: normal; line-height: 1.6; }
  .hc1-base .hc-base-r { display: none; }
}

/* ---------------------------------------------------------------------
   The split: the pitch in the left column, the app window large on the right.
   --------------------------------------------------------------------- */
.hc1a { --hc1a-left: max(var(--hc-pad), calc((100vw - var(--container-page, 1240px)) / 2)); }
.hc1a-grid { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; padding: 0 var(--hc-pad); }
.hc1a-copy { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 20px; padding: 44px 0 30px; }
.hc1a-display { align-items: flex-start; font-size: clamp(34px, 9.6vw, 64px); line-height: 1.02; letter-spacing: -0.045em; }
.hc1a .hc-lede { text-wrap: pretty; }
.hc1a .hc-trust { justify-content: flex-start; }
.hc1a .hc1-base { background: rgba(3, 4, 11, 0.86); }
.hc1a .hc-cta .mk-form-err { text-align: left; }
@media (min-width: 1021px) {
  .hc1a-grid { display: grid; grid-template-columns: minmax(0, min(540px, 41vw)) minmax(0, 1fr); column-gap: clamp(36px, 4.2vw, 76px); align-items: center; padding: 0 0 0 var(--hc1a-left); }
  .hc1a-copy { gap: clamp(14px, 2.5vh, 28px); padding: clamp(28px, 5vh, 72px) 0 clamp(28px, 5vh, 72px); }
  .hc1a-display { font-size: clamp(38px, min(4.5vw, 7.6vh), 70px); }
  .hc1a .hc-lede { font-size: clamp(15px, 1.15vw, 17.5px); max-width: 50ch; }
  .hc1a .hc-cta { max-width: 520px; }
  .hc1a .hc-trust { gap: 6px 16px; }
  .hc1a .hc-base-in { max-width: none; padding-left: var(--hc1a-left); padding-right: var(--hc1a-left); }
  .hc1a .dm { --dm-h: clamp(540px, 76vh, 800px); grid-template-columns: 54px minmax(0, 1fr); }
  /* Sidebar folded to an icon rail: the screens stay one click away and the calendar gets the room. */
  .hc1a .dm-side { align-items: center; padding: 14px 8px 12px; gap: 8px; }
  .hc1a .dm-brand, .hc1a .dm-quota, .hc1a .dm-site-n, .hc1a .dm-site > svg { display: none; }
  .hc1a .dm-site { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .hc1a .dm-nav { width: 100%; align-items: center; gap: 4px; }
  .hc1a .dm-tab, .hc1a .dm-nav-x { width: 34px; height: 34px; padding: 0; justify-content: center; gap: 0; font-size: 0; overflow: visible; }
  .hc1a .dm-tab-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hc1a .dm-nav-l { width: 18px; height: 1px; padding: 0; margin: 6px 0; background: var(--dm-line-2); font-size: 0; }
  .hc1a .dm-badge { position: absolute; top: -3px; right: -4px; min-width: 15px; height: 15px; font-size: 9.5px; }
  .hc1a .dm-prog { left: 4px; right: 4px; border-radius: 2px; overflow: hidden; }
}

@keyframes hcTick { 0% { transform: scale(0.4); } 60% { transform: scale(1.18); } 100% { transform: none; } }
@keyframes hcFloat { from { transform: translate3d(0, -5px, 0); } to { transform: translate3d(0, 5px, 0); } }
@keyframes hcIn { 0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.94); } 100% { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hc1 .hc-display .hc-line { white-space: normal; text-wrap: balance; }
  .hc1a .hc1a-display .hc-line { white-space: nowrap; }
}

/* ---------- Reduced motion: everything composed and still ---------- */
@media (prefers-reduced-motion: reduce) {
  .hc-hero *, .hc-hero *::after { animation: none !important; transition: none !important; }
  .hc-field > canvas { transition: none; }
}

.hc1x {
  --x-left: max(var(--hc-pad), calc((100vw - var(--container-page, 1240px)) / 2));
  --x-copy: min(540px, 40vw);
  --x-gap: clamp(40px, 4.4vw, 84px);
}

/* ---------- Left column: one left edge, a fixed rhythm ---------- */
.hc1x .hc1x-copy { gap: 0; padding: 40px 0 34px; }
.hc1x-copy > .hc-display { margin-top: 24px; margin-left: -0.035em; font-size: clamp(36px, 10.4vw, 62px); line-height: 1; letter-spacing: -0.046em; }
.hc1x-copy > .hc-lede { margin-top: 20px; max-width: 46ch; font-size: 16px; line-height: 1.6; text-wrap: balance; }
.hc1x-copy > .hc-cta { margin-top: 28px; max-width: 520px; gap: 14px; }
.hc1x .hc-trust { justify-content: flex-start; gap: 6px 18px; }
.hc1x-stage { position: relative; padding-bottom: 34px; }
/* The light behind the device: plain gradients, no blur filter (cheaper, and no filter layer to tile). */
.hc1x .hc1x-glow {
  left: -10%; right: -10%; top: -6%; height: 104%; opacity: 1; filter: none;
  background: radial-gradient(ellipse 34% 40% at 34% 42%, rgba(107, 255, 251, 0.13) 0%, rgba(107, 255, 251, 0) 100%),
              radial-gradient(ellipse 46% 50% at 62% 52%, rgba(81, 162, 255, 0.24) 0%, rgba(81, 162, 255, 0) 100%);
}

/* The demo's own bar, as a browser toolbar: dots, the address, pause. Kept on the left so the pause
   button is on screen even where the window runs off the right edge. */
.hc1x .dm-frame { margin: 0; width: 100%; max-width: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #0A0B10; }
.hc1x .dm { border-radius: 0; }
.hc1x .dm-bar { gap: 7px; padding: 0 12px; }
.hc1x .dm-bar > span { background: #2B2D37; }
.hc1x .dm-bar em {
  margin: 0 0 0 10px; padding: 0 12px; height: 22px; min-width: 0; max-width: 60%; display: inline-flex; align-items: center; border-radius: 6px;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); color: #8D909C; font-size: 10.5px;
}
.hc1x .dm-bar em b { color: #D5D8E0; }
.hc1x .dm-play { position: static; transform: none; flex: none; }

/* ---------- A2: the designed window, and the tab and notice around it ---------- */
.hc1a2-wrap { position: relative; padding-top: 34px; }
/* The object: near black glass with a lit top edge, a 1px gradient hairline, a glow that wraps the edges
   in the shader's colours, and one long shadow onto the field. */
.hc1a2-win {
  position: relative; z-index: 1; border-radius: 14px; background: #07080D;
  box-shadow: 0 0 0 1px rgba(3, 4, 11, 0.75), 0 0 80px -20px rgba(81, 162, 255, 0.55), -46px 14px 100px -56px rgba(107, 255, 251, 0.5),
              0 2px 6px rgba(3, 4, 11, 0.5), 0 44px 90px -36px rgba(3, 4, 11, 0.95), 0 120px 170px -70px rgba(0, 7, 205, 0.95);
}
.hc1a2-win .dm-frame { border-radius: 14px; overflow: hidden; background: transparent; }
.hc1a2-win::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(132deg, rgba(170, 255, 252, 0.85) 0%, rgba(120, 186, 255, 0.6) 14%, rgba(255, 255, 255, 0.2) 36%, rgba(255, 255, 255, 0.09) 70%, rgba(120, 160, 255, 0.3) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
/* Glass: a fixed soft reflection in the top left corner, and one band of light that crosses very slowly. */
.hc1a2-sheen { position: absolute; inset: 1px; z-index: 2; border-radius: 13px; overflow: hidden; pointer-events: none; background: linear-gradient(127deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 15%, rgba(255, 255, 255, 0) 27%); }
.hc1a2-sheen::before {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 30%; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(190, 220, 255, 0.05) 42%, rgba(255, 255, 255, 0.075) 50%, rgba(190, 220, 255, 0.05) 58%, rgba(255, 255, 255, 0) 100%);
  transform: translate3d(-130%, 0, 0) skewX(-16deg);
}
.mk-anim .hc1a2-sheen::before { opacity: 1; animation: hc1a2Sheen 17s cubic-bezier(0.4, 0, 0.3, 1) 2.5s infinite; }
@keyframes hc1a2Sheen { 0% { transform: translate3d(-130%, 0, 0) skewX(-16deg); } 46%, 100% { transform: translate3d(460%, 0, 0) skewX(-16deg); } }
.is-hold .hc1a2-sheen::before, .is-hold .hc1a2-toast { animation-play-state: paused !important; }
/* The bar: dots, address, pause, and the live tag, on one centre line. A thin line under it is the scene clock. */
.hc1a2 .dm-bar { position: relative; height: 42px; padding: 0 14px; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.075); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012)); }
.hc1a2 .dm-bar > span { width: 10px; height: 10px; background: #2C2F3A; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.hc1a2 .dm-bar em { height: 26px; margin-left: 12px; padding: 0 12px; min-width: min(270px, 44%); border-radius: 7px; font-size: 11px; line-height: 26px; }
.hc1a2 .dm-play { width: 26px; height: 26px; }
.hc1a2 .dm-bar::after {
  content: "Live demo"; flex: none; height: 22px; padding: 0 9px 0 21px; display: inline-flex; align-items: center; border: 1px solid rgba(74, 222, 128, 0.3); border-radius: 4px;
  font-family: var(--font-mono); font-size: 9.5px; line-height: 1; text-transform: uppercase; letter-spacing: 0.07em; color: #86EFAC; white-space: nowrap;
  background: radial-gradient(circle at 11px 50%, #4ADE80 0 2.5px, transparent 3px), rgba(34, 197, 94, 0.08);
}
.hc1a2 .dm-bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; transform-origin: 0 50%; transform: scaleX(var(--dm-p, 0)); background: linear-gradient(90deg, #3D5CFF 0%, #51A2FF 60%, #6BFFFB 100%); }
.hc1a2 .dm { background: #050505; }
/* The tab behind the top edge, and the notice. Dark glass, the same family as the window. */
.hc1a2-chip, .hc1a2-toast {
  border: 1px solid rgba(255, 255, 255, 0.17); color: #F2F2F2; text-align: left;
  background: linear-gradient(180deg, rgba(22, 26, 48, 0.92) 0%, rgba(8, 10, 22, 0.92) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.hc1a2-chip p, .hc1a2-toast p { margin: 0; }
.hc1a2-chip {
  position: absolute; z-index: 0; top: 0; left: 22px; max-width: calc(100% - 44px); height: 60px; padding: 0 14px 26px 10px; display: flex; align-items: center; gap: 10px;
  border-radius: 10px 10px 0 0; border-bottom: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 520ms var(--hc-ease);
}
.hc1a2-chip.is-off { transform: translateY(36px); }
.hc1a2-chip-ic { flex: none; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #03040B; background: #4ADE80; }
.hc1a2-chip[data-s="review"] .hc1a2-chip-ic { background: radial-gradient(circle, #FBBF5A 0 3px, transparent 3.5px); box-shadow: inset 0 0 0 1.6px #FBBF5A; }
.hc1a2-chip[data-s="review"] .hc1a2-chip-ic svg { opacity: 0; }
.hc1a2-chip p { display: flex; align-items: baseline; gap: 10px; min-width: 0; white-space: nowrap; }
.hc1a2-chip b { flex: none; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; color: #86EFAC; }
.hc1a2-chip[data-s="review"] b { color: #FBD38D; }
.hc1a2-chip p span { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; color: #FFFFFF; overflow: hidden; text-overflow: ellipsis; }
.hc1a2-chip.is-pop { animation: hc1a2Peek 620ms var(--hc-ease); }
@keyframes hc1a2Peek { 0% { transform: translateY(36px); } 100% { transform: none; } }
/* One notice at a time, over the lower left corner. The three share a slot. */
.hc1a2-sats { position: absolute; z-index: 4; left: 12px; bottom: 6px; width: min(300px, calc(100% - 24px)); height: 0; transform: translate3d(calc(var(--mx, 0) * 9px), calc(var(--my, 0) * 7px), 0); }
.hc1a2-toast {
  position: absolute; left: 0; bottom: 0; width: 100%; padding: 13px 15px; border-radius: 13px;
  display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; align-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.17), 0 0 0 1px rgba(3, 4, 11, 0.5), 0 26px 54px -20px rgba(0, 0, 0, 0.92), 0 18px 50px -18px rgba(0, 7, 205, 0.8);
  transition: opacity 240ms var(--hc-ease), transform 420ms var(--hc-ease), visibility 0s linear 0s;
}
.hc1a2-toast.is-off { opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.97); transition-delay: 0s, 0s, 420ms; }
.hc1a2-toast.is-land { animation: hcIn 560ms var(--hc-ease); }
.hc1a2-toast-ic { grid-row: 1 / span 3; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: #FFFFFF; }
.is-named .hc1a2-toast-ic { background: linear-gradient(140deg, #A78BFA 0%, #5B3FD6 100%); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.hc1a2-toast-t { font-size: 13.5px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc1a2-toast-s { margin-top: 2px !important; font-size: 12.5px; line-height: 1.35; color: #B4B8C4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc1a2-toast-w { margin-top: 7px !important; display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #86EFAC; white-space: nowrap; }
.hc1a2-toast-w i { flex: none; width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #22C55E; color: #03040B; }
.hc1a2-toast-w i.is-up::before { content: ""; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-bottom: 5px solid currentColor; margin-top: -1px; }
.hc1a2-toast.is-land .hc1a2-toast-w i { animation: hcTick 460ms var(--hc-ease) 160ms backwards; }
/* The clicks notice leads with its number. */
.hc1a2-toast.is-clicks { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; }
.hc1a2-toast-n { grid-row: 1 / span 2; align-self: center; }
.hc1a2-toast-n b { display: block; min-width: 3.1ch; font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; background: linear-gradient(94deg, #FFFFFF 0%, #A9D3FF 55%, #6BFFFB 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-clicks .hc1a2-toast-t { align-self: end; }
.is-clicks .hc1a2-toast-w { margin-top: 3px !important; align-self: start; }
/* Stacked: the notice hangs under the bottom edge of the window, clear of what the screen is showing. */
.hc1a2 .hc1x-stage { padding-bottom: 100px; }
/* The article and the review list are longer than the window: they fade out at its bottom edge. */
.hc1a2 .dm-doc, .hc1a2 .dm-rv-body { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent); }
.hc1a2 .hc1x-glow { transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0); }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .hc1x .dm-bar { height: 30px; }
  .hc1a2-chip { left: 14px; }
  .hc1a2 .dm-grid { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
  .hc-chip { gap: 8px; padding-right: 10px; font-size: 10.5px; letter-spacing: 0.03em; }
  .hc-chip svg { display: none; }
  .hc1a2-chip p span { font-size: 12.5px; }
}

/* ---------- Split (desktop) ---------- */
@media (min-width: 1021px) {
  .hc1x .hc1x-grid { grid-template-columns: minmax(0, var(--x-copy)) minmax(0, 1fr); column-gap: var(--x-gap); padding: 0 0 0 var(--x-left); }
  .hc1x .hc1x-copy { padding: clamp(24px, 4vh, 60px) 0; }
  .hc1x-copy > .hc-display { margin-top: clamp(18px, 3vh, 30px); font-size: clamp(40px, min(4.4vw, 7.4vh), 72px); }
  .hc1x-copy > .hc-lede { margin-top: clamp(16px, 2.5vh, 24px); font-size: clamp(15.5px, 1.12vw, 17.5px); }
  .hc1x-copy > .hc-cta { margin-top: clamp(22px, 3.4vh, 36px); max-width: 500px; }
  .is-public .hc1x .hc-cta .url-form { flex-wrap: nowrap; }
  .is-public .hc1x .hc-cta .url-form .input { flex: 1 1 0; min-width: 0; width: auto; }
  .is-public .hc1x .hc-cta .url-form .btn { flex: none; width: auto; }
  .hc1x-stage { min-width: 0; padding: clamp(18px, 3vh, 40px) 0; }
  .hc1x .hc1x-glow { left: -22%; right: auto; width: 1100px; }

  /* The window: flat, sharp and large. It runs off the right edge and a little way under the bottom rule,
     so it is placed absolutely and never makes the hero taller. */
  .hc1a2 {
    --x-gap: clamp(48px, 4.8vw, 88px); --win-w: clamp(880px, calc(50vw + 262px), 1250px);
    --win-off: max(0px, calc(var(--win-w) - (100vw - var(--x-left) - var(--x-copy) - var(--x-gap))));   /* how much of it is past the right edge */
    --win-top: clamp(34px, 6.4vh, 88px);
    --win-under: 28px;                                                                                  /* how much of it is under the bottom rule */
  }
  .hc1a2 .hc1x-stage { align-self: stretch; padding: 0; }
  .hc1a2-wrap { position: absolute; left: 0; top: var(--win-top); width: var(--win-w); }
  /* Joined to the bottom rule at every height: the hero's height, less the nav it reaches under, the gap
     above the window, the tab (34px), the bar (42px) and the rule (57px), plus the part under the rule. */
  .hc1a2 .dm { --dm-h: max(440px, calc(min(100svh, 1180px) - var(--hc-lift) - var(--win-top) - 133px + var(--win-under))); }
  /* Every screen lays out inside the part of the window that is on screen: only the window itself runs
     off the right edge and under the rule. (The screens are absolutely placed, so they are inset here.) */
  .hc1a2 .dm-pane { right: var(--win-off); bottom: var(--win-under); }
  .hc1a2-chip { left: 64px; max-width: 440px; }
  /* The notice hangs off the window's lower left corner, over the icon rail and the gap beside it, so it
     never covers what a screen is showing. */
  .hc1a2-sats { left: auto; right: calc(100% - 46px); bottom: clamp(14px, 2.6vh, 30px); width: 300px; }
}
/* Short screens: the notice loses its last line, then steps aside, so it stays clear of the copy. */
@media (min-width: 1021px) and (max-height: 800px) {
  .hc1a2-sats { bottom: 4px; }
  .hc1a2-toast { padding: 11px 14px; }
  .hc1a2-toast .hc1a2-toast-w { display: none; }
  .hc1a2-toast .hc1a2-toast-ic { grid-row: 1 / span 2; }
  .hc1a2-toast.is-clicks .hc1a2-toast-t { grid-row: 1 / span 2; align-self: center; }
}
@media (min-width: 1021px) and (max-height: 730px) { .hc1a2-sats { display: none; } }
/* The notice floats a little while the hero is on screen (home-hero.js sets .is-hold when it is not). */
.mk-anim .hc1a2-toast:not(.is-land):not(.is-off) { animation: hcFloat 7s ease-in-out infinite alternate; }
