/* The homepage's Autopilot (#autopilot): the copy on the left, the page
 * (Sepia, the .pm kit in /home-page.css) writing itself on the right, with
 * the app's own pieces drawn alike (src/lib/ui/autopilot-run.css): the paper
 * plane, the window with "Where it's heading", the three poker cards that
 * riffle and turn one up, the ribbon, the pill, Continue / Stop. And a
 * popcorn bucket: the reader only watches. /home-autopilot.js plays it.
 * Transform and opacity only.
 */
.ax, .ax-stage {
  --ap-violet: #6d28d9;
  --ap-close: #1d6aa3;
  --ap-progress: #23784a;
  --ap-twist: #a3337f;
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax, .ax-stage {
    --ap-violet__r: 109;
    --ap-violet__g: 40;
    --ap-violet__b: 217;
    --ap-violet__a: 1;
    --ap-close__r: 29;
    --ap-close__g: 106;
    --ap-close__b: 163;
    --ap-close__a: 1;
    --ap-progress__r: 35;
    --ap-progress__g: 120;
    --ap-progress__b: 74;
    --ap-progress__a: 1;
    --ap-twist__r: 163;
    --ap-twist__g: 51;
    --ap-twist__b: 127;
    --ap-twist__a: 1;
  }
}
.ax {
  position: relative;
  padding: 110px 0 90px;
  isolation: isolate;
}
.ax::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 420px at 75% 50%, rgba(139, 92, 246, 0.18), transparent 70%),
    radial-gradient(520px 360px at 18% 40%, rgba(240, 106, 155, 0.12), transparent 70%);
}
.ax-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; max-width: 1140px; }
.ax-copy h2 { font-family: var(--font-display); font-weight: 500; font-size: calc(clamp(30px, 4.2vw, 50px) / var(--tz, 1)); line-height: 1.08; letter-spacing: -0.02em; margin: 14px 0 18px; text-wrap: balance; }
.ax-copy h2 em { display: block; font-style: italic; background: linear-gradient(100deg, #c084fc, #f06a9b 45%, #f5a66a 80%, #ffd27a); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hx-shine 9s ease-in-out infinite; padding-right: 0.08em; }
.ax-copy > p { color: var(--fg-2); font-size: calc(16.5px / var(--tz, 1)); line-height: 1.6; margin: 0 0 22px; text-wrap: pretty; }
.ax-kicker i { background: #a78bfa !important; box-shadow: 0 0 12px #a78bfa !important; }
.ax-points { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0 0 28px; }
.ax-points li { display: flex; align-items: flex-start; gap: 12px; color: var(--fg); font-size: calc(15px / var(--tz, 1)); line-height: 1.5; }
.ax-ico {
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 10px;
  color: #d9ccff; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(167, 139, 250, 0.32);
}
.ax-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ax-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ax-more { display: inline-flex; align-items: center; gap: 4px; color: var(--fg-2); font-size: calc(15px / var(--tz, 1)); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(167, 139, 250, 0.5); text-underline-offset: 4px; transition: color 0.2s, text-decoration-color 0.2s; }
.ax-more:hover { color: var(--fg); text-decoration-color: currentColor; }
.ax-more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- the stage ---- */
.ax-stage { position: relative; }
.ax-page { height: 560px; display: flex; flex-direction: column; }
.ax-page .pm-top { flex: none; }
/* The text scrolls inside this box, which reaches over the page's left
   margin (.pm's padding) so the margin's buttons aren't clipped by it. */
.ax-scroll { position: relative; flex: 1; min-height: 0; overflow: hidden; margin: 0 -8px 0 calc(var(--pm-gutter) * -1 - 8px); padding: 0 8px 0 calc(var(--pm-gutter) + 8px); }
.ax-scroll { -webkit-mask-image: linear-gradient(#000 calc(100% - 40px), transparent); mask-image: linear-gradient(#000 calc(100% - 40px), transparent); }
.ax-scroll.is-scrolled { -webkit-mask-image: linear-gradient(transparent, #000 34px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(transparent, #000 34px, #000 calc(100% - 40px), transparent); }
.ax-scroll .pm-paras { transition: transform 0.6s cubic-bezier(.25, .6, .3, 1); will-change: transform; }
.ax-page .pm-text { font-size: calc(15px / var(--tz, 1)); }
.ax-beat .pm-text::before { background: rgba(109, 40, 217, 0.0); }
.ax-beat.is-working .pm-text::before { background: var(--ap-violet); box-shadow: 0 0 8px rgba(109, 40, 217, 0.55); animation: pm-breathe 1.8s ease-in-out infinite; }
.ax-beat .pm-text.is-line { color: #554634; font-style: italic; }

/* The ribbon where it started (the app's .ap-ribbon). */
.ax-mark { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.ax-ribbon {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 20px 0 10px;
  color: #fff; white-space: nowrap;
  font: 700 calc(11px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(100deg, #7c3aed, #c2366e);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%);
}
.ax-ribbon svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ax-mark > i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(109, 40, 217, 0.45), transparent); }
.ax-mark.is-in { animation: ax-mark-in 620ms cubic-bezier(0.34, 1.4, 0.64, 1) both; }
@keyframes ax-mark-in { from { opacity: 0; transform: translateX(-14px); } }

/* The margin's Autopilot: the paper plane, violet. */
.pm-btn.ax-plane { color: var(--ap-violet); border-color: rgba(109, 40, 217, 0.38); }
.pm-btn.ax-plane .pm-ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pm-btn.ax-plane .pm-btn-label { max-width: 120px; opacity: 1; margin: 0 4px 0 6px; }

/* ---- the deck: three poker cards in the empty paragraph ---- */
.ax-deck { display: flex; flex-direction: column; align-items: center; padding: 6px 0 10px; animation: ax-in 520ms cubic-bezier(0.34, 1.3, 0.64, 1) both; }
.ax-fan { position: relative; width: 168px; height: 214px; perspective: 1000px; }
.ax-card {
  position: absolute; inset: 0; border-radius: 13px;
  background: #fffdf9;
  border: 1px solid color-mix(in srgb, var(--k) 40%, rgba(60, 40, 30, 0.16));
  box-shadow: 0 18px 36px -18px rgba(90, 60, 30, 0.45);
  transform-origin: 50% 90%;
  transition: transform 600ms cubic-bezier(0.34, 1.25, 0.64, 1), opacity 300ms;
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax-card {
    border: 1px solid rgba(calc(var(--k__r) * 0.4 + 36), calc(var(--k__g) * 0.4 + 24), calc(var(--k__b) * 0.4 + 18), calc(var(--k__a) * 0.4 + 0.096));
  }
}
.ax-card.is-close { --k: var(--ap-close); }
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax-card.is-close {
    --k__r: var(--ap-close__r);
    --k__g: var(--ap-close__g);
    --k__b: var(--ap-close__b);
    --k__a: var(--ap-close__a);
  }
}
.ax-card.is-progress { --k: var(--ap-progress); }
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax-card.is-progress {
    --k__r: var(--ap-progress__r);
    --k__g: var(--ap-progress__g);
    --k__b: var(--ap-progress__b);
    --k__a: var(--ap-progress__a);
  }
}
.ax-card.is-twist { --k: var(--ap-twist); }
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax-card.is-twist {
    --k__r: var(--ap-twist__r);
    --k__g: var(--ap-twist__g);
    --k__b: var(--ap-twist__b);
    --k__a: var(--ap-twist__a);
  }
}
.ax-card.is-front { z-index: 3; }
.ax-card.is-left { z-index: 1; transform: translateX(-30%) rotate(-6deg) scale(0.94); }
.ax-card.is-right { z-index: 2; transform: translateX(30%) rotate(6deg) scale(0.94); }
.ax-frame {
  position: absolute; inset: 9px; border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--k) 55%, transparent);
  display: flex; flex-direction: column; align-items: center; padding: 18px 11px 16px;
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax-frame {
    border: 1px solid rgba(var(--k__r), var(--k__g), var(--k__b), calc(var(--k__a) * 0.55));
  }
}
.ax-card.is-down .ax-frame { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--k) 12%, transparent) 0 6px, transparent 6px 14px); }
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax-card.is-down .ax-frame {
    background: repeating-linear-gradient(135deg, rgba(var(--k__r), var(--k__g), var(--k__b), calc(var(--k__a) * 0.12)) 0 6px, transparent 6px 14px);
  }
}
.ax-kind, .ax-sub { position: absolute; left: 50%; transform: translateX(-50%); padding: 0 6px; background: #fffdf9; white-space: nowrap; color: var(--k); font-family: var(--font-ui, Manrope, sans-serif); }
.ax-kind { top: -7px; font-size: calc(9.5px / var(--tz, 1)); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ax-sub { bottom: -7px; font-size: calc(9.5px / var(--tz, 1)); font-weight: 600; }
.ax-title { font-family: var(--font-display); font-size: calc(15.5px / var(--tz, 1)); font-weight: 600; line-height: 1.2; color: #2a2420; text-align: center; }
.ax-rule { width: 70%; height: 1px; margin: 9px 0; background: rgba(60, 40, 30, 0.16); }
.ax-line { margin: 0; font-family: var(--font-display); font-size: calc(12.5px / var(--tz, 1)); line-height: 1.45; color: #2a2420; }
.ax-blank { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 12px; }
.ax-blank i { display: block; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--k) 18%, transparent); }
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax-blank i {
    background: rgba(var(--k__r), var(--k__g), var(--k__b), calc(var(--k__a) * 0.18));
  }
}
.ax-blank i:first-child { height: 10px; width: 70%; margin: 0 auto 6px; background: color-mix(in srgb, var(--k) 28%, transparent); }
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax-blank i:first-child {
    background: rgba(var(--k__r), var(--k__g), var(--k__b), calc(var(--k__a) * 0.28));
  }
}
.ax-blank i:last-child { width: 60%; }
.ax-fan.is-shuffling .ax-card { transition: none; animation: 1s cubic-bezier(.45,.05,.35,1) infinite; }
.ax-fan.is-shuffling .ax-card.is-front { animation-name: ax-shuf-front; }
.ax-fan.is-shuffling .ax-card.is-left { animation-name: ax-shuf-left; }
.ax-fan.is-shuffling .ax-card.is-right { animation-name: ax-shuf-right; }
@keyframes ax-shuf-front { 0%, 60%, 100% { transform: none; } 15% { transform: translateX(-48%) rotate(-6deg) scale(0.94); } 30% { transform: translateX(0) scale(0.9); } 45% { transform: translateX(48%) rotate(6deg) scale(0.94); } }
@keyframes ax-shuf-left { 0%, 60%, 100% { transform: translateX(-30%) rotate(-6deg) scale(0.94); } 15% { transform: translateX(10%) rotate(3deg) scale(0.92); } 30% { transform: translateX(-48%) rotate(-9deg) scale(0.88); } 45% { transform: translateX(-12%) rotate(-2deg) scale(0.92); } }
@keyframes ax-shuf-right { 0%, 60%, 100% { transform: translateX(30%) rotate(6deg) scale(0.94); } 15% { transform: translateX(48%) rotate(9deg) scale(0.88); } 30% { transform: translateX(-10%) rotate(-3deg) scale(0.92); } 45% { transform: translateX(12%) rotate(2deg) scale(0.92); } }
.ax-fan.is-drawn .ax-card.is-front { animation: ax-flip 620ms cubic-bezier(0.34, 1.2, 0.64, 1) both; box-shadow: 0 0 0 1px color-mix(in srgb, var(--k) 60%, transparent), 0 20px 40px -16px color-mix(in srgb, var(--k) 55%, transparent); }
@supports not (color: color-mix(in srgb, red, blue)) {
  .ax-fan.is-drawn .ax-card.is-front {
    box-shadow: 0 0 0 1px rgba(var(--k__r), var(--k__g), var(--k__b), calc(var(--k__a) * 0.6)), 0 20px 40px -16px rgba(var(--k__r), var(--k__g), var(--k__b), calc(var(--k__a) * 0.55));
  }
}
.ax-fan.is-drawn .ax-card.is-left { transform: translateX(-38%) rotate(-10deg) scale(0.9); opacity: 0.45; }
.ax-fan.is-drawn .ax-card.is-right { transform: translateX(38%) rotate(10deg) scale(0.9); opacity: 0.45; }
@keyframes ax-flip { 0% { transform: rotateY(90deg) scale(0.96); } 100% { transform: rotateY(0) scale(1); } }
.ax-fan.is-going .ax-card { transition: transform 320ms cubic-bezier(.5, 0, .7, .4), opacity 300ms; opacity: 0; }
.ax-fan.is-going .ax-card.is-front { transform: translateY(26px) scale(0.6); }
.ax-loader { display: flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 18px; font: 600 calc(12px / var(--tz, 1))/1.2 var(--font-ui, Manrope, sans-serif); color: #4a4038; }
.ax-dots { display: inline-flex; gap: 4px; }
.ax-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ap-violet); animation: ax-dot 1.2s ease-in-out infinite; }
.ax-dots i:nth-child(2) { animation-delay: 0.15s; }
.ax-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ax-dot { 0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1.1); } }
@keyframes ax-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }

