/* NovaSoft Sites: motion and interaction layer for the marketing site.
   Loaded by the homepage and every marketing page. Behaviour lives in /motion.js.
   Rules: transform and opacity only for anything that runs continuously; every animation is behind
   prefers-reduced-motion: no-preference or the .fx-ready flag that motion.js only sets when motion is allowed;
   no content is hidden unless JavaScript has taken responsibility for revealing it. */

:root {
  --fx-ease: cubic-bezier(.2, .7, .1, 1);
  --fx-ease-io: cubic-bezier(.65, 0, .35, 1);
  --fx-spring: cubic-bezier(.34, 1.45, .5, 1);
  --fx-ink: #222326;
  --fx-paper: #f1f1ef;
  --fx-coral: #ef795c;
  --fx-deep: #a63e25;
  --fx-mono: 'Courier New', monospace;
}

/* ------------------------------------------------------------------ progress + header */
.fx-progress { position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 100; pointer-events: none; background: var(--fx-coral); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.ns-header { transition: box-shadow .35s ease; }
.ns-header.is-scrolled { box-shadow: 0 14px 34px -22px #000c; }

/* ------------------------------------------------------------------ hero entrance (CSS only, no flash) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fx-line-in { from { opacity: 0; transform: translateY(.3em) skewY(1.4deg); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-14% -5% -34% -5%); } }
  @keyframes fx-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes fx-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes fx-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes fx-seal-in { from { opacity: 0; transform: scale(.2) rotate(-140deg); } 60% { opacity: 1; } to { opacity: 1; transform: rotate(10deg) scale(1); } }
  @keyframes fx-pulse { 0% { transform: scale(.94); opacity: .75; } 70%, 100% { transform: scale(1.3); opacity: 0; } }
  @keyframes fx-blink { 50% { opacity: .25; } }
  @keyframes fx-marquee { to { transform: translateX(-50%); } }

  .flagship-cover h1 > span, .flagship-cover h1 > em { animation: fx-line-in 1.05s var(--fx-ease) backwards; }
  .flagship-cover h1 > em { animation-delay: .16s; }
  .cover-masthead { animation: fx-fade .9s .05s ease backwards; }
  .cover-seal { animation: fx-seal-in 1s .55s var(--fx-spring) backwards; }
  .cover-seal::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--fx-coral); pointer-events: none; animation: fx-pulse 3.4s 2.4s ease-out infinite; }
  .cover-bottom > div { animation: fx-up .9s var(--fx-ease) backwards; }
  .cover-bottom > div:nth-child(1) { animation-delay: .42s; }
  .cover-bottom > div:nth-child(2) { animation-delay: .54s; }
  .cover-bottom > div:nth-child(3) { animation-delay: .66s; }
  .cover-art-strip { animation: fx-wipe 1.2s .7s var(--fx-ease) backwards; }
  .cover-image img { transition: transform .9s var(--fx-ease); }
  .cover-image:hover img { transform: scale(1.025); }
  .cover-art-type i { display: inline-block; transition: transform .4s var(--fx-ease); }
  .cover-art-type:hover i { transform: translate(6px, -6px) rotate(8deg); }
}

/* ------------------------------------------------------------------ reveal system (set up by motion.js) */
.fx-ready [data-fx] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--fx-ease), transform .9s var(--fx-ease); transition-delay: calc(var(--fx-i, 0) * 75ms); }
.fx-ready [data-fx="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--fx-ease); }
.fx-ready [data-fx="line"] { opacity: 1; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--fx-ease); }
.fx-ready [data-fx].fx-in { opacity: 1; transform: none; }
.fx-ready [data-fx="wipe"].fx-in { clip-path: inset(0 0 0 0); }
.fx-ready [data-fx="line"].fx-in { transform: scaleX(1); }

/* word-by-word mask reveal for big headings (inline-block words, with room for descenders and italics) */
fx-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .09em .2em .02em; margin: 0 -.09em -.2em -.02em; }
fx-w > fx-c { display: inline-block; transform: none; transition: transform 1s var(--fx-ease); transition-delay: calc(var(--fx-i, 0) * 60ms + var(--fx-base, 0ms)); }
.fx-ready fx-w > fx-c { transform: translateY(108%); }
.fx-ready .fx-in fx-w > fx-c, .fx-in.fx-split fx-w > fx-c { transform: none; }