/* ---- paused: Continue / Stop ---- */
.ax-paused {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin: 16px auto 8px; padding: 16px; max-width: 420px;
  border-radius: 16px;
  border: 1px solid rgba(109, 40, 217, 0.3);
  background: radial-gradient(120% 90% at 50% 0%, rgba(109, 40, 217, 0.1), transparent 70%), #fffaf0;
  box-shadow: 0 14px 30px -18px rgba(90, 60, 30, 0.45);
  font-family: var(--font-ui, Manrope, sans-serif);
}
.ax-paused.is-in { animation: ax-in 520ms cubic-bezier(0.34, 1.3, 0.64, 1) both; }
.ax-paused-line { display: flex; align-items: center; gap: 8px; color: #2a2420; font-size: calc(13.5px / var(--tz, 1)); font-weight: 600; text-align: center; }
.ax-paused-line svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--ap-violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ax-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ax-go, .ax-quiet { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font: 700 calc(13px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); }
.ax-go { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #7c3aed, #c2366e); box-shadow: 0 12px 26px -12px rgba(124, 58, 237, 0.9); }
.ax-go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); animation: ax-shine 3.2s ease-in-out 600ms infinite; }
.ax-go.is-press { transform: scale(0.94); transition: transform 0.15s; }
.ax-quiet { color: #2a2420; border: 1px solid rgba(60, 40, 30, 0.2); font-weight: 600; }
@keyframes ax-shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---- the window: Autopilot, Where it's heading, Start ---- */
.ax-veil { position: absolute; inset: 0; z-index: 6; border-radius: inherit; background: rgba(20, 14, 24, 0.45); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.ax-veil.is-on { opacity: 1; }
.ax-modal {
  position: absolute; left: 50%; top: 50%; z-index: 7;
  width: min(380px, calc(100% - 28px));
  padding: 20px 20px 18px; border-radius: 20px;
  background: radial-gradient(90% 60% at 50% 0%, rgba(139, 92, 246, 0.2), transparent 70%), linear-gradient(180deg, #1d1922, #141117);
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  color: #f3eef6; text-align: center;
  font-family: var(--font-ui, Manrope, sans-serif);
  opacity: 0; transform: translate(-50%, -46%) scale(0.96);
  transition: opacity 0.35s, transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
  pointer-events: none;
}
.ax-modal.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ax-m-plane { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #7c3aed, #c2366e); box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.9); animation: ax-plane 3.4s ease-in-out infinite; }
.ax-m-plane svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ax-plane { 50% { transform: translate(-4px, -5px) rotate(-6deg); } }
.ax-modal h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: calc(21px / var(--tz, 1)); font-weight: 500; color: #fff; }
.ax-m-lead { margin: 0 0 14px; font-size: calc(12.5px / var(--tz, 1)); line-height: 1.45; color: #d6cddf; }
.ax-m-label { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: #d9ccff; font-size: calc(10.5px / var(--tz, 1)); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; }
.ax-m-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 8px #a78bfa; }
.ax-m-box { min-height: 96px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(167, 139, 250, 0.45); background: rgba(255, 255, 255, 0.04); text-align: left; font-family: var(--font-display); font-size: calc(13.5px / var(--tz, 1)); line-height: 1.5; color: #f3eef6; }
.ax-m-box .ax-shim { display: flex; flex-direction: column; gap: 7px; margin-top: 6px; }
.ax-m-box .ax-shim i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(167, 139, 250, 0.12), rgba(167, 139, 250, 0.38), rgba(167, 139, 250, 0.12)); background-size: 200% 100%; animation: ax-shim 1.4s linear infinite; }
.ax-m-box .ax-shim i:last-child { width: 60%; }
.ax-m-box small { display: block; color: #c9c0d3; font: 600 calc(12px / var(--tz, 1))/1.3 var(--font-ui, Manrope, sans-serif); }
@keyframes ax-shim { from { background-position: 200% 0; } to { background-position: 0 0; } }
.ax-m-hint { margin: 7px 2px 14px; font-size: calc(11.5px / var(--tz, 1)); line-height: 1.4; color: #c9c0d3; text-align: left; }
.ax-m-start { gap: 8px; height: 40px; padding: 0 18px; font-size: calc(14px / var(--tz, 1)); }
.ax-m-start svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- the pill at the foot, while it works ---- */
.ax-pill {
  position: absolute; left: 50%; bottom: 14px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 4px; border-radius: 999px;
  background: #1f1b24; border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.8);
  color: #f3eef6; font: 600 calc(12.5px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); white-space: nowrap;
  max-width: calc(100% - 28px);
  opacity: 0; transform: translate(-50%, 16px);
  transition: opacity 0.35s, transform 0.42s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.ax-pill.is-on { opacity: 1; transform: translate(-50%, 0); }
.ax-pill-orb { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #c2366e); color: #fff; animation: ax-orb 2.4s ease-in-out infinite; }
.ax-pill-orb svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ax-pill-what { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ax-pill-stop { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-left: 4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); }
.ax-pill-stop i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
@keyframes ax-orb { 50% { box-shadow: 0 0 0 6px rgba(167, 139, 250, 0.2); } }

/* ---- the popcorn: sit back and watch ---- */
.ax-popcorn {
  position: absolute; right: -30px; top: -64px; z-index: 8;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  pointer-events: none;
  transform: rotate(8deg);
}
.ax-bucket { width: 64px; height: 72px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45)); }
.ax-cup { fill: #fff7ee; }
.ax-stripe { fill: none; stroke: #e5484d; stroke-width: 5; }
.ax-pop { fill: #ffe9a8; stroke: #e9b949; stroke-width: 1.4; }
.ax-popcorn span {
  padding: 4px 9px; border-radius: 999px; margin-top: 2px;
  font: 800 calc(10px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  color: #1b1720; background: #ffd27a; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.6);
}
.ax-kernel { position: absolute; top: 12px; left: 28px; width: 9px; height: 8px; border-radius: 50% 50% 45% 45%; background: #ffe9a8; box-shadow: inset 0 -1px 0 #e9b949; opacity: 0; }
.live .ax-kernel { animation: ax-pop 2.6s ease-out infinite; }
.ax-kernel.k2 { animation-delay: 0.9s !important; }
.ax-kernel.k3 { animation-delay: 1.7s !important; }
@keyframes ax-pop {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  10% { opacity: 1; }
  45% { transform: translate(var(--px, -16px), -30px) rotate(160deg) scale(1); opacity: 1; }
  80%, 100% { transform: translate(calc(var(--px, -16px) * 1.4), 6px) rotate(300deg) scale(0.9); opacity: 0; }
}
.ax-kernel.k2 { --px: 14px; }
.ax-kernel.k3 { --px: -4px; }

/* The cursor's press of the paper plane, as the kit's other buttons. */
.ax-page .pm-cursor { z-index: 9; }

@media (max-width: 960px) {
  .ax { padding: 80px 0 64px; }
  .ax-wrap { grid-template-columns: 1fr; gap: 36px; }
  .ax-copy { text-align: center; }
  .ax-copy .show-kicker { justify-content: center; }
  .ax-points { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }
  .ax-stage { margin-top: 44px; }
  .ax-popcorn { right: 4px; top: -78px; transform: rotate(8deg) scale(0.85); }
}
@media (max-width: 560px) {
  .ax-page { height: 520px; }
  .ax-page .pm-text { font-size: calc(14px / var(--tz, 1)); }
  .ax-fan { width: 150px; height: 192px; }
}
@media (prefers-reduced-motion: reduce) {
  .ax-copy h2 em, .ax-go::after, .ax-m-plane, .ax-pill-orb, .ax-dots i, .ax-kernel, .ax-mark.is-in, .ax-paused.is-in, .ax-deck { animation: none !important; }
}