/* ------------------------------------------------------------------ the editing demo */
.maker { padding-top: clamp(64px, 8vw, 128px); padding-bottom: clamp(36px, 5vw, 72px); }
.maker-intro { display: grid; grid-template-columns: .45fr 1.55fr; gap: 30px; margin-bottom: clamp(28px, 4vw, 52px); }
.maker-intro > .flagship-label { margin-top: 12px; }
.maker-intro > div { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.maker-intro h2 { font: 500 clamp(48px, 6.6vw, 100px)/.95 Arial, Helvetica, sans-serif; letter-spacing: -.07em; margin: 0; }
.maker-intro h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.075em; }
.maker-intro p { max-width: 360px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--ns-muted, #606166); }

.maker-stage { position: relative; background: var(--fx-ink); color: var(--fx-paper); border-radius: 6px; padding: 14px 14px 12px; box-shadow: 0 50px 90px -50px #000d, 0 0 0 1px #0004; isolation: isolate; }
@property --fx-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes fx-orbit { to { --fx-angle: 360deg; } }
  .maker-stage[data-state="playing"]::before { content: ''; position: absolute; inset: -1px; border-radius: 7px; padding: 1.5px; background: conic-gradient(from var(--fx-angle), transparent 0 62%, var(--fx-coral) 80%, transparent 96%); -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); animation: fx-orbit 6s linear infinite; pointer-events: none; z-index: 1; }
}
.maker-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 4px 8px 12px; font: 10px/1.4 var(--fx-mono); letter-spacing: .1em; text-transform: uppercase; color: #bdbdb9; }
.maker-dots { display: flex; gap: 6px; }
.maker-dots i { width: 9px; height: 9px; border-radius: 50%; background: #4b4c50; }
.maker-address { justify-self: center; width: min(46%, 360px); min-width: 0; text-align: center; padding: 6px 16px; border: 1px solid #3d3e43; border-radius: 20px; background: #2c2d31; color: var(--fx-paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.maker-status { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 196px; white-space: nowrap; }
.maker-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #7bd88f; transition: background .3s; }
.maker-stage[data-saving] .maker-status::before { background: var(--fx-coral); }
@media (prefers-reduced-motion: no-preference) { .maker-stage[data-saving] .maker-status::before { animation: fx-blink .7s infinite; } }

.maker-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 22px; padding: 0 8px 12px; }
.maker-chips, .maker-tabs, .maker-device { display: flex; flex-wrap: nowrap; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.maker-chips::-webkit-scrollbar, .maker-tabs::-webkit-scrollbar { display: none; }
.maker-tabs { justify-self: end; max-width: 100%; }
.maker-toolbar button { flex: none; white-space: nowrap; }
.maker-toolbar button { min-height: 40px; padding: 10px 15px; border: 1px solid #4b4c50; border-radius: 30px; background: transparent; color: var(--fx-paper); font: 11.5px/1 Arial, Helvetica, sans-serif; letter-spacing: .01em; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--fx-ease); }
.maker-toolbar button:hover { border-color: #9a9a96; }
.maker-toolbar button[aria-pressed="true"] { background: var(--fx-paper); color: var(--fx-ink); border-color: var(--fx-paper); }
.maker-toolbar button:focus-visible, .maker-play:focus-visible, .maker-open:focus-visible { outline: 3px solid var(--fx-coral); outline-offset: 3px; }
.maker-device { border-left: 1px solid #3d3e43; padding-left: 16px; }

.maker-viewport { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; background: #d4d4d0; transition: background-color .85s ease; }
.maker-viewport[data-device="mobile"] { background: #c9c9c5; }
.maker-framebox { position: absolute; inset: 0; overflow: hidden; } /* never resized: animating layout size would count as layout shift, so the device flip uses the frame's own width and a transform */
.maker-viewport[data-device="mobile"] .maker-frame { box-shadow: 0 30px 60px -30px #000a, 0 0 0 1px #0003; }
.maker-frame { position: absolute; left: 0; top: 0; border: 0; max-width: none; width: calc(var(--mk-w, 1200) * 1px); height: calc(100% / var(--mk-s, .5)); transform-origin: 0 0; transform: translateX(calc(var(--mk-x, 0) * 1px)) scale(var(--mk-s, .5)); background: #f1f1ef; transition: width .85s var(--fx-ease-io), transform .85s var(--fx-ease-io), box-shadow .85s ease, opacity .4s ease; }
.maker-frame.is-out { opacity: 0; }
.maker-frame.is-old { pointer-events: none; }
.maker-shield { position: absolute; inset: 0; z-index: 2; }
.maker-stage:not([data-state="playing"]) .maker-shield { display: none; }
.maker-still { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.maker-sel { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; border: 2px solid var(--fx-coral); border-radius: 2px; opacity: 0; transform-origin: 0 0; transition: transform .5s var(--fx-ease), width .5s var(--fx-ease), height .5s var(--fx-ease), opacity .25s ease; }
.maker-sel.on { opacity: 1; }
.maker-sel span { position: absolute; left: -2px; top: -23px; padding: 6px 9px 5px; border-radius: 2px 2px 0 0; background: var(--fx-coral); color: var(--fx-ink); font: 700 10px/1 Arial, Helvetica, sans-serif; letter-spacing: .02em; white-space: nowrap; }
.maker-sel::before, .maker-sel::after { content: ''; position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--fx-coral); }
.maker-sel::before { right: -5px; bottom: -5px; }
.maker-sel::after { left: -5px; bottom: -5px; }

.maker-panel { position: absolute; left: 0; top: 0; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: var(--fx-ink); color: var(--fx-paper); border: 1px solid #4b4c50; border-radius: 7px; box-shadow: 0 16px 34px -12px #000a; opacity: 0; pointer-events: none; transform-origin: 0 0; transition: opacity .25s ease, transform .4s var(--fx-ease); }
.maker-panel.on { opacity: 1; }
.maker-panel b { margin-right: 4px; font: 9px/1 var(--fx-mono); letter-spacing: .12em; text-transform: uppercase; color: #bdbdb9; }
.maker-panel i { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--c, #888); border: 2px solid #f1f1ef33; transition: transform .25s var(--fx-spring), border-color .25s; }
.maker-panel i.on { border-color: #fff; transform: scale(1.25); }

.maker-cursor { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; opacity: 0; will-change: transform; transition: transform var(--dur, .9s) var(--fx-ease-io), opacity .3s ease; }
.maker-cursor.on { opacity: 1; }
.maker-cursor svg { display: block; filter: drop-shadow(0 3px 5px #0007); transition: transform .12s ease; transform-origin: 3px 2px; }
.maker-cursor.press svg { transform: scale(.78); }
.maker-cursor span { position: absolute; left: 17px; top: 21px; padding: 6px 10px 5px; border-radius: 12px 12px 12px 2px; background: var(--fx-coral); color: var(--fx-ink); font: 700 10px/1 Arial, Helvetica, sans-serif; letter-spacing: .02em; white-space: nowrap; }
.maker-cursor.flip span { left: auto; right: 17px; border-radius: 12px 12px 2px 12px; }
.maker-cursor::after { content: ''; position: absolute; left: 3px; top: 2px; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--fx-coral); opacity: 0; transform: scale(.3); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes fx-ripple { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.5); } }
  .maker-cursor.click::after { animation: fx-ripple .55s ease-out; }
}
.maker-hint { position: absolute; left: 50%; bottom: 14px; z-index: 5; margin: 0; padding: 9px 16px; transform: translateX(-50%); border-radius: 30px; background: var(--fx-ink); color: var(--fx-paper); font: 11px/1.2 Arial, Helvetica, sans-serif; box-shadow: 0 14px 30px -12px #000a; white-space: nowrap; pointer-events: none; }
.maker-hint[hidden] { display: none; }
.maker-stage[data-state="manual"] .maker-frame { cursor: text; }

.maker-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 26px; padding: 14px 8px 2px; }
.maker-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.maker-steps li { padding: 7px 11px; border: 1px solid #3d3e43; border-radius: 20px; color: #8d8e92; font: 10px/1 var(--fx-mono); letter-spacing: .08em; text-transform: uppercase; transition: color .3s, background .3s, border-color .3s; }
.maker-steps li.done { color: #d4d4d0; border-color: #6c6d70; }
.maker-steps li.on { background: var(--fx-coral); border-color: var(--fx-coral); color: var(--fx-ink); }
.maker-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.maker-play { min-height: 40px; padding: 0 2px; border: 0; background: none; color: #d4d4d0; font: 11px/1 var(--fx-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-bottom: 1px solid #6c6d70; }
.maker-play:hover { color: #fff; }
.maker-open { display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; color: var(--fx-paper); text-decoration: none; font: 12px/1 Arial, Helvetica, sans-serif; border-bottom: 1px solid var(--fx-coral); }
.maker-open:hover { color: var(--fx-coral); }
.maker-caption { margin: 14px 0 0 2px; font: 10px/1.6 var(--fx-mono); letter-spacing: .06em; color: var(--ns-muted, #606166); }

@media (max-width: 1239px) {
  .maker-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
  .maker-tabs { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}
@media (max-width: 900px) {
  .maker-intro { grid-template-columns: 1fr; gap: 12px; }
  .maker-intro > div { flex-direction: column; align-items: flex-start; gap: 16px; }
  .maker-tabs { margin-left: 0; }
  .maker-device { border-left: 0; padding-left: 0; }
}
@media (max-width: 700px) {
  .maker-stage { padding: 10px 10px 8px; }
  .maker-bar { grid-template-columns: auto 1fr; }
  .maker-status { display: none; }
  .maker-address { justify-self: end; min-width: 0; }
  .maker-device { display: none; }
  .maker-viewport { aspect-ratio: 9 / 12.5; }
  .maker-toolbar button { min-height: 44px; }
  .maker-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .maker-chips button { flex: none; }
  .maker-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .maker-tabs button { flex: none; }
  .maker-steps li { padding: 7px 9px; }
  .maker-hint { white-space: normal; text-align: center; width: max-content; max-width: 84%; }
}

/* ------------------------------------------------------------------ the shelf */
.shelf { padding: clamp(48px, 7vw, 110px) 0 clamp(40px, 5vw, 80px); overflow: hidden; }
.shelf-intro { display: grid; grid-template-columns: .45fr 1fr .9fr; gap: 30px; align-items: end; margin-bottom: clamp(26px, 4vw, 48px); }
.shelf-intro > .flagship-label { margin: 0 0 12px; align-self: start; padding-top: 9px; }
.shelf-intro h2 { margin: 0; font: 500 clamp(43px, 5.5vw, 80px)/.98 Arial, Helvetica, sans-serif; letter-spacing: -.06em; }
.shelf-intro h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.shelf-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; margin: 0; }
.shelf-stats div { padding-top: 10px; border-top: 1px solid #9fa09b; }
.shelf-stats dt { font: 10px/1.5 var(--fx-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ns-muted, #606166); }
.shelf-stats dd { margin: 3px 0 0; font: 500 clamp(40px, 4.2vw, 62px)/1 Arial, Helvetica, sans-serif; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.shelf-rows { display: grid; gap: 18px; padding: 8px 0 14px; min-height: calc(2 * (clamp(210px, 21vw, 330px) * .666 + 44px) + 44px); align-content: start; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.shelf-row { display: flex; gap: 18px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .shelf-row { animation: fx-marquee var(--dur, 140s) linear infinite; }
  .shelf-row.rev { animation-direction: reverse; }
  .shelf-rows:hover .shelf-row, .shelf-rows:focus-within .shelf-row { animation-play-state: paused; }
}
.shelf-card { flex: none; width: clamp(210px, 21vw, 330px); overflow: hidden; border: 1px solid var(--ns-line, #d4d4d0); border-radius: 4px; background: var(--ns-surface, #fafaf8); color: var(--fx-ink); text-decoration: none; transition: transform .5s var(--fx-ease), box-shadow .5s var(--fx-ease); }
.shelf-card:hover, .shelf-card:focus-visible { transform: translateY(-7px) rotate(-.7deg); box-shadow: 0 26px 44px -24px #0008; }
.shelf-card:focus-visible { outline: 3px solid var(--fx-deep); outline-offset: 3px; }
.shelf-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #e6e6e2; }
.shelf-card > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 14px 13px; font: 13px/1.2 Arial, Helvetica, sans-serif; }
.shelf-card b { font-weight: 500; letter-spacing: -.02em; }
.shelf-card i { font: normal 9px/1 var(--fx-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ns-muted, #606166); white-space: nowrap; }
.shelf-note { margin-top: 6px; font: 13px/1.7 Arial, Helvetica, sans-serif; color: var(--ns-muted, #606166); }
.shelf-note a { color: var(--fx-ink); text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .shelf-rows { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-bottom: 18px; }
  .shelf-row [aria-hidden="true"] { display: none; }
  .shelf-row { padding: 0 5%; }
}
@media (max-width: 900px) {
  .shelf-intro { grid-template-columns: 1fr; gap: 20px; }
  .shelf-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------------ small animated scenes in "from idea to yours" */
.fx-scene { position: relative; height: 118px; margin: 0 0 26px; overflow: hidden; }
.fx-scene i, .fx-scene b { display: block; }
.fx-tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 7px; }
.fx-tiles i { position: relative; border-radius: 3px; background: #c9c9c5; overflow: hidden; }
.fx-tiles i::before { content: ''; position: absolute; left: 12%; top: 18%; width: 52%; height: 12%; background: #f1f1ef99; border-radius: 1px; }
.fx-tiles i::after { content: ''; position: absolute; left: 12%; bottom: 14%; width: 76%; height: 38%; background: #f1f1ef66; border-radius: 1px; }
.fx-tiles i:nth-child(3n+1) { background: #bdbdb9; }
.fx-tiles i:nth-child(5) { background: #d8c0b6; }
.fx-lines { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.fx-lines i { height: 10px; border-radius: 2px; background: #c9c9c5; }
.fx-lines i:nth-child(1) { width: 62%; background: var(--fx-ink); height: 18px; }
.fx-lines i:nth-child(2) { width: 94%; }
.fx-lines i:nth-child(3) { width: 78%; }
.fx-lines i:nth-child(4) { width: 46%; }
.fx-lines b { position: absolute; right: 8%; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--fx-coral); box-shadow: 0 0 0 4px #ef795c33; }
.fx-ladder { display: flex; align-items: flex-end; gap: 7px; }
.fx-ladder i { position: relative; flex: 1; border-radius: 3px 3px 0 0; background: #c9c9c5; transition: background .3s; }
.fx-ladder i:nth-child(1) { height: 22%; } .fx-ladder i:nth-child(2) { height: 38%; } .fx-ladder i:nth-child(3) { height: 57%; } .fx-ladder i:nth-child(4) { height: 77%; } .fx-ladder i:nth-child(5) { height: 100%; }
.fx-ladder i::after { content: attr(data-l); position: absolute; left: 7px; bottom: 6px; font: 8px/1 var(--fx-mono); letter-spacing: .08em; text-transform: uppercase; color: #3d3e43; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes fx-pick { 0%, 52% { transform: none; box-shadow: none; } 58%, 92% { transform: scale(1.07); box-shadow: 0 0 0 2px var(--fx-coral), 0 12px 22px -10px #0007; z-index: 1; } 100% { transform: none; box-shadow: none; } }
  @keyframes fx-dim { 0%, 52% { opacity: 1; } 58%, 92% { opacity: .42; } 100% { opacity: 1; } }
  @keyframes fx-grow { 0%, 6% { width: 0; } 46%, 100% { width: 62%; } }
  @keyframes fx-pop { 0%, 48% { transform: scale(0); } 62% { transform: scale(1.3); } 74%, 100% { transform: scale(1); } }
  @keyframes fx-step { 0%, 100% { background: #c9c9c5; } 6%, 22% { background: var(--fx-coral); } 28% { background: #c9c9c5; } }
  .fx-tiles.fx-live i { animation: fx-dim 7s var(--fx-ease-io) infinite; }
  .fx-tiles.fx-live i:nth-child(6) { animation-name: fx-pick; }
  .fx-lines.fx-live i:nth-child(1) { animation: fx-grow 6s var(--fx-ease-io) infinite; position: relative; }
  .fx-lines.fx-live i:nth-child(1)::after { content: ''; position: absolute; right: -3px; top: 2px; bottom: 2px; width: 2px; background: var(--fx-coral); animation: fx-blink .9s steps(1) infinite; }
  .fx-lines.fx-live b { animation: fx-pop 6s var(--fx-ease-io) infinite; }
  .fx-ladder.fx-live i { animation: fx-step 6.4s linear infinite; }
  .fx-ladder.fx-live i:nth-child(2) { animation-delay: 1.28s; } .fx-ladder.fx-live i:nth-child(3) { animation-delay: 2.56s; } .fx-ladder.fx-live i:nth-child(4) { animation-delay: 3.84s; } .fx-ladder.fx-live i:nth-child(5) { animation-delay: 5.12s; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-lines i:nth-child(1) { width: 62%; }
  .fx-ladder i:nth-child(3) { background: var(--fx-coral); }
}

/* ------------------------------------------------------------------ commission loop + buttons */
.commission-baseline.fx-loop { display: block; padding: 20px 0 0; overflow: hidden; white-space: nowrap; }
.commission-baseline.fx-loop .fx-track { display: flex; width: max-content; align-items: center; gap: .35em; font: 700 clamp(45px, 8.5vw, 145px)/.93 Arial, Helvetica, sans-serif; letter-spacing: -.06em; margin-bottom: -7px; }
.commission-baseline.fx-loop .fx-track span { display: block; margin: 0; font: inherit; }
.commission-baseline.fx-loop .fx-track .fx-arrow { font-weight: 400; }
@media (prefers-reduced-motion: no-preference) {
  .commission-baseline.fx-loop .fx-track { animation: fx-marquee 46s linear infinite; }
  .commission-baseline.fx-loop:hover .fx-track { animation-play-state: paused; }
}
.fx-magnet { transition: transform .4s var(--fx-ease); will-change: transform; }

/* ------------------------------------------------------------------ inner marketing pages */
@media (prefers-reduced-motion: no-preference) {
  .marketing-page .mp-card, .marketing-page .mp-price, .marketing-page .mp-template { transition: transform .5s var(--fx-ease), box-shadow .5s var(--fx-ease), opacity .9s var(--fx-ease); }
  .marketing-page .mp-card:hover, .marketing-page .mp-price:hover, .marketing-page .mp-template:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -26px #0007; }
  .marketing-page .mp-faq details { transition: background .3s ease; }
  .marketing-page .mp-faq details[open] { background: #e9e9e6; }
  .marketing-page .mp-cta h2 em { display: inline-block; transition: transform .6s var(--fx-ease); }
  .marketing-page .mp-cta:hover h2 em { transform: translateX(10px); }
  .marketing-page .mp-hero h1, .marketing-page .mp-hero .mp-eyebrow { animation: none; }
  .marketing-page .mp-hero .mp-lead { animation: fx-up .9s .35s var(--fx-ease) backwards; }
  .marketing-page .mp-hero .mp-eyebrow { animation: fx-fade .9s ease backwards; }
  .marketing-page .mp-breadcrumb { animation: fx-fade .8s ease backwards; }
}
/* A plain page-in fade between marketing pages. (Cross-document view transitions were tried and removed: Chrome can throw uncaught errors on back/forward.) */
@media (prefers-reduced-motion: no-preference) { .marketing-page main { animation: fx-fade .5s ease backwards; } }

/* Safety net: if anything above would run under reduced motion, stop it. */
@media (prefers-reduced-motion: reduce) {
  .fx-progress { display: none; }
  .maker-stage::before { display: none !important; }
  .fx-magnet { transform: none !important; }
}

/* ------------------------------------------------------------------ hero pictures on the inner marketing pages (decorative, aria-hidden) */
.marketing-page .mp-hero { position: relative; }
.fx-hero-art { position: absolute; right: 5%; top: 50%; width: min(31vw, 470px); transform: translateY(-50%); pointer-events: none; }
@media (max-width: 1199px) { .fx-hero-art { display: none; } }
.fxh { position: relative; width: 100%; aspect-ratio: 5 / 3.5; }

/* features: a tiny editor that selects the heading, the image and the button in turn */
.fxh-editor { background: #f1f1ef; border-radius: 6px; box-shadow: 0 40px 70px -34px #000c, 0 0 0 1px #0004; overflow: hidden; }
.fxh-editor .fxh-bar { display: flex; gap: 5px; padding: 9px 11px; background: #e3e3df; border-bottom: 1px solid #d0d0cc; }
.fxh-editor .fxh-bar i { width: 7px; height: 7px; border-radius: 50%; background: #b8b8b4; }
.fxh-editor .fxh-page { position: absolute; inset: 27px 0 0 0; }
.fxh-editor .fxh-title { position: absolute; left: 8%; top: 9%; width: 46%; height: 11%; background: #222326; border-radius: 2px; }
.fxh-editor .fxh-line { position: absolute; left: 8%; height: 3.4%; border-radius: 2px; background: #c9c9c5; }
.fxh-editor .l1 { top: 28%; width: 52%; } .fxh-editor .l2 { top: 35%; width: 38%; }
.fxh-editor .fxh-img { position: absolute; left: 8%; top: 46%; width: 52%; height: 44%; border-radius: 3px; background: linear-gradient(135deg, #ef795c, #f3b29f 60%, #e8d6cc); overflow: hidden; }
.fxh-editor .fxh-img em { position: absolute; left: 8%; top: 12%; width: 70%; height: 76%; border: 2px dashed #fff; border-radius: 2px; }
.fxh-editor .fxh-btn { position: absolute; left: 66%; top: 55%; width: 27%; height: 13%; border-radius: 2px; background: #222326; }
.fxh-editor .fxh-dots { position: absolute; left: 66%; top: 12%; display: flex; gap: 7px; }
.fxh-editor .fxh-dots i { width: 16px; height: 16px; border-radius: 50%; background: #ef795c; } .fxh-editor .fxh-dots i:nth-child(2) { background: #4d6cf0; } .fxh-editor .fxh-dots i:nth-child(3) { background: #1f8f6a; }
.fxh-editor .fxh-sel { position: absolute; left: 6.5%; top: 7%; width: 49.5%; height: 15%; border: 2px solid #ef795c; border-radius: 2px; }
.fxh-editor .fxh-sel s { position: absolute; left: -2px; top: -19px; padding: 4px 7px 3px; background: #ef795c; color: #222326; font: 700 9px/1 Arial, Helvetica, sans-serif; text-decoration: none; border-radius: 2px 2px 0 0; opacity: 0; }
.fxh-editor .fxh-sel s:first-child { opacity: 1; }
.fxh-editor .fxh-cur { position: absolute; left: 50%; top: 16%; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 14px solid #222326; transform: rotate(-28deg); filter: drop-shadow(0 2px 2px #0005); }

/* how it works: draft, workspace, release */
.fxh-path { aspect-ratio: 5 / 2.6; }
.fxh-path ol { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 0 4%; list-style: none; }
.fxh-path ol::before { content: ''; position: absolute; left: 12%; right: 12%; top: 38%; border-top: 2px dashed #6c6d70; }
.fxh-path li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 30%; color: #d4d4d0; text-align: center; }
.fxh-path li b { display: grid; place-items: center; width: 58px; height: 58px; border: 2px solid #6c6d70; border-radius: 50%; background: #222326; font: 700 18px/1 Georgia, serif; font-style: italic; color: #f1f1ef; }
.fxh-path li span { margin-top: 6px; font: 700 13px/1.2 Arial, Helvetica, sans-serif; color: #f1f1ef; }
.fxh-path li small { font: 9px/1.4 'Courier New', monospace; letter-spacing: .1em; text-transform: uppercase; color: #9a9a96; }
.fxh-path .fxh-dot { position: absolute; left: 12%; top: calc(38% - 6px); width: 12px; height: 12px; border-radius: 50%; background: #ef795c; box-shadow: 0 0 0 6px #ef795c33; z-index: 2; }
.fxh-path li:nth-child(1) b { border-color: #ef795c; }

/* pricing: Free to Expand, one step at a time */
.fxh-ladder { display: flex; align-items: flex-end; gap: 9px; aspect-ratio: 5 / 3.2; }
.fxh-ladder i { flex: 1; border-radius: 3px 3px 0 0; background: #3a3b3f; position: relative; }
.fxh-ladder i:nth-child(1) { height: 22%; } .fxh-ladder i:nth-child(2) { height: 38%; } .fxh-ladder i:nth-child(3) { height: 57%; } .fxh-ladder i:nth-child(4) { height: 77%; } .fxh-ladder i:nth-child(5) { height: 100%; }
.fxh-ladder i::after { content: attr(data-l); position: absolute; left: 10px; bottom: 9px; font: 9px/1 'Courier New', monospace; letter-spacing: .1em; text-transform: uppercase; color: #e3e3df; }
.fxh-ladder i:nth-child(1) { background: #d8624a; }

/* templates: a fan of real previews */
.fxh-fan { aspect-ratio: 5 / 3.4; }
.fxh-fan img { position: absolute; width: 62%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; border: 1px solid #0003; box-shadow: 0 30px 50px -26px #000c; background: #e6e6e2; }
.fxh-fan .a { left: 0; top: 18%; transform: rotate(-7deg); } .fxh-fan .b { left: 19%; top: 0; transform: rotate(2deg); z-index: 2; } .fxh-fan .c { right: 0; top: 30%; transform: rotate(8deg); z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes fxh-sel-move { 0%, 22% { left: 6.5%; top: 7%; width: 49.5%; height: 15%; } 30%, 52% { left: 6.5%; top: 44.5%; width: 55%; height: 48%; } 60%, 82% { left: 64.5%; top: 53%; width: 31%; height: 17%; } 90%, 100% { left: 6.5%; top: 7%; width: 49.5%; height: 15%; } }
  @keyframes fxh-cur-move { 0%, 22% { left: 50%; top: 17%; } 30%, 52% { left: 44%; top: 74%; } 60%, 82% { left: 84%; top: 66%; } 90%, 100% { left: 50%; top: 17%; } }
  @keyframes fxh-lab-a { 0%, 24%, 88%, 100% { opacity: 1; } 28%, 86% { opacity: 0; } }
  @keyframes fxh-lab-b { 0%, 26%, 56%, 100% { opacity: 0; } 32%, 52% { opacity: 1; } }
  @keyframes fxh-lab-c { 0%, 56%, 86%, 100% { opacity: 0; } 62%, 82% { opacity: 1; } }
  @keyframes fxh-type { 0%, 4% { width: 0; } 20%, 100% { width: 46%; } }
  @keyframes fxh-crop { 0%, 28% { left: 8%; width: 70%; } 40%, 56% { left: 26%; width: 58%; } 62%, 100% { left: 8%; width: 70%; } }
  .fxh-editor .fxh-sel { animation: fxh-sel-move 11s var(--fx-ease-io) infinite; }
  .fxh-editor .fxh-cur { animation: fxh-cur-move 11s var(--fx-ease-io) infinite; }
  .fxh-editor .fxh-sel s:nth-child(1) { animation: fxh-lab-a 11s infinite; } .fxh-editor .fxh-sel s:nth-child(2) { animation: fxh-lab-b 11s infinite; } .fxh-editor .fxh-sel s:nth-child(3) { animation: fxh-lab-c 11s infinite; }
  .fxh-editor .fxh-title { animation: fxh-type 11s steps(14) infinite; }
  .fxh-editor .fxh-img em { animation: fxh-crop 11s var(--fx-ease-io) infinite; }
  @keyframes fxh-travel { 0% { left: 12%; } 100% { left: calc(88% - 12px); } }
  @keyframes fxh-node { 0%, 100% { border-color: #6c6d70; background: #222326; } 8%, 30% { border-color: #ef795c; background: #3a2822; } 38% { border-color: #6c6d70; background: #222326; } }
  .fxh-path .fxh-dot { animation: fxh-travel 7s var(--fx-ease-io) infinite; }
  .fxh-path li b { animation: fxh-node 7s infinite; } .fxh-path li:nth-child(2) b { animation-delay: 2.3s; } .fxh-path li:nth-child(3) b { animation-delay: 4.6s; }
  @keyframes fxh-bar { 0%, 100% { background: #3a3b3f; } 6%, 22% { background: #d8624a; } 30% { background: #3a3b3f; } }
  .fxh-ladder i:nth-child(n) { animation: fxh-bar 8s linear infinite; } .fxh-ladder i:nth-child(2) { animation-delay: 1.6s; } .fxh-ladder i:nth-child(3) { animation-delay: 3.2s; } .fxh-ladder i:nth-child(4) { animation-delay: 4.8s; } .fxh-ladder i:nth-child(5) { animation-delay: 6.4s; }
  .fxh-ladder i:nth-child(n)::after { transition: color .3s; }
  @keyframes fx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
  .fxh-fan img { animation: fx-float 7s ease-in-out infinite; } .fxh-fan .b { animation-delay: -2.2s; } .fxh-fan .c { animation-delay: -4.4s; }
}
/* Production renderer uses its current Free-release layout and typography. */
.home-page .section-wrap{max-width:1480px;margin:auto;padding-left:5%;padding-right:5%}
.home-page .flagship-label{font:10px/1.6 Courier New,monospace;letter-spacing:.13em}
.home-page .shelf{overflow:hidden}
.home-page .maker a{color:inherit}
.home-page .maker :is(a,button):focus-visible{outline:3px solid #ef795c;outline-offset:4px}
.home-page .maker h2,.home-page .shelf h2{color:var(--launch-ink)}
